Jul 28th, 2005, 11:47 PM
#1
Frenzied Member
Re: anyone can help with my project?
I really don't see the point of showing the result in a dos prompt. can u explain me why are you trying do?
Jul 29th, 2005, 12:39 AM
#2
Thread Starter
Fanatic Member
Re: anyone can help with my project?
@wiz126
i have here a dos.exe
so in the text1.text: you will enter a number then
it will automatically execute the dos.exe then it will show the result it the dos prompt and i wanted this not to show anymore the dos prompt... i want
the result to show in the listbox or textbox
Thanks
Jul 29th, 2005, 12:40 AM
#3
Thread Starter
Fanatic Member
Re: anyone can help with my project?
this is the module
VB Code:
Public Const SW_HIDE = 0
Public Const SW_SHOWNORMAL = 1
Public Const SW_NORMAL = 1
Public Const SW_SHOWMINIMIZED = 2
Public Const SW_SHOWMAXIMIZED = 3
Public Const SW_MAXIMIZE = 3
Public Const SW_SHOWNOACTIVE = 4
Public Const SW_SHOW = 5
Public Const SW_MINIMIZE = 6
Public Const SW_SHOWINNOACTIVE = 7
Public Const SW_SHOWNA = 8
Public Const SW_RESTORE = 9
Public Const SW_SHOWDEFAULT = 10
Public Const SW_MAX = 10
Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowsName As String) As Long
Public Declare Function SetForegroundWindow Lib "user32" (ByVal hwnd As Long) As Long
Public Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal cCmdShow As Long) As Long
Jul 29th, 2005, 12:43 AM
#4
Re: anyone can help with my project?
Dont you have the source of that dos.exe so you could just convert it altogether to vb?
Jul 29th, 2005, 12:49 AM
#5
Re: anyone can help with my project?
Or, just explain what it returns, and how it does it, and we could probably recreate it using vb.
Jul 29th, 2005, 12:51 AM
#6
Thread Starter
Fanatic Member
Re: anyone can help with my project?
ok this is the program
you may try this...
Attached Files
Jul 29th, 2005, 01:13 AM
#7
Re: anyone can help with my project?
That is not a DOS program. That is a compiled .exe, and nobody here will run an exe. I'd bet that it gets removed by the mods, as they don't want anybody downloading .exe's from this site.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width