Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: DSJ

Page 1 of 80 1 2 3 4

Search: Search took 0.09 seconds.

  1. Replies
    2
    Views
    683

    Re: [2003] Reorder Listview rows

    Here's the code for "Up" ("cm" is a contextmenu associated with the listview):


    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    For...
  2. Thread: Form's Events

    by DSJ
    Replies
    3
    Views
    725

    Re: Form's Events

    The problem is that by showing the messagebox over the form your causing the event(s) to be fired again when you close the messagebox.
  3. Replies
    1
    Views
    620

    Re: problem :converting a number to time format

    Dim T As New TimeSpan(8, 0, 0)
    MsgBox(T.ToString)
  4. Replies
    10
    Views
    1,971

    Re: convert report from VB6 to VB.NET

    You can lead a horse to water, but...
  5. Replies
    7
    Views
    863

    Re: FileIOPermission error

    You need to configure "Microsoft .Net Configuration" to "trust" the network. It's not that you can't read the file, it's the .NET won't run the executable from an untrusted source. You can also...
  6. Re: How to accept an input file without knowing it's name?

    Dim Files() As String = System.IO.Directory.GetFiles("C:\somedirectory", "*.jpg")

    For Each file As String In Files
    'do something
    Next
  7. Replies
    7
    Views
    878

    Re: Forms Timer and Thread problem

    >there is no need to check the thread name

    Correct. My suggestion about naming the threads was simply for debugging purposes so you can see what's going on. InvokeRequired is how you should...
  8. Replies
    7
    Views
    878

    Re: Forms Timer and Thread problem

    >The Processing_Complete Event is thrown from a different thread, but it is caught by the forms thread isn't it?

    Nope, the event handler runs on the same thread as it was thrown. You can prove...
  9. Replies
    4
    Views
    821

    Re: DLL Enums

    The next few lines of the error message might be helpful.
  10. Replies
    6
    Views
    729

    Re: Delete shortcut from XP startup folder

    That tells me the file either isn't there, or your program is running without sufficient permissions to see it.
  11. Replies
    6
    Views
    729

    Re: Delete shortcut from XP startup folder

    >but it did not work.

    So... what DID it do? Error?


    When you stepped thru it in the degubber,

    If FI.Exists Then
    FI.Delete() '<----- Did this line execute?
    End If
  12. Replies
    6
    Views
    729

    Re: Delete shortcut from XP startup folder

    Try something like:

    Dim FI as New FileInfo("c:\yourpathhere\yourfilename.whatever")

    If FI.Exsists then
    FI.Delete
    End
  13. Thread: Button Behaviour

    by DSJ
    Replies
    6
    Views
    652

    Re: Button Behaviour

    Further... you can add handlers via code with the AddHandler statement.
  14. Thread: Button Behaviour

    by DSJ
    Replies
    6
    Views
    652

    Re: Button Behaviour

    You need to add "Handles butCancel_Click" at the end of the declaration.
  15. Replies
    2
    Views
    581

    Re: problem with textboxes

    My guess is that this for loop is never executed:

    For intIndex = 100000 To intListCount


    Put a break point on it and step thru with the debugger.
  16. Re: Can someone tell me how to increase the textbox height?

    Further, if you change it to MultiLine you can size it to any multiple of that size.
  17. Thread: Windows Menu

    by DSJ
    Replies
    2
    Views
    557

    Re: Windows Menu

    If you're referring to the toolbar bitmaps, look here: C:\Program Files\Microsoft Visual Studio\COMMON\Graphics\Bitmaps\OffCtlBr
  18. Replies
    3
    Views
    2,066

    Re: Can we have 'hotspot' in windows forms...???

    Use the PictureBoxes MouseMove event, do whatever you want when the mouse is in your specified coordinates.
  19. Re: Using this code in VB.net gets me this exception error

    I'd suggest you look into the Process and ProcessStartInfo classes build into .Net.
  20. Replies
    1
    Views
    1,688

    Re: Retrying a webrequest in a Try Catch

    Dim Retry as boolean = True

    Do While Retry
    Try
    'Whatever
    Retry = False
    Catch Ex as Exception
    If MessageBox.Show("Retry?", "Error", MessageBoxButtons.YesNo,...
  21. Replies
    1
    Views
    687

    Re: Inserting Binary Values Into Registry

    Have a peek at Registry and RegistryKey .NET classes.
  22. Replies
    12
    Views
    1,593

    Re: [RESOLVED] [2005] Changing opacity of controls

    What puzzles me is I thought the AllPaintingInWMPaint would not call the OnPaintBackGround, but obvisouly it does.
  23. Replies
    12
    Views
    1,593

    Re: [RESOLVED] [2005] Changing opacity of controls

    Oh, that's just my "toolbox", Got a bunch of the Win API Delcares, etc. in there.
  24. Replies
    12
    Views
    1,593

    Re: [2005] Changing opacity of controls

    Try this:


    Public Class MyTestLabel
    Inherits System.Windows.Forms.Panel

    #Region " Windows Form Designer generated code "

    Public Sub New()
    MyBase.New()
  25. Replies
    12
    Views
    1,593

    Re: [2005] Changing opacity of controls

    >But, I'm guessing I can't as it seems you cannot make controls of a form have the Layered setting (applying WS_EX_LAYERED to the control).


    A Form itself is nothing more than a container...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center