No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
crzy 4 gadgets.......
- Interests
- Java, C, Database
- PC Specs
- Core i3 4th gen, 2 GB NVidia 820, 4 GB RAM, 500 GB
Hi there, This is the code for opening various files using vb applicaton but here i need to provide the path for file. i want to open any file using vb app using Open Dialog control. Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation … | |
Private Sub Command1_Click() Shell ("cmd.exe") End Sub Private Sub Command2_Click() Shell ("calc.exe") End Sub Private Sub Command3_Click() Shell ("explorer.exe") End Sub Private Sub Command4_Click() Shell "winver.exe" End Sub Private Sub Command5_Click() Shell "C:\Program Files\Windows Media Player\wmplayer.exe" End Sub above code is able to open the pre-installed windows programs. But now … |