how can i control message box on internet explorer with the language vb.net

marvin

New member
Joined
Mar 17, 2005
Messages
2
Programming Experience
1-3
Hello

I am a french student and i do a software with the language vb.net to use internet explorer. I use mshtml.dll and shdocvw.dll. With my software i can click on button, combo box,link,... which are on a web page.

But i have a problem when a message box arrive. I can't use it from my software (click yes, no, ...).
 

sdatye

Member
Joined
Mar 30, 2005
Messages
7
Location
India
Programming Experience
3-5
Hi Marvin,

If you are intending to show a message box to the user on his client (IE) then, I would recommend using JavaScript instead of VB code, for the simple reason that, if you use VB.NET to display the messagebox in the browser, then that code will work only in Internet Explorer, and will not work with other browsers like Netscape.

Let me know if that helps!
 

JuggaloBrotha

VB.NET Forum Moderator
Staff member
Joined
Jun 3, 2004
Messages
4,524
Location
Lansing, MI; USA
Programming Experience
10+
actually i think marvin wants the vb.net application to click yes or no in IE instead of the user clicking it
 

JuggaloBrotha

VB.NET Forum Moderator
Staff member
Joined
Jun 3, 2004
Messages
4,524
Location
Lansing, MI; USA
Programming Experience
10+
i have no clue how to accomplish that task, but i wouldnt mind learning how to manipulate other applications through a vb application
 
Top Bottom