-
- "Multiple definition of element causes the content model to become ambiguous....."
by nickr5
- 1 Replies
- Last post
by Martin Honnen
- I'm trying to define two elements in a schema so that you can have either one of them, both of them, but not neither. I tried:
Code Snippet
<!--some xml->
< xs:choice >
< xs:group ref = " Either " />
< xs:group ref = " Both " />
</ xs:choice >
<!--more xml-->
</xs:element> <!--root element
-
- How to append string at start of line
by Situ
- 7 Replies
- Last post
by timvw
- How to append string at start of line
i ve a string "I am fine" ;
and i want to add "hello" at the begining
result =
Hello ... I'm fine
how cud i do this
-
- The Undo operation encountered a context that is different...
by Lee Gillie
- 14 Replies
- Last post
by Alex Ivanov
- This is not specific enough information for me to know what I did wrong
and where. Does anyone have any insight to this It appears to have
something to do with asynchronous socket I/O completion.
System.Transactions Critical: 0 :
<TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical">
<TraceIdentifier>http://msdn.microsoft
-
- Xml - Reading child elements
by John Mangam
- 4 Replies
- Last post
by John Mangam
- Hi,
Could someone suggest me how to read all the Xml child elements
and check if they have child elements generically
How can I get to know that this element <grandchild ID="2"/> doesn't have an end element
<root>
<parent ID="100">
<child ID="10">
<grandchild ID="1">Hello world<grandchil
-
- XML DOM dtd
by Ynyr
- 2 Replies
- Last post
by Ynyr
- Hi Everyone,
I'm trying to write an application in VB6 to export some XML using MS XML DOM version 2.
I'm trying to get output the following line but I am having some trouble...
<!DOCTYPE NMLoader SYSTEM "standardX05.dtd">
within the structure...
< xml version="1.0" >
<!DOCTYPE NMLoader SYSTEM "standardX05.dtd">
<NMLoader>
-
- ADO.Net 2.0, SQL Server 2005 Express & VB 2005 Express: How to Use A DataAdapter to Create DataTables in VB Forms?
by Scott Chang
- 4 Replies
- Last post
by Scott Chang
- Hi all,
In my SQL Server 2005 Management Studio Express (SSMSE), I created a database "ChemDatabase" with 3 .dbo tables. In my VB 2005 Express, I created a VB 2005 Express Windows Application project (called it "AveRpd" ) and tried to use ADO.Net 2.0 to connect the database "ChemDatabase" that is in SSMSE and to create the 3 tables in the App_Data folder of the &qu
-
- set session value in javascript
by MeeNge
- 3 Replies
- Last post
by Huseyin Gedikli
- Hi,
I have one aspx page(main.aspx) that contaion one check box(chkStatus). I will call another page(popup.aspx) by clicking a button(btnPrint) with javascript:wondow.open() method. The things i would like to know is that if I check chkStatus I want to save value in session variable. I will use that session value in popup page.
I try like this, but it doesn't work.
chkStatus.Attributes.Ad
-
- Read/Write XML with value from textbox V.NET
by OMEGA_ReD
- 10 Replies
- Last post
by sravanik
- How can i read/write program settings to an xml file.
thx!
-
- Assign a client's handler to a server's event
by 124256
- 3 Replies
- Last post
by Sowmy Srinivasan
- I'm trying to get an event-handler relationship set up over a remote tcp connection. I have set the security level so that I can serialize any object (full). My server has a "game" object which has an event. The client has a user control that responds to the event through an intermediate "remoteReceiver" object that inherits MarshallbyRefObject. I'm getting "An error occur
-
- Access & ASP.NET 2.0
by Rhady
- 2 Replies
- Last post
by Rhady
- Hello! I have two questions, I'm using now Visual Web
Developer Express Edition. I wondering if its possible when I click
"add item" , there is also access database and not only SQL database Second
question(more important): I'm working now with a project, I have to
build a discussion forum but I'm not allowed to use SQL server, I have
to use an Access database instead. In the progr
-
- Nested Groups with Same Element
by Tadwick
- 5 Replies
- Last post
by Tadwick
- Hi Folks,
If I have an XML document with several nested elements (<g> elements in SVG for example) how do I match a particular node set within the document. Say I wanted to match all nodes within <g id='match_this'> in the XML below.
<svg> <g> <g id='match_this'> <g> &nb
-
- HELP??? Non-developer --- Software not designed for Vista is requesting to install .NET Version 1.1???
by Heff
- 4 Replies
- Last post
by Xhonk
- I am not a developer...but have a problem. We had a piece of software written to keep score and stats for youth sporting event, specific to our needs. Then VISTA came along.
When we install the program on Vista, it request that we also install .NET Version 1.1x.x. etc. We've been told that doing so causes Vista to not run properly with the rest of your Vista compliant software.
Wh
-
- nameof() or equivelant?
by Chad Moran
- 4 Replies
- Last post
by Hayder Marzouk
- I know a typeof() and GetType(0 exists however is there a way to get the name of an instantiated class member
Thanks in advance!
-
- XML Editor WinForm control?
by ChrisBunker
- 5 Replies
- Last post
by NormanHH
- I'm looking for an XML editor WinForm control to use in an application of my own (.NET 2.0 based). Is the Visual Studio 2005 XML Editor available for use to plug in to my application If not, can any one recommend one (especially one that performs validation of entered XML with a schema) Thank you - Chris
-
- How to release a commercial application without needing to adjust security policy (Request for the permission of type ...)
by Lucky_Adam
- 5 Replies
- Last post
by Lucky_Adam
- Hi All,
I am currently developing an application using C# which uses a desktop database to access information for use within the program.
The error I am receiving is at the bottom of this post. Its a standard 'Request for the permission of type ...' error which I see from time to time when developing other applications.
I know of a solution by using the 'Microsoft .NET Framework 2.0 Confi
-
- using LPT to retrieve data from printer
by Jessica Alba
- 3 Replies
- Last post
by Martin Xie - MSFT
- i have done a program to retrieve data from printer using LAN and RS232. But I don't know how to retrieve data from printer using LPT.
Any sample source code or URL Please refer.
Help and I will reward you. Thanks
-
- Calling application type
by pbbgso
- 6 Replies
- Last post
by pbbgso
- Is there a way to tell if your class library is being called from a web app or a console app (or COM)
-
- HRESULT of Exception
by milex
- 2 Replies
- Last post
by nobugz
- Exception class in .net has a property named HRESULT , and it says it's distinct . So , 1.does it means i can use HRESULT to identify each Exception defined in CLR 2. HRESULT is a 32-bit value, divided into three different fields: a severity code, a facility code, and an error code. How can i get such three fields 3.If i define my exception and HRESULT, how do i set value of HRESULT to avoid co
-
- Connection String in Client / Server Application, Strong typed Dataset
by Spenceee
- 14 Replies
- Last post
by SobyOne
- Sorry bout the subject, but it is my conundrum.
I have a solution (C#) that is fat clients (winforms) talking to a database (SQL Server 2005).
Our solution uses a strong typed dataset for all of its operation for the various benefits gained therein. I have used untyped solutions, and when you write the dataadapters, its very easy to customise the connection string. However strong typed,
-
- WSE 3.0 .Net Client / Java WebService / X.509 Problems
by nateDC
- 2 Replies
- Last post
by nateDC
- We're trying to connect a .Net 2.0 client using WSE 3.0 to a Java WebService with X.509 certificates with very little success.
The following are the errors we receive when sending the request to the service.
In this one I've checked both the 'Verify trust' and 'Allow test roots' checkboxes in the security tab of the WSE Settings manager:
< soapenv:Fault >
<
-
- Searching For File
by timclaason
- 3 Replies
- Last post
by Netwhiz
- Hello, I'm hoping someone can help me out. I'm trying to find a good way to search a hard drive for a file in C#; however, I'm not sure how to do it. The file could be anywhere on the hard drive, so I can't just use a static path. Any help would be appreciated.
-
- Data Access via WebService - I need a push in the right direction
by denalione
- 0 Replies
- Last post
by denalione
- I don't know if this is the correct forum so please direct me otherwise if it is not. I am new to .NET and webservices and need a little direction please.
I am working on an VB application which is accessing data on my SQL Server via a web service. My proof of concept application is quite simple.
I have one table in my database called Listing. In my WebService solution I have one Dat
-
- String concatenation performance comparison
by Eugene Ye
- 4 Replies
- Last post
by Audric Thevenet
- Hi ppl, a simple question here, consider the two options
= String.Concat("string1", "string2", "string3");
and
= "string1" + "string2" + "string3";
which one will yield a better performance As I know, string is immutable, so, we cannot change the value inside it without the CLR creating a new string. So in this case, would the
-
- IS it possible to call a Javascript Code in C# windows Application...
by Inbaraj
- 2 Replies
- Last post
by Bola_de_pendejo
- HI..
I want to call a javascript application in Windows application.. Is it possible if yes plz give me a sample coding for this...
I need a month viewer in C# application.. for that i am asking...
Thhanks in advance..
with reg
Inbaraj.d
-
- How to update an xml file...
by Tapan
- 12 Replies
- Last post
by Tapan
- I want to take a value from a TextBox and that I want to retrieve nodes based on this value. I want to retrieve the complete element having an attribute value.
e.g.
< xml version="1.0" >
<info>
<book id="b1">
<name nm="c++" lang="eng" />
<price>250</price>
</book>