Answer Questions
Rob Lynch How to trap the mouse events (move, hover, etc) for the designerhost?
I've implemented a custom form designer based on MSKB 04 sample. I'd like to perform some actions when cursor moves over the designer. How can I trap these mouse events Or should I take a different approach for this kind of task Thanks, Alan Martin, I din't get a chance to try out the global behavior yet. Thereis a bit learning curve I need to go through on it... Behavior seems to play a big role in desi ...Show All
Ken Morley Error when installing prerequisite .NET FW 2.0
Hi, I get an error when I try to install my ClickOnce application on a machine that doesn't have .NET Framework 2.0 installed. I have set my clickonce application to install the prerequistes from the vendor's website (Microsoft in this case). The downloading and installation of the .NET FW 2.0 seem to go fine but my problem occurs when the installation tries to "go back" to my project installation and tries to continue with my 'Clie ...Show All
lympanda save a multi-page Tif
OK, this should be REALLY simple, but im having a very difficult time getting it to work. Dim img As Image = Image.FromFile("C:\temp\2.tif") img.Save("c:\temp\dsfsdafsadfdsfsadfdfs.tif", ImageFormat.Tiff) The 2.gif is a multi-page Tiff, when calling the save method, it only saves the first layer of the file. I have tried using Bitm ...Show All
Echo Wang Is it dead?
Hey, I'm having a hard time finding anything for terrarium... is it dead I can't find the animal farm, and certainally nothing else either... :( any live sites out there for this thing ...Show All
ODilbert DGVComboBoxColumn gives ThreadStateException
I'm having a problem when selecting cells in a DataGridViewComboBoxColumn. Each time a cell is selected I see the following error: "DataGridView Default Error Dialog: System.Threading.ThreadStateException: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that you Main function has STAThreadAttribute marked on it. ..." Firstly, I don't use any Main() methods in my application.  ...Show All
Kiwi JB Where am I ?
Hi guys, How can I know which event the code is executing now For example, I just changed a text box value which raised the TextChanged event which in turn raised another event (might be custom). How can I know which event is being execut ...Show All
Sandyddd data bind with link
anyone has any idea why the data i bind , won't turn out to few individual link actually i am trying to make a menu out of this, but i want to use data bind here <%@ Register TagPrefix="Mobile" Namespace="System.Web.UI.MobileControls" Ass ...Show All
C.Batt Double buffered list view causes transparent selection box?
I am trying to do a owner drawn list view in detail mode, when i inherited the list view into a new custom control then turned on double buffering all the sudden the selection rectangle is the alpha channel transparent one that windows xp's shell uses... is there any way to just keep the standard dotted rectangle one because performance is slow when the transparent rectangle region is enabled with double buffering... but i cant find a way to kee ...Show All
BenDowling Windows XP Welcome Screen
Hi, i was trying to make a control like the windows xp welcome screen. I override the paint event and have the blue gradient background. On top of this I have a panel that is always half the size of the whole usercontrol and stays on ...Show All
thelastdevil Form to "dock" to Windows desktop ie Ticker/Office Toolbar
I am looking for behaviour like the Office Toolbar / BBC News Ticker where my application is in effect "docked" to the desktop and any programs opened will adjust to the new space available. I was looking at this post, but it I'm not sure whether this is the same API used -- I don't want the form registered as part of Windows/IE, I just want the form to stick there and for all other programs to be placed below it in the same way the Taskbar wor ...Show All
jojo the dogface boy HTTP Download Class & Application Updater Component
I’m writing an application to download multiple files, I currently have a vb.net class to download class but is not very good and was looking at this Application Updater Component and looks like it has a download class in it I’m not good on&nbs ...Show All
Erin Geaney MSFT shared SQLconnection accross all forms.
okay. I decided that making a connection to the database eachtime each forms opens up is a bad idea.... bad idea in the sense its slow.... is possible to share a sqlconnection from form to from by using a class. like this ------------------------- ...Show All
Jason_25 'ping' automatically
hi, I have a 'ping' program in .net 2003, and also a timer source code in .net 2003. When the program is running, i want it to 'ping' the ip address automatically for every 2 minutes. But I don't know how to write it in code. Can someone please help me Thank You Hi, You can use both, the timer as mintioned code or use windows schedule to run the code"or At command in the cmd.exe". Can you explain a bit mor ...Show All
Crosscourt Form not accepting keyboard input
I've created a .net usercontrol and placed it on a .net form in a class library. Then I created a class called UI and added a method "ShowMyForm" which displays the form using a .show. I'm registering it with COM and calling it from VB6. Everything works properly except the form does not accept keyboard input when called using CreateObject() from VB. It does however work properly when using straight .NET Any thoughts Here's the ...Show All
lvance Adding Image to the first column (the selecting column)
Hello all. I'm trying to add an image to the first column of a DataGridView. I mean - the column in which we click to allow selection of the row (I don't know its exact name), not the the grid.Columns[0] column. How can I add/creat ...Show All
