Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: Visual Basic 2005 and Tool

  1. #1
    Master of the {KaS} Clan
    Join Date
    Jan 2007
    Posts
    176

    Visual Basic 2005 and Tool

    Ok i decided to play around with VB I started an app but i would it to be able to compile maps, bitmaps, compile jms files, as well as set radiosity level with a slide bar. Any one know how i would go about in doing this. I tried but all i can get it to do is run tool. Do i need to declare something. Please help me.
    Reply With Quote

  2. #2
    I LOVE mint tea! Bad Waffle's Avatar
    Join Date
    Sep 2006
    Location
    In my house, duh
    Posts
    2,285

    Re: Visual Basic 2005 and Tool

    what?
    Reply With Quote

  3. #3
    Senior Member DaaxGhost's Avatar
    Join Date
    May 2007
    Posts
    595

    Re: Visual Basic 2005 and Tool

    Quote Originally Posted by korori View Post
    Ok i decided to play around with VB I started an app but i would it to be able to compile maps, bitmaps, compile jms files, as well as set radiosity level with a slide bar. Any one know how i would go about in doing this. I tried but all i can get it to do is run tool. Do i need to declare something. Please help me.
    Uh, i have made programs. with c#,and j#, and other stuff. c++; But VB.Net. uh, you should really make this app in c# or c++. becuase there have more codes. Ask FireScythe he knows tons.
    Reply With Quote

  4. #4
    Master of the {KaS} Clan
    Join Date
    Jan 2007
    Posts
    176

    Re: Visual Basic 2005 and Tool

    Thats the thing i only know how to program in VB. I know its possible i just dont know how to go about it
    Reply With Quote

  5. #5

    Re: Visual Basic 2005 and Tool

    What do you not know how to do? Open and save data to binary files? Processing the data into compiled formats? It would be easier just to make a GUI based application that sends commands to tool.exe, but thats something I don't know how to do in vb.
    Reply With Quote

  6. #6
    Senior Member DaaxGhost's Avatar
    Join Date
    May 2007
    Posts
    595

    Re: Visual Basic 2005 and Tool

    You can make batch files that sends commands to tool.exe.
    Reply With Quote

  7. #7
    chilango Con's Avatar
    Join Date
    Aug 2006
    Location
    Victoria, BC, Canada
    Posts
    8,397

    Re: Visual Basic 2005 and Tool

    Quote Originally Posted by Daax View Post
    You can make batch files that sends commands to tool.exe.
    This is what most people do for commands they need to redo all the time, but if you want to make an app that will enter the commands for you, like a visual interface, where you can put in specific values...
    Code:
    AppActivate(Path.Text)
    Windows.Forms.SendKeys.Send("your command here")

    This makes your tool window the active window, then sends commands to it.
    Path.Text would be the name of the command prompt window when you're running tool. For me atleast, it's the path to the cmd.exe located in my CE root dir.
    Last edited by Con; July 21st, 2007 at 04:42 PM.
    Reply With Quote

  8. #8
    Senior Member DaaxGhost's Avatar
    Join Date
    May 2007
    Posts
    595

    Re: Visual Basic 2005 and Tool

    But that "code" you put on; you have to have the buttons/or the right keys on the form. or else it underlines it all and gives an error.
    Reply With Quote

  9. #9
    おはようございます klange's Avatar
    Join Date
    Dec 2006
    Posts
    3,028

    Re: Visual Basic 2005 and Tool

    You could use the shell function...
    shell ("[tool location]\tool.exe [options]")
    Reply With Quote

  10. #10
    Senior Member DaaxGhost's Avatar
    Join Date
    May 2007
    Posts
    595

    Re: Visual Basic 2005 and Tool

    Quote Originally Posted by AdmiralBacon View Post
    You could use the shell function...
    shell ("[tool location]\tool.exe [options]")
    Thats one way, if you were using c#, or c++ i would be able to help. :\
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •