Click here to Skip to main content
15,914,488 members
Home / Discussions / C#
   

C#

 
GeneralRe: not quite sure what .NET technology to use for this Pin
Christian Graus23-Aug-06 1:59
protectorChristian Graus23-Aug-06 1:59 
QuestionCheckBox Control Pin
ChennaiBabu22-Aug-06 20:47
ChennaiBabu22-Aug-06 20:47 
AnswerRe: CheckBox Control Pin
Christian Graus22-Aug-06 21:15
protectorChristian Graus22-Aug-06 21:15 
QuestionComboBox & Autocomplete problem Pin
Tavbi22-Aug-06 20:40
Tavbi22-Aug-06 20:40 
Questionwinforms inheritance problem (VS 2005) [modified] Pin
Solar Aasimon22-Aug-06 20:37
Solar Aasimon22-Aug-06 20:37 
AnswerRe: winforms inheritance problem (VS 2005) Pin
Tavbi22-Aug-06 20:55
Tavbi22-Aug-06 20:55 
AnswerRe: winforms inheritance problem (VS 2005) Pin
mav.northwind22-Aug-06 22:23
mav.northwind22-Aug-06 22:23 
Questionhow can i access seril port in C#(version 1.1) Pin
premkamalg22-Aug-06 20:29
premkamalg22-Aug-06 20:29 
AnswerRe: how can i access seril port in C#(version 1.1) Pin
Tavbi22-Aug-06 20:53
Tavbi22-Aug-06 20:53 
AnswerRe: how can i access seril port in C#(version 1.1) Pin
Christian Graus22-Aug-06 22:26
protectorChristian Graus22-Aug-06 22:26 
Question2 up printing with infragistics ultragrid in c#.NET Pin
kadiyala rajendra prasad22-Aug-06 20:24
kadiyala rajendra prasad22-Aug-06 20:24 
AnswerRe: 2 up printing with infragistics ultragrid in c#.NET Pin
Christian Graus22-Aug-06 22:22
protectorChristian Graus22-Aug-06 22:22 
QuestionHow to retrieve File Information that store in server [modified] Pin
germanrose22-Aug-06 18:57
germanrose22-Aug-06 18:57 
Dear,
-I want to check the version of file then allow to download a updated-file automatically
-I had writen a function that allows to retrieve File information using FileInfo and FileVersionInfo
-It runs well if the source file 's in my local, but it was not functionly if the source file 's in the server.
Ex: http://www.misplacedcomedygroup.com/rss.xml
-And it also throws this exception: "URI formats are not supported."
Here is my function:

//function get version
public static string GetFileVersion(string srcFile){
string fileVersion;
try {
FileVersionInfo info = FileVersionInfo.GetVersionInfo(srcFile);
fileVersion = info.FileVersion;
}
catch (FileNotFoundException e) {
throw (e);
}
}

//function get last modify time
public static string GetFileLastAccessTime(string srcFile) {
string lastAccessTime;
try {
FileInfo file = new FileInfo(srcFile);
lastAccessTime = file.LastAccessTime.ToString();
}
catch (FileNotFoundException e) {
throw (e);
}
}

Thanks regards,
Germanrose


-- modified at 0:59 Wednesday 23rd August, 2006
AnswerRe: How to retrieve File Information that store in server Pin
Anthony Daly12-Jul-10 9:41
Anthony Daly12-Jul-10 9:41 
QuestionPutting Components in Toolbox Pin
urbane.tiger22-Aug-06 18:25
urbane.tiger22-Aug-06 18:25 
QuestionExcel To DataBase Pin
MHASSANF22-Aug-06 18:18
MHASSANF22-Aug-06 18:18 
AnswerRe: Excel To DataBase Pin
Navi1522-Aug-06 20:18
Navi1522-Aug-06 20:18 
AnswerRe: Excel To DataBase Pin
22491722-Aug-06 20:24
22491722-Aug-06 20:24 
QuestionNested Partial Classes and Designer's Pin
urbane.tiger22-Aug-06 18:11
urbane.tiger22-Aug-06 18:11 
AnswerRe: Nested Partial Classes and Designer's Pin
Christian Graus22-Aug-06 18:58
protectorChristian Graus22-Aug-06 18:58 
GeneralRe: Nested Partial Classes and Designer's Pin
urbane.tiger22-Aug-06 20:05
urbane.tiger22-Aug-06 20:05 
GeneralRe: Nested Partial Classes and Designer's Pin
Christian Graus22-Aug-06 20:40
protectorChristian Graus22-Aug-06 20:40 
GeneralRe: Nested Partial Classes and Designer's Pin
urbane.tiger24-Aug-06 14:49
urbane.tiger24-Aug-06 14:49 
Questionwindows control panel Pin
Archyami22-Aug-06 17:08
Archyami22-Aug-06 17:08 
AnswerRe: windows control panel Pin
22491722-Aug-06 20:27
22491722-Aug-06 20:27 

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.