Dustyn Lightfoot's Q&A profile
Windows Forms Two questions about ListView
1. When I change the width of the columns of a ListView, the content of it flashes as I move the mouse. How can I cancel the ListView redraw the content while changing the column width I tried to add e->Cancel = true; in ColumnWidthChanging event, but it works not very fine. 2. I have an icon, and have added it in an ImageList. I want to set it as the ListView's StateImage. But strange that it displays as only in a very low color depth. I have set the ImageList's ColorDepth property to Depth32Bit, but it does not works. And if I set this icon as the icon of a form, it displays fine. How can I solve this problem The format of the icon is P ...Show All
Visual Studio Team System Project Hierachy
Ok, we are running beta, just a few test projects, nothing especial. But, what when this goes to production environment We'll be probably talking about hundreds, thousands of projects. This is going to be hard task to mantain them all together without support of a some kind of hierarchy, don't you think It would be great if we could organize our projects in structures like Company Areas, Customers, etc. Regards, Max I agree that would be a very valuable ability. Unfortunately we don't support that right now. A couple of thoughts though: Make sure your Team Projects have the right granularity ...Show All
Visual FoxPro foxpro exe and dbf's, fpt's, bak's, tbk's, but now prgs etc.
foxpro exe and dbf's, fpt's, bak's, tbk's, but now prgs etc. I was given a foxpro program and i would like to see the code (the formulas)... i'm not sure how to do this... thank you... modify command <insert your prg file here> modify form <yourformname> use <yourdatabasename> ...Show All
Visual Basic Inserting Text
I was wondering what the code was for inserting text like the buttons in the windows calculator. Let's say you have a textbox to display the number, and ten buttons 0 through 9. The code would be something like: Private Sub button0_Click(...) textBox1.Text &= "0" End Sub Private Sub button1_Click(...) textBox1.Text &= "1" End Sub ...Show All
Windows Forms VS 2005 Winform designer Issue
I am getting the following error whenever i tried to open forms in VS 2005 solution in design mode. I tried rebuilding the solution several times, but still the issue persists. I referred couple of messages in the forum and applied the resolution provided in those, but still the issue persists. I am stuck and not able to do any modification to the controls and their properties. Is there is any fix available for this issue One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Clicking on each error will take ...Show All
Windows Forms Asynchronus WebService call Progress Bar
I have a WebMethod that I'd like to call asynchronusly and be able to display a Progress Bar. What's being sent to the WebMethod on the WebService is a byte array. I'm fairly new to asynchronus calls and was wondering if this is possible before I dive in looking. Thanx! :) Unless the database provides a callback mechanism&nbs ...Show All
Visual Basic Radio Check Options in Menu Strip?
First off, I'm completely new to the world of Visual Basic. I took a little break from programming for about 20 years :) What a change... and THANK GAWD! I'm trying to keep current in my studies and am using VB.NET 2005 beta 2 at the moment and training with App Dev's VB .NET course... I've got the basics down, nagivation, understanding of objects, properties, etc... but for the life of me, i can't find what i'm looking for... and what I THOUGHT may have been a slight change in naming of properties... was not the solution to my dilemna... at anyrate... My question is.... Does the 2005 version support the radio check boxes as it did in 2003 ...Show All
Visual C++ MFC - exchange data between two CFormView form
Hi all, please help me for this problem. I want exchange data between two MDI form(VC++/MFC), ex: Note: F1 and F2 is extended from CFormView, not from Dialog In Form1(name=F1) i have: a CEdit(name=txtT1), a Button(name=cmdC1) In Form2(name=F2) i have: a CEdit(name=txtT2), a Button(name=cmdC2) Now i want, when i show F1, input a text (ex: "abcd") into txtT1, and then click cmdC1. When click cmdC1, i will show F2 and transmit the text("abcd") to F2, on F2 form i have a function to receive this text and display this text on txtT2(this text can be changed). When i click cmdC2, i want to tra ...Show All
Visual Studio Express Editions Backing up installation on CD
Is it possible to back up an installation to CD teTTix No way to backup installation - but you can download CD images from http://msdn.microsoft.com/vstudio/express/support/install/ ...Show All
Visual C++ why does modifying a dll requires to rebuild the client application
suppose anybody links a DLL to its client application, and then builds the client application. then he modifies the dll source code a little bit. Then if he tries to run the client exe again, he gets a linker error..why is it so the dll is explicitly linked. Vishal Srivastav, This is an excellent question. In fact, it's such a great question, that many programmers before you (and me too) have asked this question. From what I have read, this situation is one of the prime motivators behind the strict versioning policy that the .NET Framework requires of its Common Language Runtime and the assemblies produced by all .NET compilers. This ...Show All
Windows Forms Creating bitmap from text string
Hi I have a web page that allows user to enter some text and then format it using controls to select font, size, bold, color etc. What I want to do is when the user submits the page create a bitmap of the text with the format they have chosen. I am using a <span> to display the text to the user and just change the properties of that span to what they enter. The problem is that the bitmap I create is not spaced the same as the <span> the user sees. For example if the text wraps then the wrapping is not at the same point as the span. In research it seems that the spacing of difer ...Show All
SQL Server Dumping configuration data into an arbitrary (XML) file.
Hi, Are there any plans to provide the facility to dump the configuration information to an arbitrary XML (dtsConfig) file This question stems from the following scenario...I want to create a configuration file for a package. However, in the end, I really want the package to have its configuration file's path set via indirection (pointing to environment variable). So, here are the steps that I currently take: Create a configuration file for a package by using the wizard. This allows me to create/update a dtsConfig file with properties of the package. After the file from Step 1 is created, I go back and change the package's con ...Show All
SQL Server Error installing Express Edition with VS2005 Standard
I've installed VS2005 Standard Edition onto a machine running XP Home SP2 that has not had any previous beta versions on it, VS2005 or otherwise. Everything works fine except the Sql Server Express Edition install, which fails. I've tried downloading the Sql Express exe separately and installing from there, but I get the same error. Any help would be greatly greatly appreciated. Here is the error I get: Microsoft SQL Server 2005 Setup beginning at Sat Nov 12 18:26:46 2005 Process ID : 2212 h:\b071caf3b140092d8a\setup.exe Version: 2005.90.1399.0 Running: LoadResourcesAction at: 2005/10/12 18:26:45 ...Show All
Windows Forms New installation issues
Hi, I downloaded the server (Beta 1) for Terrarium. I am checking both the database and web site checkboxes on the installation wizard. The installation starts and I get a progress bar that moves along. However before I get to the end of the installation I get the following error: "Exception occured while initializing the installation: System.IO.FileNotFound ...Show All
Software Development for Windows Vista Change system suspend mode S1/S3
Hi, I need to programmatically change the system suspend mode from S1 to S3 and vise-versa. It will be OK if the new configuration will take place after next restart. I have Microsoft DDK which I guess will take part of the code need to be written. Can you send me a code sample or point me to the main functions to use Thanks, Assaf ...Show All
