H Magnusson's Q&A profile
Visual Studio Express Editions How to activate the cursor in TextBox1
I would like to have the program activate the cursor in TextBox1, so the user can start typing immediately without having to first click on TextBox1. Try changing textbox1's tabindex property to 1. or you can make a sub that handles form1.load and in that use textbox1.select ...Show All
Visual Studio Team System Assigned To field unknown when status is closed
Whenever I close a work item the Assigned To field seems to lose its value, as it shows up as 'Unknown' in all reports/queries. Is this a known issue *Note: I am using TFS Beta 3 with VS 2005 Team Suite RC1 Knowing who worked on a specific bug is very important. Why do we need to 'extend' the Team Foundation for this Extending is for achieving a very specific functionality, not a basic one . Thank you ...Show All
Visual Studio "Unexpected error" dealing with vss in vs2005
I get the following error when I try do do getLatestVersion or "Change source control" on a vss linked web app --------------------------- Microsoft Visual Studio --------------------------- Unexpected error encountered. It is recommended that you restart the application as soon as possible. Error: Unspecified error File: vsee\pkgs\vssprovider\cmsscciabstractionlayer.cpp Line number: 5906 --------------------------- OK --------------------------- Any idea on how to correct this Does this error consistently repro I would suggest unbinding and rebinding the web app. We are curious ab ...Show All
SQL Server Parameterized Query Using Wildcards in VS2005
Hey everyone, I have a smart device project in Visual Studio 2005 that has a SQL Mobile data source. I am trying to create a parameterized query that utilizes 'LIKE' and wildcards. My query is below: SELECT LocationID, StreetNum, StreetName, rowguid FROM tblLocations WHERE (StreetNum = @StreetNum) AND (StreetName LIKE '%' + @StreetName + '%') However, when I test this on my PDA, I get the following error: SQL Execution Error. Executed SQL statement: SELECT LocationID, StreetNum, StreetName, rowguid FROM tblLocations WHERE (StreetNum = @StreetNum) AND (StreetName LIKE '%' + @StreetName + '%') Error Source: SQL Server Mobile Edi ...Show All
Visual Studio Express Editions VC++ .exe file is not working on other machine
Hi All, I have created an .exe file using vc++ 2005 but when i copy this file to some other windows machine its not working. How can I make my exe of project portable on any windows machine regards, http://www.microsoft.com/downloads/details.aspx FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&DisplayLang=en This is a link to the redistributables. You need to install this on the target machine in order for your executable to run. The link above is for x86. ...Show All
Smart Device Development "Unable to connect to remote server"
We have developed a .NET application for a Symbol 900 Pocket PC device. Frequently, we rcv. the following message when the device is out of network range: "Unable to connect to remote server" Is there any way to disable this message so that application users don't have to continuously click OK to terminate the message The message in no way compromises the functioning of the application; I would merely like to find some way to prevent this message from popping up when users are out of network range. Is this an exception that is thrown If so, you should be able to put a try-catch block around the code that thr ...Show All
Windows Forms converting image in a clipboard to memory stream
suppose i have copied an image to clipboard and then pasted it onto a picturebox. using: IDataObject iDataObj=Clipboard.GetDataObject(); //determine the format of data if (iDataObj.GetDataPresent(DataFormats.Bitmap)) { pictureBox1.Image=(Image)iDataObj.GetData(DataFormats.Bitmap); } in order to save this image to database. i would then have to convert the contnts of the clipboard to a memory stream object and then serialize to byte[] object. how do we do that. i figured it ou. the problem was with the memory stream. the problem was created when saving multiple images to the clipboard and the memory stream was filled with m ...Show All
Windows Forms change datagridview row color (winform 2.0)
is there an easy way to do it in 2.0 i want to change color base on condition of column. I assume you mean "based" on condition of column What specific condition are you looking for. Are you looking to change the one cell in a column, or the whole row based on a column setting, or did you mean based on the condition of the row There are a ton of events for changes to columns as well as rows in the DataGridView class. Look through the list and you may find what you need. The DataGridViewRow class provides a DefaultCellStyle property that defines row-specific styles, and the DataGridView c ...Show All
Smart Device Development wse3 runtime
There is also a runtime available from wse3. Means this that everywhere you want to deploy your application, this has to be installed Also on the compact framework ty I'm not quite sure what exactly you’re asking and what do you mean by "wse3". Please clarify. ...Show All
Microsoft ISV Community Center Forums Deployement project build ERROR - URGENT!
Hello Everyone, I wrote a little program in C# to read and write from a ms access database and I wanted to create a deployment project. I followed the wizard and included Documentation, Source, Debug, and primary files to the Setup project. also under detected dependencies I added the Microsoft .NET framework and System.Data.SqlClient.dll. BUT when i try to build it it gives me this warning: Warning 1 Unable to find dependency 'SYSTEM' (Signature='969DB8053D3322AC' Version='2.0.0.0') of assembly 'System.Data.SqlClient.dll' I get this same warning 3 Times... it's my first time creating a deployment project so I really don't know what ...Show All
Visual Studio VS 2003 vs VS 2005
Up to yesterday I was a happy person. For a while... I had used IIS5 PHP MYSQL URLSCAN but had already installed my VS 2003 with NFWK 1.1 and all updates ! Also able to creat WEB applications on http://localhost/anyname I said myself let's test SQL databases beside MYSQL with VS2003 in order to create much direct datasests and populate grids ! So I've downloaded SQL Express 2005 and tried to install it . But Netframework 2 was needed so I've downloaded too. After installing everything I tried to play with SQL and downloaded a tool for administering SQL ! All ok But today I've tried to use again VS 2003 and to create a new or open an alrea ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Install the managed DirectX files from the redistributable Package
Hi I'm try to install the DirectX redistributables but the installer don't install the managed files. In the help file of the SDK is written to use the command line "DXSetup.exe /InstallManagedDX". When I do this I get the error message invalid command line switch. I am using the Update for June 2005 and August 2005. Has anyone got an idea what's wrong or an idea how to install the mananged files Thanks Firobo wrote: Thank's for the help, the problem was that the OS was an embedded XP with a installed DirectX 9.0c (without managed wrapper). In this environment the Setup does not ...Show All
Windows Forms Progress Bar Help!
Guys, i am currently developing a program that has an MDIForm, and this MDIForm contains a status bar with a progress bar... What I wanted to do is whenever i want to load a form.. I want my progressbar to increment its value. Like that of an internet explorer... Did anyone encountered this problem already Yes sir.. I want my toolStripProgressBar to increment its value whenever I want to load a child form. ...Show All
Windows Forms graphics flicker problem (double buffer not working)
I am trying to create a simple Breakout type game. I have a game panel on my form that holds my game (the paddle, ball, and board of blocks). I use a timer with an interval of 10 to move the ball a set distance every tick. The problem is that I also draw the board everytime this timer ticks and it flickers. I tried setting the doublebuffered attribute of my form to true but it didnt help. Anyone have any ideas either a different/ebtter way to buffer it or a different way of drawing the board I tried making a new panel on top of my game panel to just draw the board in but that didnt work for me either (unless I did something wrong). T ...Show All
.NET Development File.Delete
hello i have made a C# application (Image manager project). I have placed folder named Images within bin\debug I have a delete button that deletes the image from the databse and then from the images folder. when the user presses the delete button then the record for that image will be deleted but from the images it will not be deleted but the compiler gives me an error at the line where i use File.Delete: File.Delete("Images\\pic1.jpg") thank you for the help A compiler error occurs at compilation time and indicates a syntax or semantic error in your code preventing it from running properly. A runtime error occ ...Show All
