dcsimg

Search:

Type: Posts; User: stepdragon

Page 1 of 8 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    35
    Views
    24,834

    Re: Star Rating Control

    I subscribe to all my threads :D

    Even 5 years later
  2. Replies
    35
    Views
    24,834

    Re: Star Rating Control

    It's been a while since I looked at this code. But if I remember correctly, it will reset to zero of you click the currently selected star a second time.

    You are welcome to add a context menu to...
  3. VS 2010 Re: How to Detect Moved Files using FileSystemWatcher

    I'd be careful with this solution. How would you plan to 'match up' the delete event with the corresponding created event? There would have to be some kind of buffer to keep track of the filenames....
  4. Replies
    35
    Views
    24,834

    Re: Star Rating Control

    The control was coded for .Net, and while there is nothing .Net specific in the code (as far as I recall) it would need to be reworked for earlier versions of VB, which I do not intend to do anytime...
  5. Replies
    35
    Views
    24,834

    Re: Star Rating Control

    If you're having trouble with a program. Please post in the appropriate forum. If you have a question, odds are someone else does too. By posting in the forum on a well titled thread, you will help...
  6. VS 2013 Re: How to get information from another thread?

    This right here was what I needed to see. I didn't know (and couldn't find an example that showed) that you could get a return from invoke. Although this example used .tostring I was able to get my...
  7. VS 2013 [RESOLVED] How to get information from another thread?

    I'm working on a program where I have a listview in details view, where the user adds entries to be processed. Any time an entry is added it will become a new item at the largest index. I'd like to...
  8. VS 2008 Re: How do I use a CheckedListBox in a Select Case statement?

    When you use Select Case, It will take one input and compare it to each of your results just like an If statement. You should look at what you're comparing. I haven't tested this yet, and I don't...
  9. Replies
    19
    Views
    1,820

    Re: Does this justify using Goto

    I would like to add one more thought for your consideration to the discussion. It regards what you consider 'simple'.

    In the logic puzzle prompted, as I stated before, it is practically the...
  10. Replies
    19
    Views
    1,820

    Re: Does this justify using Goto

    How is this for simple?

    I never seem to make any code as efficient as possible the first time around. I took another look comparing WHY your code looked easier to read than mine, and I was able to...
  11. Replies
    19
    Views
    1,820

    Re: Does this justify using Goto

    Would this do it?


    Module Module1

    Sub Main()

    Dim A As Boolean = False
    Dim B As Boolean = False
    Dim C As Boolean = False
  12. VS 2010 Re: How to check if the current day is the first weekday of month?

    Can you break down this line of code into its different parts, and explain how each part contributes to the whole? I've always found complex lines of code fascinating, but I just can't seem to follow...
  13. Re: Questions on when program launches, update available & downloading

    A simple version of this shouldn't be too hard to implement. I would try creating a Class for your project containing a Sub Main(). In this sub, you should run any pre-launch code that you need to...
  14. Replies
    4
    Views
    1,349

    Re: DropDown TreeView

    Thank you!

    That worked perfectly. In my attempts to fix the problem, as it turns out, I was editing the wrong class! :eek:

    A lot of the code was duplicated in the project, so it threw me off....
  15. Replies
    4
    Views
    1,349

    [RESOLVED] DropDown TreeView

    I've been working on a file browser of sorts, and I've been looking for a compact way to show the filesystem. I've found a few Dropdown treeview controls available on various websites, but I can't...
  16. Replies
    35
    Views
    24,834

    Re: Star Rating Control

    I like the idea of including an enabled property, however in terms of keeping consistent with other controls, I would think that an enabled property would gray out the entire control. regardless of...
  17. Replies
    0
    Views
    738

    VS 2013 Windows 8.1 Aero Question

    So I was doing some research into API calls, and discovered the Microsoft Windows API Index. Just browsing around looking for something (not dangerous) to play around with and learn from, I came...
  18. Replies
    33
    Views
    2,208

    Re: VS 2010 Select Case Issue

    Well, he's already hurting himself by alienating the help forums, I tried. But I'm gonna stop here because I'm already off topic.
  19. Replies
    33
    Views
    2,208

    Re: VS 2010 Select Case Issue

    Jasonpaul2001, I know where you're coming from, we've all hit a road block from time to time, but please don't abandon your project, or turn your back on such a great community. You may not feel like...
  20. Replies
    4
    Views
    769

    Re: Graphical Context Menu Help

    Aha!

    That's what I was looking for. Thanks. I've gotten the example code working using your addition for the designer interface. I'll keep playing with the code to get a firm grasp before I work...
  21. Replies
    4
    Views
    769

    Re: Graphical Context Menu Help

    Thanks for the direction, I'll start reading into the class and see what I can find out. It does sound like what I was thinking, but I'm not sure I understand how exactly to implement it. Do you know...
  22. Replies
    4
    Views
    769

    [RESOLVED] Graphical Context Menu Help

    I'm looking for a way to let a user select an alternative image via a context menu. There will not be many choices. I haven't found a good image based context menu that doesn't just use small 16x16...
  23. Replies
    9
    Views
    704

    VS 2010 Re: Variables on Multiple Forms

    Don't forget to mark the thread resolved using the buttons at the top of the page!

    [edit] Saw you just did. Good timing.
  24. Replies
    9
    Views
    704

    VS 2010 Re: Variables on Multiple Forms

    My fault. Don't declare as Public, Declare as Shared. I was writing this on the fly and made a mistake. Try this:


    Public Class Globals
    Public Shared URL as String = "Default Value"
    End...
  25. Replies
    9
    Views
    704

    VS 2010 Re: Variables on Multiple Forms

    Alright, so.

    At some point in your code you will have the URL change. What you need to do is set the Global.URL string to your URL at the same time as when you change the URL in your program. If...
  26. Replies
    9
    Views
    704

    VS 2010 Re: Variables on Multiple Forms

    Any time that you change the URL on Form1, set the Globals.URL variable to your new URL.

    Then any time you access Globals.URL you will have the correct URL.

    the "Default Value" can be...
  27. Replies
    9
    Views
    704

    VS 2010 Re: Variables on Multiple Forms

    There are no dumb questions for those who want to succeed. Everyone has a different level of experience and there is no shame in asking for help. (I do it all the time :))

    There are two ways to...
  28. VS 2013 Re: Dispose large number of controls quickly? or better manage resources?

    Now I understand. I was having a hard time understanding that you were passing the control back to the first thread using the report progress line. Then the directcast line is actually disposing the...
  29. VS 2013 Re: Dispose large number of controls quickly? or better manage resources?

    jmcilhinney, Thank you for taking the time to write out that example. I just got home and I'll be doing some testing with it soon. Do I not have to directly .dispose each item? Does the...
  30. VS 2013 [RESOLVED] Dispose large number of controls quickly? or better manage resources?

    I'm working on a sort of file browser, where I use a flow layout control to show images. Each time I switch to a new screen I need to clear the control, and load new images (pictureboxes). I had been...
  31. VS 2013 Re: Is there a more efficient way of comparing string arrays?

    Thanks SH

    I had completely forgotten the concept of sorting. This puts in the acceptable performance range... I just hate going through endless loops (literally!). Very useful reminder. Thank you.
  32. VS 2013 [RESOLVED] Is there a more efficient way of comparing string arrays?

    I'm writing a program that is comparing small files with unique names. I'm using IO.Directory.Getfiles() to pull all the filenames into a String(). I'm doing this from two separate paths and I would...
  33. Replies
    35
    Views
    24,834

    Re: Star Rating Control

    Use brackets instead of Tags:


    dim content as string
    makes:

    dim content as string

    <code> dim content as string </code>
    makes:
  34. Re: What does (ByVal sender As System.Object, ByVal e As System.EventArgs) mean?

    That's alright. Looking back, that was one of my worst explanations yet. Let me give it another crack. I'm going to put a few more details in this one, so please ask specific questions if you're...
  35. Re: What does (ByVal sender As System.Object, ByVal e As System.EventArgs) mean?

    ADQUIST, I glanced at a few of your past posts and so I know you know how to use e in this situation:


    Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As...
  36. VS 2010 [RESOLVED] Partly VB.net downloading, Partly general web structure, hard to summarize.

    So I have this project in my head that I want to take a crack at... but I'm not sure how to begin. I know how awesome the VBForums community is, so I'm hoping you'll forgive me if this isn't the best...
  37. Replies
    35
    Views
    24,834

    Re: Star Rating Control

    I foresee two problems with attempting to use my code with VBA. The first of which is that as per VBForums Guidelines we cannot distribute complied code, and therefore you will need to use an...
  38. Re: [RESOLVED] Small Details on Custom Controls.

    Will do so next time .Paul. I didn't want to keep reposting on the same subject, but that does make more sense.

    For those searching, I did figure out how to reset the properties. add:


    ...
  39. Re: [RESOLVED] Small Details on Custom Controls.

    I just ran into another question dealing with custom controls.

    In the properties pane, when I right click on a standard property it has an option to reset the value to default. Is there a way to...
  40. Re: Small Details on Custom Controls.

    Just what I was looking for. Thank you!
Results 1 to 40 of 296
Page 1 of 8 1 2 3 4



Featured


Click Here to Expand Forum to Full Width