473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

passing dos commands in vb.net

Please help
I've written a "database" program, "database" in the sense that it's an
organised collection of data, but i only used sequential files. Since more
than one file is required in the smooth running of the database, if something
happens to one file, the whole thing is useless. My solution is to copy the
entire folder to another location, which can be loaded in the event that some
files are dammaged. I've written a program in c that can do just that, and i
run the program through the main program. The problem is, i don't want the
users of my program to see the msdos window at all, so i need to be able to
copy files using a function in vb.net. Please help
--
Thanks for reading
Nov 22 '05 #1
2 2254
You can copy files from your .net code using the System.IO.File.Copy method.

HTH, Jakob.

"waisty vb.net rookie" wrote:
Please help
I've written a "database" program, "database" in the sense that it's an
organised collection of data, but i only used sequential files. Since more
than one file is required in the smooth running of the database, if something
happens to one file, the whole thing is useless. My solution is to copy the
entire folder to another location, which can be loaded in the event that some
files are dammaged. I've written a program in c that can do just that, and i
run the program through the main program. The problem is, i don't want the
users of my program to see the msdos window at all, so i need to be able to
copy files using a function in vb.net. Please help
--
Thanks for reading

Nov 22 '05 #2
Thanks for your help Jakob

"Jakob Christensen" wrote:
You can copy files from your .net code using the System.IO.File.Copy method.

HTH, Jakob.

"waisty vb.net rookie" wrote:
Please help
I've written a "database" program, "database" in the sense that it's an
organised collection of data, but i only used sequential files. Since more
than one file is required in the smooth running of the database, if something
happens to one file, the whole thing is useless. My solution is to copy the
entire folder to another location, which can be loaded in the event that some
files are dammaged. I've written a program in c that can do just that, and i
run the program through the main program. The problem is, i don't want the
users of my program to see the msdos window at all, so i need to be able to
copy files using a function in vb.net. Please help
--
Thanks for reading

Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Rob Hunter | last post by:
Hi all. I want to run a Python daemon that manages a "to-do" queue. I want it so that the daemon is always running, where its running consists of looking at the queue to see if it has any jobs,...
1
by: stealthwang | last post by:
I'm still very new to Python, after decideding to learn a true programming language (rather then a scripting language, i like to think i'm a intermediate PHP user). I decided for my first project I...
4
by: David Gilbert | last post by:
Is better to pass the same SQL connection to all of my user controls. Should I make a global object for my SQL connection, or is there some other better choice out there. Thanks DG
17
by: mr.resistor | last post by:
hey i am having a few problems calling a C DLL from C#. i am using a simple function that takes an array of floats and an integer as an input, but i cannot seem to get it to work. when i try to...
5
by: Chris Hieronymus | last post by:
Hi, I have a bunch of x-y data contained in an array. I would like to plot the data using an external program (psxy in GMT). The plotting program takes x-y couples as standard input. ...
1
by: Giao | last post by:
Hi, I'd like to do the following things in python script x = "file1" y = "file2" shell's commands x y Is any one out there tell me how it get done. Thanks
2
by: Hakan Örnek | last post by:
Hi , I want to parameter passing to my windows sevice. I call service commands like this ; '------------------------------------------------------------ Dim sc As ServiceController sc = New...
4
by: cjt22 | last post by:
Hi there. I just wondered whether anyone could recommend the correct way I should be passing command line parameters into my program. I am currently using the following code: def main(argv =...
0
by: eitanyan | last post by:
I am trying to create a Java to .Net interop and the way I am doing it is by creating a C# com object and a native unmanaged c++ dll that uses JNIEnv of java. the java is loading the native c++ dll...
7
by: John | last post by:
Hi How can I send simple commands like GotoClient 10, GotoSupplier 53 etc to a WinForm app? Thanks Regards
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.