Softwaremaker's Q&A profile
.NET Development ExecuteNonQuery is not returning no of rows affected (Oracle Provider)
Hi , I am using Oracle provider for data access.But the ExecuteNonQuery of Oracle command is not returning the no of rows affected properly.Its always returning 1 while deleting records. (I tried to delete a junk id from database,at the time also its returning 1) Could you pls help me to sort it out. This is the snippet which i am using, Dim Cmd As OracleCommand Dim retVal As Integer Cmd = New OracleCommand 'Custom function for attaching connection and transaction with command PrepareCommand(Cmd, Con, Trans, CommandType, commandText, commandParameters) retVal = Cmd.ExecuteNonQuery() Cmd.Disp ...Show All
Windows Forms What's the Windows Form Equivalent to the ASP Drop down list
I want to download a list of names and reference numbers, display the names to the User, and from his selection read the associated reference number, but I can't see the Windows Form to do this. I'm missing something pretty basic and deserve contempt, but would appreicate being enlightened. Thanks in advance. Following you suggestion of a binding problem, I re-configured the data adapter and dataset and now everything is working fine. I don't know what it was that I changed that rectified the problem. Thanks for the direction ...Show All
SQL Server SQL Agent Failing when trying to run my SSIS Package
My SQL Agent was working fine. Now when I try to run it, it failes when trying to run my SSIS package. I looked in the logs, and job history, no luck in finding any critical errors. My SSIS package runs fine through VS 2005 in debug mode. Here are the only errors: 01/04/2006 09:53:48,,Warning,[396] An idle CPU condition has not been defined - OnIdle job schedules will have no effect 01/04/2006 09:53:48,,Warning,[260] Unable to start mail session (reason: No mail profile defined) 01/04/2006 09:53:48,,Information,[129] SQLSERVERAGENT starting under Windows NT service control 01/04/2006 09:53:48,,Error,[364] The Messenger s ...Show All
Software Development for Windows Vista Permit / Deny to so anything ....
I've installed 5270, but i'm hoping the installation is broken ... To bring taskmgr up (RMB on taskbar) I have to hit permit/deny to allow it to run. To Manage my computer I have to permit it to run To modify environment variables I have to permit it to run To log in I have to permit the winzip quick pick program to run (I've installed winzip because windows doesn't seem to be too ocmfortable with 8Gb zip files) To install perl I have to start an elevated command prompt and run msiexec /i by hand. Simply double clicking on the msi is no longer good enough. I'm a user with local admin rights, and I still have to jump thru al ...Show All
SQL Server Private vs. Public Reports
Hi, I hope it's the right place for this q: We're about to purchase SQL Server Reporting Services 2005, migrating from current reporting platform. I would like to know whether it's possible for any user to save a report as their private report (in a personal folder or so). That is unlike public reports published by authorized role only. If anyone knows where can I find documentation about it, I'll be grateful. Thanks! Managing Folders As mentioned earlier, the Report Server maintains managed reports and shared Data Sources in notional folders, and the Report Manager lets users navigate these fold ...Show All
Visual Studio Express Editions DataGridView's column Bindings with Class
Hi, please help, im using datagridview to present my database. Infomations of columns in DataGridView like "visible" save it to XML file, the columns information will be load from XML in the next time user run the program. Everything is ok. But now i have trouble to bindings column with my Class with property "visible", because column in DataGridView no have "Bindings" property. hi, i didn't understand what do you mean, would you clarify more datagridview has datasource property you can take a look to this link http://msdn.microsoft.com/vbasic/atthemov ...Show All
Windows Forms Databind to collection object
I've created a customized collection and want to databind it to a DataGridView. After some research, I found that I need to create a bindingsource control and then bind to the specific collection object. The first problem is that I need to retrieve the collection instance for some additional method calls. How can I get the underlying collection instance back I found that the databingsource will use BindingList<T> as its internal store. How can I convert it back to my specific collection so that I can make additional method call your custom collection should inherit from BindingList. . . if you have a class FooBar. . . and a ...Show All
Visual Studio Express Editions Share with friends
Is it ok to burn a copy of these 5 Visual Web Developer 2005 Express Visual Basic 2005 Express Visual C# 2005 Express Visual C++ 2005 Express Visual J# 2005 Express to a CD for some friends of mine who can't dl them from here While Visual Studio Express is free, we do not give users the right to burn CDs of the products & redistribute them. Express will be freely available from the Microsoft web site until next November. Your friends also have the option of buying a retail copy of Visual Web Developer Express and Visual Basic Express, both of which will be available in early December. ...Show All
Visual C++ error C2039 and error C2873
I am migrating some C++ code from VS 2005 Beta version to VS 2005 Released version. It was running fine with the beta version but with the released version, I am running into the following compilation errors. Error 139 error C2039: 'S_newio_feof' : is not a member of '`global namespace'' c:\Program Files\Microsoft Visual Studio 8\VC\include\cstdio 26 Error 140 error C2873: 'S_newio_feof' : symbol cannot be used in a using-declaration c:\Program Files\Microsoft Visual Studio 8\VC\include\cstdio 26 Error 141 error C2039: 'S_newio_ferror' : is not a member of '`global ...Show All
Visual Studio Express Editions system parameters
hi guyz, i am a newbie in winapi programming, i am having problem regarding syatemsparametersinfo call. from user32.dll library it's showing that "SPI_* parameter(system parameters) are invalid, in this function i defined it as dim SPI_GETDESKWALLPAPER AS UINT32(WHICH IS ACTUALLY A DWORD) AND THEN I PASSED IT AS ARGUEMENT,WITHOUT INITIALIZING IT, I UNDERSTOOD THAT PROBLEM THAT BEING UNINITIALIZED IT HAS A JUNK VALUE, BUT I ALSO DON'T KNOW THE NUMERIC VALUE TO BE PASSED OR IF THERE ARE ANY ENUMERATION TO BE INHERITED..,IN EXAMPLES ALSO NOTHING LIKE THIS IS GIVEN...., ASHISH hi luke, i think that u didn't got what i wa ...Show All
Visual Basic grid event
hi! when I changed row in grid, I want to know which event what do u mean by row changed, is that values in the row or focus of the row in the grid, or something else ...Show All
Visual C# Word/Text Control for .NET?
Hello, I am writing a text editor in C#. Where can I find a good and free text control - similar to Word. Thanks! Matt Hi, I guess that something as complete as word would be hard to find but you can try various sites like: http://www.csharpcorner.com/ http://codeproject.com/cs/miscctrl/ http://windowsforms.net/ or you can try the good old google: http://www.google.com/search q=c%23+free+text+editor ...Show All
Visual Studio DSL Tools support for Visual Studio editions
I promised that I'd get back to this forum with details of our licensing plan once they were available. I'm pleased to say that we can now make some details available (Please also see our Modeling Strategy and FAQ ). On release, the DSL Tools for Visual Studio 2005 will be part of the Visual Studio 2005 SDK. We'll support the following editions for authoring DSLs: Visual Studio Professional Edition Visual Studio Team Edition for Software Architects Visual Studio Team Edition for Software Developers Visual Studio Team Edition for Software Testers Visual Studio Team Suite We'll support the following editions for deploying the DSLs that ...Show All
Visual Studio Team System Reports are not showing the newest information
Hi guys, i’ve tried everything, from deleting and rebuilding the TFSWarehouse database to changing the cache control in the report client, nothing is working for me.... My reports are working but they seen to ignore the newest data that my team is producing... i cannot get the newest data from the last 5 days... I’ve read the other posts but nothing worked, any sugestions []'s Ciro Fonseca Hi Ciro, Have you gone through the warehouse Troubleshooting Guide http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=154526&SiteID=1 If so, can you post results for each check in there Thanks, Brad ...Show All
Visual C++ How to add print support in CformView
Hi, I just create a MDI MFC application using CFormView as the base class for the application view. It becomes a disaster when I want to print this form to printer. According to the MSDN document: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vccore/html/vcconcreatingforms-basedapplication.asp No printing support for a form-based application! I tried to add ON_COMMAND(ID_FILE_PRINT, OnFilePrint) to enable print function in File/Print , and override OnPrint() ; however, it gave me the error message like this: Debug Assertion Failed! Program:!K\test.exe File: viewprint.cpp Line: 157 Fo ...Show All
