orbii's Q&A profile
Visual C++ why does Visual Studio2005 crash on only cleaning a solution?
Hello, I have a problem to build one dll project. The ide crashes whenever I try to compile it, in fact it crashes before that, it happens when I only try to clean the project before rebuild it, Here is the picture of the problem: the Visual Studio Just-in-time debugger popped up again with "An unhandled win32 exception occurred in devenv.exe[1728]". here below is found in the output window before the crash: "------ Rebuild All started: Project: profuisdll, Configuration: ANSI Debug RDE Win32 ------ Deleting intermediate and output files for project ’profuisdll’, configuration ’ANSI Debug RDE|Win32’’ I first reported ...Show All
SQL Server Create Extended Procedures in VS 2005
Hi I am trying to write an extended procedure that accepts a string parameter and returns an integer value. The extended procedure calls a regular stored procedure of a database passing the string parameter as an input. The int value is an OUT parameter to this procedure. Can I some one suggest where do I get started with respect to this in VS 2005. Use of side-effecting code from UDF is not recommended. It takes lot of work to get it right (dealing with bound connections, concurrency issues, deadlocks, scalability of xps, virtual memory issues depending on how the xp is written etc). Lastly, use of su ...Show All
Visual C# How to call a method/property contained in a string variable?
Can anyone tell me the syntax for calling a property when the property name is containted in a string variable What I'd like to be able to do is set a property value as follows: string propertystring = "ComputerName"; server.propertystring = "Honda"; There must be a way to syntactically have propertystring dynamically evaluate correctly at runtime Thank you very much, David ...Show All
Visual Studio Team System Source Control not getting the latest version
Currently using the following: TFS Dec Beta 3 Refresh installed on a single Windows 2003 server VS 2005 installed on XP machine. If I have a class that has a method that takes a single int paramter and this file is checked in and is assigned changeset number 5 ... then I check out this class and change the method parameter from int to double and check that in and is assigned changeset number 7. Then I perform a "Get Specific Version" and fetch changeset number 5 version of this class (the one that has the int parameter). Now at this point if I perform, a "Get Latest Version" on the file or "Get Latest Version (Recursiv ...Show All
Visual Basic Adding Timestamp to RichTextBox
how do i go about doing so all im looking for is the time "HH:MM AM/PM" hi, addin time stamp u can do like this: Dim time As Date = System.DateTime.Now 'first is printed in console using Format function Console.WriteLine(Format(time, "Medium Time")) Console.WriteLine(time.ToShortTimeString) I have used console, but in your case, u just write string to your's RitchTextBox. Hope this helped, if not explain a bit more your problem plz. ...Show All
Visual C++ How to use world transformation in GDI+?
Hello, I'd like to use world transformation to change size of my graphics but I want to keep pen, brushes,text size etc. The scaling matrix also scales the pen properties, text height and width. I was hoping I can an least transform the pen object using inverted matrix but it does not have any affect to pen style. Pen style is always scaled, please see my example below. I'd like to have a sequence of graphical elements and scale them, rotate them but do not change pen, brush or text size properties. Is there some simple way how to do it Gdiplus::Rect rect(10, 10, 100, 100); Gdiplus::Pen pen(Gdiplus::Color(255, 255, 0, 0), 10); pen.S ...Show All
Visual C++ Need help with overlapped I/O
Hi, I'm in the creation of a program that monitors a directory, and receives notifications from the OS every time a file in that directory (or any subdirectories) is modified. I try to accomplish this by using asynchronous I/O. Here is the code: #define _WIN32_WINNT 0x0400 /* Require win NT or later */ #include <windows.h> #include <stdio.h> #include <tchar.h> /* Prototypes */ void CALLBACK dirUpdated (DWORD, DWORD, LPOVERLAPPED); void closeDirHandle (LPHANDLE); int main(int argc, char **argv) { LPCTSTR fname; /* Name of the watched directory */ DWORD sharemode; DWORD flags; HANDLE dirHandle; FI ...Show All
Windows Live Developer Forums Submit an App - Get the Windows Live Messenger Beta!
Would you like early access to the Windows Live Messenger Beta Starting today, November 8 th and running thru 9:00am PST on Monday, November 14 th The first 5 people to submit Activity Apps to the Worlds Best App contest and successfully pass compliance checking will receive an immediate invitation to the Windows Live Messenger Beta! Be one of the first people in the world outside of Microsoft to run with the next version of Windows Live Messenger! Lets see those apps!!! -Scott i want to be a tester of msn live messenger 8 Beta Can i get a invition at dreifinger@catsoft.nl ...Show All
Visual Studio Unable to install Visual Studio 2005 on Vista build 5270
Hi, When I try to install VS I get an error during copying files: " Copying file 23 of 65 Setup encountered a problem while trying to copy ..\vs\setup\gencomp.dll " Any ideas why this doesn’t work I tried with the DVD iso, DVD from partner pack and a cd image but al stopped at the same place. Thanks, Ronald I have found a workaround Copy the contents of the DVD to your harddrive and start the setup from there. Also stop Windows Defence, because this stops SQL Server from installing. I have installed everything as Administrator. grtz, Ronald ...Show All
SQL Server dbo - Database ownership
I have created tables within SQL Server database. My tables I have created do not have the dbo ownership( )...how does one transfer a table to dbo advTHANKSance It actually depends on which version of SQL Server you are using. With the use of SQL Server 2000 you can use the sp_changeobjectowner procedure. In SQL Server 2005, you may have a look on " ALTER SCHEMA schema_name TRANSFER object_name " as well as in the BOL under the sp_changeobjectowner in the BOL 2005, there is some information about the changes of the features which are in common related on the introduction of schemas in SQL Server 2005. HTH, Jens Suessmeyer. - ...Show All
SQL Server Breakpoint doesn't work
I've got a breakpoint in a script task. The script task executes successfully but doesn't break. Short and sweet this one. Anyone any idea why it might not -Jamie SSIS does not currently support breakpoints in script components. You will need to put some logging information in your script component see my post http://www.sqljunkies.com/WebLog/simons/archive/2005/08/03/SSIS_Script_Component_Debugging.aspx ...Show All
Visual Studio Team System Missing Object Test Bench menu items?
I have just installed Visual Studio Team System RC and I can not for the life of me find out how to display an object within the Object Test Bench. The help gives the following instructions: In the Class View , right-click the name of the class or struct whose instance you want to create. Click Create Instance to display the public constructors of the class. Select the constructor to display the Create Instance Dialog Box . In the Create Instance dialog box, provide the parameters, and then type the name of the object. The name is not provided by default; you must provide a name. Check the Object Test Bench tool window ...Show All
Visual Studio Express Editions afxwin.h missing? windows.h missing? What am *I* missing?
I downloaded and installed Visual C++ EE yesterday. I'm trying to compile some OCX example code that came with a vendor library, and it's failing because "afxwin.h" can't be included. I did a search and neither than file nor "windows.h" exist on my machine. What am I missing It's been a while since I've tried to write C++ on Windows machines, but aren't these headers fundamental Why aren't they installed with VC++ How can I get them and the other basic stuff needed to do development here What am I missing A quick word about the MFC version that is included with the Platform SDK: it is only suitable for 64- ...Show All
Visual Studio Express Editions Error after deployment
I have created a Windows app in VB 2005 Express and it runs OK on my development machine, it does give one error which I assume is to do with a demo version of a componenet which has a nag screen. When the nag screen goes away, so does the error message. I have published the app and installed it on another machine. Whenever I try to run it, I get a 'has encountersed a problem and needs to close' error. My question is: is this error the same one I see (that goes away) on my dev machine or something more fundamental to do with the deployment I would prefer to not install VB Express on the other machine and compile the projec ...Show All
SQL Server Strange out of memory error on 2005
Hi, I am getting the following: spid53,Unknown,Failed Virtual Allocate Bytes: FAIL_VIRTUAL_RESERVE 262144 spid53,Unknown,Memory Manager <nl/> VM Reserved = 1662084 KB<nl/> VM Committed = 954940 KB <nl/> AWE Allocated = 0 KB <nl/> Reserved Memory = 1024 KB <nl/> Reserved Memory In Use = 0 KB ... <lots of memoryclerk/cachestore stuff) ... Followed by loads of 701s (There is insufficient system memory to run this query.) until the service is stopped. No new connections can be made at this time either. I'm running an ASP page under IIS 5.0 (on 2000) against the SQL Server. Connec ...Show All
