mRW1Zard's Q&A profile
Windows Forms Icon colors not looking correct
I compiled an application using a few icons. I have changed the actual colors of the icons and now I can't get the program to use the new icons. Does anyone know how to fix this I finally got the images to work. For whatever reason, the lower quality image was the "default" image type. So in VS.Net I had to go&nbs ...Show All
Visual Studio Won't check in dot files
We are using Eclipse for some development and the project has some important hidden dot files (for example ".myfile_properties"). These file hold some properties that are not kept in the source file itself. However, we are not able to add these files to VSS. The client version I am using is 6.0d. I have tried through VSS client and the eclispe plugin. It comes back with an error, 'Invalid SourceSafe syntax: "$/Modified Lawson Source/AMRPGSRC8/.iseries_srcpf_metadata"'. Any ideas Hi Koldark, All these are bugs in VSS 6.0d and older. For me this example doesn't work either: drag and drop file from WinExplorer ...Show All
Visual C++ Problem seeing my window
I just got Visual Studio 2005 and I tried to make a program using Win32. The program is just displaying a window. When I compile the code I get no errors at all, but nothing happens after that. My window doesn't pop up. I made sure that I had the functions: ShowWindow() and UpdateWindow, but apparently that wasn't the problem. Please help. Well, it's really impossible to comment without seeing the code... Have you set up a message loop such as this one while (GetMessage (&msg, NULL, 0, 0)) { TranslateMessage (&msg) ; DispatchMessage (&msg) ; } ...Show All
Windows Forms Menu Designer not visible
I've created a base form with its own designer and an unfortunate side-effect is that a Menu control's designer will not show up when you drag a menu onto the form. From the MainMenu1 component in the "tray" you can right click and choose "Edit Menu" but it gets the error message... "Object reference not set to an instance..." ...Show All
Smart Device Development Help: Failure to create .CAB file based on .INF file
I have a EVC++ project targetted toward Pocket PC 2003 and Smartphone 2003 devices. Recently I joined VS2005 beta2 and migrated the EVC workspace as a VS2005 solution. Since the build needs to be automated outside the IDE, I have a script that calls devenv.exe and cabwiz.exe to do the job. The trouble is that cabwiz.exe seems simply throw an error message without any other warnings or other errors: Error: CAB file "u:\VS2005\build\<XXX>_debug.PPC2003_ARM.CAB" could not be created. The .INF file used to build CAB is adpated from an old one which was used for EVC++. Since VS2005 puts DLLs/Exes under a directory with spaces, so I have to ...Show All
SQL Server Help using a value from one dataset to lookup a value from a second dataset
Hi All, I'm quite new to SSRS (and .net development as well) so any help would be useful. My problem is this: I'm running a report from a Sybase ASE datasource to pull data into a table control. One of the fields I'm pulling in is called assignment group. Now, in the same report output I also need to display who the manager of that group is... unfortunately this information is not stored in the same database. We store the manager information in a completely seperate Oracle database. So, I need some method of 'linking' the data from my Sybase dataset to a table in Oracle and I can't quite figure out how to go about it. Every record would h ...Show All
Visual Studio Team System Load test: Percentage new users
On a load test, on a scenario, there's a property 'Percentage of new users'. The help below says 'Type the percentage of new users, also called first time visitors'. Yes, but what does this mean A search in the help for 'Percentage of new users' drew a blank. There is a mention of 'Percent new users', on the 'About Scenarios' page, but all it says it they're edited in the load test editor. Nothing more. Matt The "Percentage of New Users” property affects the way in which the load test runtime engine simulates the caching that would be performed by a web browser. The default value for the “Perce ...Show All
Visual Studio mscorsvw.exe
When installing Visual Studio 2005 Beta 2 (and when install has finished) a process named "mscorsvw.exe" runs, and takes up 95/100% CPU. I've no idea why this is. That, and when trying to start Visual Studio 2005 - It opens, then immediately exits. I've done the un-install of previous versions in perfect order, and yet the problem continues Can anyone shed any light i had a pb with mscorsvw : it was taking 95% of the CPU and had been running for hours. actually, the pb was due to an issue in the installation of MSVS2005-beta2 on W2k3 Server : Microsoft lists this issue in vs\readme.html file on the instal ...Show All
Windows Forms IsReproducing or IsIncubating
What's the difference between these 2 methods My critter isn't reproducing (or is reproducing VERY rarely), and I can't figure out why. Once "IsMature", and "CanReproduce", it "BeginReproduction"s, but it never (or almost never) gets the reproductionComplete event. Are there activities which stop reproduction and/or incubation Is it just a certain energy state&nb ...Show All
Visual Studio Team System Could not load type 'Microsoft.VisualStudio.Performance.PerfWorkItem' (Beta 2)
I am getting the above error when trying to create a new performance session. the assembly is 'PerfPkg,Version=8.0.0.0, Culture=neutral'. Any ideas Some folks on private blogs were reporting this error as well and they mentioned that it was related to not installing TF (Team Foundation) client. Moving this thread to the TF forum for their confirmation. Thanks, Ayman Shoukry VC++ Team ...Show All
Windows Forms Retrieving Form Reference from Component
I've created a class that inherits from ComponentModel.Component. I can host it on a form, and it works fine. Problem is that I need to retrieve a reference to the parent form, early in the process. If I create a public property in the component, I can set it from the Form's Load event, but that seems redundant. The darned thing is HOSTED&nbs ...Show All
SQL Server Accessing AS400 Data
I've been trying to use the integrations services to access AS400 data with almost no success. Any suggestions or help you can give me would be appreciated. Some of the issues I can't make sense of are the following. 1. When I set up an OLEDB data source for the AS400 (using IBM's Client Access provider) I always get a warning message about "Cannot retrieve the column code page information from the OLEDB provider". What do I do about this warning 2. If the oledb datasource is a table I can sometimes get it to work (though it seems very slow) but if I make the source a sql query it always fail ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Double buffering a panel in c++.net
Hi Im fairly new to c++.net and im writing an application which models little creatures represented by coloured squares which move around in a panel. Ive been having problems with screen flicker, and reading around it seems double buffering is the answer. Unfortunately though, I cant seem to find any help on implimenting it in c++ (seems to be lots in c# which I tried to adapt but it didnt work). Any help would be appreciated, especially if it contains a few exemplory lines of code. Thanks in advance, Julian The games folks could have more information on such issues. Thanks, Ayman Shoukry ...Show All
Software Development for Windows Vista Call TrackData in CustomActivity on Another Thread
I have a process in my activity that takes a while, but I would like to push TrackingData into the TrackingService via the TrackData Call. I get an error if I use this from any thread other than the runtime one. Is there a way to do a BeginInvoke (like in winforms ) to get back to the runtime thread I found answer. Use a WorkflowQueue and implement IActivityEventListener. When I process the queue items I can call TrackData and is all is peachy. ...Show All
Windows Forms Readonly column color in datagrid.
I have a datagrid, with an input column. When I set the datagrid to readonly =true. The input value have the same color with the row, which is both grey. So the texts were look like disappear! What property should I use to set the inactive text Thanks. Inactive colors are dynamically computed by Windows Forms. You'll have better&n ...Show All
