_howard's Q&A profile
Windows Forms Cancelling then restarting a BackgroundWorker
I am writing a windows explorer type Listview control. I'm trying to get the thumbnail view working correctly. Ive got the actual thumbnails creating ok but because it can take a while I've used a BackgroundWorker to make it run in a separate process. That works fine too. The problem is that sometimes I need to restart the backgroundWorker. for example, if the user changes to a different directory then I need to restart getting the thumbna ...Show All
Windows Forms Property Grid Question
Anyone know any good examples of data binding to a dynamic property grid This article covers dynamic property grids. Does that answer your question ...Show All
SQL Server .dbf file import (duplicate Field Names)
I am importing a file creating by an application which exports the file into .dbf format. Very unfortunately, this .dbf file can have fields with IDENTICAL column_names. Utilizing ActiveX, I create an ado connection to the .dbf file using a visual foxpro drver. However, and not unexpectantly, I can not do the 'select *' from the file if there are duplicate names. Can anyone make recommendations here that might help O ...Show All
Smart Device Development How can i use Today Screen with C#
Am developing a program with C# , and i need to show some results on today screen like Calender can any one show me how to do that with C# please VS 2003 This article should get you started http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/todayscrn.asp ...Show All
Visual C++ How to create a button such as Edit and Static Button dynamically?
How to create a button such as Edit and Static Button dynamically su wrote: How to create a button such as Edit and Static Button dynamically Check this: http://www.functionx.com/visualc/controls/button.htm ...Show All
Visual Studio Express Editions Simple way for database access?
Hi there, I'm embarrassed to admit I've only just made the step up from VB6 and am a little lost! After much fiddling I've come up with the following solution for querying a simple database for names matching what is entered into a text box (and popping the results in a listbox), but I can't help feeling there must be an easier way than that pasted below. Any suggestions would be greatly appreciated! Private Sub tbSearch_TextChanged(ByVa ...Show All
Software Development for Windows Vista Can revert back in to XP?
after instaling vista on the same drive as xp can i revert back to xp i am not in the mood for reinstaling my xp all over again. This question has nothing to do with Vista development and you should find an appropriate forum to ask it. However, you should NEVER put two OSes on the same partition. If they are in different partitions, Vista will set up as dual boot, and you can choose every time which OS to ...Show All
Visual Studio Adding Controls to Windows Forms using DTE
Hi All, I managed to create new Windows Appliation Projects in the runtime using the Application Object Model and to add forms to it. But I couldn't figure out how add controls (textboxes, labels,...) to it in the runtime. Can anybody give me a clue Regards, Imesh Hi Imesh, I would suggest you check out the "Windows Forms Automation" sample from the VS2005 Automation Samples . In short, you ne ...Show All
.NET Development WebCam im VB
I wonder if its posible to control a webcam whit vb. If so, please tell me how to do it, or any link to learn how to do it Thanks in advance 1) No you do not need to use directx 2) Wia is not included with windows 2000 3) As long as the driver for the camera supports wia it will work. ...Show All
Software Development for Windows Vista WWF Case Studies / Samples / Justifications
Can someone point me in the right direction to find a list of case studies and sample applications (not necessarily source code) for WWF. What I've noticed so far is that every single sample I've seen has said: "This workflow is really too small to be a justification for the use of WWF ... " What I'm looking for are justifications to use WWF, a list of applications that could greatly benefit from integration with WWF. What I've seen ...Show All
Visual C# How in the world?
I have a text file that I am reading that looks like this: "2002", "1", "500", "2003", "1", "501", "2001", "1", "500", "2000", "1", "503", "2001", "2", "500", "2000", "2", "540", "2003", "2", "550", "2002", "2", "523", The first column is 'year', the second is 'internal/external (1 means internal, 2 means external)', and the third is 'amount'. I want to use these numbers to make a report that looks like the following: Year: &nbs ...Show All
Windows Forms Running System Tray Application Prevents Computer Shutdown
I have created a system tray application that functions as expected, but the computer will not shutdown while the application is running. In another post, it says to look at SystemEvents.SessionEnded; however, I'm still not sure what to do with th ...Show All
Windows Forms DataGridView.RowValidated event is thrown even if no edition occured.
Hi all.. I'm using RowValidated event of a DataGridView control to save changes to a database kept as an XML file. I noticed that when I just run the application, this event is also called causing the database to save the current record. This has 2 problems: 1.- Unnecessary overhead, by saving the database when it isn't necessary. 2.- One of the column field is named LastUpdatedDate which stores the last date and time when the record ...Show All
Visual C# Convert 8bpp .gif file to 24bppRgb Bitmap
Hi, I'm trying to convert using this code, because some future logic only accepts Format24bppRgb bitmaps. This seems to work for jpeg files, but gif files don't convert: viewable_img is still Format8bppIndexed after the Clone(). Any help would be much appreciated! Bitmap temp = new Bitmap (s); // Other logic only accepts 24bppRgb. if (temp.PixelFormat != PixelFormat .Format24bppRgb) { viewable_img = temp.Clone( new Rec ...Show All
Visual C# DateTime Method
Ok. I know I have asked this question before, but I wanted to ask it in a different light. Here is a sample code that I dont know what to do with : double seconds = 0; DateTime baseTime = new DateTime (); DateTime date = baseTime.AddMilliseconds(seconds); Ok, what I want is for the current time to be "00:00:00". And for it to show the incrementing seconds. Can anyone tell me how to do this. If you need more clerification please ...Show All
