boon3333'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 Advice on installing Visual Studio 2005 Professional and SQL Server 2005 Developer
I've downloaded from MSDN the released versions of VS2005 Professional and SQL Server 2005 Developer editions. Does anyone know the proper sequence to install these products TIA, Richard I installed SQL Server Dev first, then installed VS, but when VS loads, there are no SQL components listed on the splash screen, just VB, C# and VWD. A colleague installed the other way, and has some SQL components listed on the splash screen. Can I get VS to 'refresh' this list Thanks ...Show All
Windows Forms Terrarium command line option question
Does anyone know the command line option to load an existing terrarium when starting terrarium.exe Thanks, cybersol Hmm, don't remember how I originally found this, but it was still in one of my VS projects... /loadterrarium <path to terrarium file> Enjoy! ...Show All
Smart Device Development Internet connection
I'm developing a c# application on a Vodafone v1640 pockect PC ( alias Qtek 9090). I've an internet connection configured. My problem is how to start this internet connection from C#. I need to connect to a FTP site and I've write my class using wininet.dll, but the internet connection doesn't start automatically. how can i do this thanks Thanks Andrew for your reply. I've solved the problem using the following API in the cellcore.dll. [ DllImport ( "cellcore.dll" )] private static extern int ConnMgrEstablishConnectionSync( ref ConnectionInfo ci, ref IntPtr phConnection, uint dwTimeout, ref ...Show All
Windows Forms in arrays...
Hi, I'm trying to read a text file, somewhat like this: #15-07-2001 sdkfhksdfhsdc cskjmcdfcsd #13-12-1999 asljkdaksjxd dcjdvf etc... I want to save the dates... so I put up something like this: string line; string date; StreamReader sr = new StreamReader(...); while((line=sr.ReadLine()) != null) { if(line.StartsWith("#")) { line = line.Remove(0,1); ...Show All
Software Development for Windows Vista customError in webconfig file
hi i have uploaded my website on another server. now i m running that site from that server. its getting some error but i m not able to see it. so made following changes into webconfig file. <customErrors mode="Off" /> but then also it wont work. so plz help me how can i come to know what the error is thanks kavita Hi Kavita, You need to go and ask this question in an ASP.NET forum. Click to http://www.asp.net/forums . You are off-topic for this forum. Regards, Paul ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Reading a Vertexbuffer from a Mesh
This has been driving me nuts. It's so simple... but not working. I have written to vertex buffers before, no problem. But, for some reason, I can't read an existing one from a mesh. Keep in mind, I have recently upgraded to the newest version of Managed DirectX. Perhaps something has changed I would like to dump vertex buffer into an array so I can get the locations of all the vertices. (Eventually, I plan on making collision detection with these vertices). I have tried loading a mesh, locking the vertex buffer (using the Mesh.LockVertexBuffer function) and trying to put it into an array.&nb ...Show All
Visual Studio 2008 (Pre-release) dragging control will immediately crash visual studio
Problem repro: create a new windows application fx project, create button on the grid, drag it to another location. After about 0.5 seconds visual studio throws an error and asks me if I want to debug. If i choose yes, I can get to this call stack: > ntdll.dll!7c901230() [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll] milcore.dll!53216a95() milcore.dll!5316ba53() milcore.dll!530d9318() milcore.dll!530d5b1b() milcore.dll!530d5b38() milcore.dll!530d93c2() milcore.dll!530d9204() milcore.dll!530d9464() milcore.dll!530d94b3() milcore.dll!530d57be() milcore.dll!530d57c8() milcore.dl ...Show All
Visual Studio Express Editions Two bits
One thing I have noticed as I read through these treads is the persistence on the clarification of the use of the application. I just wanted to lend my percieved insite and ask what M$'s thoughts were on this. I feel a lot of this has to do around the use of the words 'free'. For fear of sounding Clintonesque, perhaps definition of the word 'free' might be helpful. No one wants to start using something that they may not have access to in the future, may not be able to sell applications made with it in the future, or any other type of concerns for the future. Perhaps M$ could lend some insight as to the motivation behind providin ...Show All
Visual Studio VS2005 errors when adding parameters to a report
As far as I can tell to add a parameter to a report in a VS project you should go to report menu / Report parameters. Here you can add the parameters. I am using the june ctp. When I go to the menu and select Report parameters i get an error 'Exception has been thrown by the target of an invocation'. Similarly if I try to open the parameters property of a subreport i get an error 'Object reference not set to an instance of an object', which admittedly may be because the subreport has no parameters yet (see firt problem). What is going on, how can this be fixed. As a final question i have also tried a subreport with no data, with no parameter ...Show All
Visual Studio 2008 (Pre-release) Why will LINQ fail ?
Microsoft tries to helping object developers to close the gap between the relational world and the object world.And they call this " object modelling approach " Dlinq. Using " custom business entities " in enterprise programming with Dlinq might seem the best thing after " sliced bread " but it isn't. For my part I have written my Mappers and used commercial OR/M tools. They mostly provide the same thing. __Read the table from the database. ___Put that into a some HELPER thing.( DAO,DAL,ORM) ____Put that into your custom business object _____Read from your business object.(if u can :) ) I see NO REASON for this " Unnecessary Pull ...Show All
.NET Development Quick Q: browsing for database servers on network
I have a quick (hopefully) question. Does ADO.Net have any tools for a fairly simple browsing of a local network for database servers Specifically, SQL Servers Just like, say, the ODBC DataSources control panel in Windows, or the SQL Server Management Studio I am writing a tool (for educational purposes) to connect to and query a data source (ODBC, and SQL Server implemented so far) but I have to give it a connection string before it can do anything. I would like it to be able to browse the local network for installed servers (there are a couple of machines running SQL Server 2000 around here, not counting my SQL server 2005 Express), and ...Show All
Visual C++ Compiler version info
Hi, i am using VC8. when i do cl following is the output: S:\build>cl Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50215.44 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved. usage: cl [ option... ] filename... [ /link linkoption... ] S:\build>which cl d:\Program Files\Microsoft Visual Studio 8\VC\BIN/cl.exe S:\SS2.7Projects\SchedulingService\v2.7.7.0\build> _MSC_VER gives me 1400 but i want the value '50215' out of '14.00.50215.44'. is it possible how Thanks, Chanakya Different compiler: different version number Beta 2 == 50215 == 2005/02/15 PSDK == 40310 == 2004/03/10 Th ...Show All
Visual Studio Team System How to get list of SC files associated to Work Item
Hello, We frequently update our web application. On each enhancement we might change some files. In VSFS I would create Work Items for any changes, associate a Work Item to the Checkin. When time comes to update files on the production server, we want to update only the files that have changed and the project DLL. How do I get a list of Source Control files that were associated with a particular Work Item in Team Foundation Server Thanks Mike Hi I found a great link that shows how to do what I wanted. If anyone can add to this post more links that can customize reports, I would appreciate tha ...Show All
.NET Development Help with publishing through Visual Web Developer 2005 Express Edition Beta...
When i copy all the files to my server, and load Default.aspx It says : The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. Please help someone. ...Show All
