Click here to Skip to main content
15,888,733 members
Home / Discussions / C#
   

C#

 
Questioncannot insert into database 2005 using visual c# 2008 Pin
Adekolurejo12-Jun-09 2:01
Adekolurejo12-Jun-09 2:01 
AnswerRe: cannot insert into database 2005 using visual c# 2008 Pin
Nagy Vilmos12-Jun-09 2:26
professionalNagy Vilmos12-Jun-09 2:26 
AnswerRe: cannot insert into database 2005 using visual c# 2008 Pin
Rob Philpott12-Jun-09 2:37
Rob Philpott12-Jun-09 2:37 
GeneralRe: cannot insert into database 2005 using visual c# 2008 Pin
PIEBALDconsult12-Jun-09 3:49
mvePIEBALDconsult12-Jun-09 3:49 
GeneralRe: cannot insert into database 2005 using visual c# 2008 Pin
Rob Philpott12-Jun-09 4:12
Rob Philpott12-Jun-09 4:12 
GeneralRe: cannot insert into database 2005 using visual c# 2008 Pin
PIEBALDconsult12-Jun-09 9:21
mvePIEBALDconsult12-Jun-09 9:21 
GeneralRe: cannot insert into database 2005 using visual c# 2008 Pin
Rob Philpott12-Jun-09 23:17
Rob Philpott12-Jun-09 23:17 
QuestionFileWather Path Error [modified][Solved] Pin
MumbleB12-Jun-09 1:58
MumbleB12-Jun-09 1:58 
Hi Guys. I have written a Windows Service with a FileWatcher. Now, when there are new files in the directory it picks the files up fine but when it has to copy then out into a new directory I get an error of The given path's format is not supported. Below is the copy function.

try
{
    string path = fsw.Path;
    string outPath = "C:\\TestDir2\\";
    char[] trimchars = new char[] { '.', 't', 'x', 't' };
    DirectoryInfo dinfo = new DirectoryInfo(path);
    foreach (FileInfo finfo in dinfo.GetFiles("*.*"))
    {
        File.Copy(finfo.FullName, outPath + finfo.FullName, true);
    }
}


It stops on the line: FIle.Copy(finfo.FullName, outPath + finfo.FullName, true);. Anybody have any ideas?

Excellence is doing ordinary things extraordinarily well.

modified on Friday, June 12, 2009 8:26 AM

AnswerRe: FileWather Path Error Pin
_AnsHUMAN_ 12-Jun-09 2:02
_AnsHUMAN_ 12-Jun-09 2:02 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 2:09
MumbleB12-Jun-09 2:09 
GeneralRe: FileWather Path Error Pin
Nagy Vilmos12-Jun-09 2:17
professionalNagy Vilmos12-Jun-09 2:17 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 2:28
MumbleB12-Jun-09 2:28 
GeneralRe: FileWather Path Error Pin
Nagy Vilmos12-Jun-09 2:39
professionalNagy Vilmos12-Jun-09 2:39 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 2:48
MumbleB12-Jun-09 2:48 
QuestionFocus on a searched text in richtextbox Pin
rakeshs31212-Jun-09 1:55
rakeshs31212-Jun-09 1:55 
AnswerRe: Focus on a searched text in richtextbox Pin
Luc Pattyn12-Jun-09 2:34
sitebuilderLuc Pattyn12-Jun-09 2:34 
GeneralRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 2:37
professionalNagy Vilmos12-Jun-09 2:37 
GeneralRe: Focus on a searched text in richtextbox Pin
Luc Pattyn12-Jun-09 3:11
sitebuilderLuc Pattyn12-Jun-09 3:11 
GeneralRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 3:53
professionalNagy Vilmos12-Jun-09 3:53 
GeneralRe: Focus on a searched text in richtextbox Pin
Luc Pattyn12-Jun-09 4:00
sitebuilderLuc Pattyn12-Jun-09 4:00 
AnswerRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 2:37
professionalNagy Vilmos12-Jun-09 2:37 
QuestionWifi disconnection problem in windosce application Pin
obalesu12-Jun-09 1:43
obalesu12-Jun-09 1:43 
AnswerRe: Wifi disconnection problem in windosce application Pin
MickCurley12-Jun-09 1:55
MickCurley12-Jun-09 1:55 
QuestionPrint directly with out print dialouge. Pin
yesu prakash12-Jun-09 1:36
yesu prakash12-Jun-09 1:36 
AnswerRe: Print directly with out print dialouge. Pin
Mirko198012-Jun-09 3:56
Mirko198012-Jun-09 3:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.