Marc M's Q&A profile
Windows Forms Is there a way to programatically control Windows' "Unplug or eject hardware" functionality?
An example of this functionality is if you have a usb hard drive for example. When you are done using it, it is recommended to double click the "Unplug or eject hardware" icon in the system tray to safely stop/shutdown that device. As .NET can pretty much do anything :), is there a way to control this functionality programatically and automate it. The reason I ask is that when I plug in my usb hard drive, I want it to do a quick sync and then st ...Show All
Visual Studio Package 'Visual Web Developer Trident Designer Package' has failed to load properly.
I've been using VS 2005 Beta 2 for a few weeks now on a win2K machine, with nothing else installed at all. It's been working fine every day for three weeks, but today I get the following error message whenever I try to open an .aspx file. "Package 'Visual Web Developer Trident Designer Package' has failed to load properly. ( GUID = {30AE7E2B-6CO2-496D-8E43-85F7A90AEFF1} )..." I have not had any previous versions installed, and instal ...Show All
Visual Basic how i can get connection string of db on host computer??
as my code is dependent on the database so whenever i take my code on the different computer, i need to set connection string for it and recompile the project.. can i get this string by using any api.. at run time i don't want to give it string every time when i change pc or database server.. if i have it.. then why should i store it any where... the problem is that i don't know when i change my computer... ...Show All
Visual Studio Help collection integration
Hi All, This is for plugging in one help collection to another one, Let me explain the requirement: We have two VSIP packages, say Product-1 and Product-2, and both have their on help collections. Let the root node in TOC of the first collection be HelpProduct-1 and the second- HelpProduct--2. These packages will be installed in separately, and the requirement is to show in help contents, these two collections as children ...Show All
Visual C++ Help with adding Keyboard shortcuts
Hi Everyone, I am very new to programming in Visual C++. However, I am finding it to be quiet interesting. I am working on a project in wish I had to develop GUI's,. I have implemented the GUI with some buttons included. One task that is currently beating me is implementing a keyboard shortcut. I have a botton called "RUN" and want to use "ALT+R" to invoke the run button. Can anyone kindly help me with this. I have tried doing this with ...Show All
Windows Forms Accessing list of all controls for a form at design time
I am creating a modal custom UITypeEditor. Is it possible to walk back up the context tree and access all the controls that are on a form Is there a proper and not proper way to do this Any push in the right direction&n ...Show All
Visual Studio Tools for Office NewSheet event not always raised
Hi All, I have this code in my Thisworkbook.NewSheet event handler: private void ThisWorkbook_NewSheet( object Sh) { Excel. Worksheet ws = Sh as Excel. Worksheet ; if ( null == ws) Console .WriteLine( "ThisWorkbook_NewSheet: not a Worksheet" ); else Console .WriteLine( "ThisWorkbook_NewSheet: '{0}'" ,ws.Name); } When I create a new worksheet from the main menu Insert->Worksheet or from context menu Insert... I'm getting ...Show All
Windows Live Developer Forums Animations in Messenger 8.0 BETA
Hi everyone! 1. Thanks BETA team for adding me onto (once again) another great BETA. This and the other 9 BETA's that I'm on will certainly keep me busy testing... 2. I wanted to ask tho... Is it possible to have a animated picture in the Display Pictures area (The 96x96 pixel area) and how would I do this... I would want to accomplish this thru Messenger API's calling on the picture to display and NOT thru an external program, i ...Show All
SQL Server SQL Server 2005 Express import of Access
I have installed SQL Server 2005 Express on a laptop for development purposes and would like to import some Access databases that I was using coupled to programs written in VB 6. If using SQL Server 2000 I could use the management studio to automate the import but I can not find any way to do this in Management Studio Express. Would have thought that this would be the typical migration route - Access to Server Exp ...Show All
Visual C# Where do I put Using System; !!!!
I have a form using Web Developer 2005 and C#, and I'm after putting the code behind and the c# code into the same file, rather than putting them in separate files. I want to open a connection string, but when I put Using System; and Using System.Data.Oledb; at the top of the script it says its an invalid token in class, struct, or interface member declaration Where should I put it Thanks! hi, ...Show All
Visual Basic using built-in feature
Hi all, Can pls teach me how to include a built in features in my program i want to include browse feature in my program. i have a "browse" button in my interface and when user clicks on it.. i want the built in form to be displayed and allows the users to select the file from their pc. You probably wanting to allow them to select a file from there PC such as the file to load data from. There is a control called the Ope ...Show All
Visual C# Reading large .csv file loading is very slow.
First let me state that I am very new to C#. I learned C++ in college but that was in 99 and have been coding mainly mainframe since then. So I am kind of new to the .Net platform as well. The problem that I am having is when I am loading in a .csv file it is taking a long time before the user can do anything because the program is busy loading my data into my array. Is there a better way for me to do a read then using StreamReader. Here is a sn ...Show All
Windows Forms Please post here if you are running a Terrarium server.
I want to get a feel for how many are out there, if any. Thanks! It's up! I had a little time last night and things went well. Since it's not running on a dedicated server I may need to limit the number of&nbs ...Show All
Visual Basic change the ConnectionString in a built application
is it possible to change the Connection String when the application is built.By that i mean the connection string that was used in the database source window and is used to create everything in the GUI. i know u can change a connection later if you use System.Data.OleDb.OleDbConnection but the connectionstring that you work with using the gui development tools seems to be a read-only property (my.settings and so on) and i haven't found a way of ...Show All
Visual C++ message box
i have troubles with this code: #pragma once #include "gerenciamento_bb_mysql.h" using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; namespace form_050826 { /// <summary> /// Summary for interface_incluir_papel /// /// WARNING: If y ...Show All
