Interact with windows popup boxes?

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Apr 2009
Posts: 10
Reputation: Aeterna is an unknown quantity at this point 
Solved Threads: 0
Aeterna Aeterna is offline Offline
Newbie Poster

Interact with windows popup boxes?

 
0
  #1
Apr 27th, 2009
How can my VB.net application interact with windows modal dialog boxes?

For example when you click an HTML <input type=file> the dialog that opens is a windows form that isn't in my application, so how can I manipulate it?
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 122
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: Interact with windows popup boxes?

 
0
  #2
Apr 27th, 2009
Originally Posted by Aeterna View Post
How can my VB.net application interact with windows modal dialog boxes?

For example when you click an HTML <input type=file> the dialog that opens is a windows form that isn't in my application, so how can I manipulate it?
what kind of manipulation you want?
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 10
Reputation: Aeterna is an unknown quantity at this point 
Solved Threads: 0
Aeterna Aeterna is offline Offline
Newbie Poster

Re: Interact with windows popup boxes?

 
0
  #3
Apr 27th, 2009
When the dialog opens, I would like to be able to send a filepath as a string to the filebrowser and enter it.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 122
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: Interact with windows popup boxes?

 
0
  #4
Apr 27th, 2009
Originally Posted by Aeterna View Post
When the dialog opens, I would like to be able to send a filepath as a string to the filebrowser and enter it.
you cant do that in a web application.
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 122
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: Interact with windows popup boxes?

 
0
  #5
Apr 27th, 2009
i had the same problem in this thread :
http://www.daniweb.com/forums/thread188105.html
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 10
Reputation: Aeterna is an unknown quantity at this point 
Solved Threads: 0
Aeterna Aeterna is offline Offline
Newbie Poster

Re: Interact with windows popup boxes?

 
0
  #6
Apr 27th, 2009
It's not a web application. I'm making a desktop app with a webbrowser control.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 122
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: Interact with windows popup boxes?

 
0
  #7
Apr 27th, 2009
you still cant do that with webbrowser control.. it works pretty much like a real browser.
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 10
Reputation: Aeterna is an unknown quantity at this point 
Solved Threads: 0
Aeterna Aeterna is offline Offline
Newbie Poster

Re: Interact with windows popup boxes?

 
0
  #8
Apr 27th, 2009
This is for File Upload through automation of the html input type = file.

I'm simulating a click with .invokemember(click) on the element, which loads the dialog box. I just need to access that file browser dialog that pops up so I can send a string and press enter.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 122
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: Interact with windows popup boxes?

 
0
  #9
Apr 27th, 2009
why dont you provide your source code?
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 10
Reputation: Aeterna is an unknown quantity at this point 
Solved Threads: 0
Aeterna Aeterna is offline Offline
Newbie Poster

Re: Interact with windows popup boxes?

 
0
  #10
Apr 27th, 2009
  1. frmMain.wbMain.Navigate(WEBSITE WITH INPUT TYPE=FILE)
  2. frmMain.wbMain.Document.GetElementById("INPUT TYPE = FILE").InvokeMember("click")

that loads the dialog box. But I don't know how to manipulate it.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the VB.NET Forum
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC