Blane Nelson's Q&A profile
Visual C++ VC2005 %50 Slower then VC2003
I just migrated a graphics application from VC2003 to VC2005. After building it, I ran a small benchmark & found that VC2005 code was about %50 slower. The Application does a great deal of floating point and integer calculations. It also converts doubles to int quite a bit (the VC2003 version used SSE to handle this). The VC2003 version used /G7 and /Ow (which are not available in VC2005) Compiler Switches Used: (vc2003)/arch ...Show All
Visual Basic errors
my save button to append data to a table is not working. I am getting errors like "City" and "State" is not a mimber of ScottsClientTracker.ClientENT. This is in my table. What can be wrong Also, error "txtCell" is not declared. I didn't have to declare anything else Please help: Public Class frmClientRegistration Inherits System.Windows.Forms.Form # Region " Windows Form Designer generated code " ...Show All
Visual C++ "MFC80D.DLL was not found" Error?
I have an project that was originally developed as a C++ 7.1 native application. I converted it to VC++ 8 and kept it a native application and it worked fine. This project has always made use of MFC as a statically linked library. I now want to make use of the CLR. The first step in doing this is to change the use of MFC to shared dll. When I do this (with no other changes) my application gets the "MFC80D.DLL was not f ...Show All
Visual C# how to catch all exceptions with a single try... catch statement?
I want to write a single try {} catch {} statement for my whole program, is this possible if it is, is it advisable Create a handler for the Application.ThreadException event. Look at the MSDN library for more info http://msdn2.microsoft.com/en-us/library/system.windows.forms.application.threadexception.aspx ...Show All
Visual Studio 2008 (Pre-release) LINQ CTP (May 2006) install issue
I have english XP Pro plus sp2 on my laptop. When i installed LINQ CTP (May 2006), there was a window titled "Visual Studio Just-In-Time Debugger" coming out about 14 times, it says "An unhandled exception ("Object doesn't support this property or method: "Ver1") occured in msiexe.exe[1116].", and gives me the choice to debug or not. I clicked "No" button to not debug the exception, and the install ...Show All
Visual Basic sql database
I am trying to work on an inventory program for my model railroads using SQL. i got the form down pat, but when I test it out and put data in, close it, then restart the build, nothing. What am I doing wrong Thomas, It is difficult to tell you what you are doing wrong when we don't know what you are doing. How about a code sample. ...Show All
Windows Forms Custom Control builds but is not found
Hi, I've developed a simple control by inheriting from ComboBox. eg public class CatKeyword : ComboBox {} I've created it such that the new Custom Control appears on the 'My App Components' list on the toolbox. All looks good. I remember it worke ...Show All
Visual Basic setup project can not build
Hi, I am using vs 2003 to build a setup project but got this error message "Could not find file ..., Not enough storage is available to complete this operation." I checked the path of the file, it is correct. After I remove this file from the setup project, I can build it successfully and the result msi file is about 250MB, the file I removed is about 260MB, is there any limitation about the size of the file in setup project or the tot ...Show All
Windows Forms Crystal Errors: "The request could not be submitted for background processing"
Hi friends, Im getting the error: Error in file "../tempdir/reportfile.rpt". The request could not be submitted for background processing. When running a report on my application. I searched over the net for&n ...Show All
Visual J# Pet peeve of the day
Hi all; When will we have Documentation for the classes and listing the methods in the classes J# doesn’t support (ie exist but throw a NotSupported exception) thanks - dave Hi; I looked. Only http://msdn2.microsoft.com/en-us/library/hyx4hd7e(en-US,VS.80).aspx had links to some of the standard java classes and it has the disclaimer "but only the most important classes in the following packages are documented at this time". When wil ...Show All
Visual C# The c# Point structure
Hello, I am writing an application for the construction industry which contains a graphics module. In this module points are typically being generated and modified (ie the location of those points). I have a C++ background and am reasonably knowledgeable on c# theory and I realise the differences between structures and classes regarding the use of the 'new' keyword. When it is required to generate a new point I use the code : Point pt1; pt1 = ne ...Show All
Visual Studio Adding reference to other projects dynamically
Hi, I have got three projects in a solution. out of which one project is based on my VSPackage.now I want to see if there is any reference to my project from the other two projects. i also want to add reference to the other two projects if that reference doesn't exists. Please help. Hi Kajal, For P2P references we throw that error if the generated assembly does not have a .dll or .exe extension. The path to your bina ...Show All
Visual C# Problem in overriding or adding methods in Collections .Can you help?
First of all ,please be patient with me as I am trying to learn c#(moving from vb) + use of generics Collections and I am problems in trying to improve my collections I have created a set of collection all inheriting from the original ones. I would like to extend the collections that MS gives us by either overriding or adding my own methods etc.However I seem to have all sorts of problems 1)Trying to override Contains to give my own im ...Show All
SQL Server Visual Studio Exception 0x80131500
When I try to open report designer in Visual Studio 2003, I get the following error: Exception from HRESULT: 0x80131500 I've seen a couple of posts on the web about this, but so far nobody seems to know what the problem is or how to fix it. I'm hoping someone at Microsoft knows. hi all, I'm getting this error when i try to open a report in vs2003. However, i tried downloading that hotfix that was linked to ...Show All
Windows Forms Anyone know where to get custom skins?
I would like to add some custom skins. Anyone know where to get them Thanks PThomas@Corillian.com Consider enabling script access for the folder that holds your update files (e.g. 1.0.0.1) in iis. Most of the times 403 (forbidden) is a&nbs ...Show All
