Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

Help: vb6 open file

Status
Not open for further replies.
Kung ang tinutukoy mo ay yung makakapag browse ka ng file, you can use CommonDialog API.
 
ganto po mga sir, gusto ko po kasi mapadali pag rereformat ko ng mga client pc ko, hirap kasi dito sa shop ko, pag mag rereformat ako hahalungkatin ko pa external ko.

pag click ko ng button lalabas yung setup file ng bawat software. visual basic 6 pro po gamit ko

View attachment 255792
 

Attachments

  • Capture.JPG
    Capture.JPG
    46.1 KB · Views: 7
Code:
Dim Res
Dim Filename
    Filename = "C:\windows\notepad.exe" 'Check file is here first
If Dir(Filename) = "" Then
    MsgBox Filename & " not found", vbInformation
Else
    Res = Shell("Start.exe " & Filename, vbHide)
End If
 
Code:
Dim Res
Dim Filename
    Filename = "C:\windows\notepad.exe" 'Check file is here first
If Dir(Filename) = "" Then
    MsgBox Filename & " not found", vbInformation
Else
    Res = Shell("Start.exe " & Filename, vbHide)
End If

natry ko na yan sir, nakita ko yan sa google. pero not working yan.
 
Status
Not open for further replies.
Back
Top Bottom