![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Difference in launching application thru VB6 and VB.Net. Hi, An application give an error for missing dll when launched via executable directly by double click. However when I launch it thru VB6 (“CreateProcess” method) this error message is suppressed automatically.i.e. missing dll error doesn’t appear. On the other side when I launch the same application thru VB2005 (“Process.Start” method) then dll missing message start appearing. I want to know why message has been suppressed when launching thru VB6 unlike VB2005. Thanx in advance Regards Immi |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Difference in launching application thru VB6 and VB.Net. Immi, Never seen, Can you show your code in VB 2005? Cor "immi" <i4innocent@xxxxxx> wrote in message news:4ea42469-bc28-493e-bcb4-98c58889ab4d@xxxxxx Hi, An application give an error for missing dll when launched via executable directly by double click. However when I launch it thru VB6 (“CreateProcess” method) this error message is suppressed automatically.i.e. missing dll error doesn’t appear. On the other side when I launch the same application thru VB2005 (“Process.Start” method) then dll missing message start appearing. I want to know why message has been suppressed when launching thru VB6 unlike VB2005. Thanx in advance Regards Immi |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Difference in launching application thru VB6 and VB.Net. > Never seen, Quote: > > Can you show your code in VB 2005? Thanx for reply In VB6 ---------- CreateProcess(0&, ExePath, 0&, 0&, 0&, NORMAL_PRIORITY_CLASS, 0&, 0&, startinfo, procinfo) Where startinfo and procinfo are structures In VB2005 --------------- Dim Obj As New Process Obj.Start(ExePath) Regards Immi |
My System Specs![]() |
| | #4 (permalink) |
| | Re: Difference in launching application thru VB6 and VB.Net. Ken and me have a website for this kind of problems, You have in VB for Net to use the Process class Have a look at the samples. http://www.vb-tips.com/StartProcess.aspx Cor "immi" <i4innocent@xxxxxx> wrote in message news:13115370-ed2d-4fc6-942f-7bfcc6901f17@xxxxxx Quote: Quote: >> Never seen, >> >> Can you show your code in VB 2005? > Cor, > Thanx for reply > > In VB6 > ---------- > > CreateProcess(0&, ExePath, 0&, 0&, 0&, NORMAL_PRIORITY_CLASS, 0&, 0&, > startinfo, procinfo) > > Where startinfo and procinfo are structures > > In VB2005 > --------------- > Dim Obj As New Process > Obj.Start(ExePath) > > Regards > Immi |
My System Specs![]() |
| | #5 (permalink) |
| | Re: Difference in launching application thru VB6 and VB.Net. > Have a look at the samples. Quote: What i understand from the link that you want me to suppress the message using "\S" as an command line argument. But its doesn't work. Is there any other work around? Thanks, Immi |
My System Specs![]() |
| | #6 (permalink) |
| | Re: Difference in launching application thru VB6 and VB.Net. Show the code you made, because it is simply a bunch of examples on that page Cor "immi" <i4innocent@xxxxxx> wrote in message news:d69c65d8-2d05-429d-9349-c443d34cbb64@xxxxxx Quote: Quote: > Cor, > > What i understand from the link that you want me to suppress the > message using "\S" as an command line argument. But its doesn't work. > Is there any other work around? > > Thanks, > Immi |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| launching/not launching programs upon logging in | Vista General | |||
| Application can not use mapped drive when launching from RDP session. | Vista networking & sharing | |||
| Launching an application from a setup.exe program in InstallShield (elevated mode) | Vista General | |||
| appdata-local-Application Data-Application Data-Application Data infinitum ad nauseum. WHY | Vista General | |||
| Media Player playing files but not launching application window | Vista General | |||