Home All Groups Group Topic Archive Search About

Invoking apps within VB

Author
28 Apr 2006 2:54 AM
Al_C
Hi,
We have a few apps that we would like to invoke from withing our program.
Suggestions?  Should I create a seperate thrread to run the app in.
The idea is to call excel for example from within our vb.exe
Thanks in advance,
Al

Author
28 Apr 2006 3:30 AM
Vijay
No you don't have to use threads... Just use System.Diagnostics.Process  ,
class that should get you to open applications outside of your application,
using this you can call the FilePath or any executable path...

if you are looking to opening excel or word files within your application,
then use the WebBrowser Control

Vijay

Show quoteHide quote
"Al_C" <acl***@bicnet.net> wrote in message
news:eUA9Y8maGHA.1196@TK2MSFTNGP03.phx.gbl...
> Hi,
> We have a few apps that we would like to invoke from withing our program.
> Suggestions?  Should I create a seperate thrread to run the app in.
> The idea is to call excel for example from within our vb.exe
> Thanks in advance,
> Al
>
>
Author
28 Apr 2006 3:42 AM
Al_C
Thank you very much Vijay
Will implement it tomorrow ;)


Show quoteHide quote
"Vijay" <vi***@msdiscussions.com> wrote in message
news:eTJaJQnaGHA.1192@TK2MSFTNGP03.phx.gbl...
> No you don't have to use threads... Just use System.Diagnostics.Process  ,
> class that should get you to open applications outside of your
> application, using this you can call the FilePath or any executable
> path...
>
> if you are looking to opening excel or word files within your application,
> then use the WebBrowser Control
>
> Vijay
>
> "Al_C" <acl***@bicnet.net> wrote in message
> news:eUA9Y8maGHA.1196@TK2MSFTNGP03.phx.gbl...
>> Hi,
>> We have a few apps that we would like to invoke from withing our program.
>> Suggestions?  Should I create a seperate thrread to run the app in.
>> The idea is to call excel for example from within our vb.exe
>> Thanks in advance,
>> Al
>>
>>
>
>
Author
28 Apr 2006 4:54 AM
Cor Ligthert [MVP]
Al,

Here some links,

Office
http://support.microsoft.com/default.aspx?scid=kb;EN-US;311452

http://msdn.microsoft.com/office/

Pia Download
http://www.microsoft.com/downloads/details.aspx?FamilyID=c41bd61e-3060-4f71-a6b4-01feba508e52&displaylang=en

Excel dataset fill and updat
http://support.microsoft.com/default.aspx?scid=kb;EN-US;316934

Excel naar dataset
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vbcode/html/vbtskcodeexamplereadingexceldataintodataset.asp

Excel object model
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_vsto2003_ta/html/ExcelObj.asp

I hope this helps a little bit?

Cor


Show quoteHide quote
"Al_C" <acl***@bicnet.net> schreef in bericht
news:eUA9Y8maGHA.1196@TK2MSFTNGP03.phx.gbl...
> Hi,
> We have a few apps that we would like to invoke from withing our program.
> Suggestions?  Should I create a seperate thrread to run the app in.
> The idea is to call excel for example from within our vb.exe
> Thanks in advance,
> Al
>
>