Diligent's Q&A profile
Visual Basic Intercepting the TAB key in a textbox
I need to use the TAB key to feed the string "0.5" into a textbox and then move on to the next control, as though the user has typed "0.5" (and then pressed TAB). I see the solution suggested is to override IsInputKey but for the life of me I can't work how to apply the method - every way I try doesn't trap the TAB key. How/where do I set the override to get the TAB key identified by KeyDown It certainly doesn't work if I use ...Show All
Visual Basic RAMdisk
Can you create a RAMdisk in VB2005 (or VB6) code I write a file to the hard disk, and then read it back for viewing and printing. Sometimes I need a faster turn-around time. Loading or Reading from RAM would avoid introducing delays to wait for the disk file to be ready. The Help section mentions getting Drive info, but not much on creating a RAMdisk You can use the MemoryStream class to save and read (file)streams from memory. No writing ...Show All
Visual C++ How Can I Change The window color
Good Day. I Want to ask you for an easy way to change the window color on C++ ..IN MFC And Thank You(Donnot give me a Link to MSDN ) What library do you use ATL, MFC, plain Win32 Here are the links to the MSDN In the MFC you can use message refelection: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vclib/html/_mfcnotes_tn062.asp In the case of Win32 API you have to react on WM_CTLCOLOR... messages. i.e. http://msdn.mi ...Show All
Smart Device Development Can't start emulator in VS 2005 CR1
I have installed VS2005CR1 and I'm getting the following error message: To 'Pocket PC 2003 SE Emulator' Connection failed. The configuration data for this product is corrupt. Contact your support personnel. Where are the configuration data Do I have to install the DMA patch for VS2005RC1 Thanks for helping. Did you have an earlier version of VS 2005 installed on the machine In that case you may need to delete the following: "\D ...Show All
SQL Server How to control CLR memory threshhold?
Please help! I'm running a lengthy (about 5 minutes) transformation process on SQL Server 2005, which consumes about 300-400 MB. The code is a C# SP. The same code can be run as a part of WinForm application and works fine. If executed as a stored procedure e.g. from Management Studio it breaks after consuming certain amount of memory above roughly 200MB with .NET Framework execution was aborted by escalation policy because of out of memo ...Show All
Visual Basic Turn off and off RTS
I'm developing a simple program that uses the serial port to active a PCB that lights an LED. I'm using the new Visual Studio Express VB 2005. The PCB (printed circuit board) uses the toggling of RTS/GND on the serial port. Until I understand how this works, I'm just trying to test this with a simple click of the mouse. Click inside the main form and the LED turns on and off. Once I understand how it all works, I'll use the code to t ...Show All
SQL Server SQL Express license hosting for business purpose?
Hi every one, SQL Server 2005 Express License allow hosting for business purpose, as DB size is limited to 4 GB Any restriction or limitation regards SQL Server Express can be used for hosting. There are no limitations or restrictions on using it for business purposes. Tim Tow SQL Server Product Manager ...Show All
Visual Basic IDE not picking up my 'Backspace' or 'Enter' keystrokes in the debugger
The debugger isn't picking up my keystrokes for my 'Backspace' or 'Enter' (carriage return). As far as I can tell those are the only two keystrokes from my keyboard that are not being caught. Any ideas Logitech wireless keyboard. Hi, Windsailor, Sorry to hear about the problems! Where are the keystrokes failing – in the Immediate Window, Watch Windows, or in the editor itself (while doing Edit & Continue) --Matt Gertz--* VB Compiler ...Show All
Windows Forms DataBinding to a SQL Field of type money
Has anyone ever had a problem DataBinding to this field type I have a method that sets up all my DataBindings for my controls on the form and when I run it I get this error: "DataBinding could not find a row in the list&nb ...Show All
SQL Server Using SSMS to Manage SSIS
(Also posted on the beta newsgroups...) I'm having problems using SSMS on a workstation to manage SSIS on a server. I cannot connect to SSIS on the server. The SSIS service and the RPC service are both running on the server, but I get an "RPC server is unavailable" error message. I have CTP 15 running on the workstation but CTP 14 running on the server. Probably not a great idea, I know. Anyone know if that is defini ...Show All
Visual Studio VS2005 Beta 2 & VSS - Slow & Strange
We're experiencing some extremely slow behavior out of VS2005 Beta 2. We have a two person development team, both of us using Beta 2, both of us have beefy machines (~2.5Ghz proc., 1GB). We are both working on the same solution, which contains 6 projects all contained in source control. For one week we've worked without any problem whatsoever and today we started experiencing the problem. The weird thing is, the IDE is non-responsive (i.e. 10- ...Show All
Visual Studio Team System please help with web recorder
Hi! I'm trying to record webtest. 1. Create new web test 2. Window of recorder (IE) does not appears 3. Script is not recorded What solution can you suggest to resolve this problem Thanks for your reply! Hmm, it sounds like your default editor configuration is messed up for .webtest files. Try right-clicking a .webtest file in your project and reset the default editor to the Web Test Editor. Let me know how that goes. ...Show All
SQL Server I get "Line 1: Incorrect syntax near ')'." when using SqlClient ExecuteScalar
Whenever I run my code, I get the following error: " Line 1: Incorrect syntax near ')' " I can't fgure out what I am doing wrong. I have modified my code following examples I found in books or web sites and each time, ths is the error I get. Here's the code: Private Sub GetTotoExt(ByVal PrmValue As Object) Dim StrConn As String = My.Settings.SignsConnectString Dim CmdSql As SqlClient.SqlCommand Dim StrSql As String Di ...Show All
SQL Server SQL Management Studio 2005 SEPT CTP
Hi, I have Sept CTP running happily on Windows 2003 SP1. Like you, a clean install. Let's go back a step. Which management tools did you choose to install Locally, on what I assume is a dev/test server Which .exe are you trying to run You said it was a clean install. Any warnings on the system check before install Anything in Summary.txt Thanks Andrew Watt MVP - InfoPath wrote in message news:92b5ce30-e21d-48 ...Show All
Visual Studio Team System Process Customization
Hi, I’m new to VSTS and I’m exploring its features. I was wondering how I can customize the default process (MSF Agile) that VSTS provides. So far, I’ve figured out a way to do it manually (downloading the process templates and modifying it manually). Can I modify it through VSTS or is there any other tool available to modify it Thanks much, Kumar You may want to give Joel Semeniuk's tool a try. http://weblo ...Show All
