Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 27-02-2009
Member
 
Join Date: Feb 2009
Posts: 12
Is there any way to call windows application in VB?

Hi,

Is there any way to call windows application in VB? Is there any control for this?

Regards,
Reply With Quote
  #2  
Old 27-02-2009
Member
 
Join Date: Jan 2009
Posts: 38
Re: Is there any way to call windows application in VB?

OLE Control is used to call a windows application into Vb.
Reply With Quote
  #3  
Old 27-02-2009
Member
 
Join Date: May 2008
Posts: 115
Re: Is there any way to call windows application in VB?

There is no control that does that. You either use the 'shell' command (look it up in VB help) or you have to use more detailed windows API calls (see CreateProcessBynum and the various structures that it uses in the windows SDK documentation).
Reply With Quote
  #4  
Old 27-02-2009
Member
 
Join Date: Jan 2009
Posts: 19
Re: Is there any way to call windows application in VB?

if you want to put it in the right click menu that is reasonably easy by adding registry keys, this does not need to be in your progam, but in the installation, though you can do it in your program the 1st time it is run

but if you want to put it in the main menu someone with more eperience may have to help you.
Reply With Quote
  #5  
Old 27-02-2009
Member
 
Join Date: Apr 2008
Posts: 1,948
Re: Is there any way to call windows application in VB?

Here's windows explorer....

Code:
 
   1.      Private Sub Command1_Click()
   2.        Shell "C:\Windows\Explorer.exe", vbNormalFocus
   3.      End Sub
Or, if you actually wanted My Computer, add a Common Dialog control to your form then...

Code:
   1.      Private Sub Command1_Click()
   2.      With CommonDialog1
   3.         .CancelError = True
   4.         .InitDir = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
   5.         .DialogTitle = "My Computer"
   6.         .ShowOpen
   7.      End With
   8.      End Sub
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Is there any way to call windows application in VB?"
Thread Thread Starter Forum Replies Last Post
Call entry stuck in Nokia C3-00 call log and stopped call logging Elijah*Blue Portable Devices 14 09-04-2012 02:49 PM
Call and SMS Manager Application for Nokia N900 Faiyaz9 Portable Devices 5 17-08-2011 08:12 AM
Console application v/s windows application Satchel Software Development 4 04-01-2011 12:13 AM
Install Call recording application for my Nokia 5800 dorido Portable Devices 3 20-10-2010 06:50 PM
In DCOMCnfg Run application on this computer is grayed out for my application on two Windows 7 machines Nauset Operating Systems 6 29-08-2010 06:15 AM


All times are GMT +5.5. The time now is 03:09 PM.