
Question about launching an application!!!!!!
Quote:
>Hi,
>I am very new to VB programming and I have run into a road block. I am trying
>to create a HTML editor using VB 4.0. I would like to be able to call up a
>web browser and have it load the document that I am working on. I have used
>the Shell command to execute the web browser, but it calls up the home page
>instead of the html document I want.
That's a function of the browswer. It is apparently set up to autoload
the URL listed in the preferences section...
Quote:
>I have also tried:
>AppActivate "netscape" (and used the ID returned by Shell)
>SendKeys "^O"
>SendKeys "path and document name"
>The program runs into an "illegal procedure call" error at the AppActivate
>stage. Can someone please explain why this occurs?
Not sure on that one...
Quote:
>My other question is - Does anybody know of the code to use so that the web
>browser will load the document I'm working on, instead of the home page?
NOt exactly, but you will have to change the browser's setup to not
automatically load a given URL at startup.
David Whitney