dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: sacarias40

Page 1 of 3 1 2 3

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    822

    help with this code

    Public Class Form1
    Dim validPass As String = "admin"

    Function validator()
    If TextBox1.Text <> validPass Then
    TextBox1.Clear()
    'TextBox1.focus
    ...
  2. Replies
    1
    Views
    620

    keyboard chars help

    hello, i need help.

    ok here is the situation. i have a form that is hidden. the form needs to wait until somone hits the F2 button.



    can someone help me out with the syntax for this event?
    ...
  3. Replies
    4
    Views
    978

    Re: is there a way....

    yeah i cant write stuff like that. but i mean i dont want to disable it i actually would like to cover it up with a form. sort of like when you lock the computer but i dont want it to go to the...
  4. Replies
    4
    Views
    978

    is there a way....

    to disable right click and to disable the start button and task bar?
  5. Replies
    14
    Views
    1,294

    Re: New to C++ but familiar with Programming

    yes, and the above is confusing. they are telling me two things. std::string and char str[]

    but i dont know what will work for me. just some help is all im looking for. lol ;)
  6. Replies
    14
    Views
    1,294

    Re: New to C++ but familiar with Programming

    i understand this but i just need to have the equivalent to this:

    var filePath = "C:\users\name\desktop";

    C++ style

    or this vb style:

    dim filePath as string = "C:\users\name\desktop"
  7. Replies
    14
    Views
    1,294

    Re: New to C++ but familiar with Programming

    Well im not exactly sure on this but i suppose you cannot do math with a string only with an int or double or something of that sort.
    if im right, dont doubles and ints only hold numbers. please...
  8. Replies
    14
    Views
    1,294

    Re: New to C++ but familiar with Programming

    say i wanted to hold the path to a file in the string. i want to use the string in a few places and not have to rewrite it.
    but simply for usability and ease.
  9. Replies
    14
    Views
    1,294

    Re: New to C++ but familiar with Programming

    thank you guys for the help.
    im using visual C++ from Microsoft's site. and im making a form app. isnt the "std::string" only used in console apps?

    thankyou
  10. Replies
    14
    Views
    1,294

    New to C++ but familiar with Programming

    Ok im trying to figure out how to hold a string variable, how do i declare a variable as the string type.

    like this example in PHP:

    $myString = "This is my string";

    regards thank you
  11. Replies
    4
    Views
    1,161

    Re: compare two dates?

    thank you wizard, your so helpful
  12. Replies
    4
    Views
    1,161

    compare two dates?

    i am making a small application that should only be accesible from 12:01 am, december 24, 2008 until forever.

    how would i do this?

    this is what i was trying to use but its way wrong im sure/way...
  13. Replies
    8
    Views
    1,470

    Re: product key help

    thanks that explains how to get a key. but i just need to look into this a lot more.
    anyways thaks for your help!
  14. Replies
    8
    Views
    1,470

    Re: product key help

    i dont know how they get the unique id though. like for each program there is a different one.
    i thought i whent like:
    you open the program and it asks you for the key if you dont have it you can...
  15. Replies
    8
    Views
    1,470

    Re: product key help

    any suggestions?
  16. Replies
    8
    Views
    7,431

    Re: auto delete text in textbox

    lol, yes any text that is in the textbox will be deleted if you click in it again.
  17. Replies
    8
    Views
    7,431

    Re: auto delete text in textbox

    ok here is what i actually used. i acutally used the mouse down event. but throught the three, i dont see a difference. it worked how i wanted it.
    anyways im here to learn, so if there is a...
  18. Replies
    8
    Views
    1,470

    Re: product key help

    well im talking about like there is a long textbox and if you buy the product you have to put in the key.

    for example, my 30 day trial runs out tomarrow and inorder to keep the program i must...
  19. Replies
    8
    Views
    1,470

    product key help

    say if i were to release a big peice of software, like microsoft products.
    how could i put a product key in it so only the person that has the key can install and run it????
  20. Replies
    8
    Views
    7,431

    Re: auto delete text in textbox

    ok sorry so if i can remember i think i used:

    textbox1.clear()
    or something like that.
  21. Replies
    5
    Views
    971

    Re: two item array

    thank you guys for your input, if you want to see the completed program go here:

    http://slickfightgear.exhspace.com/
  22. Replies
    5
    Views
    971

    Re: two item array

    ok i got it, heres my complete code.
    but its being weird. when the msgbox pops up it gives the right values except for the new minimum value. any help with my equations, the order or something of...
  23. Replies
    8
    Views
    7,431

    Re: auto delete text in textbox

    i found out how, thanks!
  24. Replies
    5
    Views
    971

    two item array

    look at the attached pics first



    Public Class Form1


    Private Sub TextBox1_MouseHover(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.MouseHover
    ...
  25. Replies
    8
    Views
    7,431

    auto delete text in textbox

    ok i have a few textboxes and they have a "default" text.
    when you put your cursor into the textbox how can i delete the text automaticaly.
    without having to press backspace or highlight it.
Results 1 to 25 of 65
Page 1 of 3 1 2 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)