Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 07-07-2009
Member
 
Join Date: Jan 2009
Posts: 23
Template for Command-Line utility in VB

Hello friends,
I'm learning VS/VB.net,so probably not much in to in it. I would like to make a command line utility which utilizes two parameters, reads a file, also writes to another file.so i want to know which VS/VB.net template should I use
please give me some inputs expecting a nice suggestions.

thanks for any help.!!!
Reply With Quote
  #2  
Old 07-07-2009
Member
 
Join Date: Apr 2008
Posts: 1,948
Re: Template for Command-Line utility in VB

If you are using SQL server you can do a remote db update,and you need to create a console application in order to do this since this is a server db. this file should read log files from input folder and based on each line in the file,and can update some tables in the database after that and move the log file to output folder.
Reply With Quote
  #3  
Old 07-07-2009
Member
 
Join Date: Apr 2008
Posts: 2,001
Re: Template for Command-Line utility in VB

I wrote parallel port program which will enables a motion of a robot and i could help you in terms of my program.it uses 2 motor ,the current function as i half is written in the source code itself..and i need to read the same functions from a text file and execute the same from there.My program should first read the text file, and then it should be able to do the task of the codes written, and so does the code.To read and execute the code from and external file rather than by predefining the movements in the underlying codes itself. possibly want to display the codes read in the text file in the interface.
Reply With Quote
  #4  
Old 07-07-2009
Member
 
Join Date: May 2008
Posts: 2,293
Re: Template for Command-Line utility in VB

All right you need to know the following since you have to utilize the console program for the above purpose, basically there are four requirements to create a useful console program in VB6:
* Remove all forms and dialogs
* Provide access to standard input, output, and error streams
* Provide access to the command-line arguments
* Re-link the program for the Windows Console subsystem
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Template for Command-Line utility in VB"
Thread Thread Starter Forum Replies Last Post
xcopy command line together with wmplayer command line Aislinn Operating Systems 5 31-03-2010 12:13 PM
What is use of MAC's command line utility Leonard Windows Software 6 09-02-2010 08:52 AM
Problem: Command Line Option Syntax Error. Type Command /? For Help Nadeem MediaCenter 3 03-09-2009 05:41 PM
Tracert command-line utility in Windows BiGMaCHiNe Networking & Security 1 27-07-2009 11:02 PM
autorun.inf - shell\..\command with command line parameter doesn'twork kakii Windows XP Support 1 18-05-2007 01:24 AM


All times are GMT +5.5. The time now is 02:40 AM.