Search:

Type: Posts; User: Waxy

Page 1 of 7 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    6
    Views
    1,288

    VS 2012 Re: Random number array without repeats

    Pretty much that's what it is.
    X and 4 buttons on a form.
    If brain cells (0-4) will move the X.
    each button will send a shock or neurotransmitters to select cell groups.

    add in the known...
  2. Replies
    6
    Views
    1,288

    VS 2012 Re: Random number array without repeats

    I'm mocking up a 100 brain cells. They need to work independently of each other, but trigger each other (via ID number)
    This is why they cannot refer to their own number.

    essentially I'm building...
  3. Replies
    6
    Views
    1,288

    VS 2012 Re: Random number array without repeats

    I'm thinking something like....





    Private RandomNumber As Random
    Private CellLink(99) As Integer
    Private RandomList As List(Of Integer)
  4. Replies
    6
    Views
    1,288

    VS 2012 Random number array without repeats

    I'm creating a program with 101 threads.

    Each thread has an Unique ID
    (for example:

    For I = 0 To StartCells
    ThreadList.Add(New Thread With {.ThreadIDNumber = I})
    Next
  5. Thread: if statement

    by Waxy
    Replies
    5
    Views
    1,300

    Re: if statement

    Ladoo, think of it like this (it's how i got used to it from VB)


    if VB you MAY put () around your IF. (wasted code but no real harm against it)

    #1 IF example, in VB:


    IF A > B THEN
    ...
  6. Replies
    1
    Views
    2,087

    resolving a blacklisted PHP Mail() IP

    This post deals with Virtual Private Server e-mail settings, PHPbb forum, cpanel, and PHP Mail().
    it may be outside the scope of vbforums.com and not sure where to ask it.
    but i figure the...
  7. Replies
    7
    Views
    2,007

    Re: MySQL 2nd reading speed change

    any caching would not be HTML.
    the script is used by a vb.net 2010 app. all images are loaded into the ram on the app's startup.

    the database's table:
    more info regarding the particular database...
  8. Replies
    1
    Views
    1,701

    VS 2010 Looking for comparable namespaces of Awesomium

    looking for the equivalent of the webbrowser namespaces/functions/properties/events in awesomium :


    .Document

    .DocumentText (for use with webbrowser.documenttext.contains("string") )
    ...
  9. Replies
    6
    Views
    3,346

    VS 2010 Re: Alternative to default webbrowser control?

    that works. i'll give it a go.
  10. Replies
    6
    Views
    3,346

    VS 2010 Re: Alternative to default webbrowser control?

    "Independent Developer" is a subjective description.
    You can argue that EA Games is an independent developer if they only use EA employees.
    i'm sure, however, this isn't the intent of the Awesomium...
  11. Replies
    6
    Views
    3,346

    VS 2010 Re: Alternative to default webbrowser control?

    "For all other purposes, a commercial license will need to be purchased. Licensees receive full access to our SDK, additional tools and documentation, as well as developer support."
    that is not an...
  12. Replies
    2
    Views
    1,364

    VS 2010 Re: WebBrowser control not navigating

    i did take that out to try and find the problem.
    but it never navigates so that wasn't the issue.

    (i took out the entire event handling sub)
  13. Replies
    6
    Views
    3,346

    VS 2010 Alternative to default webbrowser control?

    the default webbrowser controls with vb.net 2010 no longer seem able to function with my project.
    (don't ask me why, they just won't. they stop navigating. LINK)

    a webbrowser control is still the...
  14. Replies
    17
    Views
    1,981

    Re: Fibonacci Help, Im stuck

    ....
  15. Replies
    17
    Views
    1,981

    Re: Fibonacci Help, Im stuck

    found your crash

    Do
    fib2 = fib3
    fib3 = fib1 + fib2
    display &= ", " & fib3
    Loop Until ratio = GOLDEN_RATIO

    it will loop forever if your Fibonacci...
  16. Replies
    17
    Views
    1,981

    Re: Fibonacci Help, Im stuck

    .

    check this link

    fib1 = 0
    fib2 = 1
    fib3 = fib1 + fib2

    ....
  17. Replies
    17
    Views
    1,981

    Re: Fibonacci Help, Im stuck

    I got sidetracked by something in your code.

    fib2 = fib3
    fib3 = fib1 + fib2
    display &= ", " & fib3

    wouldn't this end up being 1 + 2 = 3 , 1 + 3 = 4, 1+4 = 5 ?

    shouldn't it be :
    1 + 2 =...
  18. Replies
    17
    Views
    1,981

    Re: Fibonacci Help, Im stuck

    You already have them stored as a string in "Display".

    i just don't know if you want ControlChars.NewLine or VBCRLF (vb carriage return line feed)

    textbox.text = display
  19. Replies
    17
    Views
    1,981

    Re: Fibonacci Help, Im stuck

    what is the use of storing them as a string?
    just for display sake? or to tokenize them for later UN-Stringing them?
    (surprisingly, everything else i understood)
  20. VS 2012 Re: Random Boolean and Procedure Matching

    jmcilhinney, you are not just a coder, you are an artist.
  21. Replies
    2
    Views
    1,364

    VS 2010 WebBrowser control not navigating

    I recently updated my app a bit (added a mute option for audio.play and other things unrelated to the controls),
    and for some reason just ONE of the TWO webbrowser controls has begun to experience...
  22. Replies
    2
    Views
    1,017

    Re: using php to create an ask the trainer page

    I'm assuming members have to log in.
    if you are keeping member's accounts in a SQL database then add a field for "Is this a moderator?"

    then, when outputing the page, have the php call the SQL...
  23. Replies
    7
    Views
    2,007

    MySQL 2nd reading speed change

    I'll admit I'm still very new to SQL (linux, not MSSql)

    My database if very large.
    I notice that when i access a row the first time, it's slow.
    but when i access it again, it's quick.

    because...
  24. Replies
    2
    Views
    1,540

    Re: cron php how to stop headers in append to file

    :thumb:Thanks
  25. Replies
    2
    Views
    1,540

    cron php how to stop headers in append to file

    cron command:


    /user/bin/php "/path/Script.php" >> /path/LogFile.html

    when php outputs to my log file, it always starts off by saying


    X-Powered-By: PHP/5.3.22 Content-type:...
  26. Replies
    2
    Views
    8,152

    VS 2010 Re: [RESOLVED] RGB to Integer and Back

    Found it, had to google for RGB to LONG instead of RGB to Integer

    http://www.vbforums.com/showthread.php?186884-Convert-an-RGB-value-to-a-long-or-a-long-to-RGB
  27. Replies
    2
    Views
    8,152

    VS 2010 [RESOLVED] RGB to Integer and Back

    .

    My web app will be outputting color codes to my vb.net app.

    In the web app, i have ColorR, ColorG, ColorB. each ranging from 0 to 254.
    To save bandwidth, i intend to convert these three...
  28. VS 2012 Re: Threading error "because the current thread is not in a single-threaded apart"

    That did it. Tks Joacim :D
  29. VS 2012 Threading error "because the current thread is not in a single-threaded apart"

    it's been a while sience i did threading.
    i'm trying to remember how to do it, but i'm hitting something that i KNOW i forgot.

    here's the error code:




    "System.InvalidOperationException: ...
  30. VS 2010 Re: Media Player stops being recognized

    Resolved.

    I spent the last 3 hours rebuilding my project.
    i got sloppy.
    The new cursors i put in had their hotspot set in the image centers instead of the pointers.
    i decided i'd just rip them...
  31. VS 2010 Re: Media Player stops being recognized

    here's the kicker -
    running the app in debugger [F5], it has no errors and music plays.
    running the exe it does have the error and does not play the music.
  32. VS 2010 [RESOLVED ...humorous] Media Player stops being recognized

    i've tried rebooting my computer, and re-adding the com, but i keep getting this error in my Form1.Designer.vb

    Me.MusicPlayer = New AxWMPLib.AxWindowsMediaPlayer()


    Error 4 Type...
  33. Replies
    2
    Views
    929

    VS 2010 Woes of frequently changing the mouse cursor

    ever have one of those days where it seems as though your programing is developing a mind of it's own?

    first, my code:

    first, i set up a basic structure allowing me to easily use the...
  34. Replies
    9
    Views
    4,833

    VS 2010 Re: .cur from resource file / memory stream

    Found a solution that works.
    it doesn't explain what's wrong with the .CUR file or code, but it does give me a working solution:
    Use-Icons-for-cursors-not-CUR

    not the slick result i wanted, but...
  35. Replies
    9
    Views
    4,833

    VS 2010 Re: .cur from resource file / memory stream

    Dim ms As New System.IO.MemoryStream(My.Resources.rCurAttack)
    ms.Position = 0
    Me.Cursor = New Cursor(ms)

    error is the same.

    cursor is attached in #5 (32 bit version)
  36. Replies
    9
    Views
    4,833

    VS 2010 Re: .cur from resource file / memory stream

    #3 produces run time error:

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************...
  37. Replies
    9
    Views
    4,833

    VS 2010 Re: .cur from resource file / memory stream

    it doesn't recognize it as a cursor.


    Me.Cursor = My.Resources.rCurAttack


    Error 1 Value of type '1-dimensional array of Byte' cannot be converted to...
  38. Replies
    9
    Views
    4,833

    VS 2010 Re: .cur from resource file / memory stream

    jmc - i DO have it added as a resource. and set it to EMBEDED RESOURCE.

    i added them in the formats of .cur and .png and neither work.


    edit:



    Dim ms As New...
  39. Replies
    9
    Views
    4,833

    VS 2010 .cur from resource file / memory stream

    i'm trying to add custom mouse icons to my app.
    but i can't seem to do it.

    currently, everything i find on the internet says this code works:


    Dim ms As New...
  40. VS 2010 WebBrowser Contol - submit form to default/shell web browser?

    i have a webbrowser control in my VBForm.
    it looks for a website on my site and displays it.

    there are form submit buttons in that WebBrowser1.
    i would like it to be so that when they click a...
Results 1 to 40 of 261
Page 1 of 7 1 2 3 4



Click Here to Expand Forum to Full Width