Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Visual Basic >> Snippet

Open text file with default text app


Dim temp As String , i As Long
temp = "gbsimplecamconfig.txt"
i = ShellExecute(frmMain.hwnd, "Open" , temp, vbNullString, App.Path, SW_ShowNormal)