Results 1 to 5 of 5

Thread: Is there any way to call windows application in VB?

  1. #1
    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,

  2. #2
    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.

  3. #3
    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).

  4. #4
    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.

  5. #5
    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

Similar Threads

  1. Replies: 14
    Last Post: 09-04-2012, 02:49 PM
  2. Call and SMS Manager Application for Nokia N900
    By Faiyaz9 in forum Portable Devices
    Replies: 5
    Last Post: 17-08-2011, 08:12 AM
  3. Console application v/s windows application
    By Satchel in forum Software Development
    Replies: 4
    Last Post: 04-01-2011, 12:13 AM
  4. Install Call recording application for my Nokia 5800
    By dorido in forum Portable Devices
    Replies: 3
    Last Post: 20-10-2010, 06:50 PM
  5. Replies: 6
    Last Post: 29-08-2010, 06:15 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,007,764.58884 seconds with 17 queries