prageeth's Q&A profile
Windows Forms How to block events in a form
I've got the following problem. I need to block any event in a form while a separate thread is working. I've tried to use form.Cursor = Cursors.WaitCursor; but it doesn't work since I can close the form. Of course there's a way to make the form disabled but it's not good solution for me. Any other suggestions Do you mean, you don't want the user to click on any button on the form cause if so, the ...Show All
Windows Forms Any color coding sample guide for words within richtextbox?
I have a set of keywords, needs to color code when the user types in. Any color coding sample guide for words within richtextbox I am using visual c++ 2003. Thanks, Jil. How can I programatically change the color of words in RichTextBox. Supposing I wanted change Color In the RichTextBox, how do I change it selectively. RichTextBox.Selection.color = Blue like this It is a kind of keyword highlighting. I do not need any complete coding. I ...Show All
.NET Development Mr Sceppa. Or any other Master of VB/ ADO
Mr Sceppa. Or any other Master of VB/ ADO etc I also have a problem related to updating the database. I have 3 tables in my VS 2005 dataset. I add each row with data, 1 row at a time, and then I call mytableadapter.update() in order to update to the database. It only works in 1 of the 3 tables The first error is *** System.InvalidCastException was unhandled Message="Failed to convert parameter value from a String to a ...Show All
Visual C++ Spawnl Return Code 1
I have a C application written in Visual C++ 6.0 which has been running successfully for several years on Windows 2000. It uses the spawnl command to execute a .bat file. Since upgrading to Windows XP Pro, the spawnl command returns a return-code of "1" instead of "0". Since I am able to successfully execute the same .bat file from DOS, I have not been able to determine what the problem is in my application. The general ...Show All
.NET Development Could you write a XSD file for the requirements? thanks!
Could you write a XSD file for the requirements thanks! 1. The Folder elements and the Bookmarks element can occur with free order 2. The Folder elements can occur 0 or unbounded times 3. The Bookmark elements can occur 0 or unbounded times I have made the following code Part A-1 and Part A-2, they work well, the only problem is that the Folder elements must be at front of the Bookmark elements. So I have to write the code Part B-1 and Part B ...Show All
Visual Studio Express Editions DataGrid
Hi, I have C# express edition, can you please give me a tutorial of working with database and using datagrid. I want to read,update,change and delete from the source database. Regards... Hi Wasim, Rather then using the DataGrid, Visual Studio 2005 adds a new data control called the DataGridView. This article has a good overview of the DataGridView control that should help, and includes a source code sample ...Show All
Visual Studio Team System Description and History data while migrating bug
We are planning to install VSTS 2005 Server as our bug tracking software by the end of this month with Beta 2 version and start opening bugs against our product in it and later when RTM releases (last I know it would be in Nov) then we are planning to upgrade out VSTS server to RTM version and migrate all the existing bugs there. Now according to answer to my post in forum the way to migrate currently the bugs is using excel. Through excel we ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Distorted texture after lost/reset device
Hi, I'm drawing a textured mesh using DrawIndexedPrimitive, using an effect interface. After a windowed/full screen toggle the texture appears distorted. Interestingly when I draw another mesh in wireframe mode in the same render call the problem doesn't occur. Can somebody help Nico Depending on where you load the textures to, you need to release them and recreate them. Make sure that you are properly handlin ...Show All
Visual Studio Team System Missing Default Rules?
Hi all, I'm new to using FxCop and have been trying it out over the last couple of days. Now that I'm getting more into using it I've noticed something strange. I expect it's just because I'm new to it and seem to be missing something but could someone please clarify this for me Why does the Rules list under the Rules tab in FxCop not match up with the Rules list on GotDotNet (Naming Rules and http://gotdotnet.com/team/libraries/FxCopRules/Na ...Show All
Visual Basic VB.NET Express 2005 VS. VB.NET 2005
I have one question is the VB.NET 2005 exactlythe same of the VB.NET Express If I create a program in Express can I compile it and run it in the regular 2005 Can I install both on my system Can you answer me please email rafidalwani@hotmail.com Couple points: -Price: Express is inexpensive but is not free. But you are very likely to see rebates to $0 online for Web download :) The goal of Expr ...Show All
Windows Forms Bug on VS.NET 2003 Start Page?
Am I the only one seeing this After opening VS.NET 2003, if I roll over anywhere inside the outline of the list of Existing Projects list, at the very bottom where it says "Ready", it blinks at a steady rate. It doesn't appear to use ...Show All
Visual Studio Express Editions back button code
code for generic back button: WebBrowser1.GoBack() as for the progressbar, im still working on it. Im close, tho. ...Show All
.NET Development drill-down reports
Greetings, In using the .Net 2.0 controls, can someone help me figure out what the best method is to output a web report that is outputing multi-level roll-up data We have reports that output data for campuses, buildings, and floors, and would like to see all this information in one report that looks something like this: CAMPUS HEADER campus1 info BUILDING HEADER building1 ...Show All
Windows Forms deployment provider problem
I have a problem deploying my ClickOnce application. I have built my Clickonce application with visual studio 2005 Beta 2 and signed the Manifests with a Verisign Code signing certificate. I publish it to my IIS server and then run it from my development pc and it installs and runs ok. I then go to another pc and try to install it (over ClickOnce) and I get the error "the deployment identity at the deployment provider is not th ...Show All
Visual Studio vstemplates and create directory for solution option
Is it possible to disable/clear this option via a .vstemplate property You can control items such as the Browse button via <EnableLocationBrowseButton> but I haven't found anything to control the solution directory check box. Failing that, is it possible to determine the setting of this in a wizard extension The <CreateNewFolder> element in the VSTemplate schema looks like what you're looking for. ...Show All
