Vaughn's Q&A profile
.NET Development .NET Framework and Windows User Profiles
Problem: We developed a VB.NET application using Visual Studios 2005 and are using table adapters (via the wizard) to bind the data to the forms. The program is using a hidden textbox field on the form as the key (a SQL identity field) to run stored procedures on an SQL 2000 server. With the issue we are having, the application opens the main form and can access data from the SQL server just fine. However, when trying to run the stored proced ...Show All
Visual Basic ansii and string problem
Hello, I am building a medium difficulty caculator and have finshed it all except for one problem. I have a text box that displays the caculations and I can type into it using the keyboard. But I only want to be able to type certain ansii codes(only numeric integers) ie 0-9, -, +, and "." How can I filter out the string so that only those ansii characters can be typed what are the ansii codes for those characters because I don't want to be able ...Show All
Visual Basic what type of collection to use?
I have a collection of type System.Collections.Specialized.NameValueCollection, which is great for getting the value of each item using either the Key or Index. However, I also need to be able to get the Name of a Key using it's index, and this doesn't seem possible with this type of collection. The only way I can see to do it is by keeping two collections going, the second with the name of the key in the first collection, that can't be right! ...Show All
Windows Forms It works in localhost(local computer) but it does not work on internet.
Hi guys. I am trying to make some program to Deploy WinForms on the Web. What I am doing so far is that the program is working fine in local computer. However, It did not work on another computer using internet. I just follow the web page ...Show All
Visual Studio Team System Visual studio locking up when doing TFS stuff.
Hi, I am wondering if anyones else is having a similar problem as me. It seems at certain times when I do various actions (getting latest code, checking in something) the action completes and then Visual Studio locks up to the point where I have to kill the devenv.exe from the task list. It has happened to me quite a few times now. I am running the VPC image for the server and have installed the TFC from the en_vs_2005_tfs_trial.iso file. ...Show All
Visual Studio Express Editions Sharing files between threads - how?
Hi, I am trying to build an application where one thread samples values and writes them in a file, while another thread reads that same file, processes and displays the data. How can I manage the file is open to both threads and manage the file with streamwriter and streamreader More info: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=217070&SiteID=1 Thanks all Jake I wouldn't like to ...Show All
Visual Studio Express Editions How to rename title bar in folderBrowser Dialog?
Hi, I want to chage the word "Browse for folder" to something else. Can anybody tell me how to do this Thank you in advance hi, i've already set the Description text to some other thing and also want to change the title bar. As in the file save/open dialog, also got a property to change the title. anybody can help ...Show All
Smart Device Development Data inconsistent
hi , i am developing a order application for PPC, this application is for multiuser. i am using rda.pull to get the data from database, but everytime i push back to the database the data become inconsistent. (For example the inventory stock quantity) In windows application its easy to solve by lock the token so no body can update the database at the same time or mix up with the data inconsistency. How can i solve this kind of problem in ...Show All
Visual Studio .VSCC file
Is this file created by Visual Studio, or the the MSSCCI plugin Thanks, JD Hi JD, This file is created by VisualStudio. It is meant to exist only in the source control database, when the solution file is not in the solution's bound root (the folder used for the solution connection to the source control database). The <Solution>.VsScc file contains in that case a relative path (from the solution's file to ...Show All
Visual Studio Team System Substitution of text during checkin or checkou
Hi, Is there a way to replace certain key-words in the source-code during checkin or checkout (Checkout would be prefered) Background is source-code-cleaning (remove bad words in comments, developer names etc.) Kind regards, Daniel I think that'll probably be the best approach. You could script the operation so that the get is performed to a local machine, the search replace script ran and then the c ...Show All
Visual C++ malloc returns 0 and GetLastError 998
In my program, some time into the execution, when I set a certain chain of events into action, malloc suddenly fails, and return 0 - even when the available memory is well over 1 GB. GetLastError returns 998 (Invalid access to memory location). I have been testing this on two different computers, on one (with less RAM available) there is no problems at all, on the other, malloc fails. I have installed Insure++ (www.parasof.com) in order to find ...Show All
SQL Server Time Intelligence Wizard script shortcomings
This is a question very much like one posed at http://spaces.msn.com/members/cwebbbi/ Basically, the script generated by the Time Intelligence Wizard only works for one level of a hierarchy. I would like to know the best way to correct this. In my case several time dimensions are present - this means a short and simple answer is preferable as many scripts must be updated. I will list a couple scenarios using A ...Show All
.NET Development card layout in .NET
I want to create a GUI which consist of three different pages. Only one page should be visible at the same time. In Java there is a special layout manager handling this case (CardLayout), is there something similar in .NET, or how should I go about solving this I have done a similar project and to force the order you would need to control the visibility of the panels. This does become a complex ...Show All
Visual C++ mfc redistributables
does the merge module for mfc have to contain all those dlls The size of my installer jumped 2x with the new merge modules. The crt seems to be in the prerequisite list but the mfcdlls aren't They contain Unicode/non-Unicode/managed versions of the DLL. The easiest way to reduce this size to do the following: 1) Don't use the merge modules at all 2) Copy these two folders from \Program Files\Mic ...Show All
Visual Basic Reuse code without VSS
How can I share source code modules and classes accross projects in different solutions without VSS As a one person developer who needs to share code accross projects I hamfistedly did it in VB 2003 by Add Existing then using Save As to put it back to the folder it came from. This does not convert well to VB 2005 so how should it be done You can still add existing items to your project...but in VS05 it copies the file to the project dir ...Show All
