whaveman's Q&A profile
.NET Development The Undo operation encountered a context that is different...
This is not specific enough information for me to know what I did wrong and where. Does anyone have any insight to this It appears to have something to do with asynchronous socket I/O completion. System.Transactions Critical: 0 : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"> <TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier> <Description>Unhandled exception</Description> <AppDomain>PPSManager.vshost.exe</AppDomain> <Exception> ...Show All
SQL Server Mining Algorithms
I would like to use SQL Server 2005 data mining to look at some engineering problems. In order to really do that, I would like to see some reference material on how the different algorithms work. Does anyone know where I could find some I have looked hard thru BOL and cant find any there. Hi! You can find a lot of useful material about Data mining algorithms on URL: www.sqlserverdatamining.com . And also in SQL server 2005 tutorials for data mining which is a part of SQL server 2005 documentation. ...Show All
SQL Server import data
Hi, I would like to create something i.e. a Job so that the .txt files can be imported into a sql server 2005 database tables. The system has to be flexible so that I can tell it where the .txt file (Source) is and to which database I want to import to. This system has to sit outside sql server, so I guess I can not use something like DTS Any ideas please Thanks ...Show All
.NET Development ADO.Net-DataAdapter.DeleteCommand Can't Delete Row
I recently develop a tool to add, edit, delete, filter, search, locate record on a Database Table. Also includes Relations, my tool uses sqldataadapter, dataset.etc. My problem is when I try to perform a Delete of a record look my code : Private Sub UpdateData() Dim p As ParameterControlUpdate Dim TableToUpdate As String = m_grdTableStyle.MappingName Dim Cmd As SqlCommand Try Cmd = New SqlCommand   ...Show All
Visual C++ c parser
i am looking for a c parser that would parse a c header file into xml or a format that will allow me access the strutures defiend in it Does any one know of an api or something that lets you open up a c header file and exposes it's metadata as xml. i was wondering since this is a feature used in code itellisence. I have a need where i need to parse through a c header file which has a whole munch of typedefs i need to be able to find one that i am looking for and return the variable defined in the typedef. kind of like a meta data of the c header file example sample c header file content typedef struct ABC{ CHAR variable1[ ...Show All
Visual Basic trying to understand classes, module, subs, functions
I would like to know the differences between a class and a module, and the difference between a sub and a function. I know how to use them. I've been programming for years. But I would like to know the deep details of them so I know where and when to use them. So I can have the most efficient programs. Thanks sub and function is an artificial construct so that VB can avoid having a void return type. Apart from a function returning a value, there is no difference. ...Show All
Visual FoxPro Windows Service
How create Windows Service in VFP 6 To run a VFP application as a service you need a helper application like SRVANY.EXE from the Windows Resource Kit. However, VFP 6 is not the most suitable version to do this. While you can turn a VFP 6 EXE into a service, it's very difficult to make it run stable, because VFP 6 was designed with desktop applications in mind. VFP 9 is much better in this regard. ...Show All
Visual C# Interlink with libraries developed by other languages?
Hi, there, I am just peeking through the door of .net stuff and want to see if we can adapt to it. I have some questions to ask. We have some code developed in Embedded C++, libraries and executables. I wonder if it's possible for an Embedded c++ project link to a library created by .net, using visual basic or c# On the other hand, can a .net project using visual basic or c# link with libraries created by eMbedded c++ Thanks a lot in advance. Katec - This is a good overview of interoperability between managed and unmanaged code. http://msdn.microsoft.com/library/default.asp url=/library/en-us/dn ...Show All
SQL Server Event ID 424
I am having issues to re-install SQL 2005 Analisys services development edition. I used to have beta runing fine, but now I get the following error: The description for Event ID ( 424 ) in Source ( MSSQLServerOLAPService ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Errors in the encryption library: Invalid cryptographic key .. I tried uninstall/re-install but it doesn't work! ...Show All
.NET Development Errors creating new data source
I've been writing OOP code for 10+ years, and am now excited to learn C#. To help me get going, I recently installed Visual Studio 2005 b2, and have been studying ADO.NET & working through some MS Access projects. I've followed several tutorials on the Data Source Config Wizard, searched MSDN and other online sources, but have come up dry trying to figure out why, whenever I click the Wizard's FINISH button, I get this error: "An error occurred while creating the new data source: Could not get type information for 'MyProject.MyProjectDataSet'." I can add the Access file to the Server Explorer, but can't drag a table to a form. It's be ...Show All
Visual Basic Form Switching
Hello all, I know this is a real n00b question, but I was wondering if someone could advise me as to a better way of doing my form switching without creating a new instance of a form each time. I know usually you can just go Dim F as new Form2 F.Show But that creates a new instance of Form2. What I'm trying to do is to have a permanently open version of Form2 that I can access at any time. The reason I want to do this is so that I can keep all the information stored on that form (text box contents, etc) available for use later if the form is closed and re-opened again. I found a method to do this, which was to create a module and ...Show All
Windows Forms GroupBox with Visual Styles bug
To reproduce the problem: On a XP system with XP styles enabled: Add a tabcontrol and a tabpage on the form. On the tabpage, add a groupbox. Press F5. The groupbox has a grey background although it should be transparent, since the tabpage's background is not grey. The Tabpage has a texture applied to it but the backcolor is s ...Show All
Windows Forms Dockable Windows in VS .NET 2005
I am currently n the process of evaluating Visual Stidio .NET 2005 for Dockable windows feature specifically, I know that there are 3rd party components to do this... But I need to know only that :- Does .NET 2005 provide Dockable windows like in VStudio TollBox like to developers .. in other words Can I be able to create a Pushpin window (be Windows Form or userControl) that will only use .NET 2005 classes and NOT 3rd party components. (Panel, etc) Please help!!! RAJ There have been many posts on this subject in this forum already. I usually point people to Weifen Luo's DockPanel suite. It is FREE and wr ...Show All
SQL Server Transfer Objects not working
I'm trying to transfer sql objects and data from SQL 2000 to SQL 2005. I'm connecting to both databases as dbo. I have checked TransferAllObjects and CopyData. The task runs but it does not transfer anything at all. I have also just tried selecting a single table to transfer however when I do this I get an error that the table does not exist - but it does. Any ideas what I'm missing please. Michael, Its possible that this error message is a red herring. Can you post all error messages that you get when executing -Jamie ...Show All
Windows Forms Testing Deployment for the first time
We are having a problem with the ClickOnce deployment from our Web Server. The Web Server is running Windows Server 2003 and we just installed the Microsoft Front Page Extensions. We are able to connect and publish a Windows Application (we go to the server and can see it there). When we hit the folder we can see the Publish.htm file that prompts us to "RUN". When we click the RUN button we are taken to an Error Page: The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. Please try the following: Make sure that the Web s ...Show All
