Re: How can I call IE from my eVB app?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Pete Vickers [eMVP] (pete)
Date: 02/05/04


Date: Thu, 5 Feb 2004 08:33:21 -0000

Hi,
use
Public Declare Function CeCreateProcess Lib "Coredll" Alias "CreateProcessW"
(ByVal lpApplicationName As String, ByVal lpCommandLine As String, ByVal
lpProcessAttributes As Long, ByVal lpThreadAttributes As Long, ByVal
bInheritHandles As Long, ByVal dwCreationFlags As Long, ByVal lpEnvironment
As Long, ByVal lpCurrentDirectory As Long, ByVal lpStartupInfo As Long,
ByVal lpProcessInformation As String) As Long

and similar to
Success = CeCreateProcess("\programs\myprog.exe", commandline, 0, 0, 0, 0,
0, 0, 0, 0)

HTH

Pete

-- 
Pete Vickers
Microsoft Windows Embedded MVP
HP Business Partner
http://www.gui-innovations.com
"Jeff Chan" <jeffchan629@hotmail.com> wrote in message
news:%23ecX$m76DHA.3704@tk2msftngp13.phx.gbl...
> Dear all,
>
> I want to "ShellExecute" an application from my eVB program. However, I do
> not know how it can be done. Any body can tell me how to do so or provide
a
> code segment? Is the code segment same as Visual Basic?
>
> Thank you very very much.
> Jeff.
>
>


Relevant Pages

  • Re: CreateProcessA Lib "kernel32" problem
    ... >lpApplicationName As String, ByVal lpCommandLine As String, ... >lpProcessAttributes As SECURITY_ATTRIBUTES, lpThreadAttributes As ... * For default security you can declare ...
    (microsoft.public.vb.winapi)
  • Re: start another exe possible?
    ... (ByVal lpApplicationName As String, ByVal lpCommandLine As String, ByVal ... lpProcessAttributes As Long, ByVal lpThreadAttributes As Long, ByVal ... bInheritHandles As Long, ByVal dwCreationFlags As Long, ByVal lpEnvironment ...
    (microsoft.public.pocketpc.developer)
  • Re: API Questions
    ... This is the whole API list with C/C++ documentation (You have to convert ... > Type STARTUPINFO ... > lpApplicationName As String, ByVal lpCommandLine As String, ByVal ... > lpProcessAttributes As Long, ByVal lpThreadAttributes As Long, ByVal ...
    (microsoft.public.vb.syntax)
  • Re: How do I launch Internet Explorer from eVB App?
    ... (ByVal lpApplicationName As String, ByVal lpCommandLine As String, ByVal ... lpProcessAttributes As Long, ByVal lpThreadAttributes As Long, ByVal ... bInheritHandles As Long, ByVal dwCreationFlags As Long, ByVal lpEnvironment ... Pete Vickers ...
    (microsoft.public.windowsce.embedded.vb)
  • Re: Calculator
    ... Taking that string, you could create the code that I laid out for you. ... create a code segment and compile and run it). ... >>> I'm developing a user control with a textbox inside. ...
    (microsoft.public.dotnet.languages.csharp)