PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET OleCMD - dont prompt option ignored

Reply

OleCMD - dont prompt option ignored

 
Thread Tools Rate Thread
Old 11-09-2006, 05:18 PM   #1
GS
Guest
 
Posts: n/a
Default OleCMD - dont prompt option ignored


why am I getting saveas dialog prompt from the following code
Dim doOpt As SHDocVw.OLECMDEXECOPT
doOpt = SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER '<<< is
this is the one to suppress prompt?

Dim o As New Object()
Try
webBrowser.ExecWB(SHDocVw.OLECMDID.OLECMDID_SAVEAS, doOpt,
CType(strFileSpec, Object), o)
Catch
Throw (New Exception(Err.GetException().Message))
End Try

I did confirm that doOpt has the correct value of 2 but I am miffed why it
was ignored


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off