PamelaS's Q&A profile
Visual C++ How to Print in an ActiveX
Hello, I am working in VC++ 6.0 and Windows Xp Professional. I created an ActiveX control using MFC ActiveX ControlWizard and have drawn a circle on the control window using CDC (CViewClass). Now I want to print this DWG on the currently installed printer. I already added a method named "PrintCircle" to the control. I would like to call this method to do the printing. Now, my question is, how can I invoke the Printing functions Meantime I done the job with a SDI Application I try to do this way CMyCtrl CMyCtrl:: PrintCircle() { m_pView->MyPri ...Show All
Visual Basic cannot create project as application template will not load
"Dear Mike, Visual Studio Express Beta was just a taste. The launch of the full Visual Studio Express Edition products now gives you the lot. They help you crack the code for a stack of applications, and they're easy to configure and easy to deploy." Oh yeah The above is part of Msoft email I received a few days ago so I downloaded the latest VB 2005 xpress as an iso file to hard disk and installed from there AFTER uninstalling VB2005 beta 2 as per instructions. On running the new version I find I cannot create a project as when trying to load any of the templates ie an application, I get the following error. "F ...Show All
Visual Studio Team System Microsoft.CCi.Property and explicity defined interfaces
Hi How do you tell if a Microsoft.Cci.Property instance refers to an explicity defined interface For example public interface ITest { string Test { get; } } public class Test : ITest { string ITest.Test { get { return null; } } } Thanks You need to check the ImplementedInterfaceMethods list on the getter or setter. For example, if p is the Microsoft.Cci.Property for Test::ITest.Test, then p.Getter.ImplementedInterfaceMethods is a 1-element list with the Microsoft.Cci.Property object for ITest::Test. On the other hand, ImplementedInterfaceMethods will be null or empty for all implicit ...Show All
Visual C# Visual C# Look and Feel nice in XP, ordinary in 2000, why?
Hi, I downloaded and am running Visual C# Express on my Windows 2000 machine. At first, I was slightly taken aback by the clumsy, clunky look of some of the dialogs in the IDE itself. That is, some of the buttons were strangely large and the size of some dialogs just didn't come anywhere near the professional, smart look of say, Office 2000. For example the "Edit Rows and Columns..." dialog if you right-click on a TableLayout panel. I'm not being picky here, I'll send a screenshot when I get home - it looks quite unproportioned and particularly ugly ;-) I have 1152x864 resolution. I was guessing that it was something to do with the ...Show All
Visual Basic I just want to learn Visual Basic.... Can't find "Windows Application' Template
Hello all, I am trying to re-learn programming after a long hiatus, so I decided to start with the newest version of Visual Basic(VisualBasic 2005). I am trying the 'Create Your First Application' Tutorial, and it tells me to go to File>New Project and choose 'Windows Application'. This isn't an available choice... My choices are: 'Class Library', 'My Movie Collection Starter Kit', 'Screen Saver Starter Kit', and 'Search Templates'. Am I supposed to download the 'Windopws Application' template from somewhere('Search Templates' turned up no results.) Is this my first test to see if I am worthy of using a Microsoft product Or am ...Show All
Software Development for Windows Vista How can I save user-defined workflow state?
in the SDKof WWF, a instance of user-defined workflow interface is given, but the question is, i don't know how to save the current designed workflow state, so i can't transfer and modify it next time, is there anyone who is familiar with this case thanks Are you hosting the workflow designer in your application and wanting to know how to save the workflow model that your user creates There is an example of this in lab 10 in the workflow hands on labs. Cheers, Paul ...Show All
Visual Studio VSEP fail to load in VS .Net Standard Edition.
Hi, I have an VS Extension Package developed under VS SDK 2005. Its functionalities are similar to Figures and Basic project Samples. My package loads with Professional edition of VS 2005 but it fails to load with Standard Edition of VS 2005. Do I require a different load key for Standard Edition or it is a limitation of Standard Edition Extensibility capability. Any help will be appreciable. Thanks in advance. Atul Packages should load in Std and above. You have received a PLK and are not trying the package on a machine without the SDK where the DLK installed with the SDK take ...Show All
Visual C++ Visual C++ 2003 Standard -> how to upgrade
Hey, I'm really eger to buy Visual 2005. I'm using Standard version now and I want to ask which version should I buy to have the same features I'm afraid that there will be no Visual C++ 2005 Stardard for 150$. Do I have to choose between Visual C++ Express and Visual Studio Standard(including all the languages...) Hi, As stated in the document. VS2005 Standard Edition costs as much as $299 ($199) upgrade. In your inquiry on choosing between VC++ Express and the standard edition, I suggest purchasing the standard edition for the express editions has many limitations. Here is the list of differences. http://lab.msdn.microsoft.com/vs20 ...Show All
SQL Server Converting identity column to "not for replication"
Is there a good way in sql2k to change an identity column to "not for replication" without recreating the table and moving the data I'm thinking of setting syscolumns.colstat to (value) | 8, since that bit appears to be control "not for replication". But I've been a sql dba for 8 years and I can't remember when I've ever had to update a system table -- I'd rather not start now. Thanks, Mike Hey Mike. There is no way to add/remove/modify the identity attribute for an existing column in SS2k...if you try to do this through EM, behind the scenes SQL will do lots of things that are no ...Show All
SQL Server How to set the width on the multi-select drop down (not the simple select)?
Hi, How can I set the width on the multi-select parameter box I checked the post about setting the SELECT, but that affects the single parameter box, not the multi-select. I know there is an HtmlViewer.css file and have changed the rsReportServer.config file to use it, but I don't know what the tag is to set the width on the drop down parameter list box in the htmlViewer.css file. Or is it in another file Any ideas Thanks. pl Thank you for your response. Is there any chance that the ability to set the width for the multi-select parameter box might be included in RS 2005 SP1 Also, I read somewhere that the solu ...Show All
Visual Basic VisualStudio 2005 BUG
Am developing a forms app using vs2005. All going fine till decided to publish via ClickOnce…. Having published to ClickOnce, now every time I try to debug (F5) the app after doing a code change or opening up the Publishing Project Properties, get “The operation could not be completed. The process cannot access the file because it is being used by another process” Try again – then get “Visual Studio could not copy a support file to this location: Q:\Development\Visual Studio 2005\Projects\projectname\projectname\bin\Debug\projectname.vshost.exe. Please verify the path exists and is writeable”. (projectname changed to protec ...Show All
Visual Studio Team System "An unexpected error has occurred" After Upgrading Portal Server to SP2
I did a dumb thing and upgraded the Portal Server to SP2. WSS had apparently upgraded itself to SP2, and I couldn't add custom web parts (from Microsoft downloads). So I thought I'd upgrade to SP2 on the Portal Server. Now, I can't get to the default page or my home page, they all give: "An unexpected error has occurred. Web Parts Maintenance Page: If you have permission, you can use this page to temporarily disable Web Parts or remove personal settings. For more information, contact your site administrator." So now I am sweating bullets, because it appears I can't unistall this SP2, and I don't really want to do th ...Show All
Windows Forms How to make longer duration ToolTipText of cell of DataGridView?
Is it possible to set longer duration for the ToolTipText of cell of DataGridView Thanks. Ken There is no API that modifies the duration of the DataGridView tool tip in Whidbey. I forwarded your suggestion to the DataGridView product manager for consideration in a future version. Thanks for your feedback. ...Show All
SQL Server Invalid Data Type error with Subreports
I have a report with two subreports. The parameter connecting the report with the subreports is based on a field with a datatype of UniqueIdentifier. If I run each of the subreports by themselves, entering in value for the parameter, they run fine. When I try to run the master report, it runs, but the subreport sections contain the following text instead of the correct output: "Error: Subreport could not be shown." The Output window shows 2 warning, one for each subreport: The expression use in subreport 'subreport1' returned a data type that is not valid. I don't know for a fact that it is the parameter causing the probl ...Show All
Visual Studio Team System Can't TFS data tier "share" an existing data tier?
Like everyone else, I'm trying to get a TFS set up (do you think you could make it any more difficult !). At any rate, we were going down the path of a dual-server deployment. + We already have SQL Server 2005 server w/ SP1 running on a W2003 R2 (virtual) server. + I have also already installed the SQL Server Reporting Services databases already on that SQL server box as we intend to use RS in general for our various web development projects. Only the RS databases were installed on this SQL box using the Files only, do not configure option during the SQL setup process. I have another (virtual) web server where our custom ASP.NET web ...Show All
