jimsch's Q&A profile
Visual FoxPro editbox programmatic change
I am looking for an easy way to determine if I've made interactive change in an editor box. The issue is that there are about 16 controls on a container, they are initialized from a table record thus their values at activate time generally are not trivial default. I have to save the changes with a SAVE button if I made any but I want this button's click method to quickly determine which control values have been changed. I do not want to do REPLA ...Show All
Windows Forms Detect SQL Servers
How do I etect all INstances of SQL Servers on my network I want to poulate a combo box with the SQL Server instance Name. Also How o I get my computer name To get your Computer Name, use SystemInformation.ComputerName. To get al ...Show All
Visual Studio Problem Installing Visual C++
Hi, I was trying to install the Visual C++ Express Edition. A pop-up window "setup" started and a message stated as "Setup is loading installation components. This may take a minute or two.". However I have waited for about 20 mins and it just hang there. I have checked the task manager, it is still running. I find it weird and have close the application. Please advice how I can successfully install the program. Thanks Ling ...Show All
Windows Forms a simple question about hiding a form
Hi, i got a simple question about hiding a form: say I have two forms: A and B, the program start formA, however I actually want to load formB once the program start, like this: public FormA() { InitializeComponent(); FormB formB= new FormB(); formB.InstanceRef = this; formB.Show(); this.Hide(); } however, both formA and formB is shown, why 'this.Hide' is not working Many thanks! thanks, that works, however I got ...Show All
Visual Studio 2008 (Pre-release) Adding query results to a List, can it be done?
I've been testing linq and I'm wondering if this can be done. The code compiles fine but crashes when run. I'm trying to get LINQ to create a new instance of my class for each result set that I then add to a typed list using foreach. Now, is it not working because my class does not implement IEnumerable or is it some other reason Here's the code snip I'm trying to get to work. using System; using System.Collections.Generic; ...Show All
Visual Studio Team System Corruption in Source control
Hi, We have serious problem with error that occurred when we are making check in. We got errors on files that are part of a deleted project in our source control. This is the error: Detailed Message: TF14043: An error occurred computing the delta for item $/xxxx/Libraries/FrameWork/xxxxxx/AutomatedCollectionBase.cs version 1170.System.Data.SqlClient.SqlException: SERVER.TfsVersionControl..prc_CreateDelta: Content Failure - Delta ch ...Show All
Visual Studio Tools for Office how to import a .vcf file into outlook programatically
Dear all, If anybody knows how to import a vcf file into outlook, by using vc++.I want to get the functionality of doing "file>import/export>vCard.." from the menu of the outlook. Thanks in advance. -- Raja Pratap K Hi Raja, Sorry this question is beyond our expertise -- I have re-posted it into an Outlook forum where they may be able to help you. http://msdn.microsoft.com/newsg ...Show All
Visual Studio Express Editions TreeView question #2
Hi Is there any way to get a TreeView which is being populated with Files to read the appropriate file icons for each of the files I do have a useful program (Audacity) which can rip icons from files, but I suspect that would be a rather long and laborious procedure. Is there any inbuilt function or method to do this kind of thing Even just the system file icons would do most of the job for me. It is a bit boring when I just have on ...Show All
Smart Device Development How to close the former form?
Hi. I have built a login form which links to a main form. After check user's ID and password, i use such codes: Dim newForm as New mainForm mainForm.show() Here i do not know how to close the form login form, me.close() and me.disposal() do not work well. anyone can help me thanks! Try Form.Hide(). This may not be the most elegant of solutions. By the way, why is close() not working ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DX GUI library
Is there any developed GUI libraries, based on ManagedDirectX version, is it reasonable to do own one, and possibly to sell it, I mean UI that will be used inside D3D applications cehck on DirectSDK CustionUI exmple, I think they did the best to handle user\s input there + mixed it with navigation in 3d world, thanks ...Show All
.NET Development HttpWebRequest, UTF8, Google Translator problem
I'm globalizing an asp.net application, and I wanted to automate the process of translating my resource file into Chinese. So I decided to write a program that will post each string I want to translate to the Google Translator program. My program works for Spanish and French translations, but not for Chinese. The problem is that when I use the HttpWebRequest object, the google translator returns a response with the content type "text/html; chars ...Show All
Visual Studio Team System Checking a CoreField's Availability on its WorkItem's DisplayForm
I have some code that sets certain CoreFields' values no matter the Project or WorkItemType. One of these fields is the Description field, which is defined in the CoreField enum in the WorkItemTracking.Client assembly. The problem is, there does not seem to be a truly reliable way to check if this field is visible on the DisplayForm in CMMI Projects (and perhaps all projects, but I have only come across this problem in CMMI ones). The Des ...Show All
.NET Development Multiple Inserts into Sql Server.
Is there any way to insert multiple rows into sql server table in single query or single round trip to the server Thanks. Besides using a stored procedure, if you need to build your SQL programmatically on the fly you can specify multiple statements delimited by a semi-colon. ...Show All
Smart Device Development How can I place TOOLBAR on top?
I try to place TOOLBAR on top or right with .netcf, but I can not do that . thank your help! You can create your owner-drawn custom control, deriving from Control and drawing the buttons and text the way you like. Check out my article on MSDN on creating owner drawn controls: http://msdn.microsoft.com/library/default.asp ...Show All
Visual Studio Capturing Text Output from Exec Task
Is there any way I can capture the text that is output to the console while executing the <Exec> task to a property I'm porting my NAnt Scripts to MSBuild and we Create SCM ChangeLists from the exec task. I'd just like to extract the ChangeList ID. Chike I checked the msdn2 page for the Exec task ( http://msdn2.microsoft.com/en-us/x8zx72cd.aspx ) and it says: One disadvantage of using the Ex ...Show All
