Answer Questions
Rozza search a string for a special character
Hi, I have a string and I want to find if that string has ETX charater (End of Text) in it. ETX is a special character with a DEc value of 3, HEX value of 3 and Oct value of 003. So basically, I jsut want to find a character within a string using that character's DEc, HEX or OCT value using VB.net Thanks Thought I'd answer your explicit question - how to find ETX character in a string in VB. 'Chr(3 ...Show All
Liren Zhao Webservice: "The ASP.NET process identity does not have read permissions to the global assembly cache."
I'm uncertain what the best forum is for this - I also posted this in the ASP forum. I am developing a distributed application with a client-side java calling a webservice serving a static binary database. The application works well with the VS2005 Development server on XP Pro SP2. However when I publish it to an IIS v5 environment, it fails with these errors. 3.) .aspnet_wp.exe (PID: 3988) stopped unexpec ...Show All
nicklebum Type.GetMethod is incredibly slower in .Net 2.0
My application uses scripts that are user provided and generated at run-time. These text scripts and appended into a class, compiled with a code provider and then invoked by reflection. This works great with .Net 1.1 but with .Net 2.0 the Type.GetMethod used to aquire a MethodInfo for invoking a script is performing significantly worse. What takes 0.3 seconds in 1.1 takes 20 seconds in 2.0. This is quite unwanted. Why is this and is there a bett ...Show All
Ritesh Patel Run on Macintosh
How to run an application Framework (1.1 or 2.0) on Macintosh It's possible Is it necessary to use "Virtual PC" Does it contain Framework Are all the functions usable Tanks Mono: http://www.mono-project.com/Mono:PowerPC Shared source CLI: http://www.microsoft.com/downloads/details.aspx FamilyId=3A1C93FA-7462-47D0-8E56-8DD34C6292F0 Many thanks for your answare. I visi ...Show All
Don Vilen BinaryReader.PeekChar() throws Conversion Buffer Overflow exception
Hi There, I'm reading in a binary data file with a BinaryReader and it's throwing an exception with some of the data. Here's a simplified read loop: while (r.PeekChar() > -1) { double input = r.ReadDouble(); Console.WriteLine(input); } And here's the exception it throws: An unhandled exception of type 'System.ArgumentException' occurred in mscorlib.dll Additional in ...Show All
Mr.S Is it possible to install Win App without .net Framework?
Hi Folk I have created a Win .net Application and when I try to install it, it asks me to install the .net Framework first!! Is it possible to install a Win App on third party machines without the need to install the .net Framework !!!!!!!!! This is a big disaster, if I will need to install a 20 MB to make a 200 kb application Works! I need to run my application without the .net Framework! Any ideas please Thanks You can take a ...Show All
Uroj document.getElementById().innerHTML fails with 'Unknown Error' in IE
Hello, I'm trying to use document.getElementById().innerHTML in a JavaScript to change information in a webpage. On FireFox this works as described in the W3C documentation, however, the same method returns 'Unknown Error' in IE. The JavaScript looks like this: <script type=text/javascript> function Change_Info (ID, ROW, VALUE) { & ...Show All
Sutty create xmlelement without xmldocument
HI! how to create xmlelement without xmldocument thanks You cannot create an XmlElement without an XmlDocument. XmlDocument establishes the document context, like namespaces and XmlNameTables for all the elements in that document and every XmlNode has an OwnerDocument property. The XmlNameTable provides an important optimization for XmlElements, because it stores one string for each ...Show All
Devin G importing WSE2 to version 3
Hello! I'm having a problem importing my old WSE version 2.0 to version 3.0. In the logs asks me to make the configuration manualy. But I don't quite succeded in doing this. I can't make it create trace log files and the application doesn't work any more after conversion. It's no use editing the config file, because they a regenerated again everytime I run the application. I ...Show All
Psylo Is there anything wrong with this line of code?
Dim rsStudentInfo As ADODB.Recordset Dim strStudentInfo as string OpenConnection () call here rsStudentInfo = New adodb.recordset strStudentInfo = "Insert into Student (FName, LName, Age ) values " & _ "(" & FirstName& "," & LastName& "," & Age & ")" I just wanted to save all of the user inputs into the database table but it doesn't do anything and keep giving me 0 in the student ...Show All
dnelson MSFT DataSet.ReadXMLSchema question
I have an xsd that needs to be populated with output data for the customer. The initial idea was to read the xsd using XMLDataDocument.DataSet.ReadXMLSchema call to have the .NET create a dataset, then populate it with the data and save into an xml file. The ReadXMLSchema seems to create one table in the dataset per each element in the schema and name the table after the element's name. However, the schema reuses multiple complex types in sever ...Show All
Elize XML / SQL
I'm going to show my ignorance or perhaps my hm.... The app that I'm rewriting for .NET has such static data that it could live quite nicely on something as simple as memory dumps of the tables. More generally XML seems the way to go. There are very rare cases where an sql select statement would be nice. Is there any combination of ingredients that allows for the application of sql with out the need for an sql server Slightly more ge ...Show All
Stelios Exception: DataTable internal index is corrupted: '5'. on ...
Hi, I have a problem with bindingsource component in framework 2.0. I have a combobox bound to a bindingsource which is also bound to a dataset with 2 related tables and a datagridview bound to the same bindingsource. What I want to do is : When the selectedindex property of my combobox changes, the corresponding cell value must be changed in the datagridview. But although the value in bindingsource changes, datagridview does not displa ...Show All
Roberto Juc&#225; Converting XML to string whilst including the schema.
Hi, How do I convert a DataSet to an XML string INCLUDING the schema information and store it into a string variable in memory I can't use the DataSet GetXml() function (no schema) and instead think I have to use the DataSet WriteXml() function, ensuring that the XmlWriteMode value passed in is set to 'WriteSchema'. However, I want a string variable in memory populated with the value, NOT a file. I am not very good with System.IO. I have n ...Show All
Sharrukin C#.net : Update a Access Database
OleDbCommand cmd2 = new OleDbCommand (); cmd2.Connection = thisconnection; cmd2.CommandText = "UPDATE Client SET Balance = (SELECT SUM(Balance) FROM ARAP2 WHERE ARAP2.Type = 'R' AND ARAP2.Balance <> 0.0 AND ARAP2.ORDNo = " ...Show All
