Sythe.Org Forums     Register     FAQ     Members List     Calendar     Mark Forums Read    
 
Sythe.Org Forums  
   Runescape Gold

Sythe.org — A Virtual Goods Trading Hub

Make real cash! buying and selling in-game items.

We have a no-scam policy.

You can make thousands playing your favourite games here at Sythe.org.

Just sign up an account and follow the rules!


Take me to

Runescape Markets

Other Game Markets

Support Center

Register an Account

Close
CMD Command with TextBoxX.Text
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 12-21-2009, 11:43 AM
mercatres's Avatar
Apprentice
 
Join Date: Mar 2008
Location: Belgium
Posts: 675
Send a message via Skype™ to mercatres
Default CMD Command with TextBoxX.Text

Hey I'm making a tool that encrypts URL's, now I try to make a small form to get the IP from an URL, I tried CMD,



Button1_Click
Code:
Shell("CMD.exe")
SendKeys.Send("nslookup" + TextBox1.Text)
SendKeys.Send("{ENTER}")
or

Code:
Shell("CMD.exe /k nslookup" + TextBox1.Text)
Both faild, TextBox1.Text is the URL btw...


Any ideas?
__________________
I make private osrs scripts for tribot - PM me

Reply With Quote
  #2  
Old 12-21-2009, 06:48 PM
Active Member
Visual Basic Programmers
 
Join Date: Dec 2005
Location: Alberta Canada
Posts: 235
Default Re: CMD Command with TextBoxX.Text

What you need to do is use the ProcessStartInfo class to redirect the input and output streams from the application so you can read and write to them.

Here is an example that shows how to redirect the input stream, and here is an example for the output stream.
Reply With Quote
  #3  
Old 12-21-2009, 07:11 PM
mercatres's Avatar
Apprentice
 
Join Date: Mar 2008
Location: Belgium
Posts: 675
Send a message via Skype™ to mercatres
Default Re: CMD Command with TextBoxX.Text

Quote:
Originally Posted by Flaming Idiots View Post
What you need to do is use the ProcessStartInfo class to redirect the input and output streams from the application so you can read and write to them.

Here is an example that shows how to redirect the input stream, and here is an example for the output stream.
I'm in VB08
__________________
I make private osrs scripts for tribot - PM me

Reply With Quote
Reply



Cheap RS Gold Store  Runescape Gold

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT +1. The time now is 05:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.1