Search:

Type: Posts; User: Volvere

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Thread: New Idea...

    by Volvere
    Replies
    5
    Views
    907

    Re: New Idea...

    Is Outlook's calender too complex or not good enough?
  2. Replies
    0
    Views
    463

    How to catch mouse click message?

    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...
  3. have just found the answer use...

    have just found the answer
    use ToolboxItemFilterAttribute
  4. Custom control to not selectable in toolbox [Resolved]

    anyone know how to make custom control wchih could inherited from Control, ContainerControl, etc... , to not visible when adding/removing items from toolbox....
  5. Replies
    3
    Views
    783

    I thought of that way, but imagine if a control...

    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...
  6. Replies
    3
    Views
    783

    Control.Move event on Form.Move?

    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...
  7. get the code line number upon run time error???

    hi,

    just out of curiosity, is it possible to get the code line number when a run time error occurs? :D
  8. Thx for your help pax. That solves my problem. :)

    Thx for your help pax. That solves my problem. :)
  9. Thx alot... it works great. By the way, what...

    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...
  10. How to save portion of an image as new image [Resolved]

    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...
  11. Thats gonna cause lost focus event of the current...

    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.
  12. [Resolved]

    Problems solved...

    http://www.vbaccelerator.com/home/NET/Code/Controls/Popup_Windows/Floating_Controls/article.asp
  13. Thread: Custom Control

    by Volvere
    Replies
    3
    Views
    682

    You can create a 'class library' project then...

    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...
  14. well, actually i am writing a customizable...

    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...
  15. shows new form without causing other form to lose focus [Resolved]

    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
  16. Thread: Dock Form?

    by Volvere
    Replies
    1
    Views
    703

    This example will dock Form1 to the right edge of...

    This example will dock Form1 to the right edge of the Form2 when you move Form1 somewhere near to Form2's right edge.
  17. Thread: Sockets

    by Volvere
    Replies
    11
    Views
    1,489

    Here you'll find somewhere to start ...

    Here you'll find somewhere to start

    http://www.vbforums.com/showthread.php?s=&threadid=262524
  18. Replies
    37
    Views
    3,540

    Sorry Lithia, I never used Listener class for...

    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)...
  19. Replies
    1
    Views
    624

    There is a class called BitConverter. If I am not...

    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...
  20. Replies
    37
    Views
    3,540

    what I usually did in your situation is just to...

    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,...
  21. Replies
    9
    Views
    848

    If what you want is only to free up more...

    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...
  22. Thread: Shell function

    by Volvere
    Replies
    2
    Views
    745

    Use Process.Start(pFilename) instead... make...

    Use Process.Start(pFilename) instead...

    make sure that the file exists and the path is correct
  23. Thread: AscB in VB.Net

    by Volvere
    Replies
    1
    Views
    4,238

    System.Text.ASCIIEncoding.ASCII.GetBytes(pStr)(0)...

    System.Text.ASCIIEncoding.ASCII.GetBytes(pStr)(0)

    you need to make sure that the String is not empty, or contain at least one character.
  24. Replies
    37
    Views
    3,540

    Try this.... Use a timer to show your form....

    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...
  25. Thread: treeview

    by Volvere
    Replies
    2
    Views
    670

    The following example could give you a point to...

    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,...
  26. Replies
    6
    Views
    1,141

    I have been using this class since I created it,...

    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,...
  27. Replies
    37
    Views
    3,540

    ups... just ignore/delete that line. Those...

    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...
  28. Replies
    37
    Views
    3,540

    You just need to add System.Management.dll...

    You just need to add System.Management.dll reference. Right click on the Reference in the Solutions Explorer and click on Add Reference...
  29. Replies
    37
    Views
    3,540

    ok, what I understand so far is that, u need to...

    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...
  30. i just tried it out and it works. why dont u give...

    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....
  31. Use those codes to handles Enter and Leave events...

    Use those codes to handles Enter and Leave events instead of GetFocus and LostFocus.
  32. Use Application.AddMessageFilter function. You...

    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.



    '...
  33. Replies
    37
    Views
    3,540

    have u tried out the codes I posted?...

    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....
  34. Anyone has example of using new bitmap(w, h, stride, pixelformat, intptr)

    how to get intptr that points to the first element in bytes() -> bytes(0)
  35. Replies
    37
    Views
    3,540

    Try this: Dim sysevt As SystemEvents...

    Try this:



    Dim sysevt As SystemEvents

    Private Sub SessionEndingHandler(ByVal sender As Object, ByVal reason As SessionEndingEventArgs)
    Dim r As DialogResult
    r =...
  36. Replies
    5
    Views
    872

    Reinstall Visual Studio .NET......

    Reinstall Visual Studio .NET......
  37. Hi, I have found the solution. Use...

    Hi,

    I have found the solution. Use DefaultValueAttribute before the property declaration.

    <System.ComponentModel.DefaultValue(GetType(Image), "Nothing")> _
    Public property MyImage as Image...
  38. Its just a Hello World user control. I created a...

    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 "...
  39. I am so sorry about the thumbdown icon on the...

    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:
  40. The problem is during design time. The user can...

    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...
Results 1 to 40 of 58
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width