Knuckles's Q&A profile
Visual Studio "Start Debugging" vs "Start without Debugging" speed in VS2005
I experienced extremely slow performance in VS2005, when I "Start Debugging" an application which uses System.Drawing.Bitmap (might be anything that uses interop, but that's just my wild guess). Everything is fast if I "Start withoug Debugging" and it does not matter if I compile a release or a debug version. Please check this little piece of code: namespace ConsoleApplication1 { class Program { static void Main( string [] args) { Syste ...Show All
Visual Basic Object reference not set to an instance of an object.
I'm receiving this error: "Exception Details: System.NullReferenceException: Object reference not set to an instance of an object." In regards to this line of my code: ElseIf Request.Cookies("userid").Value = "" Then and if I comment out that line it also gives me the error in regards to this line: UserID = Request.Cookies("userid").Value Here is my code behind: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Partial Class ...Show All
Windows Forms Help with the SaveSetting statement in Visual Basic
Ok here's what im having a problem with. I know how to use the SaveSetting Statement, but it's alwasy saving the data in this folder 'My Computer\HKEY_CURRENT_USER\Software\VB and VBA Program Settings' folder in the registry, even when my program is comp ...Show All
Game Technologies: DirectX, XNA, XACT, etc. help me
i have this program but it has a few debug in it what can i do to configure these debugs to a final retail because i need it to run the games i play online. please give me the link to this so that i can play my game silkroad. it saids i need sdk of direct x and i got it but its a slow version of it. i need something that runs fast not slow. please give me a reply to masalv60616@hotmail.com . You won't get this answered in here, its not a ga ...Show All
Visual Studio Team System Why ClassInitialize functions need to be static.
I'm working in C++. I'm not sure I understand how the XXXInitialize/Clean attribute is supposed to work. The ClassInitialize method is called before the class is created (the function need to be static). The TestInitialize is called before each tests. I need a way to Initialize/Cleanup class member. When I tried to put this initilization in the class constructor, I discovered the constructor was called many time ( ).&nbs ...Show All
SQL Server Security context of custom delivery extension
If I create a custom delivery extension for reporting services 2003 1) Which security context this extension is running under In other word,If I use CredentialCache.DefaultCredentials in this extension for authenticating to a remote web service what is returned 2) Can I deploy this extention to reporting services 2005 Thanks in advance ...Show All
Windows Forms is there any way to force a control to receive focus?
i have a custom control inherited from panel and i need to be able to handle Enter/Leave events for it..any idears First off, yes, nested controls should raise Enter and Leave events all the way up the parent hierarchy. If t ...Show All
Visual Studio Sharing files across projects?
I read that sharing of files across projects is no longer supported in Source Control. In the EnterpriseLibrary beta 2 solution they are sharing the GlobalAssemblyInfo.cs file located in the Solution Files area across multiple of the individual application blocks. These shared files have a special icon with the little link arrow on them like a short cut icon. Does anyone know how to establish these shares in VS.Net 2005 Thanks. ...Show All
.NET Development Slow regexp for first time match
hello, I have an apllication that have about 3000 regexp compiled using the form regexp = new Regex (expression, RegexOptions .Compiled | RegexOptions .IgnoreCase | RegexOptions .CultureInvariant); when a try to match a string against the 3000 regexp for the first time it take about 2 minutes on a Big machine !! the second time the match goes faster and take only few milliseconds what is going on ...Show All
.NET Development Mail Problem with outlook account and IIS SMTP Server
I have developped an application with WWF who send an email to an local outlook account.For this I activated the smtp server of IIS , then I created an outlook account to receive the mail. I set the POP3 and SMTP server as localhost, the problem after sending the mail from the application and when I am trying to synchronize the mail box , operation related with downloading messages failed... I think that I can conclude that the POP3 configur ...Show All
Visual C++ looking for catopen, catgets, catclose
Hi, If anyone can point me towards catopen / catgets / catclose for WIN32 (I'm using Visual Studio 2005 Express Edition for C++), I'd appreciate it! thanks, Stan sieler@allegro.com Hi, Thanks...looks interesting. I'll have to research if it is (a) redistributable in binary form with/inside my application, and (b) how to link / merge the catopen/etc in Interix into my application o ...Show All
.NET Development Web Service display
Hi All: Does .NET Framework 2.0 change the display mode for Web Services In Visual Studio 2005 Beta 2, I try to take a web reference of ReportService2005.asmx (typed as http://localhost/ReportServer/ReportService2005.asmx ), I got an compilation error said: CS0234: The type or namespace name 'Xml' does not exist in the namespace 'System' (are you missing an assembly reference ) But if I add " wsdl" (typed as http://localhost/ReportServer/Report ...Show All
SQL Server Can't put an array into an object variable
Hi, I have the following code in a script task: Dim items(0) As String ReDim items(response.HierarchyItems.Length - 1) For Each item In response.HierarchyItems items(count) = item.AreaId count += 1 Next Dts.Variables( "User::AssetIdMaster" ).Value = items Which works fine. Then I have this Private Structure ...Show All
Visual C++ looking for a better book on visual c++
Ivor Horton's book "Visual C++ 6" is a great book about C++. But, I am finding more and more that it is not a great book on the gory details of Microsoft's VC++ program. In the VC++ programming environment, there are menus within menus within menus that are never mentioned in Mr Horton's book. I would be interested in getting a book with much more detail on navigating the VC++ programming environment; topics like *) using the project ...Show All
Windows Search Technologies Preview problem
I have Microsoft Windows Desktop Search installed on a number of computers but on one the preview is not working. No e-mail, contacts etc are previewed. Only a message saying in Swedish "Det gar inte att visa en forhandsgranskning" (approx "preview can not be shown") is shown. Any ideas what to do Thanks Anders Sneckenborg Hi Anders, Just a few quick questions.. Is Outlook Open while you are trying to ...Show All
