Mr. Mike B's Q&A profile
Windows Forms more on binding name/value
row = new Hashtable(); row.Add("name", "Wilson"); row.Add("age", 22); Console.WriteLine(row["name"]);& ...Show All
SQL Server Date and time Concatenation
Hello, I have 2 columns in a table, one with date ("M/DD/YYYY" format) one with time ("HH:MM" format) How can i do to make one date column in "DD/MM/YYYY HH:MM:SS" format Thanks a lot Have a look here: http://blogs.conchango.com/jamiethomson/archive/2005/07/26/1867.aspx -Jamie ...Show All
Software Development for Windows Vista WorkflowInstance.EnqueueItem Method
Can I use this method to raise an External Event after an CallExternalMethodActivity has been finished and been persisted and the ListenActivity is waiting The question goes back to this entry ... If yes what would be expected as the second parameter public void EnqueueItem( IComparable queueName , object item , IPendingWork pendingWork , object workItem ); You really can't - as the sec ...Show All
Windows Forms Is drag and drop...
are drag and drop operations supported in Excel VBA If so can anybody give me the code to move a button on Excel Sheet using VBA code... please. Thanks and regards, koolguy :) ...Show All
Visual Basic Making a picturebox have a transparent background
I have a picture of a panda with a pink background (panda_down.bmp) and I was wondering: how do I get that pink background to be transparent Draw the image yourself in a paint handler, and use the imageattributes class to make 255/0/255 ( magenta ) transparent. ...Show All
Visual Basic class library
Could some who is already familiar with the developement environment please tell me if it is possible to build class libraries as a compiled dll file, or is this restricted to the full versions like 2003 was Thanks for any help.. I currently have a universal subscription and use the pro version of 05, however, i have previously installed the "Standard" version 03 and did infact try to create a DLL...can't from w ...Show All
Visual Studio Tools for Office ActionsPane with a Shared Addin
Hi, I need to add an ActionsPane with a Shared Addin to a Word Document but I can not find the way... I have a user control and when the user creates a new document i want to show the user control in the task pane. Can i do it with a Shared Addin With VSTO I found the way, but i didn't find with a shared add-in. It is possible Thanks a lot, Juan Hi Juan, From my understanding, VSTO don't provide an application level custo ...Show All
Windows Forms Custom VS.NET Add-in
Hi all, I am developing a custom VS.NET add-in and I want to be able to add a menu option to the context sensitive pop up menu when a user right clicks on a code file. I have no trouble adding items to the standard fixed menu's b ...Show All
Visual Studio Express Editions console view won't stay on screen
ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/cpref8/html/T_System_Globalization_DateTimeFormatInfo.htm I am a newbie at console applications. When I run the example code in the above, the console view comes up for an instant then disappears. What do I need to do to get the console view to stay on-screen BTW, why are half the code examples written in console code and half in windows code I fail to see the reason. I keep having to re ...Show All
Windows Forms Treeview Bug
It is not possible to make a single node bold without the end of the node text being clipped. The work around this problem, I tried setting all nodes to bold and then setting all but one to regular. The problem now is that  ...Show All
Visual Studio Team System Automatic retrieval of latest version on checkout?
Hi, Since I could not get the latest version automatically with the old SourceSafe (VS 2003), I hoped this was 'solved' with Team System. However, when I tried to get this done, I could not manage it. The problem I have to deal with is that my colleagues and I work together on the same source (I think that is what has to be done with SourceSafe/TS ). Whenever we change something and check in our source, the new source has to be used. When I che ...Show All
Visual C# How to edit ArrayList composed of strings in PropertyGrid control
This may be a question raised before but I could not find any answer. I have an application that uses the propertyGrid control,one class has an ArrayList type property which is composed of string objects. When I set the propertyGrid.selectedObject equal to an instance of this class, I can't seem to edit the values of the objects inside the ArrayList, although I can remove and add objects to the collection, I can't edit the strings. I figured ...Show All
.NET Development Looking (for help to look) under the /clr hood.
I'm looking for "under the hood" information with respect to the /clr compiler option (Visual Studio 2005).I want to gain minimal understanding of what happens behind the screen (instead of "monkey see, monkey do"). Suppose I have "legacy" (Visual C++ 6.0) C++ source code (target = DLL), which defines a Pipo class. This class is externally visible using __declspec ( dllexport ) and uses a native DLL (no managed version avail ...Show All
.NET Development How do you fix the error "Syntax error in UPDATE statement"?
Guys, I need your help to fix this error since it's been bugging me for 2 weeks already to find a solution in the internet or book that won't work properly. I tried fixing the update statement command but still shows the same error. Below is the source code: Public Sub changePassword( ByVal uName As String , ByVal pWord As String ) Try 'change the user's password Dim conn As System.Data.OleDb.OleDbDataAd ...Show All
Windows Forms Clean shutdown of app
Hi, I am trying not to allow user to run 2 instances of the same application. I am handling it like this If Process.GetProcessesByName(Process.GetCurrentProcess.ProcessName).Length > 1 Then MessageBox.Show("Another Instance of Application is already running", "Multiple Instances Forbidden", MessageBoxButtons.OK, MessageBoxIcon.Warning) Now, I cant seem to shut ...Show All
