Click here to Skip to main content
14,692,883 members
Home » Discussions » C#
   

C#

 
Questioncannot insert into database 2005 using visual c# 2008 Pin
Adekolurejo12-Jun-09 3:01
MemberAdekolurejo12-Jun-09 3:01 
AnswerRe: cannot insert into database 2005 using visual c# 2008 Pin
Nagy Vilmos12-Jun-09 3:26
professionalNagy Vilmos12-Jun-09 3:26 
AnswerRe: cannot insert into database 2005 using visual c# 2008 Pin
Rob Philpott12-Jun-09 3:37
MemberRob Philpott12-Jun-09 3:37 
GeneralRe: cannot insert into database 2005 using visual c# 2008 Pin
PIEBALDconsult12-Jun-09 4:49
professionalPIEBALDconsult12-Jun-09 4:49 
GeneralRe: cannot insert into database 2005 using visual c# 2008 Pin
Rob Philpott12-Jun-09 5:12
MemberRob Philpott12-Jun-09 5:12 
GeneralRe: cannot insert into database 2005 using visual c# 2008 Pin
PIEBALDconsult12-Jun-09 10:21
professionalPIEBALDconsult12-Jun-09 10:21 
GeneralRe: cannot insert into database 2005 using visual c# 2008 Pin
Rob Philpott13-Jun-09 0:17
MemberRob Philpott13-Jun-09 0:17 
QuestionFileWather Path Error [modified][Solved] Pin
MumbleB12-Jun-09 2:58
MemberMumbleB12-Jun-09 2: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 3:02
Member_AnsHUMAN_ 12-Jun-09 3:02 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 3:09
MemberMumbleB12-Jun-09 3:09 
GeneralRe: FileWather Path Error Pin
Nagy Vilmos12-Jun-09 3:17
professionalNagy Vilmos12-Jun-09 3:17 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 3:28
MemberMumbleB12-Jun-09 3:28 
GeneralRe: FileWather Path Error Pin
Nagy Vilmos12-Jun-09 3:39
professionalNagy Vilmos12-Jun-09 3:39 
GeneralRe: FileWather Path Error Pin
MumbleB12-Jun-09 3:48
MemberMumbleB12-Jun-09 3:48 
QuestionFocus on a searched text in richtextbox Pin
rakeshs31212-Jun-09 2:55
Memberrakeshs31212-Jun-09 2:55 
AnswerRe: Focus on a searched text in richtextbox Pin
Luc Pattyn12-Jun-09 3:34
sitebuilderLuc Pattyn12-Jun-09 3:34 
GeneralRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 3:37
professionalNagy Vilmos12-Jun-09 3:37 
GeneralRe: Focus on a searched text in richtextbox Pin
Luc Pattyn12-Jun-09 4:11
sitebuilderLuc Pattyn12-Jun-09 4:11 
GeneralRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 4:53
professionalNagy Vilmos12-Jun-09 4:53 
GeneralRe: Focus on a searched text in richtextbox Pin
Luc Pattyn12-Jun-09 5:00
sitebuilderLuc Pattyn12-Jun-09 5:00 
AnswerRe: Focus on a searched text in richtextbox Pin
Nagy Vilmos12-Jun-09 3:37
professionalNagy Vilmos12-Jun-09 3:37 
QuestionWifi disconnection problem in windosce application Pin
obalesu12-Jun-09 2:43
Memberobalesu12-Jun-09 2:43 
AnswerRe: Wifi disconnection problem in windosce application Pin
MickCurley12-Jun-09 2:55
MemberMickCurley12-Jun-09 2:55 
QuestionPrint directly with out print dialouge. Pin
yesu prakash12-Jun-09 2:36
Memberyesu prakash12-Jun-09 2:36 
AnswerRe: Print directly with out print dialouge. Pin
Mirko198012-Jun-09 4:56
MemberMirko198012-Jun-09 4: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.