CEstudent's Q&A profile
.NET Development XmlWriter - escaping characters eg. & and "
Hi all, I'm a bit of a .NET newbie, but have been coding C++ for years. I'm also quite new to XML, and am trying out the XmlWriter class in .Net 2.0 : TheXMLWriter = XmlWriter::Create(Data, settings); If I do the following : TheXMLHandler->StartElement( "Element1" ); TheXMLWriter->WriteString("a string containing & < > which should be escaped"); TheXMLHandler->EndElement( ); The & < and &g ...Show All
Windows Forms general purpose button event handler to navigate to windows form,
Hi, I have a windows form with a number of buttons on it. Clicking on each button takes you to different windows forms. how can I make a general purpose Button_click event handler for all buttons on my form that can take me to  ...Show All
Visual Studio Express Editions WME - Heelp
I hawe radio station and streaming OnLine with WME.. But i hawe a litle problem..Anyone know to tell me howe to Clients se what is played on the radio... ARTIS - TITLE .... And somthing another do hawe some skript baners to show when is online when i m offline from the radio station.. Its for FORUM..... Thanks ReneeC wrote: I'd love to see your approach (in code that is.) ...Show All
.NET Development No symbols are loaded for any call stack frame. The source code cannot be displayed.
Hello. I installed VisualStudio.NET 2005 a few days ago. ( not beta ) While I'm debugging, I'm faced with strange message box. -- MessageBox -- No symbols are loaded for any call stack frame. The source code cannot be displayed. -- Debug Detail Window -- FatalExecutionEngineError was detected Message: The runtime has encountered a fatal error. The address of the error was at 0x7a2b5aec, on thread 0x358. The error code is 0xc0000005. This ...Show All
Smart Device Development How to deploy my apps?
Hi All, I have develop Pocket PC Application which is running perfectly from my development PC using iPAQ PDA. Now, I need to install my apps on the iPAQ PDA. Anyone can help n guide me step by step on how to create .cab files, .inf files ,.msi files (package n deploy app) and also how to install .Net Compact Framework and SQL CE on the PDA. I'm using : - - VS Net 2003 - .Net Compact Framework 1.0 - Windows Mobile 2003 Version ...Show All
Visual C++ Working with bytes and bits
I'm writing a program (to be more exactly it's a DLL) that comunicates with some machines through the serial port, so I need to read 17 bytes from the buffer, get the first byte and split it into 7 bits (the serial port configuration specifies that will be 7 the number of data bits). - How can I get this value from the BYTE array and split it into an array of bits - I'm getting the value from a position of the BYTE array a writing to a fil ...Show All
Visual Studio 2008 (Pre-release) Ellipse included, but circular arc?!
I have one simple question: How can i create a circular arc in WPF I want something like you see in my illustration here [right part of the pic]: [watch image] Will a standard class be included in the WPF framework for this purpose like it is a tool in almost every better vector graphics program or is there a workaround to do something like this I also want to be able to animate [!] the 2 angles of the circular arc... What you need to look ...Show All
Software Development for Windows Vista How to communicate from a Win app. to the workflow when the workflow is hosted by a console app?
Hello, I have a workflow that is started from a console application that does some job. Afterwards I want to have access to this workflow from a windows application to approve or reject a document. In the workflow I have a listen activity that is waiting for the approve or reject event described in the interface of the local service that I enclose below [ Serializable ] public class ProposalEventArgs : ExternalDataEvent ...Show All
.NET Development Internal .Net Framework Data Provider error 1
I am getting "Internal .Net Framework Data Provider error 1" error while calling execute reader. Any body has idea what is the cause and fix This method is called many times and fails after a long run. I ran task manager and memory is hitting 100% before the error. Though I am not sure, if it is happening due to memory, the errror provide no information to fix the problem. stack trace : ...Show All
Visual Studio Is it possible to make comments snap-to-grid?
Is it possible to make comments snap-to-grid when resizing and moving like the other shapes The ability to adjust alignment within the comments would also be handy, I'm assuming that this isn't possible Yes, unfortunately they are not supported. A workaround for snap to grid is you could multi-select the comment shape with other shapes and then move. It should make the comment shape snap to grid. Thanks, Ramesh Rajagopal. Clas ...Show All
SQL Server SID in Create Login
I am trying to create a SQL Login in SQL Server 2005 (June 2005) and specify the SID per the documentation. CREATE LOGIN [dsac] WITH PASSWORD = '01004710C8C654E46FF3917FEA7A122F73A0FA9EC91F6D1CFC97' , SID = DD5DD5E1D2E11843BF37096D08903057 , DEFAULT_DATABASE = [master], DEFAULT_LANGUAGE = us_english , CHECK_EXPIRATION = OFF , CHECK_POLICY = OFF I keep getting an error ' Msg 102, Level 15, State 1, Line 3 Incor ...Show All
Visual Studio 2008 (Pre-release) Anonymous Methods and LinQ
LinQ provides query language for our collections as far as I understood, And by the way in c# 2.0 there is Anonymous methods which provide us using closures as functors. Did anybody have issues with Anonymous methods Why did they introduce LinQ what is the best way to select elements of a list that satisfy a given predicate LinQ or Anonymous Methods using closure sorry I am kind of confused. Linq is a pattern that makes the u ...Show All
Visual Basic GetPixel
alright I need to get examples of getPixel...I need to get a pixel of a fullscreen application.... I need it to be something like this dim number As integer = 0 if pixel (xcoord, ycoord) and (xcoor, ycoord) etc... is there then number = "1" else if pixel (xcoord, ycoord) and (xcoor, ycoord) etc... is there then number = "2" else if pixel (xcoord, ycoord) and (xcoor, ycoord) etc... is there then number = "3" ect...i was thinking that I would us ...Show All
Visual Studio Team System TfsWorkItemTracking Process Identities Job fails every 10 minutes
I just had a look at the event log on the machine running our single-server TFS installation, and this message appears once every 10 minutes: SQL Server Scheduled Job 'TfsWorkItemTracking Process Identities Job' (0x0E06FC1460769D4C8B8BA32312E2B0DD) - Status: Failed - Invoked on: 2006-03-31 09:00:00 - Message: The job failed. Unable to determine if the owner (NE\TFSSETUP) of job TfsWorkItemTracking Process Identities Job has server access (reason ...Show All
Visual Basic Get Pointed in the right Direction?
Good Morning, I don't know if this is the right place to ask this question, but I'll try it and hopefully someone can point me in the right direction. I am curently using VS/VB6. (Can't afford to upgrade right now, but would like to.) I have Several Reports in an Application that work fine. However, I have a bunch of users that have asked if I can make the Reports "Zoom" to a smaller screen size (say 75%) when they are disp ...Show All
