Akhil Jindal's Q&A profile
Visual Studio Express Editions Un-escaping XML?
Hi, just playing around with some XML stuff in c# and have a problem un-escaping a SQL Connection string... The XML is as follows: < xml version="1.0" encoding="utf-8" > <dbSettings> <connectionString> User ID = ****;Password = ****;Integrated Security = False;Initial Catalog = CMS;Data Source = vaio\sqlexpress </connectionString> </dbSettings> I'm using a nodeiterator and fetching the required node, but when I read it back out using NodeIter.Current.Value.Trim() the backslash between "vaio" and "sqlexpress" as been escaped so I get "\\" - which obviously ...Show All
Visual Studio Express Editions What now? - x86
I have downloaded http://www.microsoft.com/downloads/details.aspx familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en . To let me redistribute my applications, but I don't understand how to use this. I installed it and I was given no instructions on how to use it. Please help, Wilko Well i would like to know how to now make it so my program standsalone which was the whole point of getting it. I thought that it would enable me to make me exe work on a pc without c++ and all of the dlls. How would I do this ...Show All
Windows Forms infinite notes - How to?
I am looking for suggestions to handling large notes. Prerequisites: 1. Notes interface must look and feel like text editor. 2. Must use MSSQL 2000 3. Number and size of notes may only be limited by disk space. 4. Find notes via ad hoc queries. How have others approached this tia, Todd Did you ever solve this problem I have the same problem. Us ...Show All
Visual Basic Subroutine for KeyPress?
Hi, I have this code to allow only numerical characters to be entered and currently it is only assigned to en text box when I'm needing it to validate many: Private Sub txtCustomerTel_Keypress(KeyAscii As Integer) If KeyAscii = vbKeyBack Or Chr(KeyAscii) = "-" Or Chr(KeyAscii) = "." Then 'To allow decimal numbers, backspaces and minus sign Exit Sub End If If KeyAscii > Asc("0") And KeyAscii < Asc("9") Then 'do nothing if not a number pressed Else KeyAscii = 0 End If End Sub Is it possible to put this in a subroutine which is called by many different textboxes Cheers Matt Yes; Sure; J ...Show All
Visual C# how call SIMD or XMM Intel/AMD assembler from C# ?
I want to optimise my code by calling into assembly language so can make use lot of advance SIMD and XMM in Intel/AMD processor. Is it possible in C# version 2 any work around for version 2 (w/o PInvoke) How nice if its provided in version 3. Thanks I’m sorry but the only way you are going to access that sort of native/optimized code is through a p/invoke. Remember, only .NET compatible languages are executed within the CLR, something such optimizations would not be, and in such a case the CLR and your code is removed from the processor and your native code is put in it’s place because of the p/invoke. ...Show All
Software Development for Windows Vista Changing activities Id's
Hi. I have an application that embedds the workflow. In some point of the application, I let the user change the activity Id through a custom form of mine, but that seems to generate a problem. When the user changes the Id, and then drags another activity of the same type to the workflow, it throws an exception saying that the activity already exists. The code that I write to change the activity ID is quite simple: activity.ID = "someNewID"; //Perhaps I have to do something else after this code... I'm with the Beta 1. Any clues Thanks in advance. Hi Matt, In order to make sure that each newly added act ...Show All
Windows Forms e-Business Project
Hi I have started a post graduate degree in MSc e-Business Systems Design, and I would have to develop a system of my choice for my final project. It has to be something not simple but not too large, and something that has real world applicability. I want to develop it in .net and I was wondering if anyone had any suggestions for a ...Show All
Windows Forms Retrieve a dataset size
Any way to retrieve a dataset size in byte maybe by serializing err i meant other then serializing which is overkill if i just want to estimate how big a dataset is (Performance is a big issue) ...Show All
Windows Forms Optional Download of App.Config in ClickOnce
I set the "Build Action" Property to content for App.config , still I'm not able to change the "DownLoadGroupFile" property... Any help on this Thanks a lot, Jayanthi John ...Show All
Windows Forms What to use...
If I want an information rectangle to pop up after hovering over a stationary target for x amount of seconds, what should I use for the information rectangle A form or what Thanks, Devin Sounds like a tooltip to me. http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbcontooltipcontroloverview.asp ...Show All
.NET Development wse 2.0 AuthenticateToken oberride
According to the documentation the AuthenticateToken method should return the validated password to indicate that the pwd is valid This woks fine in the client is sending the pwd as text When i sent the passwordoption to sendhashed i am able to validate the passworddigest against my authentication store but when i return the password i get this error WSE563: The computed password digest doesnt match the username token I tried returning the passworddigest and a hash of the password and it still returns the error when am using the oprion sendhash what value am i supposed to return ...Show All
Visual Studio 2008 (Pre-release) Problem with configuration file in February CTP
Hi! I have the problem when in runtime with my "hello wolrd". My configuration file is the follow: < xml version = " 1.0 " encoding = " utf-8 " > < configuration xmlns = http://schemas.microsoft.com/.NetConfiguration/v2.0 > < system.serviceModel > < services > < service type = " demoWCF.ServicioHola " > < endpoint binding = " wsHttpBinding " contract = " demoWCF.IServicioHola " /> </ service > </ services > </ system.serviceModel > </ configuration > Then ...Show All
Smart Device Development Native C/C++ embedded development in Visual Studio 2005 - supported Windows CE versions
I understand that Visual Studio 2005 will replace eMbedded Visual C++ for native code development on Windows CE. Will any CE version prior to 5.0 be supported This means that for win ce 4.2 standard C/C++ dev, you still need EVC4 TIA ...Show All
Visual Studio view multiple reports in same crystalviewer control
I have three reports that I want to view at the same time in one crystalviewer control on a vb.net windows form. How do I do this with the bundled version of crystal reports shipped with VS 2003 B. You can only bind a crystal report viewer to a single report. Options would be to have perhaps a forms with tabs and a viewer on each bound to each reports or to include the three reports as subreports in a single viewer. ...Show All
SQL Server Stepping over the line
I'm running both SQL 2000 and SQL 2005 on the same server. I got this informational message when running a replication job in SQL 2005. It references the SQLAgent of SQL 2000 instance and says it needs to be upgraded to SQL 2005. Log Windows NT (Application) Source SQLAgent$My2000Instance Category Job Engine Event 1073742027 Computer AMWA-011605 Message SubSystem Message - Job 'MyJobRunninginSQL2005' (0xF6BA7BF3BB3EAD42BF281CA1CA39D2EE), step 2 - The SQL Server version of the Publisher server needs to be upgraded to 'Microsoft SQL Server 9.0'. I say "hooey". It is none of its business if one of my instances is SQL ...Show All
