TechArena Community

TechArena Community (http://forums.techarena.in/)
-   Software Development (http://forums.techarena.in/software-development/)
-   -   Template for Command-Line utility in VB (http://forums.techarena.in/software-development/1209301.htm)

Jaishree 07-07-2009 09:55 AM

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.!!!

Praetor 07-07-2009 10:07 AM

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.

kelfro 07-07-2009 10:15 AM

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.

Zecho 07-07-2009 10:18 AM

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


All times are GMT +5.5. The time now is 03:09 AM.