ayr's Q&A profile
Visual C++ Old "Wizard Bar" from VC6 on the toolbar?
I'm coming from VC++ 6 to VC++ 2005, and am trying to find a way to put what was called the "Wizard Bar" in VC++ 6 onto the toolbar in VC++ 2005 I would like a drop-down choice of all my global functions readily available. I see I can get that list from the "Class View / Global Functions", but that isn't always visible. Can you put that global function list on the toolbar somehow I also see that each source code file has a list of available global functions within that file, but I want to see a list of functions from all files in my project. Thanks for any help, Mark Beiley http://www.beiley.com ...Show All
Windows Forms Can an ExtenderProvider expose Public Events as well
Hello All, I have been using the ExtenderProvider class to add some properties to ComboBoxes. Can I also add events in a similar manner somehow Thanks for any ideas and/or suggestions. As far as I know, extender provider only allows extended properties . You can try other approach for extending events , like subclassing the control either by deriving directly from the control or use NativeWindows to attach/detach to/from the control. -chris ...Show All
SQL Server Directing batch pring jobs to a remote printer
Has anyone tried directing batch sql reporting services print jobs to a remote printer Any tips on how to do this would be appreciated. Thanks, John ...Show All
Visual C++ Console Applications only work on computer with the IDE
I'm using a text book to learn C++ and am writing my first programs. They compile fine and work the way I want them to, from Visual Studio or Windows Explorer. However, if I move them to another computer (with a disk), they don't work. Something about the configuration of the application. I've tried CLR console apps and Win 32 console apps (with header). I move the entire project, not just the .exe I would really like to be able to give other people my programs, please help me out!! PLEASE! Thank you all, static linking worked. Thank you for your concerns about my program's security, but I figu ...Show All
Visual Studio Team System MSBUILD with Unit Tests
I have a build type that is working just fine. I updated it by setting the RunTest key to true and now my builds are failing. The log contains the following that seems to be applicable. MSBUILD : warning : Please specify the results file to publish using the /PublishResultsFile switch, or specify tests to run to have those results published. I have added the following to the TFSBuild.rsp file /PublishResultsFile:"C:\Temp\BuildResults.trx" But now the build fails immediately and gives me not indication as to why. I have tried various combinations of the parameter in the TFSBuild.rsp file but to no avail. I am obviously m ...Show All
Visual Studio WebForm ReportViewer Drillthrough Datasource
Hi, I am using VWD with the Report Viewer add-in. I am attempting to create a drillthrough report, but keep getting this error: A data source instance has not been supplied for the data source 'DataSet1_DataTable1'. I know you are supposed to handle it with the Drillthrough Event handler, but so far I have only been able to find example of this using .xml files. I created the dataset using a SQL2000 datasource. When I added the report to the designer it also added an 'ObejctDataSource1' object. The first report just shows a few fields from the datasource, and the drillthrough report show all the details. So both reports use the ...Show All
Software Development for Windows Vista Workflow Foundation and Windows SharePoint Services 2003
I know WF will be used in the next version of Windows SharePoint Services but I was wondering if it is possible to integrate it into the current version. With SP2 it is finally possible to run WSS under .Net 2.0 framework but when I try to add the configuration section "Workflowruntime" in the web.config - I get "Unrecognized configuration section WorkflowRuntime." Is this even possible Thx, Joris I already got the asp.net workflow sample working without a problem... thanks anyway for the advice, Kind regards, Joris http://jopx.blogspot.com ...Show All
SQL Server Database on server but SQLEXPRESS on local machine
This is what I sometimes want: I have installed on a localmachine sqlexpress. Also my application is installed on the local machine. But for the night-backup of the database I want to put the database on the company server. Let's say the database is on: X:\data\mydatabase.mdf Why cant't I attach this database with the manager of sqlexpress Second: I have installed on local machine sqlexpress AND also the database Why can't I backup the file to the server like: BACKUP DATABASE [mydatabase] to DISK=x:\data\mydatabase.bak WITH FORMAT It looks I can only backup to the localmachine. thanks a lot Klaas ...Show All
Visual Studio Team System WebTest - Determining success in code
I am attempting to get execution results, in code, for a pretty simple web test. Basically, when you run the web test "manually", it will give you a "final result" in the Test Results window. For example, it says Result - Failed Test Name - MyWebTest Project - MyWebTestProject Error Message - 1 primary requests and 0 dependant requests failed. My issue is simply that I want that exact information in code when I turn the web test into a coded web test. I would like to log or email when the test fails. Pretty straight-forward. I have tried hooking into the post Request and post WebTest events, but I don't ...Show All
.NET Development InputWrapper Class in C#?
Hi All, Is there an InputWrapper Class with a getString() method in C# . If there is , in which namespace can i find this class Thanks Hi Dave, Thanks a lot for your response and advice. I appreciate it very much. All the best. Regards ...Show All
Windows Forms While scrolling within a datagrid, it loses foces ? Could this be a bug?
Hi! The point is that while scrolling within a datagrid, sometimes the gridloses focus with no reason because I was just scrolling.The class below simply illustrates this(while scrolling you'll get a message) Thank you in advance. ps: I'm using vs.net 2003. using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using Sy ...Show All
Windows Forms Writing to SpecialFolder For Install
I want to use Environment.SpecialFolder.CommonApplicationData to store some configuration files and help for my app. Unfortunately, I can't figure out how to access it via the standard "Custom Folder" methods of a Setup Project. As a workaround, I created an installer class that does the install/uninstall manually, but it seems like there HAS to be a way to ...Show All
Visual C# OdbcException while query field after empty
Dear All, I had encountered a strange problem. Take for example, if I had 10 fields in a record. If the third field is empty and the fourth field there are some values. I am not able to query the fourth field onwards. Upon querying it, it will give an empty exception. But I had no problem in retrieving the first 2 fields. I am using MySQL as my database. Can anyone please advise Thanks Part of my code is as follow: try { String connectionString = "DRIVER={MySQL ODBC 3.51 Driver};" + "SERVER=" + HostName + ";" + "DATABASE=" + Database + " ...Show All
Smart Device Development How to Hard Reset a Device programatically
I try this http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=260264&SiteID=1 and it's so cool for my first application for secound application I like to try to "hard reset" or "restore factory default" how to thanks OS : Windows Mobile 5 for PocketPC Language : VB here an example private const uint FILE_DEVICE_HAL = 0x00000101; private const uint METHOD_BUFFERED = 0; private const uint FILE_WRITE_ACCESS = 0x0002; [DllImport("Coredll.dll")] public extern static uint KernelIoControl ( uint dwIoControlCode,IntPtr lpInBu ...Show All
Visual Studio Express Editions VB express
Can I ccreate ASP pages and smart device applications using VB Express You use Visual Web Developer for ASP.NET apps. CF apps I'm not sure, but I bet MSDN could tell you. ...Show All
