Click here to Skip to main content
15,890,946 members
Home / Discussions / C#
   

C#

 
Questionform 1 to form 2 Pin
ghelhei7-Oct-09 3:08
ghelhei7-Oct-09 3:08 
AnswerRe: form 1 to form 2 Pin
J4amieC7-Oct-09 3:14
J4amieC7-Oct-09 3:14 
AnswerRe: form 1 to form 2 Pin
AhmedMasum7-Oct-09 3:41
AhmedMasum7-Oct-09 3:41 
GeneralRe: form 1 to form 2 Pin
OriginalGriff7-Oct-09 3:51
mveOriginalGriff7-Oct-09 3:51 
QuestionUsing Regex to find a Match Pin
butchzn7-Oct-09 2:38
butchzn7-Oct-09 2:38 
AnswerRe: Using Regex to find a Match Pin
OriginalGriff7-Oct-09 2:57
mveOriginalGriff7-Oct-09 2:57 
AnswerRe: Using Regex to find a Match Pin
PIEBALDconsult7-Oct-09 4:34
mvePIEBALDconsult7-Oct-09 4:34 
QuestionGo back to old file path after open file dialog box Pin
AhmedMasum7-Oct-09 2:18
AhmedMasum7-Oct-09 2:18 
I am having a problem for the following case:

I have an xml file in the directory of the myproject.exe file of my project. as a result i m using relative path to open the xml file.
I am openig the file using the following code:


XmlTextReader xtr = new XmlTextReader("center.xml");

I have a open file dialog box in that project and i read a MSAccess file using that open file dialog box. But after reading the MSAccess file when I try to read the xml file with the same code then exception raised and shows could not find file "path of the MSAccessfile\center.xml"
So how can I get back to the directory whre the myproject.exe file located"

AnswerRe: Go back to old file path after open file dialog box Pin
stancrm7-Oct-09 2:23
stancrm7-Oct-09 2:23 
GeneralRe: Go back to old file path after open file dialog box Pin
AhmedMasum7-Oct-09 3:32
AhmedMasum7-Oct-09 3:32 
GeneralRe: Go back to old file path after open file dialog box Pin
stancrm7-Oct-09 20:43
stancrm7-Oct-09 20:43 
AnswerRe: Go back to old file path after open file dialog box Pin
Nagy Vilmos7-Oct-09 3:26
professionalNagy Vilmos7-Oct-09 3:26 
QuestionUsing foreach to run thru an arraylist containing a struct Pin
Kyle Wood7-Oct-09 0:58
Kyle Wood7-Oct-09 0:58 
AnswerRe: Using foreach to run thru an arraylist containing a struct Pin
J4amieC7-Oct-09 1:10
J4amieC7-Oct-09 1:10 
GeneralRe: Using foreach to run thru an arraylist containing a struct Pin
Kyle Wood7-Oct-09 2:38
Kyle Wood7-Oct-09 2:38 
QuestionSet ID and value to a treeview node Pin
yesu prakash7-Oct-09 0:55
yesu prakash7-Oct-09 0:55 
AnswerRe: Set ID and value to a treeview node Pin
Henry Minute7-Oct-09 2:36
Henry Minute7-Oct-09 2:36 
QuestionGet checked child nodes from tree view Pin
yesu prakash7-Oct-09 0:33
yesu prakash7-Oct-09 0:33 
AnswerRe: Get checked child nodes from tree view Pin
stancrm7-Oct-09 0:37
stancrm7-Oct-09 0:37 
Questiondatagrid textbox cell Pin
Member 5903106-Oct-09 23:48
Member 5903106-Oct-09 23:48 
AnswerRe: datagrid textbox cell Pin
Henry Minute7-Oct-09 2:30
Henry Minute7-Oct-09 2:30 
GeneralRe: datagrid textbox cell Pin
Member 5903107-Oct-09 22:32
Member 5903107-Oct-09 22:32 
GeneralRe: datagrid textbox cell Pin
Henry Minute8-Oct-09 4:12
Henry Minute8-Oct-09 4:12 
QuestionAsynchronous methods - callback method is never called Pin
lvq6846-Oct-09 23:47
lvq6846-Oct-09 23:47 
QuestionHelp Streaming Video Pin
amaankhan6-Oct-09 22:30
amaankhan6-Oct-09 22:30 

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.