Search:

Type: Posts; User: AceInfinity

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: How to get a progress bar like in this picture in vb.net? Please help

    True, pretty soon we'll have Int128 as a standard :lol:
  2. Re: How to get a progress bar like in this picture in vb.net? Please help

    The sharp line is the way it is in the original attachment though. :thumb:



    I suppose, I didn't think of that, but there is that LongLength property that you might be dealing with, yes. In that...
  3. Re: How to get a progress bar like in this picture in vb.net? Please help

    Either way, I never said it was bad at all. Well done. :)
  4. Re: How to get a progress bar like in this picture in vb.net? Please help

    Not bad. :) Your gradients are upside-down to that of the ones in the attachment image though lol. Other than that, you're only missing the blue for behind the yellow chunks, and it's border. :)
    ...
  5. Replies
    31
    Views
    203

    VS 2008 Re: Wm_copydata

    The program itself would probably deal with the data, so that's where you would need to target, not this dll.
  6. Replies
    13
    Views
    165

    VS 2012 Re: Lining up text in a listbox

    If the font being used was monospaced, you could just count the number of characters in the string as a width reference too for simplicity. :)
  7. Re: How to get a progress bar like in this picture in vb.net? Please help

    Yours works, but it lacks the fine detail to the overlay for the shine, and when it reaches 100, you don't have that extra bit of padding for the last block like at the start. It's good needless to...
  8. Re: How to get a progress bar like in this picture in vb.net? Please help

    That's what I was going to suggest was the DoubleBuffered property. I could probably make a control very similar to the one posted in that image, it wouldn't be very difficult.
  9. Replies
    12
    Views
    168

    Re: How To Make A Child Window Immovable

    We are talking about MDI child forms here then correct? edit: Ahh, I left this Window open for a while, others posted before me.
  10. Replies
    24
    Views
    276

    Re: Color Selection Design Question

    Here: http://www.vbforums.com/showthread.php?721651-Color-Selection-Design-Question&p=4414889&viewfull=1#post4414889

    Looks a lot like what I did for my Pascal's Triangle project: *Take note of the...
  11. Replies
    31
    Views
    203

    VS 2008 Re: Wm_copydata

    WM_COPYDATA is not what you are looking for here (if you want to deal with the DLL because as said this is a file (Windows Messages--evidently are usually for window's)). How can you pass values to a...
  12. VS 2010 Re: Replacing a String in Multiple Text Files

    This looks more like VBScript to me, not exactly VB.net.
  13. Replies
    13
    Views
    165

    VS 2012 Re: Lining up text in a listbox

    I would agree with both the above members, a ListBox is not designed for columns, so although you might see it as avoiding the issue you are having, what you are trying to do with the ListBox is not...
  14. Replies
    8
    Views
    89

    VS 2012 Re: Removing a Specific Item from Array

    Manage the data in a List(of T) as mentioned, and when you are ready to send it in, cast it to an array with the ToArray() method. Removing an element from an array and resizing it accordingly, or...
  15. VS 2012 Re: Automate Command Prompt Window (CMD) and doing many commands at a time

    Ahh, I wasn't thinking.. And the reason is because the code there is just using the Process class alone. Why not p/Invoke AllocConsole and use that for the entire session? There's shouldn't be a...
  16. Replies
    28
    Views
    298

    Re: Falling Game

    Yeah, I would avoid the use of Pictureboxes as well. And especially creating a new instance of one for every falling object. If you're going to be using Pictureboxes you should be trying to reuse...
  17. VS 2012 Re: Automate Command Prompt Window (CMD) and doing many commands at a time

    What do you mean by "resetting"?
  18. VS 2010 Re: How to get values from listview and display it to textbox using sql database ?

    If you're using a TextBox, there's only one way you can display all the data without setting the MultiLine property to true for that control--use delimeters for each piece of data. So you would...
  19. Thread: Storage

    by AceInfinity
    Replies
    6
    Views
    165

    VS 2010 Re: Storage

    Accessing a hard drive (or the filesystem) in .NET is usually done through the System.IO namespace. In VB.net there's multiple ways to read and write to the filesystem though, and even the registry...
  20. Replies
    3
    Views
    135

    VS 2012 Re: Help with frustration.

    I would suggest a couple things here:

    1) Firstly, please use code tags. That's probably the reason why nobody else has responded to your thread. The code is not properly indented, and it's not in...
  21. Thread: Storage

    by AceInfinity
    Replies
    6
    Views
    165

    VS 2010 Re: Storage

    These are some pretty basic terms too, if you did even a one word search through most search engines you would find lots of information. I don't really see the point in asking others to explain them...
  22. Re: Possible? Import a form through an interface

    If Shaggy is right then:


    You only need a reference to 3) to use the classes which already have a reference to the interfaces they are implementing.
  23. Re: Possible? Import a form through an interface

    I'm a little confused now, if the question has changed or is still the same. By my understanding you are having issues with this in sum:


    By the feedback you have been given, it's not possible to...
  24. VS 2010 Re: How to get values from listview and display it to textbox using sql database ?

    Look at your code:

    While rdr.Read
    AddTXT.Text = rdr("Stock")
    End While

    You are resetting the Text value to the next item until the While loop is finished. Thus, logically, only the last...
  25. Re: Possible? Import a form through an interface

    Interfaces are not new to MEF. They are simply an abstraction, and for that reason, they don't have anything other than a template for what something is meant to be as Joacim is saying. You would...
  26. Replies
    4
    Views
    128

    Re: Multiple Textboxes to one textfile

    If the data is large enough it might even be better to avoid the LINQ. I enjoy LINQ, but there are places where a regular loop is sometimes better.
  27. Replies
    3
    Views
    94

    Re: Adding Text box together

    So you have a collection of some kind of data, and based on the number as the query in the first textbox you want to generate data in the second textbox? That's my understanding so far...

    I don't...
  28. Replies
    4
    Views
    121

    Re: Extracting data from website

    That really depends.

    If it's a site that generates a hash or something for instance, and you want to retrieve the hash through a website rather than doing it directly from the program, then it's...
  29. Replies
    5
    Views
    111

    VS 2012 Re: Non-Breaking Space in Label Control

    I don't know too much about it, I found the char code via the HttpUtility class from the System.Web namespace though. It seems to stick too when using it in the Text property of a label. There's no...
  30. Replies
    5
    Views
    111

    VS 2012 Re: Non-Breaking Space in Label Control

    Actually you can, just cast 160 to a char value.   translates to a char value of 160 I believe. Why do you want that though?

    edit:


    It might be but   doesn't stay that as plain text...
  31. Re: c# programatically selecting dropdown value

    InvalidArgument=Value of '2' is not valid for 'SelectedIndex'.

    You don't have enough items to have an index of 2, as it's out of range, as the user above mentioned. So you probably don't have all...
  32. VS 2008 Re: Parse the Integers out of this string quickly and efficiently

    For small Regex operations, the overhead of instantiating the Regex, because it is a Class, and not a method like Split() for instance, that alone makes Regex slower. There's a compiled Regex option...
  33. Replies
    42
    Views
    1,300

    Re: Sum Frequency Trouble

    As for the Dictionary<TKey, TValue>, I've provided some examples that you can try out within a method. Button click, your own method called from a button click, or within a console application, it...
  34. Replies
    42
    Views
    1,300

    Re: Sum Frequency Trouble

    Not really... I just provide my help on forums because I enjoy doing it. People like to know their help is appreciated though, that's the main thing.

    It seems this could be my last post here...
  35. Replies
    42
    Views
    1,300

    Re: Sum Frequency Trouble

    The value for the sums should be in the Value in the KeyValuePair for the Dictionary. Note: You're not using String.Format correctly, there is no format for the parameters you've specified.
    ...
  36. Replies
    42
    Views
    1,300

    Re: Sum Frequency Trouble

    If that code you have is in this loop:

    for (int i = 0; i<11; i++)
    Console.WriteLine("{0} : {1}", i + offset, frequencies[i]);
    Freqbox listbox_to_add_to = new ListBox();
    ...
  37. Replies
    42
    Views
    1,300

    Re: Sum Frequency Trouble

    Yes... See how it's already a ListBox, and that ListBox is the type of that variable?

    Freqbox.Add(). You don't need to do ANYTHING like this:

    Freqbox listbox_to_add_to = new ListBox();

    Any...
  38. Replies
    42
    Views
    1,300

    Re: Sum Frequency Trouble

    When you add a control to a form, in the hidden designer code (which you can see in your solution explorer if you choose the option to show all files), a variable is already assigned kind of like a...
  39. Replies
    42
    Views
    1,300

    Re: Sum Frequency Trouble

    If this is making you struggle, then you should be going back to the fundamentals of C# first with variables and types. Declaring a ListBox dynamically won't do anything unless you add it to the form...
  40. Replies
    42
    Views
    1,300

    Re: Sum Frequency Trouble

    Re-read my post:

    Freqbox listbox_to_add_to = new ListBox();

    ListBox is a type, Freqbox is not, so I'm not sure what you're doing there. Freqbox was declared as an instance of a ListBox, but it...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4