Kavitha's Q&A profile
.NET Development Really simple solution (I bet)
Hello all, OK let me start by saying I am very new to VB (proper) and XML - my experience is in legacy VBA for Excel and Access. I am using VB 2005 EE B2. I have read all of the help files and most of the relative posts on this forum and I still don't get it. I want to load a datagridview control with the contents of an XML file when a form loads. I know the structure of the xml file (and it has a schema). On the form I h ...Show All
Visual Studio Express Editions Bug FDBK40119 and the Express edition
The bug with id FDBK40119 is more or less a blocker for delivering C++ programs built with Visual 2005 ( any edition ), at least these programs utilising iostream. The workaround posted in the bug report ( rebuild msvcp80.dll ) assumes library source code availability. This source is not included in the Express edition, so the workaround can't be applied. Wouldn't it be reasonable if Microsoft makes this source code avai ...Show All
Windows Forms Routing of User Input through .net framework
Hi, how to route keyboard input Let's say I have an EditControl (TextBox). How can I manipulate keyboard events. Or more clearly, how can I determine which keyboard events shall be routed to the TextBox and which keyboard events (shortcuts e.g. CTRL+S = Save) should be routed to the window which comes next in the hierarchy (the parent window). How can I forward an event to a specific window. How can I define application global sho ...Show All
Smart Device Development Text To Speech api for .net Compact framework 1.1
Hi all, can anybody pls let me know is there any text to speech api available for .net compact framework 1.1 applications As for my knowlege. Speech SDK,SAPI are for desktop applications. I didnt came across specifically for .net CF applications. Thanks in advance, latha. There is nothing specifically available for speech using .NET Framework. The voice story for developers on device ...Show All
Visual Studio How to abort a commandline build.
I am trying to abort a commandline initiated build before it does any work. I have a OnBuildBegin handler that does some checking to see whether to actually build. None of my current approaches work reliably. Invoking Build.Cancel in the handler. As far as I can tell, commands are not availablewhen running in commandline mode. Is that correct, or am I missing something Using the HRESULT for the callback. As far as I can tell, that value is ...Show All
Visual Studio Team System I need help with the Summary Results XML files.
I am using the SummaryResults.xsd to create a class in C# from this I am generating the xml file for the Summary Results file. I have no problem getting the XML results to display in the “generic test Results page in Visual Studio. In the SummaryResult.cs file there is a field called DetailedResultsFile for the inner tests and one called DetailedResultsFile. These show up in the Generic Test Results page as a column called Test Result Details ...Show All
Visual C# Registry Access
Here's a case : I want to make login screen and it will block Ctrl+Alt+Del Combo. So far I've known that I need to alter registry key "DisableTaskMgr". It work well when I compile it on my PC, but when I try it on another computer as user, not as Administrator, I got message that registry access (write) is forbiden. So I think I need to know if program runs in Administrator mode or user mode. How I determine that using C# At first I think that ...Show All
Visual Basic VB confused about SQL Server versions ?
Some months ago I installed beta preview editions of Visual Studio including a copy of SQL Express. Recently, I successfully uninstalled all of these betas using the special purpose uninstall tool available on the Microsoft website. The uninstal completed successfully or so it said. Next I installed Visual Studio 2005 Professional and the installation completed successfully. I also removed SQL Server Express Edition (Autoinstalled with VB) an ...Show All
Smart Device Development Visual Studio 2005 Beta 2 - Emulator problem
Hi! I've got a problem and wonder if anyone else has it (and has resolved it ) My problem is as follows .. I create a new device application and try to run in in emulator.. the emulator starts just fine, but it won't connect to it! At all! The error is "Connection failed. The system cannot find the path specified." Thanks in advance, Tadej I had the same problem so from a previous tip for vs.net 2005 beta 1 I ...Show All
Visual Studio Problems passing parameters - Local mode
I have a .rdlc report where no records appear to have been retrieved though I know they are there. That is: I have a .rdlc report. I have a parameter in this report Called Companys. In the List Region for the form, In the Filters tab I have code like the following: =Fields!Company.Value = Parameters!Companys.Value In the Load Event of the Viewer I have code like the following: Dim para As String = Nothing parameters = New ...Show All
Smart Device Development Creating a Virtual COM port for an application to connect to.
Thanks in advance for any help. I am trying to create a virtual com port that a windows application can connect to. Then I can use the SerialPort class to read from the port buffer and manipulate the data as I see fit. Is there any way to create a virtual port in Framework 2.0 for Visual Studio 2005 Or do I need to use Windows CE emulator functions Also if I use Windows CE to create this application that fakes a com port will it work on other ...Show All
Visual C++ How to use other DLL in COM DLL?
First, generate a project by the VS2005 of ATL DLL, and add a simple object into the project, then add the IShellExtInit and IContextMenu interface manually. Well, it is work fine. But if i invoke other DLL's function in the ATL DLL's project, it is will alway show an error as:(and the invoked DLL is surely 64-bit) Linking... Creating library x64\Debug\PWContext.lib and object x64\Debug\PWContext.exp Embedding manifest... Registering outp ...Show All
Visual C# nullable variables as result type
class aaa { public string abc() // Wrong - WHY { return null; } } This is because a string is nullable by default, please refer to the following code snippet: public string Test() { string s = null ; return s; } Hope this helped. ...Show All
.NET Development Test connection And db version
Hello all I want to perform atest connection on the startup of my program, what is the best way to do so today i am doing this try { conn.Open(); conn.Close(); MessageBox .Show( "Test Succeeded" ); } catch ( Exception exp) { MessageBox .Show( "Test Failed:" + Environment .NewLine + exp.Message); } is there a better way I also need to check the db version (i change the database v ...Show All
SQL Server Enterprise Or Express Edition?
Hello. Through something called the MSDN Academic Alliance (MSDNAA), I installed what what they told me was going to be SQL Server 2005 Developer Edition. However, using the shared directory on their server, the installation program read "Enterprise Edition." Using a method found at KB article 321185, "How to identify your SQL Server version and edition," I finally figured out that I was using 9.00.1399.06/RTM/Express Edition ...Show All
