VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

This application should be used in place of shelling a application. If we shell a program and its n

Vishal V. Kulkarni  (6 Submissions)   Windows API Call/Explanation   VB 6.0   Unknown Difficulty   Fri 16th February 2001   Mon 8th February 2021

This application should be used in place of shelling a application. If we shell a program and its not present in that directory then we

API Declarations


'program and opens the file.
'This code can be freely distributed.
'Please mail your queries at [email protected]
'Need:
'====
'This application should be used in place of shelling a application.
'If we shell a program and its not present in that directory then we encounter
'errors .This code takes care to open the file in a default program

Option Explicit
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpszOp As String, ByVal lpszFile As String, ByVal lpszParams As String, ByVal lpszDir As String, ByVal FsShowCmd As Long) As Long
Private Declare Function GetDesktopWindow Lib "user32" () As Long
Const SW_SHOWNORMAL = 1

Rate This application should be used in place of shelling a application. If we shell a program and its n (1(1 Vote))
This application should be used in place of shelling a application. If we shell a program and its n.bas

This application should be used in place of shelling a application. If we shell a program and its n Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters