-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: Kishor
Message 2 in Discussion




Hi,

Please See the 
code.

Dim ProcID As Integer

' Run Internet.

ProcID = Shell("C:\Program Files\Internet 
Explorer\IEXPLORE.EXE", AppWinStyle.NormalFocus)
Kishor
 
 
 

  -----Original Message-----
From: limson 
  [mailto:[EMAIL PROTECTED]
Sent: Friday, July 25, 2003 11:03 
  AM
To: MumbaiUserGroup
Subject: ShellExecute in 
  vb.net


  
    
      
      New Message on MumbaiUserGroup
    
      

  ShellExecute in vb.net


    
      
      
        Reply

        
          
            
            
               
              Reply to Sender   Recommend 
              Message 1 in 
                Discussion 
      
        
          
            
            
              From: limson 
            
              

                hi guys
                 
                general 
                declaration
                Public Declare Function ShellExecute Lib "shell32.dll" 
                Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As 
                String, ByVal lpFile As String, ByVal lpParameters As String, 
                ByVal lpDirectory As String, ByVal nShowCmd As Long) As 
                Long
                 
                Private Sub button1_Click()
ShellExecute 0, "open", "http://www.yahoo.com";, 0, 0, 1
End Sub
                 
                the above code work fine to open url in vb 6 put it is not 
                working on vb.net
                 
                anybody with any help will be appreciated
                 
                limson
View other groups in this 
    category. 



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to