McGeeky's Q&A profile
.NET Development DB_E_BADROWHANDLE(0x80040E04)]” when using [OleDbDataAdapter.fill(dataset, ADOrecordset, “ADODB_2_8.Reccordset”)] in VS 2005
Hi All, Im getting an exception “DB_E_BADROWHANDLE(0x80040E04)]” when using [OleDbDataAdapter.fill(dataset, ADOrecordset, “ADODB_2_8.Reccordset”)] in VS 2005. We have used our proprietary OLEDB. This is working fine with .NET framework 1.! (Vs2003) Can you help me : Here is the error message : ______________________________________________________________________________ System.Data.OleDb.OleDbException: No error message available, result code: DB_E_BADROWHANDLE(0x80040E04). at System.Data.OleDb.OleDbDataReader.ProcessResults(OleDbHResult hr) at System.Data.OleDb.OleDbDataReader.GetRowDataFromHandle() at System.Data.OleDb.OleDbDataReader.GetValueBinding(MetaData info) at System.Data.OleDb.OleDbDataReader.Get ...Show All
Visual Studio Team System Date of Birth Validation
How can I validate a web form text field not to accept a Date of Birth to be in the feature I have tried to use the range validation, but I can’t set the maximum field to date. When you change the data type to range validation it give you an error, that the range validation can not accept the data type date lwere.lwere ...Show All
Windows Forms press keyboard "enter" key
after input values into textbox on my login screen, i want to have 2 options to proceed, 1. i want to be able to click on login button and proceed (this is easy). 2. i want to be able to press on the "enter" key on my keyboard to do the same thing, please help. thx moayad, just little more help plz. on line foreach (Ctr in this .Controls) { There is a compilation error as pasted below, plz help Error 1 Type and identifier are both required in a foreach statement C:\Documents and Settings\.....\My Documents\Visual Studio 2005\Projects\.....\login.cs 68 26 ....... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Simple BreakOut Demo (Source included)
Well there it is, my first ever C# and XNA program I hope it'll help some of you. Download BreakOutDemo.zip v0.31 Thank you MS for that wonderful gift that is the XNA. Thanks for the comments guys, I appreciate it! :) I will make some improvements (ball effect, maybe item drops) and upload an updated version later today. And sorry about the question/comment thing Glenn, I will make sure to set it correctly next time. ...Show All
SharePoint Products and Technologies Problems with Office SharePoint Server Search, SharePoint Services Search and SharePoint Services Application services starting
Hello! :-) Recently, i've encounered a problem concerning farm server deployment. Here is the information. 1 server. MOSS 2007 x86 OS - Windows 2003 Server Enterprise SP1 Role - ordinary file server. Type of installation - Complete. After installing i've configured this server successfully, entered Administration Web Site, created Shared Services, provisioned Project Web Access...so everything is fine and seems ok... The next step was to add auxiliary server to farm. So i did this : 2 server MOSS 2007 x64 OS - Windows 2003 Server Enterprise SP1 x64 Role - DOMAIN CONTROLLER Type of installation - Complete. At this point, after adding this server to the farm and configuring both servers with SharePoint Products and Te ...Show All
SQL Server Changing flat file connection file name property
Hi, I have a task to traverse a folder of CSV files of same format and then populate into one sql server table. Is there a way where I can change the source CSV file name runtime using FOR EACH loop container for flat file connection manager any help would be much appriciated. Thanks, Furrukh Baig I'm assuming you're talking about the foreach loop container in the tutorial (ms-help://MS.VSCC.v80/MS.VSIPCC.v80/MS.SQLSVR.v9.en/sqltut9/html/88a973cc-0f23-4ecf-adb6-5b06279c2df6.htm) Can you use a similar concept to loop thru xml files I have an xml source, 2 sorts and a merge-join. Whenever I change the input file, I need to open my sorts and click ok. How will that work if I need to iterate thru a directory of files ...Show All
Software Development for Windows Vista How to get child workflow instanceId after calling invokeworkflow
Hi, I have one state machine workflow, in the start of the workflow, it will call InvokeWorkflow to invoke a sub workflow which is also a state machine workflow. The question I have is how to get the sub workflow instanceId after calling InvokeWorkflow. I try to use invokeWorkflowActivity1.InstanceId right after invokeWorkflow but that GUID is not the correct Id. Also, is that possible to fire event from child back to the parent when the child workflow is done (just need to pass some information back to the parent workflow when child workflow is done) Currently, both workflows are sharing the same exchange service and I need to trigger the event from the host. thanks chong ...Show All
Visual Studio XI and VS 2005
I recently purchased XI developer. What version of the merge modules should I be using to get things working with VS 2005 - the ones that shipped with XI, Visual Studio 2005 or others I didn't install the VS CR version - just kept my XI developer version. I am having problems exporting files from the webviewer. Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden. Description: An unhandled exception occurred during the execution of the current web request. Plea ...Show All
Visual Studio Express Editions calling a dialog form
I'd like to call, from my form1, the dialog box dialog1 (the one pre-defined with OK/Cancel pushbuttons...). Writing Dialog1.Activate() in form1, the dialog box does not appear. Why To prevent form from closing from within FormClosing event, set e.Cancel to True (instead of Me.Enabled = True in your code). Also, you can inspect e.CloseReason to see why the form is being closed, which will allow you to handle specific cases differently. Here's my take at your code: Private Sub Form1_FormClosing( ByVal sender As Object , ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me .FormClosing If ChangedSinceStarted And Not S ...Show All
SQL Server Perform upgrade method
hi I have two versions of the same dataflow component , i need to use the new version component in the packages created using the old version . How can i do this using the perform upgrade method . Thanks Mani hi thanks i got the solution the perform upgrade method only works if the current version property, that is stored in the package is less than the currentversion property of the component on the local computer. Regards Mani ...Show All
SQL Server File..Save Copy of <package file> As... not available
According to the help for SSIS, one method of deploying an SSIS package to a SQL Server, http://msdn2.microsoft.com/en-us/library/ms137565.aspx, is to use the File...Save a Copy of <package file> as... menu option. I don't have that menu option at all. And yes, the package is in focus. My save menu options are simply; Save Selected, Save <package file> As... and Save All. I am using Version 9.00.1399.00 of the SSIS Designer. At one time I did have the Management Studio's CTP installed. However it was uninstalled before installing the tools from the Standard Edition. (it would seem like not completely however) Your help would be greatly appreciated. Thanx muc ...Show All
Visual Basic Application Configuration
Hello. A question, please. I am working with VS 2005. I don't find how can I set the working enviroment. I mean DEBUG, RELEASE. I know that I must see a bouton called SOLUTION CONFIGURATION, but I dont have it. Can anyone help me Thanks... Thanks. If I go to Build menu, I don't have the Configuration Manager into. I have 7 options (Build, rebuild and clean for the solution) (build, rebuild and clean for the projet) and publish the projet. And If I do right-click on the toolbar and I add the "build" option, I have 3 options (build projet, build solution and cancel). Any idea, what's happens ...Show All
Windows Forms How to draw chart in VC++.NET
Hi, Can anybody inform me about how to draw chart(any type like pie,bar or line etc...) dynamically in VC++.NET Thanks Scorpion Check your system if you have the activeX MSChart.ocx under system32 folder. Although you can draw charts manually, MSChart already implements pie, bar and line graphs. You can download it for free, if you don't have it. ...Show All
SQL Server Msg 6335 when deleting a row from a table (...too many levels of nested nodes.)
Hello. I have several tables with XML data type columns, and several schema collections. I recently added a column to my [XYZ] table -- Name of type xml (PersonNameSchema). Defining the table, adding and updating the data is no problem. But when I delete a row, I now get this error: Msg 6335, Level 16, State 102, Line 1 XML datatype instance has too many levels of nested nodes. Maximum allowed depth is 128 levels. I cannot yet reproduce this on any other databases with the same schema, but it happens consistently in all the databases on my local server. The question is why would deleting a row cause an error like this, especially with such a trivial, one-level schema Thanks! Gordon The schema is this: create xml schema ...Show All
Windows Live Developer Forums Check for land / disable zoom
Hey I have 2 questions, that I'm hoping you can help me with. 1. Is it posible to determine if a specific position is land or water 2. Is it posible to disable the mouse wheel zoom function Or just disable zoom Great ideas, Dave! 1 - I'm embarassed I didn't think of that... 2 - A quick search (live.com, of course) brought up this page on trapping the mousewheel: http://adomas.org/javascript-mouse-wheel/ <<UPDATE: after playing around with this, I can't get the page-level events to fire when the mouse is positioned over the map. Maybe I'm missing something there, but it looks like the map control takes precedence. I'll update again if I figure it out.>> ...Show All
