GWizmo's Q&A profile
Visual C++ Exposing the base constuctors from derived classes.
Hi, I'm trying to extend the std::basic_string class by adding some additional overloads here and there... I know that you can "re-expose" functions ahta re hidden by the derived class by using "using BaseClass::FunctionName". However, I can't do it with base constructors... it goes something like this: class BaseClass { public: BaseClass( int i ) { cout << "Base: " << i << "\n"; } BaseClass() { cout << "Base\n"; } void print( char *str ) { cout << str; } }; class DerivedClass : public BaseClass { public: DerivedClass( float f ) { cout ...Show All
SQL Server "Remote access to report data sources and/or the report server database" is not supported in this edition of Reporting Services.
I'm using SQL Express with Advance Services & I get this error when I try to deploy my reports. Why do I get this error An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'EDPSYS'. (rsErrorOpeningConnection) The feature: "Remote access to report data sources and/or the report server database" is not supported in this edition of Reporting Services. (rsOperationNotSupported) Justin Song I'm new user of Reporting Services. I'm trying use Samples (AdventureWorks) and can't use it because this error. How do I point ...Show All
Windows Forms another CheckedListBox question
Is there a property that makes it possible to select only one item from the list at a time thanks, kowalsky Yep. Set SelectionMode to One. This should also be the default value. Martin Development Manager, WinForms ...Show All
Software Development for Windows Vista Beta2 Installation problems
I am trying to install WWF Beta2 (in fact i have been since last Friday). Anyway i manage to load all the components until i attempt to install WWF beta 2 it fails with the message : " the following platform components failed to install and will need to be manually installed before setup can proceed: Windows Workflow Foundation: The installation source for the product is not available. Verify that the source exists and that you can access it. Check log for details" I then try to run WinWFSDK_x86 probably not a wise decision but im desperate. It loads but it tries to open VS2005 which now fails! WWF Beta 2 appears to have b ...Show All
SQL Server Stored Procedure being saved in System Stored Procedures
We recently upgraded to SQL Server 2005. We had several stored procedures in the master database and, rather than completely rewriting a lot of code, we just recreated these stored procedures in the new master database. For some reason, some of these stored procedures are getting stored as "System Stored Procedures" rather than just as "Stored Procedures". Queries to sys.Objects and sys.Procedures shows that these procs are being saved with the is_ms_shipped field set to 1, even though they obviously were not shipped with the product. I can't update the sys.Objects or sys.Procedures views in 2005. What effect wi ...Show All
.NET Development how to bind datagridview to a typed dataset and DAL
how to bind a datagridview to a typed dataset. how do i build a data access layer that can be used with binding source so that the datagridview can consume it as a datasource. how do i implement insert, update and delete commands for the data access layer that is specific to sql server (not generic data access layer) so that edit/update cdommands can be issued from the datagridview. A nice blogpost with a full tutorial is posted by Scott can be found here . If something isn't clear, please let us know! ...Show All
Visual C++ App hogs CPU when mouse pointer moved over it
My MFC app hogs CPU when the mouse pointer is moved around over it. I'm using task manager to monitor the CPU usage. No othe app seems to do this. If my app has a modal dialog box up then it doesn't happen. The app is built with Visual Studio 2005. My main window is only handling WM_CLOSE, WM_ERASEBKGND, WM_SIZE and WM_SYSCOMMAND (none of which get fired when you just move the mouse pointer around over it). If you get furious with the mouse pointer then you the app's CPU usage goes over 60%. Any ideas anyone Mike MikeBzz wrote: My MFC app hogs CPU when the mouse pointer is moved around ov ...Show All
Windows Forms Web Browser URL Help
Trying to get the Web Broswer i inserted into my project to go too a different Website when its typed into the toolStripComboBox, here is the code i'm working with...Not sure if its complete if not can someone help me to fill in the blanks...Thxs in Advance private void webBrowser1_DocumentCompleted( object sender, WebBrowserDocumentCompletedEventArgs e) { String sURL = ( String )e.Url; int index = toolStripComboBox1.FindStringExact(sURL); if (index == -1) { toolStripComboBox1.Items.Add(sURL); toolStripComboBox1.SelectedIndex = toolStripComboBox1.FindStringExact(sURL); } else { toolStripCombo ...Show All
Smart Device Development Major memory issues
I am getting Out Of Memory exceptions after my program runs for a few hours. I have done a lot of research, and as far as I can tell I am dealing with all of my objects properly. How can I figure out what objects are not being disposed In other words, what is filling up the memory This has got me in a real bind. Start here (and be sure to visit the links it points to): http://www.danielmoth.com/Blog/2005/01/memory-problems-faq.html Cheers Daniel ...Show All
Software Development for Windows Vista SatNav development tools
Hi I am working on a Visual Basic .net application on a tablet PC with an external GPS unit. I am looking into Sat Nav software (not decided on any particular software as yet) so the tablet PC could be used to display routing information whilst in transit. I'd like to capture any information from the Sat Nav software, especially estimated arrival times, in the .net application Does anyone know of any development tools that would allow my .net application to work with any Sat Nav software I would be very grateful if anyone could point me in the right direction. Thanks Darach ...Show All
Visual C++ How to get the Actual Path with .lnk File
Dear Sir, I had written a program which will display the Recently opened file name. Now I want the Actual File Path. Please tell me how it can be done. Here is the core of my program I done: -------------------------- -> I had used the FindFirstFile and FindNextFile to get the Link file Name. - I had written my Code in C. ( Please give explanation with C not in VC++ ) Thanks in Advance I need some more clarification First Thanks for ur Information The program u had given is working fine but my requirement is.. -> Suppose "C:\A.txt" file opened means, "A.lnk" file is   ...Show All
Visual C# How can i send SMS or make phone calls from my cell phone
How can i send SMS or make phone calls from my cell phone (lets say nokia 3310) using some sort of connectivity with my application, using serial port. I am new to this sort of programming and need some advice on things i need to set up, including hardware to connect mobile phone to PC. My application is built in C# Thanks.... There are a lot of companies who have a SMS Gateway you can use, some are free, Sending SMS using .NET through a Web service , but most of them you need to pay like Intelli Software Internet SMS Gateway . You can also connect a GSM Modem or a GSM Phone to the server and send ...Show All
Visual Studio Express Editions LPCWSTR doesn't work with reg commands
I am making some functions that use regcreatekeyex, regsetvalueex, ect. So I made them and tested them by making a command prompt program and had no problems. Then I tried using the in the form designer and the compiler keeps telling me it can't convert my parameters that are strings into LPCWSTR. So I add the (LPCWSTR) in front of the parameter to convert it. Well my project compiles but recreatekeyex and stuff never succeed. How can I fix this Did you actually check rgValue between the two lines I told you to check (After RegCloseKey(hk) but before return rgValue) I don't think you performed w ...Show All
Visual Studio Team System IBindingList.ListChanged
I have implemented a custom collection in VB which implements IBindingList. # Region "Public Events" Public Event ListChanged( ByVal sender As Object , ByVal e As System.ComponentModel.ListChangedEventArgs) Implements System.ComponentModel.IBindingList.ListChanged Private Sub OnListChanged( ByVal eventArgs As ListChangedEventArgs) RaiseEvent ListChanged( Me , eventArgs) End Sub # End Region then FxCop ...Show All
SQL Server Help with ##table
Hi, I am trying to drop a global temp table (##table) with sa rights and I get no joy. Does anyone have an idea what this could be caused by. The table is used by a sp which checks if the table is there and it drops it if its there. Tnx for help. Quite possible that another user might be accessing the ##table since it is a global temporary table. ...Show All
