Question about launching an application!!!!!! 
Author Message
 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



Tue, 05 May 1998 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Question on launching a VC++ Application.

2. Novice Question: Launching DOS application

3. Launching an application question

4. Launching Windows 95 applications from your VB application

5. Hi, how can i launch an application using a file of this application

6. Launching an msdos application from Access 97

7. GetObject(excel.application) - wrong version launched

8. Launching windows application from Access 2.0 ?

9. Wait for shelled application to launch???

10. Launch Application from Outlook

11. Launching an application from Outlook VB scripts

12. Launching an application from Outlook VB scripts- repost

 

 
Powered by phpBB® Forum Software