Click here to Skip to main content
15,891,770 members
Home / Discussions / C#
   

C#

 
GeneralRe: export report Pin
k.philip17-Oct-07 21:42
k.philip17-Oct-07 21:42 
GeneralRe: export report Pin
Malcolm Smart18-Oct-07 2:58
Malcolm Smart18-Oct-07 2:58 
Questionneed to understand => string[] Pin
M Riaz Bashir17-Oct-07 21:22
M Riaz Bashir17-Oct-07 21:22 
AnswerRe: need to understand => string[] Pin
il_masacratore17-Oct-07 21:35
il_masacratore17-Oct-07 21:35 
AnswerRe: need to understand => string[] Pin
Abhijit Jana17-Oct-07 21:38
professionalAbhijit Jana17-Oct-07 21:38 
Questiontoolstripdropdown Pin
topksharma198217-Oct-07 21:00
topksharma198217-Oct-07 21:00 
AnswerRe: toolstripdropdown Pin
benjymous17-Oct-07 23:17
benjymous17-Oct-07 23:17 
QuestionHelp Required in Assembly Pin
kc_krishnan17-Oct-07 20:59
kc_krishnan17-Oct-07 20:59 
Hi all ,
We are creating an application in which we need to load an XML file , located in a seperate folder named "Resources" , where this folder is exist in the solution file.Following is the code snippet, in which im trying to load the xml file in the Stream object:

Ln1 Assembly assembly = Assembly.GetExecutingAssembly();
Ln2 string resourceName = String.Concat(typeof(WebForm1).Namespace,".Resources.","Features.xml");
Ln3 Stream objStream = typeof(WebForm1).Assembly.GetManifestResourceStream(resourceName );
Ln4 StreamReader objStreamReader = new StreamReader(objStream);
Ln5 XmlTextReader xtr = new XmlTextReader(objStreamReader);
Ln6 return xtr;

Here the string resourceName we are getting is "Utility_XML.Resources.Features.xml"
where
Utility_XML -->Name space
Resources --> Folder
After LineNo3 the value populated in the 'objStream' is "Undefined Value". so struck up in this stage. I really appreciate if some one could guide me to fix this issue.Thanks in advance!

Best Regards,
Krishna Chandran
Questionre:internet dialer Pin
RameshwerE17-Oct-07 20:42
RameshwerE17-Oct-07 20:42 
AnswerRe: re:internet dialer Pin
Abhijit Jana17-Oct-07 20:52
professionalAbhijit Jana17-Oct-07 20:52 
GeneralRe: re:internet dialer Pin
RameshwerE17-Oct-07 21:26
RameshwerE17-Oct-07 21:26 
GeneralRe: re:internet dialer Pin
Abhijit Jana17-Oct-07 21:32
professionalAbhijit Jana17-Oct-07 21:32 
QuestionUse property or field Pin
Maddie from Dartford17-Oct-07 20:32
Maddie from Dartford17-Oct-07 20:32 
AnswerRe: Use property or field Pin
half-life17-Oct-07 20:57
half-life17-Oct-07 20:57 
AnswerRe: Use property or field Pin
Guffa17-Oct-07 22:05
Guffa17-Oct-07 22:05 
QuestionODBC Pin
half-life17-Oct-07 20:17
half-life17-Oct-07 20:17 
AnswerRe: ODBC Pin
Abhijit Jana17-Oct-07 20:33
professionalAbhijit Jana17-Oct-07 20:33 
GeneralRe: ODBC Pin
half-life17-Oct-07 20:47
half-life17-Oct-07 20:47 
GeneralRe: ODBC Pin
Abhijit Jana17-Oct-07 21:01
professionalAbhijit Jana17-Oct-07 21:01 
GeneralRe: ODBC Pin
half-life17-Oct-07 21:11
half-life17-Oct-07 21:11 
GeneralRe: ODBC Pin
Abhijit Jana17-Oct-07 22:28
professionalAbhijit Jana17-Oct-07 22:28 
GeneralRe: ODBC Pin
Abhijit Jana17-Oct-07 22:58
professionalAbhijit Jana17-Oct-07 22:58 
AnswerRe: ODBC Pin
V.17-Oct-07 21:02
professionalV.17-Oct-07 21:02 
GeneralRe: ODBC Pin
half-life17-Oct-07 21:08
half-life17-Oct-07 21:08 
GeneralRe: ODBC Pin
V.17-Oct-07 22:19
professionalV.17-Oct-07 22:19 

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.