Search:

Type: Posts; User: darketernal

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. AnsiString to number? conversion problems (using borland builder)

    I am having a world of problems of what i thought to be rather simple.

    Edit1->Text = "123401278034987120478102873401982734";

    Now Edit1->Text is an AnsiString

    and i would like to format...
  2. Microsoft Visual C#, opening my program on another computer?

    When i e-mail my visual C# program to my friend, it doesnt open, which packages should i attach in order for my friend to open it, how do i do that?

    Also i am using Japanese version and sending...
  3. urgh, im seeing whats going wrong now, in this...

    urgh, im seeing whats going wrong now, in this example.

    of course if id checked 1 and 2 in order to get hello world,

    i didn't checked 3 + 4 , so in other words the false statement is true and...
  4. My code as now would be this. void...

    My code as now would be this.




    void __fastcall TForm1::Button1Click(TObject *Sender)
    {

    if(CheckBox1->Checked==true && CheckBox2->Checked==true)
    {
  5. Amen i will go along with using && , i have...

    Amen i will go along with using && , i have absolutely no problems with that as long as it will get my program to work. I removed the semi colons, and i re-hosted the pictures, hopefully you can view...
  6. Regardless on wether if i use & or && it doesn't...

    Regardless on wether if i use & or && it doesn't work,

    what i noticed tho is that i should remove the ; behind my if statement. then it works for the following....
  7. yep that's the problem , its giving both...

    yep that's the problem , its giving both indiscriminatly.
    Have a look what happens if i press the button.

    http://blogphotohost.com/show.php?id=584F9dbaS280bb53Sdf7858B56d40C8c

    I changed the...
  8. all are false by default.

    all are false by default.
  9. That doesn't work. using && as the logical and...

    That doesn't work.

    using && as the logical and as you describe it , gives the same problem.

    Its not nice, i need assistance on this one.
  10. So what am i doing wrong now? (RichEdit problem in C++ builder)

    Ok, its fairly simple: Condition 1 + Condition 2 = add the lines "hello world" in richedit. But its not working
    (i have 4 conditions in one button click)

    Should sound simple but its giving me...
  11. Replies
    14
    Views
    4,121

    ok, i founded a fitting solution. It seems that...

    ok, i founded a fitting solution. It seems that it all has to do with the value that is stored in the memory of the computer.

    if in Borland i would use a floating point 1/255 =...
  12. Replies
    14
    Views
    4,121

    Ok, i've been messing around, but even the...

    Ok, i've been messing around, but even the extended doesn't give more then 0.0185185185185185185

    You know you have the FloatToDecimal function.

    The Decimals parameter specifies the requested...
  13. Replies
    14
    Views
    4,121

    Anyway my list of problems doesn't seem to end. ...

    Anyway my list of problems doesn't seem to end.

    im calculating 1.0/54.0 = 0.0185185185185185185 = not correct

    Your ordinairy windows calculator would give 1/54 =
    ...
  14. Replies
    14
    Views
    4,121

    I want to thank you from the bottom of my...

    I want to thank you from the bottom of my heart,as it works -_-

    It feels unnatural tho because every calculator on the planet can give a 1/5 = 0.2 result.

    Am i wrong for thinking that such a...
  15. Replies
    14
    Views
    4,121

    Ok, this stuf compiles in Borland builder ...

    Ok, this stuf compiles in Borland builder

    Edit1->Text = FloatToStr(1/5);

    but the devision doesn't work.

    if you say Edit1->Text = FloatToStr(1 - 0.34343);

    the calculation does work.
  16. Replies
    14
    Views
    4,121

    The main consern is how to translate that into a...

    The main consern is how to translate that into a floating value that gets displayed in spinedit?
  17. Replies
    14
    Views
    4,121

    Why so much trouble with floating points?

    (I use borland c++ builder 5)



    Lets say i want the number 1 devided by 4 = 0.25
    i want my CSpinEdit to display this number.

    So i tried CSpinEdit1->value = 0.25.

    It doesn't work, my...
  18. Thread: Colorblind

    by darketernal
    Replies
    6
    Views
    1,280

    http://uploader.ws/upload/200705/raw_example.jpg...

    http://uploader.ws/upload/200705/raw_example.jpg A very rough example on how to retrieve the RGB values from any given random colour.

    roughly explained basically its a multiplication

    256 for...
  19. Thread: Colorblind

    by darketernal
    Replies
    6
    Views
    1,280

    Sorry for the imagine not being visible, the page...

    Sorry for the imagine not being visible, the page died on me, anyway i managed to fix the problem myself into obtaining the RGB values from a random given color.



    void __fastcall...
  20. Thread: Colorblind

    by darketernal
    Replies
    6
    Views
    1,280

    -sigh- although i expected an answer like that,...

    -sigh- although i expected an answer like that, it still hurts >.<

    As said easier said then done, have a look again

    http://uploader.ws/upload/200705/rgb.jpg

    To display this screen when we...
  21. Thread: Colorblind

    by darketernal
    Replies
    6
    Views
    1,280

    Colorblind

    I can't get the RGB Values.

    Im Using a ColorDialog1 , in Borland Builder 5.

    on Button1->ColorDialog1->Execute()

    a screen appears where you can choose from the colors

    red = 0 to...
  22. Replies
    1
    Views
    1,197

    Bytamin-C ++

    What i am asking here is if anyone knows where the http://www.bytamin-c.com/ building site has gone too? Its been off-line for quite a while and i have no idea why. The C ++ programming Borland...
  23. Replies
    4
    Views
    936

    ( i solved it like this ) *take in context it's...

    ( i solved it like this ) *take in context it's C++ Builder*


    Since i had no idea how to (mouse click is the listbox value) i had to figure out how i could assign (as doggiesnot stated)...
  24. Replies
    19
    Views
    1,890

    ( i solved it like this ) *take in context it's...

    ( i solved it like this ) *take in context it's C++ Builder*


    Since i had no idea how to (mouse click is the listbox value) i had to figure out how i could assign (as doggiesnot stated)...
  25. Replies
    4
    Views
    936

    Stringeling2

    Making a second attempt.


    string = Hello

    'use code to remove 'O' from hello

    string = Hell
Results 1 to 25 of 42
Page 1 of 2 1 2