MSFN Forum: Integrating CMD code into VB6? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Integrating CMD code into VB6? Rate Topic: -----

#1 User is offline   integer 

  • Newbie
  • Group: Members
  • Posts: 43
  • Joined: 16-October 03

Posted 26 November 2003 - 09:13 AM

Hey I have a bunch of CMD code that I would like to some way or another intergrate into VB6.... How can I do this I am new and this is my first attmept and really have no clue what I am doing just going with the flow of things as I go along.....


#2 User is offline   Datalore 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 852
  • Joined: 05-October 03

Posted 26 November 2003 - 09:46 AM

Search google for Visual Basic file operations. That should cover most things. (hint: ShellExecute)

#3 User is offline   integer 

  • Newbie
  • Group: Members
  • Posts: 43
  • Joined: 16-October 03

Posted 26 November 2003 - 11:33 AM

Datalore-

thx for the help

#4 User is offline   integer 

  • Newbie
  • Group: Members
  • Posts: 43
  • Joined: 16-October 03

Posted 26 November 2003 - 04:34 PM

ok I cant find it could U plz post a linkz thx

#5 User is offline   Datalore 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 852
  • Joined: 05-October 03

Posted 26 November 2003 - 04:46 PM

First link on the list when you type in "visual basic file operations" in Google:
File Operations
Misc. Shell operations
Here

#6 User is offline   integer 

  • Newbie
  • Group: Members
  • Posts: 43
  • Joined: 16-October 03

Posted 26 November 2003 - 05:00 PM

what really I obviouslly missed that sorry for wasting your time and thx again

#7 User is offline   Datalore 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 852
  • Joined: 05-October 03

Posted 26 November 2003 - 05:19 PM

Time spent helping people is not time wasted. Ask any time :)

#8 User is online   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,482
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 26 November 2003 - 05:30 PM

Did those help you or what are you tring to do?

#9 User is offline   Doggie 

  • I'm very inactive :(
  • Group: Patrons
  • Posts: 2,676
  • Joined: 13-October 02

Posted 26 November 2003 - 11:11 PM

i assumed going by the post he ment CMD as in cmd prompt..

#10 User is online   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,482
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 27 November 2003 - 12:32 AM

Lol I thought he wanted to run a .cmd file.
In VB you do the open file for output
write it
And then I use Shell to execute
Then of course Kill

But I have a nice class that wraps the cmd prompt with AllocConsole
Works great running fscan or something.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy