Click here to Skip to main content
15,896,207 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to Hide ScrollBar of RichtextBox Pin
Jay Shankar5-Jul-04 23:30
Jay Shankar5-Jul-04 23:30 
GeneralRe: How to Hide ScrollBar of RichtextBox Pin
Heath Stewart6-Jul-04 5:45
protectorHeath Stewart6-Jul-04 5:45 
GeneralRe: How to Hide ScrollBar of RichtextBox Pin
Jay Shankar6-Jul-04 18:04
Jay Shankar6-Jul-04 18:04 
GeneralRe: How to Hide ScrollBar of RichtextBox Pin
Heath Stewart7-Jul-04 3:29
protectorHeath Stewart7-Jul-04 3:29 
GeneralRe: How to Hide ScrollBar of RichtextBox Pin
Jay Shankar12-Jul-04 22:54
Jay Shankar12-Jul-04 22:54 
GeneralRe: How to Hide ScrollBar of RichtextBox Pin
Heath Stewart13-Jul-04 3:26
protectorHeath Stewart13-Jul-04 3:26 
GeneralRe: How to Hide ScrollBar of RichtextBox Pin
Jay Shankar21-Jul-04 18:27
Jay Shankar21-Jul-04 18:27 
GeneralC#, XML, XPath problem Pin
velincho5-Jul-04 22:23
velincho5-Jul-04 22:23 
Hi,
I'm writing a program which manages a XML file. Here is the problem:

1)this code works ->
<?xml version="1.0"?>
<manifest identifier="manifest-5972687/packet0">
<metadata />

doc.SelectSingleNode("/manifest"); - where doc is a XmlDocument.

2)but this code doesn't ->
<?xml version="1.0"?>
<manifest xmlns="http://www.imsglobal.org/xsd/imscp_v1p1" xmlns:imsmd="http://www.imsglobal.org/xsd/imsmd_v1p2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" identifier="MANIFEST-3F664D24-D315-486E-61AE-97BCA62EF017" xsi:schemaLocation="http://www.imsglobal.org/xsd/imscp_v1p1 imscp_v1p1.xsd http://www.imsglobal.org/xsd/imsmd_v1p2 imsmd_v1p2p2.xsd">

doc.SelectSingleNode("/manifest");

so when I try to apply the above attributes to the "manifest", I get exceptions everywhere I use the SelectSingleNode function in my code(also all XPath expressions fail to work!!).It's possible to use doc.DocumentElement; property but in this case I have to change a lot of code and this doesn't seem to me logicalSmile | :) . Can you help me? Thanks in advance.

Best Regards
Velin
GeneralRe: C#, XML, XPath problem Pin
leppie6-Jul-04 7:26
leppie6-Jul-04 7:26 
GeneralRe: C#, XML, XPath problem Pin
velincho6-Jul-04 22:23
velincho6-Jul-04 22:23 
QuestionHOW TO CREATE IMAGE FRAMES FROM METAFILES Pin
gayathri_gopi5-Jul-04 22:22
gayathri_gopi5-Jul-04 22:22 
GeneralDllImport Pin
Anonymous5-Jul-04 22:12
Anonymous5-Jul-04 22:12 
GeneralRe: DllImport Pin
Anonymous5-Jul-04 22:26
Anonymous5-Jul-04 22:26 
GeneralRe: DllImport Pin
Stefan Troschuetz5-Jul-04 22:43
Stefan Troschuetz5-Jul-04 22:43 
GeneralDirectX Pin
Anonymous6-Jul-04 3:16
Anonymous6-Jul-04 3:16 
GeneralRe: DirectX Pin
Stefan Troschuetz6-Jul-04 3:48
Stefan Troschuetz6-Jul-04 3:48 
QuestionIs it possible to edit a bitmap programmatically? Pin
Pain_Elemental5-Jul-04 21:14
Pain_Elemental5-Jul-04 21:14 
AnswerRe: Is it possible to edit a bitmap programmatically? Pin
Dave Kreskowiak6-Jul-04 5:17
mveDave Kreskowiak6-Jul-04 5:17 
GeneralRe: Is it possible to edit a bitmap programmatically? Pin
Pain_Elemental6-Jul-04 19:50
Pain_Elemental6-Jul-04 19:50 
GeneralWanna Disscussion Forum Pin
RadhaKrishan5-Jul-04 21:14
RadhaKrishan5-Jul-04 21:14 
GeneralRe: Wanna Disscussion Forum Pin
Dave Kreskowiak6-Jul-04 4:57
mveDave Kreskowiak6-Jul-04 4:57 
QuestionList of installed fonts ? Pin
sachinkalse5-Jul-04 20:34
sachinkalse5-Jul-04 20:34 
AnswerRe: List of installed fonts ? Pin
Heath Stewart6-Jul-04 6:03
protectorHeath Stewart6-Jul-04 6:03 
GeneralAdding extra attribute / event to web control Pin
Member 11955125-Jul-04 20:10
Member 11955125-Jul-04 20:10 
GeneralRe: Adding extra attribute / event to web control Pin
Colin Angus Mackay5-Jul-04 21:00
Colin Angus Mackay5-Jul-04 21:00 

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.