Click here to Skip to main content
15,916,398 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to convert String to Guid ? Pin
PIEBALDconsult8-Nov-08 9:22
mvePIEBALDconsult8-Nov-08 9:22 
Questionhow can we find the Installed Path while deploying application Pin
vishnukamath7-Nov-08 18:24
vishnukamath7-Nov-08 18:24 
AnswerRe: how can we find the Installed Path while deploying application Pin
Dave Kreskowiak8-Nov-08 5:00
mveDave Kreskowiak8-Nov-08 5:00 
AnswerRe: how can we find the Installed Path while deploying application Pin
sph3rex8-Nov-08 5:51
sph3rex8-Nov-08 5:51 
Questioncreating discrete histogram : c# & excel programming Pin
raesa7-Nov-08 17:55
raesa7-Nov-08 17:55 
AnswerRe: creating discrete histogram : c# & excel programming Pin
Dave Kreskowiak8-Nov-08 4:38
mveDave Kreskowiak8-Nov-08 4:38 
QuestionPermission assign based on User previllage. Pin
sayemahmed7-Nov-08 16:54
sayemahmed7-Nov-08 16:54 
AnswerRe: Permission assign based on User previllage. Pin
sayemahmed7-Nov-08 17:07
sayemahmed7-Nov-08 17:07 
AnswerRe: Permission assign based on User previllage. Pin
Dave Kreskowiak8-Nov-08 4:35
mveDave Kreskowiak8-Nov-08 4:35 
QuestionXML as database Pin
nelsonpaixao7-Nov-08 15:32
nelsonpaixao7-Nov-08 15:32 
AnswerRe: XML as database Pin
#realJSOP8-Nov-08 0:06
professional#realJSOP8-Nov-08 0:06 
QuestionSave TO xml FROM datagridview Pin
nelsonpaixao7-Nov-08 15:16
nelsonpaixao7-Nov-08 15:16 
AnswerRe: Save TO xml FROM datagridview Pin
Dave Kreskowiak8-Nov-08 4:31
mveDave Kreskowiak8-Nov-08 4:31 
AnswerRe: Save TO xml FROM datagridview Pin
Mbah Dhaim8-Nov-08 4:59
Mbah Dhaim8-Nov-08 4:59 
QuestionCan anybody give link to good article on instumentation (Tracing) in application? I tried to search though. Pin
Member 23244837-Nov-08 13:28
Member 23244837-Nov-08 13:28 
QuestionEmbedded Xml: Ok it work, but ... why? Pin
nelsonpaixao7-Nov-08 13:20
nelsonpaixao7-Nov-08 13:20 
Hi,

I have png and xml files embedded in a project. I can access them with the code bellow.

DataSet MyDataSet = new DataSet();
Assembly ThisAssembly = Assembly.GetExecutingAssembly();
// assign a image png to button 
Stream Stream_Image = ThisAssembly.GetManifestResourceStream("MyProject.Resources.info.png");
Button_Info.Image = Image.FromStream(Stream_Image);

// assign table to DataGridView
Stream Stream_Xml = ThisAssembly.GetManifestResourceStream("MyProject.Resources.users.xml");
MyDataSet.ReadXml(Stream_Xml); // why does this work???
DataGridView_Report.DataSource = MyDataSet.Tables[0];


OK.
For the png i got it, but ... for the xml why does it work? D'Oh! | :doh:

MyDataSet.ReadXml(Application.StartupPath + "\\...\\users.xml", XmlReadMode.ReadSchema));

This i understand, (not embedded although) the path way, here i really reading a xml not a stream.

nelsonpaixao@yahoo.com.br

trying to help & get help

AnswerRe: Embedded Xml: Ok it work, but ... why? Pin
Guffa7-Nov-08 14:31
Guffa7-Nov-08 14:31 
AnswerRe: Embedded Xml: Ok it work, but ... why? Pin
Anthony Mushrow7-Nov-08 14:53
professionalAnthony Mushrow7-Nov-08 14:53 
AnswerRe: Embedded Xml: Ok it work, but ... why? Pin
nelsonpaixao7-Nov-08 15:06
nelsonpaixao7-Nov-08 15:06 
QuestionHelp with Properties.Settings.Default.Save() Pin
Project2477-Nov-08 13:12
Project2477-Nov-08 13:12 
QuestionMultiline string property at design time (like RTF) Pin
Chris Copeland7-Nov-08 11:13
mveChris Copeland7-Nov-08 11:13 
AnswerRe: Multiline string property at design time (like RTF) Pin
Thomas Stockwell7-Nov-08 14:33
professionalThomas Stockwell7-Nov-08 14:33 
GeneralRe: Multiline string property at design time (like RTF) Pin
Chris Copeland7-Nov-08 20:23
mveChris Copeland7-Nov-08 20:23 
Questioni want help in richtextbox problem Pin
BESHOY MARKO7-Nov-08 10:10
BESHOY MARKO7-Nov-08 10:10 
AnswerRe: i want help in richtextbox problem Pin
Giorgi Dalakishvili7-Nov-08 10:13
mentorGiorgi Dalakishvili7-Nov-08 10:13 

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.