|
Have you tried
System.IO.File.Copy("Source", "Destination"); Docs on MSDN[^]
Simon
|
|
|
|
|
Simon Stevens wrote: System.IO.File.Copy("Source", "Destination");
Hey I tried it but I got FileNotFoundException. Can u plz e-mail me full project at troll@hotmail.com ? It's very urgntz. Thanks
|
|
|
|
|
|
You should have guessed that it's not he because I said 'Thanks' while he uses[^] 'thx'
|
|
|
|
|
I spotted that. A dead give-away.
7r01z can't write out the word "thanks" without bursting. It's like trolls and sunshine...
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
|
Giorgi Dalakishvili wrote: Will it work?
Probably not.
Simon
|
|
|
|
|
thx budy, its working
Maifs
|
|
|
|
|
You need to copy a file so why don't you Google or search msdn? Is it so difficult?
|
|
|
|
|
no, i didnt find it,
thx
Maifs
|
|
|
|
|
|
|
And there is a point to this post? Have you tried MSDN, Google, or even (heaven forbid) press F1 while in the ide?
I think you are in the wrong job if you are unable to do something this simple without posting to a forum.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
I am facing simlar problem here. If you get it, plz send me also. my email is chandu_reddy86@yahoo.com. Please send
|
|
|
|
|
hi
man read first one ansers to search from googles.this is not a place of doing such questions.
read that articles in my replies then you can find your anser.
thry this one.
System.IO.File.Copy("C:\\abc.txt", "D:\\abc.txt");
and make sure the file is exist on c drive, if not then create a text file
named abc and save on c drive.
Maifs
|
|
|
|
|
Just post your bank account details and I'll email you all the codez you want as urgntz as you can take them. (I'm not joking. I'm serious. Just post them. I won't charge too much )
Alternatively, you can read the responses that are already here and stop wasting everyone's time.
Simon
|
|
|
|
|
Simon Stevens wrote: Alternatively, you can read the responses that are already here and stop wasting everyone's time
or just try a career change
Bob
Ashfield Consultants Ltd
|
|
|
|
|
can any body give me Idea about linq in VS 2008
|
|
|
|
|
Yes, there are thousands of articles. Try Google.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
MSDN - LINQ[^]
Wikipedia - LINQ[^]
LINQ is part of .net 3.5 which comes with VS 2008.
it provides an integrated query language for performing searches and sorts on collections.
various providers also allow LINQ to be used for the same operations over SQL connections and XML files. (Linq-to-sql and Linq-to-xml). (And with SP1, entities in the entity framework (linq-to-entities).
What is it you want to do with it?
Simon
|
|
|
|
|
Scott Gu[^] has nice introductory articles at his blog.
|
|
|
|
|
I'm writing a window application were I would need to use tab page as an template to be used multiple times.
I need an advice as to the best way to do it.
Is it better to create a dialog and insert it into a new tab or create a tab page as a different form/class?
10x,
|
|
|
|
|
Inbaljona wrote: Is it better to create a dialog and insert it into a new tab or create a tab page as a different form/class?
I'm not sure what you mean by "creating a dialog and inserting into a new tab".
I would create a base 'PageTemplate' class (inheriting from UserControl) that defined the template, and then have a class for each page that inherited from this base, and added the extras.
Simon
|
|
|
|
|
I'm writting a window application were I would need to use tab page as an template to be used multiple times.
I need an advice as to the best way to do it.
Is it better to create a dialog and insert it into a new tab or create a tab page as a different form/class?
10x,
|
|
|
|
|
Alright, why in the world did MS think that putting all of the tab page child controls under the control of the parent form was a good idea? I have a form that has about 15 tabs, all with a bunch of controls. Is it possible to make each tab page its own "form" so I can still modify them in the designer?
I would envision this as being like a PropertySheet in MFC, where you create a form with a propertysheet panel in it and then add separately-created property pages, each of which have their own controls.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|