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 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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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,...
|
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...
|
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
|
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...
|
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. ...
|
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
|
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...
|
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 =...
|
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...
|
by: John |
last post by:
Hi
How can I send simple commands like GotoClient 10, GotoSupplier 53 etc to a
WinForm app?
Thanks
Regards
|
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,...
|
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$) {
}
...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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,...
|
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...
| |