Answer Questions
R. John Regex problem iv vc 2003
I need to use Regex object in my app I realized that if I need 2 RegexOptions so I have to put the 'or' operator betwwen them but when I do that I get an error: rror C2664: 'System::Text::RegularExpressions::Regex::Regex(System::String __gc *,System::Text::RegularExpressions::RegexOptions)' : cannot convert parameter 2 from 'int' to 'System::Text::RegularExpressions::RegexOptions' the code with ||: CString str ...Show All
rkonda <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"> Error Message
I get the following message when I try to use the below configuration. I tried taking out the xmlns and got a real error. What am I doing wrong HELP!!!! I tried taking out the xmlns and I get real errors. I am new so could put exactly what I need to do. Thank You < configuration xmlns = " http://schemas.microsoft.com/.NetConfiguration/v2.0 " > Message 1 Could not find schema information for the element 'ht ...Show All
David Armor a javascript error when transforming xml using xslt
deployed on different IIS servers, results are different if using IE as browser. On one server it is totally correct, on the other IE will give an error message when transforming xml to html. " The stylesheet does not contain a document element. The stylesheet may be empty or it may not be a well-formed xml document ." And the response HTTP headers are different in Content-Type -- the correct one is " application/xml ", th ...Show All
MWR Is there a planned delivery date for .NET Framework 1.1 SP2
Hi We are experiencing a serious issue that results in our application not operating correctly if SP1 of Windows 2003 is installed on the server. We have a WinForms client/server application using .NET remoting This is due to incompatibilities between .NET Framework 1.1 (installed on the clients) and the version of .NET framework installed on the Windows 2003/SP1. There is a hotfix available, but we have been asked to pay a substantial amo ...Show All
ScottThomas Type.GetType(string) not working after migration to 2.0
Hi, we are trying to port our (ASP).NETapplication to 2.0/VS2005, and we're running into a lot of problems. We think we are on top of most of them, but we have one that we simply have no clue about, and it happens to be something completely blocking. We use "ajax" techniques extensively. JS on the client uses the xmlHttp component to post an xml document to the url of a page "getXmlData.aspx". The query string includes a fully qualified cl ...Show All
spTin Database retrieve value on the same row
Hey guys, I got a table that contains for example student id and the student name. when the user enter their id, i want to compare their id with the id in the database and then pull out their name on that same row. Say Student id 1 belongs to a student name John Student id 2 belongs to a student name Smith Now this is what i got so far If studentid = objDataSet.Tables( "Student_Table" ).Rows(0).Item( "StudentID" )) The ...Show All
noszedres WeakReference and TrackResurrection
I would like to understand the difference between short and long WeakReference in .Net, and in particular how they are respectively intended to be used. I think a have a clear view of the short weak reference behavior and purpose. But my understanding of the long weak reference is limited. In particular, I do not really understand the resurrection metaphor, is-it possible to re-root the reference from within the finalizer Thanks in advance, ...Show All
firefoxpdm run-time defined method return type in .NET?
I would like to define a method that returns a type that is determined at runtime, i.e., public RuntimeDeterminedType Method(); Is this possible using any of the .NET languages If so, would you please post an example or a link to an example. Thanks in advance! Matthew No you can't technically do this as the compiler must be able to generate the code to return the type. However depending on your ...Show All
vsnewbie SOAP Header
I want to add a soap header to a web service call and the web service doesnt define a class for it. I have just the string of xml nodes that i want to pass to the service How do i do that Hi Richard, Check out this url: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemwebservicesprotocolssoapheaderclasstopic.asp Best of luck, Ido. ...Show All
Taillo Compare time
Hi, Im having a lil question. Im trying to compare 2 times with eachother. One time is in an xml file. The other one is the time at this current moment. If the time is older than 1 month, it should remove a whole table from the xml file. This is the code i produced so far: static void Main(string[] args) { try { DataSet xmlFile = new DataSet(); xmlFile.ReadXml("test.xml"); foreach (DataRow dateR ...Show All
AniUnicode Augmenting my Web Site
Well lets see, I have the following tools, IIS6, Visual Web Developer Express, and SQL Server 2005 Express I have some HTML that I would like to call stored proceedures, and something tells me that my approach is useless. In wwwroot, everything is aspx at present, and Visual Web Developer is the associated editing tool when I click on an object. It has an object call <asp:SqlDataSource> and I tried various attempts to call the stored ...Show All
Snetch Serial port
I've been looking some information about send and recieve files tru the serial port, and i can't find something usefull to me. I'm using Visual Studio 2003 and C#, so the System.IO.Ports doesn't work. Does anyone know some examples or code that could help me or al least what is the best way to do this. Thanks. James or others, I've got the same problem using Visual Studio 2005 v 8 and MS .NET Framework v 2.0. Ideally, wo ...Show All
NikWe Sucessfull validation (using XmlReader) of a crazy file?
The current recommended way to validate an XML file is by using schemas stored in the XmlSchemaSet . "The namespace in the XML file, urn:bookstore-schema , identifies which schema in the XmlSchemaSet to use for validation." But if you have to deal with a XML file without a namespace you have to add it's correspondent schema to the schemaSet using null/nothing. Like this: sc. ...Show All
sawer Multiple Project Solution
I would like to take multiple Projects developed by Different members of my team and combine them into one solution. I would also like to use One form to access the different parts of the system. For Example.... Use frmMain located in MainRun Project to bring up frmCatalog located in Catalog Project. Both Projects are members of the same soultion and both Projects were written in VB.NET. How would I code a Button_Click event to bring up frmCat ...Show All
Mario Achkar delegates and event (=? +=?)
Hi, sorry but one more question. i saw an articles in http://weblogs.asp.net/rosherove/archive/2004/03/28/100444.aspx public class Class2 { public delegate void DomSomethingDelegate ( int num1 , int num2 ); public event DomSomethingDelegate MyDeleageteCallback ; } Class1 c = new Class1 (); c . MyDeleageteCallback = new; Class1 . DomSomethingDelegate ( this . Calculate ); the author said: In essence, declaring ...Show All
