Posted May 21, 201312 yr How to make command button in VISUAL BASIC 06 which can :- 1) Open a file >code plzz 2) Open up a website >code plzz 3) Also how to make a patcher in VB6 (not anything else And also if anybody can help me in making VB6 programs. I have little knowledge of VB6. I dont now C++ , Delphi ...etc. I can make :- 1) Generate key button 2) Exit button Please give me the code for different functions for VB6. Edited May 21, 201312 yr by Teddy Rogers Edited post to make it reasonably understandable. Also deleted the stupid amount of emoticons. Next time I will trash the topic...
May 21, 201312 yr And what you can make on the1) Generate key button2)or the exit buttonIf you can make only the buttons then you need to read some tut's on the www.your said : And also if anybody can help me in making VB6 programs. I have little knowledge of VB6!!What i say two lines above your need to read or whatch tut's on the www or buy some books about vb.As i can remember vb is are object based langue !!First try google for your self: vb openfiledialog Edited May 21, 201312 yr by accede
May 21, 201312 yr Try this:General:Private Declare Function WinExec Lib "kernel32" (ByVal _lpCmdLine As String, ByVal nCmdShow As Long) As LongConst sw_hide = 0Const sw_shownormal = 1Const sw_normal = 1Const sw_showminimized = 2Const sw_showmaximized = 3Const sw_maximize = 3Const sw_shownoactivate = 4Const SW_SHOW = 5Const sw_minimize = 6Const sw_showinnoactivate = 7Const sw_showna = 8Const sw_restore = 9Const sw_showdefault = 10Const sw_max = 10 Command button:Call WinExec(file, sw_showmaximized or minimized or...see table above)*You need to set the variable file as string(filelistbox, textbox.....)
Create an account or sign in to comment