Hi all, I need help with control events. In this specific case I have a panel with another control inside in a Dock.Fill mode. Now i need to catch the mouse_click event of the panel... Maybe this is a stupid question but I don't know how can I resolve it Please help me. Thanks in advance Cliffer
Cliffer
Posts
-
Panel Event -
Application PathBut i have to do this all automatically... No to go on control panel->add remove.... I have to launch my update batch-program and so it have to copy my file into this folder, only with software name information.
-
Application PathOk...but how can i do this?? Can you have a sample for registry or control panel search??
-
Application PathHi all, I need to know the correct path where is installed my software. I need this because i have to update my software only by copying one file into the installation path. So, i can launch my upgrade and only by Software name i have to copy correctly my file. Can someone help me? Thanks.
-
Switch to processYes thanks this work fine... The only problem is that I hope to find a method that works without import user32.dll So now i work with this but if someone know a method that not use user32.dll it would be better.. thanks
-
Switch to processHi all, I have to switch from one application to another, I have found this method: System.Diagnostics.Process.Start("application"); that allow me to open an application... Then when i press my button for the second time, i don't want to start a new application but i want to open the existing one. in this way: System.Diagnostics.Process[] myProcesses; myProcesses = System.Diagnostics.Process.GetProcessesByName("application"); i can know if my process is already running but now I don't know to show this application... Can someone help me?? Thanks a lot. Cliffer
-
Dispose event delegateHi, i have a problem with event's delegate. I have 2 form A and B, in B i have an event that refresh the form when the form A was updated. But i noticed that if i: 1. open form B 2. close form B 3. update form A the event in form B was catched... even if the form was closed.... if i never open form B the problem not exist, only if i do the 3 step i think it was the garbage collector but i have no idea for resolve it... thanks in advance Cliffer
-
Use c# dll in vb.6Hello, i need to call c# dll on vb.6 program, i try this: using System; c# class: namespace COMInterop { public class TestCom { public TestCom() { } public string Hello() { return "hello"; } } } then i go to vb6 , i add the reference on my COMInterop.tlb and i copy the dll on the working folder of vb6 program. vb6 code : Private Sub Form_Load() Dim temp As New COMInterop.TestCom MsgBox(temp.Hello) End Sub and it work properly. but on this way i have to add the reference on my vb6 project. how can i use my dll without doing this? i try to do: Private Sub Form_Load() Dim temp As Object Set temp = CreateObject(TestCom) End Sub but this give me an error: Run-Time error '429': ActiveX component can't create object Some one can help me? thanks
-
STOP form_loadhi, i have to stop the load of my form when i catch an error, i want to close the form. but if i write: try { ... } catch { Close(); } i get an error. because it's impossible to close form on load. someone has any ideas? how can i stop the load? thanks a lot. Cliffer
-
Combobox eventsHi, i have a combobox (dropdown style not dropdownlist) and a i have to open a form when i click on the text, but not when i click on the arrow or when i select a item. how can i do? some one have any idea? thanks, cliffer
-
C# - VB6 ActiveXHi, i have to interface my c# software, with an old activeX in vb6 language, i never do this thing and i don't have any idea. someone can give me a simple example to do this. i would like to understand how can i pass parameters, if the activeX want variant variables how can i pass these? thanks. Clif
-
Get image boundyes i use a pictureBox. how can i use the region for my purpose I have to recognize the profile of my rect direct from the photo. do you think that is possible? thanks. nik
-
Get image boundHi, i have to get the bound of a photo. i have a photo of a rectangle, but not always a regular rectangle (it can be sometimes jagged), and the background can be every time different. How can i have automatically the bound of my jagged rectangle? Exits any method to do this? Thanks.