-
- How get path of application folder
by San569634
- 4 Replies
- Last post
by Kent Boogaart
- Hi
is there any way to find out the application folder path in c#
thanx in advance
-
- How do I run .NET V2.0.50727 compiled Visual Basic code on machine with .NET V1.1
by DIME_ERP
- 5 Replies
- Last post
by DIME_ERP
- I developed a visual basic utility in Visual Studio 2005, so the utility is based on .NET V2.0. Now we want to transfer this utility to different servers where it will run every 2 hrs. Some of our servers are Windows Servers 2003 which are on .NET framework 1.1. The utility does not run giving error "to run this application, you must install one of the following versions of the .Net framework
-
- Unicode character at beginning of XML stream from XmlWriter?
by Chris O'Brien
- 3 Replies
- Last post
by Chris O'Brien
- I've got an XmlWriter writing to a MemoryStream. After I'm done writing to the MemoryStream, I convert its buffer to a UTF-8-encoded string, which is the default encoding for the XmlWriter. Now the funny thing is, there's always this weird unicode character (apparently it's a "zero-width non-breaking space", decimal value of 65279) at the beginning of the string. Searching around the In
-
- Validating with XSD: Why is object System.Xml.XsdValidatingReader inaccessible?
by RobertP2
- 5 Replies
- Last post
by Martin Honnen
- If I am validating an XML with an XSD, I set a handler for XmlReaderSettings.ValidationEventHandler. This method has a property sender, of type object.
If I do a break-point in the handles and then use quick-watch to look at the property, I can see that object sender is of type System.Xml.XsdValidatingReader.
System.Xml.XsdValidatingReader is not an object I have access to. I am trying to c
-
- Changing computers default language
by shooting_rubber
- 4 Replies
- Last post
by Michael Nemtsev
- Hello Everyone,
I need help changing my default computer language to french. I want everything in french including the menus and default icons. I have searched the microsoft website and have found some things that haven't worked. If somebody can please help that would be great.
Brenden
P.S. I can write both french and english.
EDIT : I have Windows XP.
-
- Microsoft Visual Studio 2005 Installation error Q319714
by Siddarth_Chordia_b1f86e
- 1 Replies
- Last post
by Aaron Stebner
- I encountered the following installation error, may i know how to solve it Thank you. Setup Failed. Use the following links to research the source of the failure: There were errors during setup. View error log For information on known setup issues, see the Microsoft Visual Studio readme file, readme.htm, located at the root of the installation source. For Knowledge Base articles on Visual Studio
-
- How do you implement connection pooling in web services?
by swimtw
- 3 Replies
- Last post
by Wint
- This is actually two questions.
1. How do connection pools inside the global.asax work for application/session settings
From what I have read you should not use a connection pool in the application_start or it will only use one connection since it is set for the whole application.
Would this mean that a connection pool should be created when the session_start fires I plan to use
-
- How to implement hotkeys functionality in .Net for pdf document?
by HThind
- 1 Replies
- Last post
by meenoo
- I am generating pdf document through .Net. I want to implement hotkey functionality in the pdf files generated.
When pdf document is opened then i should be able to navigate the document on key press i.e if I press 'A' then document should scroll down for the Heading starting with letter 'A'.
Please reply with the code (in JScript or in C#) to implement the functionality mentioned
Thanks
-
- Creating an ActiveX Assembly with no UI
by rlrcstr
- 7 Replies
- Last post
by Feng Chen - MSFT
- In the examples of creating an .NET ActiveX control, everything is based on a UserControl. What if the control won't have any user interface. Just methods to call from other controls on the web page Can it be done with a standard class What part of the UserControl is enabling the ActiveX type of connectivity Is it something I can add to a class without the overhead of the full UeerControl
-
- how to get a html table using regex
by blue_devil
- 4 Replies
- Last post
by tonn
- Hi.
I¡¯m trying to get a table from a html document.
There are more than one tables in this document and I only need one.
The table is like this:
<table class="xxxx" cellspacing="0" align="center">
<tr>
<td align="left">
<a href="hhhhhhhhhhhh"></a>
<b>JJJJJJJJJJ</b>
-
- Help with writing to a txt file..
by Fallen Empires- Petros
- 3 Replies
- Last post
by Fallen Empires- Petros
- I want to write to a text file. I write the text from a richtextbox but where i put breaks in the text box gets replaced by a wierd square chanracter. I want to replace tht character with <br /> because it will be later be used as html. How can i make every line break save as "<br />" I tried newnews.Replace (string tht hold the text) but when i try too paste the wierd charac
-
- Program non-responsive / Possible Thread issue
by Bryon584237
- 4 Replies
- Last post
by Bryon
- Hi Guys
I am working on a program that reads data from a serial device. In order to get a reading from the device I have to send it the command "D " The device will then return me the data. It works great when I do it one at the time. Now I have to keep sending the device "D "
commands in order to read data nonstop from the time I hit the Read Data Button
-
- Error: "Client found response content type of '', but expected 'text/xml'"
by Minherz
- 1 Replies
- Last post
by Minherz
- Hello. I am using WS vs. Tomcat application server on UNIX. Randomly i get the WebException with the following message: Client found response content type of '', but expected 'text/xml' It is not happening all the time. I am not sure but it may have connected to some timeouts between .NET WS implementation and Tomcat WS implementation or something else. I tried to use System.Net tracing and foun
-
- RCW DispId changed
by Juozas
- 2 Replies
- Last post
by Juozas
- Hi All.
I'm using third party ActiveX component. Recently I've received new version of it (actualy version number is the same, but its API has changed). After generating RCW for new component I noticed, that DispId for some Methods has changed and some new Methods has been introduced. So the old RCW does not work with new ActiveX version, because of DispId changes.
My qustion is: how can My
-
- How to avoid that entity & is expanded?
by me&#42;
- 3 Replies
- Last post
by Martin Honnen
- I get a XML-Fragment from a Web Service which includes strings like
S&P 500
which are not wrapped with CDATA tags. If I use DataSet.ReadXml I always get an error because
S&P 500
expands to
S&P 500
How do I avoid that those entities get expanded
Thank you.
-
- Stack Overflow exception raised by WSDL.exe
by Gaurish Hattangadi
- 9 Replies
- Last post
by jini shans
- Hi All,
I am currently working on a C#.Net project that must access a web service.
However WSDL.exe raises a stack overflow exception when we pass it the wsdl file. We have been able to create a proxy class by using Java. We are facing issues with creating a proxy class with .Net.
Any help / pointers would be greatly appreciated.
regards,
Gaurish Hattangadi
-
- Can't figure this out....
by AProgrammer
- 5 Replies
- Last post
by AProgrammer
- Hello everyone,
Kinda difficult problem to understand.. but I am very hopeful that somebody would understand it and give me any suggestion about that...
I have the following XML file
Code Block
<Message>
<Header> <Element1> ABC001 </Element1> </Header>
<SEG_Header> <Element1></Element1> </SEG_Header> <P
-
- Pack in StructLayout Attribute
by milex
- 3 Replies
- Last post
by nobugz
- 1MSDN says Pack in StructLayout can be 0, 1, 2, 4, 8, 16, 32, 64, or 128 , which is the default value when i donot set Pack explicitly 2And when i use WIN32 api , sometime i need use struct as parameter, which value should i use 0 or other 3In vc++, the max alignment value is 16, when the above value use for
-
- Framework1.1->Framework2.0 and 'There is an error in XML document'
by e_LA
- 7 Replies
- Last post
by e_LA
- Hi
I am investigating some problem and I cannot find a solution. Maybe someone cen help me...
After converting project from Framework1.1->2.0 a have the following error in a few of my customers:
System.InvalidOperationException: There is an error in XML document <189,2>
-->System.FormatException: Input string was not in a correct format
...........
and after many exce
-
- XSLT transformation problem
by dmouser
- 11 Replies
- Last post
by Martin Honnen
- I would like to implement something like this
Display 3 records in each row.
<object> <test>1 </test>
<test>2 </test>
<test>3 </test>
<test> 4</test>
<test>5 </test> <test> 6</test>
<test>7 </test> </object> The XSLT I'm working with is: <xsl:for-ea
-
- NTFS question.
by Andrei Ivanov
- 0 Replies
- Last post
by Andrei Ivanov
- Sorry if this is in a wrong forum, I'm not sure where I could ask this question...
can NTFS volume be extended while IO is going on Is there a KB or some other article that I could read up on exactly what happens when volume is extended
Thanks,
Andrei
-
- Unexpected token reading webservice
by FrodeM
- 4 Replies
- Last post
by FrodeM
- I'm trying to read an xml file from a webservice, and no matter what approach I use I get this error:
System.Xml.XmlException: 'frameTK' is an unexpected token. The expected token is '"' or '''. Line 57, position 12.
This is the xml part that gives the error:
<accounting_row> <row_description> <id>SI</id> <description>Sum salesincom
-
- Getting hardware device name?
by yagfxg33k
- 5 Replies
- Last post
by yagfxg33k
- If you look at the properties for a drive in my computer, there is a hardware tab and under that tab is a list of All Disk Drives with Name and Type attribute information. How do I access this programatically from C# The System.IO->DriveInfo object does not contain that data.
Thanks!
-
- collection
by arkiboys
- 2 Replies
- Last post
by nobugz
- A generic collection i.e. cCurves is populated with data. The collection has several fields. I am interested in two of the fields i.e. Name and Name2
As a test, the following return data from the collection.
cCurves[0].Name1 cCurves[0].Name2
cCurves[1].Name cCurves[1].Name2
cCurves[2].Name cCurves[2].Name2
... How can I use a loop to populate a simple array with the data (Name, Name
-
- Predicate is slow....
by Jason Callas
- 3 Replies
- Last post
by KinghweiLiu
- I need to maintain a list of Paths and its id that was assigned by my database. At first I put them into a DataTable object with just the two columns. I am looking to improve performance so I thought about creating Path objects and putting them in a List(Of Path) generic object.
Since I sometimes need to look up by Path and sometimes by Id I took a look at the Find method along with Predica