Scott Swigart - MVP's Q&A profile
Smart Device Development Error when building ImageList!
In a smartphone 2003 project in VS2005, I assigned a imagelist with image(s) to a listview and got the exception: "NotSupportedException". All codes are auto generated by the IDE. How to solve this codes: ' 'ListView1 ' Me.ListView1.FullRowSelect = True Me.ListView1.Location = New System.Drawing.Point(0, 0) Me.ListView1.Size = New System.Drawing.Size(176, 180) Me.ListView1.SmallImag ...Show All
Visual J# J# is causing problems for me like usual.
I have just finished the problem before and then saved my work. I always leave the program running for a while after I save to make sure it saves. The problem is J# will no longer let me access my code, because it wants somthing from the USB key that I backed up to. Unfortunatly I do not have the USB key right now and I need to access the code does any one know how to do that. Sorry about all of the question I keep asking. This is a major ...Show All
Visual Studio Team System Issue Printing CMMI Task - Summary field
Using Beta 3. I am able to print the CMMI task, but the summary field does not wrap to the next line on the printed page when the summary field is filled to the maximum length allowed. Just checked other fields and they exhibit the same behavior. ...Show All
.NET Development Setting types in dataset
Hello all, I'm working on a C# project where I have created a dataset in code, and I'm filling it with data from a .CSV file. The CSV file in question has a certain column that for the most part contains 32bit integers, however there are quite a few rows ~45% that have dashes letters and other non numeric characters. For whatever reason .NET is reading this column as a type Int32 and simply NULLs anything that isn't an integer, I've done almost ...Show All
SQL Server Altering (or recreating) a Stored Procedure "header"
We are using SQL Server 2005 to develop a simple SP. We started by including an output parameter which would report back the identity of the record being inserted or updated. We have since been trying to drop and recreate the SP without the output parameter, or alter the SP with the same outcome in mind. Neither has been succeeding, as confirmed by inspection of the sys.objects and sys.parameters tables. What might we be missing We are using the ...Show All
Windows Forms How to avoid multiple BindingSources
Hi, I have made a Dataset with 2 tables (via DataDesigner). I can find this thing in my DataSources. When I drag a DataGridView on my form it creates a dataset and one BindingSource. Thats fine. After adding some colums to the grid I drag a few fields from my datasources to my form. Every time I do this a new BindingSource is added. What I want is to bind those controls to the existing one. Of course I can later change the binding of the control ...Show All
Visual FoxPro a child form needs 2 clicks to close
I have a form calling a secondary form. In order to close the latter I have to click twice the button that has the following statements in the CLICK method: ACTIVATE SCREEN "CLICK fired " THISFORM . Deactivate () THISFORM . Destroy () THISFORM . Hide () THISFORM . Release () 4 statements are there out of desperation. I tried them separately and in many combinations. I see on the SCREEN that the event fir ...Show All
Visual Studio Team System Continuous Integration with TFS Build?
Hi, For the build automation, can TFS Build perform Continuous Integration itself Or do I have to combine TFS Build with CruiseControl to get continuous Integration on a Team Foundation Server You may also check Parabuild. There is a demo that shows how to set up a continuous integration server for .NET under 15 min.: http://www.viewtier.com/support/demo/continuous_integration_for_dotnet_and_nant.htm Regards, Slava Imeshev ...Show All
Windows Forms hotspot type links on picture box controls
Hi, I'm a web developer new to windows forms. I have a windows form that is one picturebox of an image I made in Photoshop. Can I create hotspots or imagemaps over the portions of the image that I want to be clickable Thanks, Jon Byrd ...Show All
Windows Forms PointToScreen and PointToClient
Can any one explain how these methods work These methods allow you to convert from screen coordinates to form coordinates and back. Basically, if you don't use these methods, you have to track the location of the form and use it&n ...Show All
Visual C++ How can I paint something in MFC without screen flicker?
I used Invalidate(), but it seems that the screen always flicker when I used it, because the points is so much How can I draw graphics in MFC and move them without flicker Short one-word anwer - CMemDC, two words - double buffering, how-to link - http://www.codeproject.com/gdi/flickerfree.asp As an option - take a look on CBufferDC http://www.codeproject.com/miscctrl/officexp.asp Have a fun ...Show All
Visual C++ passing arguments to a System(something.exe) function
Background : I have an MFC application and a c++ program (separate entities). I did a build on the c++ program, and copy pasted the resultant 'exe' formed in its debug folder into the MFC application's folder. Now in the MFC, I am calling the function "System(mt.exe)", which is a call to the exe that I had copy pasted. Question : This exe (ie the c++ program) uses a variable 'counter' at some point in its execution. Is it possible for ...Show All
SQL Server SQL 2005 CTP up to RTM
I am installing SQL 2005 Developer Edition Sept CTP on the server which will hold production databases once the RTM is released. Come November, do I need to backup the databases, uninstall CTP, install RTM version then restore the databases I was told to basically expect our production deployment before November. The developers basically are using the new features of Reporting Analysis, SQL Server etc. I have mixed feeli ...Show All
Visual Studio F1 Help error
Hi I have Visual Studio 2005 professional installed and installed the MSDN that came with it in the box. When I highlight a keyword and press F1 I get the following: A Runtime Error has occurred Do you wish to Debug Line 98 Error: Could not complete the operation due to error 80041001 Thanks Steve Steve: Can you pls provide the exact steps to reproduce the error ...Show All
Smart Device Development How to re-assign desktop menu item(Soft key button)?
I want to implement setting the desktop menu item programmelly, as the TMAIL.EXE does. When a message comes, the right soft key button becomes "Message". HWND hDesktop=::FindWindow(_T("DesktopExplorerWindow"),_T("")); HWND hDesktopMenu=SHFindMenuBar(hDesktop); I can get the menu window handle by the code above. But I cannot get the menu handle (HMENU). HMENU hMenu=(HMENU)SendMessage(hDesktopMenu, SHCMBM ...Show All
