Search:
Type: Posts; User: Volvere
Search:
Search took 0.03 seconds.
-
Is Outlook's calender too complex or not good enough?
-
Hi...
Is it possible to catch every single mouse click message like WM_LBUTTONDOWN regardless which application is active? I tried using IMessageFilter but it is limited to the current...
-
have just found the answer
use ToolboxItemFilterAttribute
-
anyone know how to make custom control wchih could inherited from Control, ContainerControl, etc... , to not visible when adding/removing items from toolbox....
-
I thought of that way, but imagine if a control is contained within a container which is contained within another container, and it could be many levels and finally reach the parent form. so, adding...
-
Hi,
is there a way to detect if the control moves in screen? i need to know if a control moves when its location changed (which is easy) and when it moves because we move the parent form (which I...
-
hi,
just out of curiosity, is it possible to get the code line number when a run time error occurs? :D
-
Thx for your help pax. That solves my problem. :)
-
Thx alot... it works great.
By the way, what if the original 'image'(could be lines, rectangles, etc...) was drawn using e.Graphics from Paint event. is there a way to obtain the area of image...
-
Does anyone knows how to save selected area of an image as new image?
Lets say, there is an image of 500x500, and I want to have 10,10,200,200 (x,y,width,height) of that image and stores it as...
-
Thats gonna cause lost focus event of the current form just right before the new form is shown. Anyway, the article I posted has solved the issue. Thanks a lot for your helps, I do appreciate those.
-
Problems solved...
http://www.vbaccelerator.com/home/NET/Code/Controls/Popup_Windows/Floating_Controls/article.asp
-
You can create a 'class library' project then create a public 'component' or 'user control' that wraps all the 'private/public' individual components. Once you compile the project, a .dll file will...
-
well,
actually i am writing a customizable tooltip control and it has to be a control or be 'contained' within a control which can exists outside of any form. i tried using nativewindow and create...
-
hi,
just wondering if its possible to display a new form (by any means, using nativewindow or create manually, ...) without causing 'lose focus' event of any other forms
thx
-
This example will dock Form1 to the right edge of the Form2 when you move Form1 somewhere near to Form2's right edge.
-
Here you'll find somewhere to start
http://www.vbforums.com/showthread.php?s=&threadid=262524
-
Sorry Lithia, I never used Listener class for debugging. I believe it can be used even with the released version of .exe to produce a log file. If I am not mistaken, each of the Debug.WriteLine(mMsg)...
-
There is a class called BitConverter. If I am not mistaken what you want is to get the decimal of 2 bytes ( which is Short data type). You can use this.....
BitConverter.ToInt16(bytes, 0)
where...
-
what I usually did in your situation is just to put Messagebox.Show ("Iamhere" ) function at certain line. When the message appears then I know that everything is fine before that line. To be quick,...
-
If what you want is only to free up more resources, you can call GC.Collect() function to request the garbage collection to free up all unused resources. This way you can re-gain resources without...
-
Use Process.Start(pFilename) instead...
make sure that the file exists and the path is correct
-
System.Text.ASCIIEncoding.ASCII.GetBytes(pStr)(0)
you need to make sure that the String is not empty, or contain at least one character.
-
Try this....
Use a timer to show your form. When the sessionending is invoked, start the timer. On the first tick, stop the timer then display your form.
See the solution attached, then you'll...
-
The following example could give you a point to start.
if you dont know how many sub-nodes there are, use Do loop instead of For loop.
Dim i, j, k As Integer
Dim node1,...
-
I have been using this class since I created it, but I never experienced the problem of receiving the data twice. It could be somewhere in your pragram that calls SendData function twice. However,...
-
ups... just ignore/delete that line.
Those stuff are parts of my client-server program that prevent the user on client side to shutdown the PC. That variable is just a flag to notify the...
-
You just need to add System.Management.dll reference. Right click on the Reference in the Solutions Explorer and click on Add Reference...
-
ok, what I understand so far is that, u need to catch the shutdown(logoff, shutdown or restart) event. Then u want to allow the user to accept it or refuse, and the user is given unlimited time to...
-
i just tried it out and it works. why dont u give it a try?
if still cant get it right, i can post it to u tomorrow....
-
Use those codes to handles Enter and Leave events instead of GetFocus and LostFocus.
-
Use Application.AddMessageFilter function. You can have more than one MessageFilter to filter out different messages(mouse, keyboard, etc...). The following example is taken from MSDN.
'...
-
have u tried out the codes I posted?
SystemEvents class is under Microsoft.Win32 namespace, u need to import that namespace to compile it.
I have tested it again this morning and it works....
-
how to get intptr that points to the first element in bytes() -> bytes(0)
-
Try this:
Dim sysevt As SystemEvents
Private Sub SessionEndingHandler(ByVal sender As Object, ByVal reason As SessionEndingEventArgs)
Dim r As DialogResult
r =...
-
Reinstall Visual Studio .NET......
-
Hi,
I have found the solution. Use DefaultValueAttribute before the property declaration.
<System.ComponentModel.DefaultValue(GetType(Image), "Nothing")> _
Public property MyImage as Image...
-
Its just a Hello World user control. I created a new project of UserControl type. Then I put these codes:
Public Class UserControl1
Inherits System.Windows.Forms.UserControl
#Region "...
-
I am so sorry about the thumbdown icon on the previous message, i dont know how it gets there. I really appreciate any reply and ur effort to help me. :confused:
-
The problem is during design time. The user can set image to this Image property as how we set image to form's BackgroundImage property.
Click on a button (...) then select the image file. And we...
|
Click Here to Expand Forum to Full Width
|