Results 1 to 19 of 19

Thread: anyone can help with my project?

Hybrid View

  1. #1
    Frenzied Member wiz126's Avatar
    Join Date
    Jul 2005
    Location
    Mars,Milky Way... Chit Chat Posts: 5,733
    Posts
    1,080

    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?

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2002
    Location
    Philippines
    Posts
    877

    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

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2002
    Location
    Philippines
    Posts
    877

    Re: anyone can help with my project?

    this is the module

    VB Code:
    1. Public Const SW_HIDE = 0
    2. Public Const SW_SHOWNORMAL = 1
    3. Public Const SW_NORMAL = 1
    4. Public Const SW_SHOWMINIMIZED = 2
    5. Public Const SW_SHOWMAXIMIZED = 3
    6. Public Const SW_MAXIMIZE = 3
    7. Public Const SW_SHOWNOACTIVE = 4
    8. Public Const SW_SHOW = 5
    9. Public Const SW_MINIMIZE = 6
    10. Public Const SW_SHOWINNOACTIVE = 7
    11. Public Const SW_SHOWNA = 8
    12. Public Const SW_RESTORE = 9
    13. Public Const SW_SHOWDEFAULT = 10
    14. Public Const SW_MAX = 10
    15.  
    16.  
    17. Public Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowsName As String) As Long
    18. Public Declare Function SetForegroundWindow Lib "user32" (ByVal hwnd As Long) As Long
    19. Public Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal cCmdShow As Long) As Long

  4. #4
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    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?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  5. #5
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    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.

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2002
    Location
    Philippines
    Posts
    877

    Re: anyone can help with my project?

    ok this is the program

    you may try this...
    Attached Files Attached Files

  7. #7
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    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
  •  



Click Here to Expand Forum to Full Width