adrian_sleigh's Q&A profile
Visual C++ _itoa "identifier not found" once ported to VS 2005
I have recently installed VS 2005 and loaded my VS 2003 project. I quickly realized that I needed/wanted to define "_CRT_SECURE_NO_DEPRECATE" bc I need to be up-and-running with a clean compile fairly soon. After adding the underscore to many of my string related calls, my only remaining problem is with four existing _itoa() function calls. I get the following compile errors: error C3861: '_itoa': identifier not found Sure, it ...Show All
SQL Server Msg 468, Level 16, State 9, Line 1 --Cannot resolve the collation conflict between "Latin1_General_CI_AI" and "SQL_Latin1_Ge
execute the following in any user database... So far I've been able to only reproduce this on SQL 2005 Standard instances..for some reason I don't get the error on Enterprise server. It appears that perhaps the system objects have different collation attributes.. !! select name from sysusers where name not in ( select name from master .. syslogins ) Microsoft SQL Server 2005 - 9.00.1399.06 (X64) ...Show All
Visual Studio Express Editions Dotfuscator in Express ?
Hi, will final version of express will have any kind of Dotfuscator installed if, not then are there any 3rd party Dotfuscators available thanks, AB My understanding is that the dotfuscator will not be included in the express editions, since the express editions are not meant for developing commercial-ready apps. If you're planning on releasing software in which the source code is sensitive, I'd suggest ...Show All
Visual Basic Asc(e.KeyChar) ?
What value would this have to have to be caught by a try-catch; Asc(e.KeyChar) I am getting a Index was outside the bounds of the array. In my textboxes Key press event. Code follows; <code> Try Select Case Asc(e.KeyChar) &n ...Show All
Windows Forms Listview questions
Hi all Can someone please post me some code on how to register and handle the event of the user clicking/scrolling the vertical scrollbar on a listview. Secondly, if I allow the user to reorder listview columns, what is the best way to keep these re-orderings when the user closes the app and opens it up later Writing the index positions of each col header to file xml Thanks to everyone Tomas ...Show All
SQL Server Getting error in SQL Server Destination
Hi I have two different database say, DB1 and DB2 one in server A and another one in Server B. Simply select all rows from DB1.Table1 in OLEDB Source and map it to another table in DB2.Table2 using OLEDB Destination. Works fine. But if I select destination as SQL Server Destination, I am getting the following error: [Insert contact information for facility into ARBilling database [202]] Error: An OLE DB er ...Show All
Visual Studio Express Editions unable to update data in a database
Hello! I am using VC#2005 Express and trying to work all off the video tutorials. When I started to work on Lesson09, I encountered a problem: I follow instructions from video lesson, but when I try to update data in a database, I receive an error: Update requires a valid UpdateCommand when passed DataRow collection with modified rows. I use default settings for tableaddapter and dataset, in a same way as in video, and here is ...Show All
Software Development for Windows Vista Some general questions
I am in the process of building a web application and the client requires that it be built using workflows,and that i can parameterise the workflow,add new workflows etc. So once a workflow changes the application must dynamicall change to meet the requirments of the work flow. Sorry for being so vague, but is there a way for the windows workflow foundation to do this The software will be application form based, certain users fill in ce ...Show All
SQL Server Can not connect to a flat file
Hi all.... With Visual Studio, I have created a new "Integration Services Project". As per the tutorial instructions, I right-click in the "Connection Managers" box, and I select "New Flat File Connection" When I do so, I get this error: The new connection manager could not be created. Exception from HRESULT: 0xC0010014 (Microsoft.SqlServer.DTSRuntimeWrap) Any suggestions (BTW, I'm using 64-Bit Enterprise edition for x64) Thanks! Forch & ...Show All
Windows Forms Add Method to MDIParen or Child?
I want to add a method to save data associated with a child form. Should this be done in the child or parent form The way I see it, it is easiest done in the child and feels logical, but does that mean that several copies of the code are in memory when several forms are instansiated If so, doing it in the parent means less code in memory. Where can I read some guidelines in this regard If you do not actually duplicate your code, the ...Show All
Windows Forms Rotation point
Hi guys I have run into a problem with rotation and resizing of a rectangle. I am rotating around the x and y axis of the rectangle. When I stretch the rectangle using the left handle the x and y is moved. This causes the rectangle&nb ...Show All
Visual C++ Exporting unmanaged class from managed dll
I have a managed dll in which I have a class whose functions I want to export. In VS2003 I was able to do this by creating a macro which generates __declspec(dllexport) when the managed dll is being built and __declspec(dllimport) when the managed dll is being consumed. This works fine, an import library is created, and other managed dlls which want to access the functional of this class link to the import library and use that functionality. In ...Show All
SQL Server DtsConnection IconResource
Is the IconResource property of the DtsConnection attribute implemented properly I cannot get this to work. ...Show All
SQL Server Restoring in SQL 2005
Hi , I am trying to restore database , which is backed up from SQL 2005 ver 9.00.1399.06 to anothere machine have SQL 2005 ver 9.00.1399.00. When I try to do a restore I am getting the following error! Too many backup devices specified for backup or restore ; only 64 are allowed. RESTORE HEADER ONLY is terminating abnormally . (Microsoft SQL Server, Error:3205) Please give me some solution for this. ProdName=Mic ...Show All
SQL Server Fuzzy Logic Performance
Hello, I am just wondering if someone out there has tried some Fuzzy matching on databases of large scale i.e - about 20 million contact records. Suppose I wanted to perform matching/ grouping to 10 000 incoming messages. How fast does this usually take What is the dependence on the number of fields chosen for the match Any insight is greatly appreciated, Lubomir Pls take a look at http://msdn.microsoft.com/library/default.asp ...Show All
