Search:

Type: Posts; User: elielCT

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    12
    Views
    1,813

    VS 2008 Re: Custom Designer

    i know this is old, but i found the answer to op original question. as i was searching for it in google and ended up here.. lol

    i created a "dirty" solution for this. i override the initialize...
  2. Replies
    1
    Views
    597

    Re: Search Google and click on a given link?

    sounds like you're trying to "cheat" hits... hit generator...

    wont tell you how, but i will say you're thinking about it in the wrong frame of mind..

    and google has the best of the best working...
  3. Thread: Control Shadow

    by elielCT
    Replies
    5
    Views
    1,895

    VS 2012 Re: Control Shadow

    i think if you lessen the opacity of the way you did it in the first picture you will get what you want...

    but i could be wrong
  4. VS 2013 Re: Showing TextBox Text in a Label which is in another Form [Strange Issue]

    O.o i was looking at this a little backwards.. while this isnt the "best" way, this will work without confusing you..


    Public Class Form1

    Private Sub OpenForm2(sender As System.Object, e...
  5. VS 2013 Re: Showing TextBox Text in a Label which is in another Form [Strange Issue]

    im going to be a betting man and say that is a panel or groupbox...




    im going to assume again..

    form2 gets opened from form1..

    if it is exposed, he shouldnt need to pass it, in order to...
  6. VS 2013 Re: Showing TextBox Text in a Label which is in another Form [Strange Issue]

    ok, im going to guess when you open form2, you are creating a new instance.. and thats why it's ignoring your edits..

    if you are creating a new instance (which you dont have to), set the variable...
  7. VS 2013 Re: Showing TextBox Text in a Label which is in another Form [Strange Issue]

    hmm.. i misread the code, so i deleted my reply
  8. Re: How to prevent making duplicated rows in datagridview table

    sorry i shouldve mentioned it wasnt tested, it was just to give you an idea..

    after trying to modify it, i couldnt get it to work correctly.. seems when you compare rows even if they have the...
  9. Replies
    38
    Views
    2,828

    Re: Zero-length or Nothing

    there are alot of articles written about this all over the place.. i had found a few interesting ones in http://www.dreamincode.net/forums/ and a few in...
  10. Re: How to prevent making duplicated rows in datagridview table

    would this work?



    Private Sub btnOpen_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOpen.Click
    'Open TXT
    Dim openFileDialog1 As New...
  11. Replies
    16
    Views
    10,859

    Re: Another Dictionary Question

    LMAO!!

    first i would say, your dictionary looks dangerous.. unless your absolutely sure the sentence you're going to use is never going to have a duplicate word..

    your using items from a...
  12. Replies
    5
    Views
    2,281

    Re: Can't delete DGV row

    Not sure if this was resolved, but i would assume by the code he is trying to delete the row that is automatically added by a datagridview when AllowUserToAddRows is set to true. This is the editing...
  13. VS 2010 Re: Find/Replace a 'block' of text in a text file?

    For prob #1.. What about using MDI?

    For prob #2... I bet it is open somewhere... Somewhere i'm betting you forgot to close the datastream...
    Prob just a little hard to spot...
    NOTE: Nowhere in...
  14. Replies
    5
    Views
    7,228

    Re: VB like software for C++?

    U dont like Visual Studio?
  15. VS 2008 Re: Help to implement a function in a simple project

    nice catch on the strings shaggy... :Thumbs:

    there you go.. thats how you do it.. very good...

    didnt have to get into explaining the difference in how strings and integers take up and are...
  16. Replies
    13
    Views
    1,851

    Re: Using New Keyword

    when you instantiate something your making a copy.. plain and simple..

    no need to over complicate it...

    not making a copy in the same sense as a copy command.. nobody is talking about that...
    ...
  17. Replies
    13
    Views
    1,851

    Re: Using New Keyword

    yea... i meant to use an example, I shouldve made my self clear about it being part of the solution...

    that way the distinction between using an object already in existence vs instantiating a new...
  18. VS 2008 Re: Help to implement a function in a simple project

    your variable loan and payment have spaces in them..

    Numbers do not have spaces..

    a type double is a classification for a number in which it is allowed to hold decimals to a min and max mark.....
  19. Replies
    13
    Views
    1,851

    Re: Using New Keyword

    disagree, because i actually reference the actual dataset i created via the wizard, to store my data so i dont need to reference the database for the same info over and over.. I put data, and the...
  20. VS 2008 Re: Help to implement a function in a simple project

    interestRate = ApproxRate(Periods, Payment, loan)

    now the variable interestRate holds the value that was return from the ApproxRate function..

    The parameters in the function (stuff in the...
  21. Replies
    13
    Views
    1,851

    Re: Using New Keyword

    Dim Button1 As System.Windows.Forms.Button
    here your trying to use the actual object of button in the System.Windows.Forms. This should be used as the actual definition by which you would use to...
  22. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    Thanx.....:)
  23. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    oh ok... (just to correct u -> it was e that had those properties, but its because that wasnt declared as a generic type_).... I do catch ur drift, and I did notice sender doesn't have those...
  24. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    or are you saying as good practice goes, sender should be directly cast into a type toolstrip before using his methods or properties?

    If --- that is the case, directly declaring toolstrip type in...
  25. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    i've never ran into an issue referencing sender or e... If there is something I should be aware of please share..


    Private Sub CCCToolStipItems_Click(sender As System.Object, e As...
  26. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    LMGDAO!!!

    Nice Catch!!

    dont know how i missed that... smh

    >>>>

    I suspect the TextChanged event handler may very well be causing the other error..
  27. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    I tried to explain this before...

    Change the event handler for your textboxes
    .TextChanged
    to

    .LostFocus

    ..............................................................
  28. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    i thought he meant it wasnt staying in the array... i didnt see a mention of closing the form & having the issue...

    once the form is loaded it doesnt reference the actual file anymore.. just the...
  29. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    oh i meant to tell u.. uR using the ontextchanged method..
    that is being executed whenever the form is loaded, and you type a character into the textbox..

    try the lostfocus method..

    it...
  30. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    interesting.. when i first heard of LINQ i had assumed it was solely as a new way to query a db... So i wasnt interested at the moment & figured i'd get to it at some point..

    So i made it a point...
  31. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    AceInfinity

    your way of finding the selected item does work pretty good... alot less code and no loop...

    :Thumbs up:
  32. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    I was going to suggest something like that.. but using a tag for the textbox corresponding to its place in the array....

    I usually try to name my controls something that describes its purpose...
  33. VS 2010 Re: Find/Replace a 'block' of text in a text file?

    smh.. at least it was just a valve stem... $1 per stem & dont even have to balance if u know wut ur doing...
  34. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    yes, but with the modifications...

    i select a product, click delete, then remove filter to refresh, and only the one that was selected is missing
  35. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    no prob i enjoy... its not like i never been helped...

    its working on my end...

    im attaching the solution
  36. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    to think i gotta be awake in 4 hours.. lol
  37. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    concat wasnt working...

    This should work:


    Private Sub deleteStockItem(ByVal itemIndex As Integer)
    Dim frontOfArray(1000) As Array
    Dim endOfArray(1000) As Array

    ...
  38. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    the non-corresponding index value was where op was stuck...

    hopefully this clears up the issue's a little.. next op wanted a way to reference the corresponding index again to delete item from...
  39. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    i dont know how to quote here yet..

    but they only correspond when initially set.. the list box gets updated and no longer corresponds.. which is why i made a function to find the corresponding...
  40. Re: VB 2010: Array displayed in listbox to textboxes for editing then back to array&.

    he doesnt want to use a db.. Or a dictionary, or arraylist...

    That code is not looping to find a selected item..

    its lookin for the selected item in a array...

    Selectedindex property is...
Results 1 to 40 of 91
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width