Search:

Type: Posts; User: Flashbond

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Re: [RESOLVED] VB.NET Form and Picturebox Transparency HELP!

    Got it boops boops. Thanks for detailed information ;)
  2. Re: [RESOLVED] VB.NET Form and Picturebox Transparency HELP!

    I have an additional question about this. The transparency only shows the form's background. I have another picturebox1 under picturebox2 but it still shows form's background. Let me give you a...
  3. Replies
    10
    Views
    401

    Re: Graphic animation for card game.

    Here is the demo I found : http://www.ilstours.net/demo.html

    But jquery.min.js does the whole magic and you won't like to look whats in it :(
  4. Replies
    10
    Views
    401

    Re: Graphic animation for card game.

    Yeah, epic... In fact I found a java code for this and it is very very complicated. I thing I will not do...
  5. Replies
    10
    Views
    401

    Re: Graphic animation for card game.

    Yeah, thanks Dternity :) But I want some pretty cool stuff called like fisheye dock or rocket dock ;)
  6. Replies
    10
    Views
    401

    Re: Graphic animation for card game.

    Ok, I think I found something about this. It is called bubblebar which comes with a DevComponents dll. But it will be just a small stupid game and I want to keep it as a single exe. No setup. Is it...
  7. Replies
    1
    Views
    334

    Re: Finding nth prime

    Finally, it is a shortened and stable version of my original code.

    // written by Mert Ener
    int k = "the nth prime you like" -1;
    int l,m=1,n,o;
    int*p;p=new int [k+1],p[0]=2;
    ...
  8. Replies
    0
    Views
    333

    Finding nth prime.

    'This code was written by Mert Ener
    Private Declare Function GetTime Lib "winmm.dll" Alias "timeGetTime" () As Long
    Private mStartTime As Object

    Private Sub Button1_Click(sender As Object, e...
  9. Replies
    1
    Views
    334

    Finding nth prime

    Actually this was something for C++ codebank. Not the fastest but an elegant code written by me.


    // This code was written by Mert Ener
    #include <time.h>
    #include <iostream>

    private:...
  10. Re: Can anyone modify this VB code to C++ please?

    Thanks David! It did help much :)
  11. Replies
    0
    Views
    361

    C++ How to handle msvcr110.dll error

    Hi Guys!

    Whenever I choose MD (Multi Threaded Dll) I am having msvcr110.dll error with the computers who doesn't have Visual C++ 2005 Redistributable Package. I am not expecting from users to...
  12. Replies
    10
    Views
    401

    Re: Graphic animation for card game.

    Fisheye? Ok, I'll make an example with flash.
  13. Replies
    10
    Views
    401

    Graphic animation for card game.

    Hi Guys!

    I am designing a card game with VB.NET. I have a deck of cards (52 cards) spanned horizontally along. I will request from the user to pick 5 cards. I want an effect like iOS dock. Is it...
  14. Replies
    0
    Views
    350

    How to limit textbox value

    Hi Guys!

    I asked this several times here in different ways but there were no answer.

    How to prevent a user input no more than x value to a digit-only textbox?

    PS: Not length but value.
    ...
  15. Replies
    20
    Views
    567

    Re: [RESOLVED] Maximize cpu usage?

    OK, case dismissed! Thanks a lot guys for all effords!!
  16. Replies
    20
    Views
    567

    Re: [RESOLVED] Maximize cpu usage?

    It is also including some of this sequence in order to follow some logarithmic behaviour. Ok, if you say noway, I accept. I was just thinking about alternatives.
  17. Replies
    20
    Views
    567

    Re: [RESOLVED] Maximize cpu usage?

    Ok, Shaggy. I am very very poor with threading. If you have a model in your mind, please share. Pleeeeaseee...
  18. Replies
    20
    Views
    567

    Re: [RESOLVED] Maximize cpu usage?

    Sorry for my English. I didn't get the "Can you really know the size of P() in advance sufficient to do option 1?" question. Can you ask in a different way? Has it got something to do with counting...
  19. Replies
    20
    Views
    567

    Re: [RESOLVED] Maximize cpu usage?

    After a long time of thinking, I came up with 2 ideas:
    1.)Maybe a logic like: If p array size will be more than 4, then;
    Check p(l) like
    Thread1:
    Check for p(l)
    Thread2:
    Check for p(l+1)...
  20. Replies
    20
    Views
    567

    Re: [RESOLVED] Maximize cpu usage?

    OK, I checked the other forums and articles. Long story short, I couldn't manage it. Maybe I have to wait to be better. Thanks guys!
  21. Replies
    20
    Views
    567

    Re: [RESOLVED] Maximize cpu usage?

    Ok Shaggy, how to divide into iterations? If you don't want to modify this code, just show me a simple example please?
  22. Replies
    20
    Views
    567

    Re: [RESOLVED] Maximize cpu usage?

    Yes, it is a prime number solver but follows a different squence to catch primes. So it has different results rather than the actual prime number order that I need one of my projects. For example, if...
  23. Replies
    20
    Views
    567

    Re: [RESOLVED] Maximize cpu usage?

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    If Me.TextBox1.Text = "" Then : Beep() : Exit Sub
    Else
    Dim l, n As Long : Dim m As...
  24. Replies
    20
    Views
    567

    Re: [RESOLVED] Maximize cpu usage?

    Yeah, I figured the same thing out with reading a few more articles from Google that, is muchly depending how I did write the code. I saw a few example in msdn, too... But they are a bit tricky...
  25. Replies
    20
    Views
    567

    [RESOLVED] Maximize cpu usage?

    Hi Guys!

    I am writing and compiling a windows form application with VS2012. I think it compiles the .exe only for single core usage. How can I make it to use all available cores in a computer??
    ...
  26. Can anyone modify this VB code to C++ please?

    Hi Guys!

    I am very very new to C++. This is a code written in vb.NET previously.
    This is a button click command:

    Dim p As New List(Of Long)
    k = 3
    m = 2
    ...
  27. Re: [RESOLVED] Exit one level up nested For...Next

    Ok, I am not an expert. For now GoTo does my job and causes no errors. All that I can say is ignorance is happiness, after all.
  28. Re: Exit one level up nested For...Next

    Afaik Do..Loop is slower than For..Next. I think a boolean controller will be slower than a GoTo command. Anway, I'll keep using it. Tanks for everyone!
  29. Re: Exit one level up nested For...Next

    Thanks DataMiser but you are missing the point. If I Exit For..m..Next only, it will do "'Do some other stuff", too. The main idea is to skip that line and directly go to Next n.
  30. [RESOLVED] Exit one level up nested For...Next

    Hi Guys!

    I am pretty sure it is impossible but I want to ask it, anyway:
    I have

    For n = 0 To 5 'The values are not important.
    For m = 1 To 6 'The values are not important.
    .
    .'Do Something...
  31. Replies
    6
    Views
    273

    Re: Adding new item to array

    I think I did it but it is working slower than an array. Is it normal?

    Edit: Yes, far slower to add item and to call a key...
  32. Replies
    6
    Views
    273

    Re: Adding new item to array

    Thanks ladoo but splitting seems more bulky and won't wok for me.



    What is a collection? Can you give me an example? Can it hold doubles?
  33. Replies
    6
    Views
    273

    [RESOLVED] Adding new item to array

    Hi Guys!

    .NET has pretty good functions to add new items to an array. Is there anyway to do it with vb6, too?
    Because, you know, "Redim Preserve" is a bit bulky. It is backing up the old keys in...
  34. Replies
    13
    Views
    379

    VS 2010 Re: How to range an array?

    Ok guys then, I think this much info must be enough for me. I'll work on them. Thanks a lot for all your efforts!!
  35. Replies
    13
    Views
    379

    VS 2010 Re: How to range an array?

    jmcilhinney, I appreciate for your efforts but I couldn't figure out how to use this. I think this is a couple of levels up for me. It starts with Dim, OK. After giving the dimension you are...
  36. Replies
    13
    Views
    379

    VS 2010 Re: How to range an array?

    Ok. This seems awsome but I didn't get it completely. Can you give an example of usage of function with only one array, please?
  37. Replies
    13
    Views
    379

    VS 2010 Re: How to range an array?

    dday9: Yeah, I use a Do..Loop. It slows me down so much. Do you think For..Next will run faster?
    stanav: Looks so good. I'll try.

    Thanks for both replies!
  38. Replies
    13
    Views
    379

    VS 2010 Re: How to range an array?

    dday9: Yeah, I use a Do..Loop. It slows me down so much. Do you think For..Next will run faster?
    stanav: Looks so good. I'll try.

    Thanks for both replies!
  39. Replies
    13
    Views
    379

    VS 2010 [RESOLVED] How to range an array?

    Hi Guys!

    First, I am using VS 2012.

    I have a number m and p(n) array.

    How to say;

    rng= Lbound(p) to Ubound(p)
  40. Replies
    9
    Views
    256

    Re: Make 100% CPU Usage

    Private Sub Command1_Click()
    Dim k As Long
    Dim p() As Long
    Dim n As Long
    Dim m As Long
    Dim l As Long
    n = 1
    m = 3
    k = Me.Text1.Text
    ReDim p(n)
Results 1 to 40 of 80
Page 1 of 2 1 2