irnbru6829's Q&A profile
Windows Forms Where are windows forms controls icons stored?
Hi all... I have a custom control that I want to assign an icon that is similar to the icon of a control already present in VS 2005 toolbox but with a little change so I need to create a copy of it and made the modifications. I was searching for all Windows.Forms DLL's but I couldn't find them. Can you point me to the right file that stores these resources Thanks Jaime I have it in my office Send an email to me itzik.katzav@softwear.co.il or to eli gazit eli.gazit@softwear.co.il and we will send you the answer first thing in the morning, if eli is online i will ask him to answer u the question here ...Show All
Visual Studio Team System BUG: Serialization of Project type does not include ProjectConfigurationToBuild and ProjectSolutionToBuild!
I'm working on a system for build automation (CI) and I'm having some problems with the Project type and that it doesn't include ProjectConfigurationToBuild and ProjectSolutionToBuild values when being serialized. Here are the declarations from the type definition (Microsoft.TeamFoundation.Build.Common. Project ): [ XmlArrayItem ( "ConfigurationToBuild" , IsNullable = false )] public ProjectConfigurationToBuild [] ItemConfigGroup { get ; set ; } [ XmlArrayItem ( "SolutionToBuild" , IsNullable = false )] public ProjectSolutionToBuild [] ItemGroup { get ; set ; } The ItemConfigGroup property is null ...Show All
Visual C++ WIN32 API Progress Bar updating..
I'm new to Win32 API programming. I have a simple application. In my app child window (Dialog Box) has only controls that is Progress Bar and a static text. I popup this Dialogbox to Indicate the progress of work done by my code.. say loading a device.., configuration and so on.. Since there are no default messages would be generated for this window or there are no user interventions to this Dialogbox (say Command or so..) my problem is how to update the progress bar and which messages to use.. Thanks & regards, Joy4Sonu. There are two message you might find interresting, defined in commctrl.h he ...Show All
Visual Studio Express Editions Checking to see if a file is active on the internet?
Hello, I'm trying to determine if a file on ther internet is active (Working) , like from a HTTP or FTP host BUT I don't want to download the entire file. I know I can do this with the WebClient class but that downloads the entire fire. I just need to know if the file works. Also, is there a way to find out the size of the file w/o having to (again) download the entire fie THanks in advance. Daticus, You could write a socket application that connects to port 80 on the HTTP server and issue a range retrieval request. This will instruct the web server to only send back a portion of the file from the server so that you do not get the ...Show All
SQL Server Reporting Services
Dear All, Developed a report using Reporting services (2005)integrating Chart FX .The report is built successfully but raises an error on deployment. Error: Could not connect to the report server. To resolve the error in the properties of the project i had given the target server url= Http://localhost/webfoldername (installed webservices on the local server) but still i am getting the same error. How to resolve the error. Regards Mohd Sufian Hi, didi you figure out if the WebService is currently running Just navigate to http://machinename/Reportserver (or whatever you directory for webservices is) to see if so ...Show All
SQL Server Shading By Value
Currently in my reports I am shading every other row by using an expression in the background color property. This works fine. Is there any way to shade by other options I have a report with a non-unique id as the first column. I would like to be able to alternate the background color based on these id's. For instance I might have three rows of white background (id = 1), five rows of grey background (id = 2), and two rows of white background (id = 3) etc. Is there a way to do this in MS Reporting Services A colleague of mine and I came up with what we think is a better solution to this problem. We went ...Show All
SQL Server pls advise me. HELP pls...
on the 1st opening of my web page it uses the membership control of asp.net for logging on. sometimes it takes time to logon and worse is, it will encounter sql server error. that can be resolved by just restarting that specific page and it will be alright, it will logon normally. this only issue happens only on the first opening of the logon page. i have read a certain article and it says there that on the first time you access the sql server, sometimes the sql server needs a little more time communicating back and forth. how can i make my log-on page wait a little longer till it communicates or finishes communic ...Show All
Smart Device Development how to play mp3/wma in my program?
With the API, PlaySound and sndPlaySound, it only play waveform file. I try to use DirectShow with WM 5.0 but still can't play mp3 or wma file. My code is maybe wrong, anyone has good sample with DirectShow to play mp3/wma I think the another way to play mp3/wma is using Media Player control. But I can't find the way to make this work. Could anyone guide me to the right way Thanks... I am also facing the same problem. Anybody is there to help me out Thanks, Raj ...Show All
Windows Forms Before I start Windows Forms
Hello all, I am a ASP.Net developer but I am looking to learn something a little different. I am looking at creating a simple client/server chat client that can be hosted on a LAN. Each of the clients will join a room and chat with each other. Before I begin with Windows Forms is this possible So features will& ...Show All
Visual Studio OLE DB Connection problem with Crystal Reports 9
I have a C++ application that was implemented as OLE DB provider. When I create a report using Crystal 8.0 or 8.5 using OLE DB I connect to my application (it is displayed in the list of OLE DB (ADO) providers) and generate reports. When I try to do the same with Crystal 9, I have a problem: As well as in Crystal 8, I select to create a new connection, select OLE DB and select my application as a provider, select the data link file where I list the login and password information, then press "Next" and am gettiing stucked with the "Data Source" dialog. My provider does not support the data source and with Crystal 8 and 8.5 I connect ...Show All
Visual Basic Infuriating Crash
I just changed the name of a separator in my menu and Visual Studio crashed. On as simple a thing as that. Now, on reloading my application, all the items in my menu and in my toolbar have been wiped out, leaving me with nothing. I shall have to spend the next hour or more reconstructing them, and hope that they stay in place this time. This system is so buggy, it's almost unusable and I'm seriously thinking of going back to VB6 I'm afraid. OK, it only took about twenty minutes to fix. Vis Studio had decided to remove a number of lines using the AddRange method of the menu and toolstrip items collection. So I ...Show All
Visual C++ _bstr_t question
How do I do case conversion for _bstr_t Are there any functions available I looked up MSDN, did not find much help there. Appreciate any help, S _bstr_t exists mainly to provide conversion between ANSI and Unicode strings. It doesn't do much else, you'd have to take the string in whatever format you want and put it into a string wrapper that does tolower, toupper, etc. From memory, std::string needs a function object to do this, but CString will do it. ...Show All
Visual C++ HELP: error C2664 in atlcom.h coming back
Moving from vs2003 to vs2005, I have the following compilation error: atlcom.h (5005) : errror C2664: 'ATL::_CopyInterface<T>::copy' : cannot convert parameter 2 from 'IMyObject * const *' to 'IMyObject **' with [ T = IMyObject ] Conversion loses qualifiers atlcom.h (4992) : while compiling class templates member function 'HRESULT ATL::IEnumOnSTLImpl<Base, piid, T, Copy, CollType>::Next(ULONG, T *, ULONG *)' with [ Base = IEnumMyObject piid = & IID_IEnumMyObject, T = IMyObject *, Copy = ATL::_CopyInterface<IMyObject>, CollType = std::vector<IMyObject *> ...Show All
Visual Basic Questions about a files CRC
I am making a file editing program and as such my program will change the files CRC. Now, with the CRC changed the program that uses the file no longer will read it. Is there a way to find the position of the CRC in a file so I can change it. You need to know where the CRC is in the file, and know the algorithm that is in use. Or you can guess. Talking about guessing, I suspect that the whole point of the CRC is to prevent the changes you are making to the file, in which case, it's unlikely that the location of the CRC is going to be made known to you. What file/application is it I know a lot of games do that sort of thing to ...Show All
Visual C++ MFC portability
I wrote a program and compiled it on my laptop(WinXP Home) using MFC in VS 2003.NET and took it to school and tried to run it on one of their computers(WinXP Pro) and I it said it couldn't run because it couldn't find "MFC71.DLL". Are MFC programs not portable and if not is there a way to write a program in Visual C++ so it is Nathan87 wrote: I wrote a program and compiled it on my laptop(WinXP Home) using MFC in VS 2003.NET and took it to school and tried to run it on one of their computers(WinXP Pro) and I it said it couldn't run because it couldn't find "MFC71.DLL". Are ...Show All
