Search:

Type: Posts; User: russow kid

Page 1 of 3 1 2 3

Search: Search took 0.09 seconds.

  1. Replies
    2
    Views
    1,763

    Re: [VB6]Set a DNS Server?

    I have already told you the purpose I would like this for, if you choose not to believe me, then that's your problem. Please refrain from posting if you are not helping anything.

    Thanks,
    Shawn
  2. Replies
    2
    Views
    1,763

    [VB6]Set a DNS Server?

    I am building a program to automate installations of certain software and settings to deploy in a mass computer market, and I am going to be setting the DNS server to OpenDNS on all of them. Is there...
  3. Replies
    0
    Views
    474

    [RESOLVED] Run text in a cmd prompt?

    Is there a way to run a line of text entered into a text box under a cmd prompt window?

    What I am trying to do is have it run an "at" command at the time the user specifies, so ill have them type...
  4. Replies
    16
    Views
    1,722

    Re: IF-Then Problem.

    Thanks everyone for your help, it is now working after adding the leading 0 back in.
  5. Replies
    16
    Views
    1,722

    Re: IF-Then Problem.

    To make the opus' code work, I actually removed the 0 in the image names and tag names so its just pic1, pic2, etc... now.

    My 2 buttons are


    Private Sub Next_Click()
    Dim ActualPicture As...
  6. Replies
    16
    Views
    1,722

    Re: IF-Then Problem.

    When I compile it and press the button the first time, it works. when I press it the second time I get an error "Run-time error '13': Type mismatch"

    I also changed the code a little and used it as...
  7. Replies
    16
    Views
    1,722

    Re: IF-Then Problem.

    I don't quite understand what arrays are.

    I understand your code opus but I get a "compile error: Expected: list separator or )" for line

    ActualPicture=CInt(Right(imgtour.Tag;2))
  8. Replies
    16
    Views
    1,722

    Re: IF-Then Problem.

    Could you elaborate on Select Case please?

    What is it?
    How should it be used?

    Opus: I am having it show a different picture each time I click the button.
  9. Replies
    16
    Views
    1,722

    [RESOLVED] IF-Then Problem.

    I have a button that changes a picture in a picture box, and I tried using If Then Statements to change it like so..


    If imgtour.Tag = "pic01" Then
    Set imgtour.Picture = LoadPicture(App.Path &...
  10. Re: Load Pictures into a Picture box from an external source

    Thanks for the help, worked great.
  11. Re: Load Pictures into a Picture box from an external source

    Thanks for the quick response, that worked well.

    One more question:

    Is there a way to check the picture that is set? I am doing a sort of "slideshow" where there is next and previous buttons,...
  12. [RESOLVED] Load Pictures into a Picture box from an external source

    I have a program that is going to be ran on a CD, and I am going to have pictures in a pictures subfolder. Is there a way, Using a single picture box, that I can have it load predefined names when I...
  13. Re: Open Image in default program [VB6]

    I used this code, and got it to work when I specify the full directory name


    Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _
    (ByVal hWnd As Long, ByVal...
  14. Re: Open Image in default program [VB6]

    I am trying to actually have the app launch and load the image file.

    say the default program that will launch from .jpg files is Paint. I want to then have Paint launch and have the specified file...
  15. [RESOLVED] Open Image in default program [VB6]

    I am looking to be able to have an application open an image using the computers default viewing program.

    My knowledge of VB is limited, and I tried using code that launched a .exe file but...
  16. Replies
    3
    Views
    9,358

    Re: Form size unit? [VB6]

    thanks, i feel stupid not noticing that property lol
  17. Replies
    3
    Views
    9,358

    Form size unit? [VB6]

    for the width and height options in VB6, is there a way to make the width and height properties use pixels, or is there a way to convert whatever unit VB6 uses to pixels?

    thanks,
    Shawn
  18. Replies
    8
    Views
    4,556

    Re: [Resolved][VB6]Visible Property Question

    actually, the first code you posted works perfectly for what i need. I just have this as my back button code:

    Dim ctl As Control

    For Each ctl In Me.Controls
    ctl.Visible = False
    ...
  19. Replies
    8
    Views
    4,556

    Re: [Resolved][VB6]Visible Property Question

    what im doing uses one form with multiple scenarios. the main reason i did this was to avoid the hassle of having many forms, and having to configure each one with size, color, and all that. so, i...
  20. Replies
    8
    Views
    4,556

    Re: [VB6]Visible Property Question

    sorry for my stupidity, but i am very limited in my knowledge of VB.

    If i were to put the code

    Dim ctl As Control

    For Each ctl In Me.Controls
    ctl.Visible = Not ctl.Visible
    ...
  21. Replies
    8
    Views
    4,556

    [Resolved][VB6]Visible Property Question

    Is there a command to change the visible property of all objects on a form to True or False without manually typing each object?


    thanks,
    shawn
  22. Replies
    4
    Views
    596

    Re: [2005] 2005 express to VB6?

    hey, thanks for that, didnt think it would be that easy lol.

    but for my app, that i made in 2005 express. i tried to run it and i got an error about not having .net 2.0 or higher or something...
  23. Replies
    4
    Views
    596

    [2005] 2005 express to VB6?

    i have this code..


    Dim procID As Integer

    procID = Shell("\programs\vscan\setup.exe", AppWinStyle.NormalFocus)

    is there a way to make that work with VB6, or is there a way i...
  24. Replies
    6
    Views
    625

    Re: Getting back into VB

    I do think I am missing some important code needed for this to work.
    I am definately a beginner when it comes to VB, but I was browsing around and I seen something about API's. I really dont know...
  25. Replies
    6
    Views
    625

    Re: Getting back into VB

    where do I add that, and what does it do?
  26. Replies
    6
    Views
    625

    Re: Getting back into VB

    how would I get that msgbox in your code to come up, if there was another window that had focus?
  27. Replies
    6
    Views
    625

    Getting back into VB

    hey, I messed around with VB about 2 years back, and I was going to start messing with it again.

    I am working on a program as sort of a "tool" for a game. Its going to have help menus, auto text,...
  28. Re: [Question]Need Help, havent VB'd in awhile

    well, sorry, i guess i dont know much of anything. i have no idea what most those threads were saying about API hooks and whatnot, so whatever, guess i cant do this at my level of knowledge. thanks...
  29. Re: [Question]Need Help, havent VB'd in awhile

    well once i got the code to target, i was pretty much just going to experiment around with code to see what i could do =/
  30. Re: [Question]Need Help, havent VB'd in awhile

    well i need TO start, so do you think you could help me with the code to target another running program?

    thanks,
    shawn
  31. [Resolved]Need Help, havent VB'd in awhile

    i havent done any programming in quite a while and im trying to write a program.

    I need to write a program that will read text from an IRC client and type certain specified text if the text...
  32. Replies
    5
    Views
    568

    Re: Label Help

    i forgot about elseif statements lol
  33. Replies
    5
    Views
    568

    Re: Label Help

    thanks guys but this is what i used because i had captions too

    If Label42.Caption = "O" And Label42.BackColor = vbWhite Then
    Label42.BackColor = vbBlack
    ElseIf Label42.Caption = "O" And...
  34. Replies
    5
    Views
    568

    Label Help [Resolved]

    when i click a label i want it to change the backcolor thus.

    text1.backcolor = vbblack

    but i want it to turn back to the original color if i click it again. any ideas?
  35. Thread: Tic-Tac-Toe

    by russow kid
    Replies
    2
    Views
    4,925

    Tic-Tac-Toe

    this is the .frm file of my tic-tac-toe game.

    its mainly for my teacher to see, but your welcome to mess around with it.

    ill be adding more to it to make it better.

    (might need a few fixes i...
  36. Replies
    8
    Views
    775

    Re: Displaying Color as name

    thanks for the posts, i was hoping there was a built in way, instead of creating a function. but oh well, thanks to all for the help =]
  37. Replies
    8
    Views
    775

    Re: Displaying Color as name

    there isnt a way to just test the number and display the appropriate color name?
  38. Replies
    8
    Views
    775

    Displaying Color as name[Resolved]

    in this project...

    Private Sub cmdbutton_Click()
    MsgBox "Your name is " & Text1.Text & " Your font color is " & Text1.ForeColor & " and you background color is " & Text1.BackColor
    'for this...
  39. Replies
    4
    Views
    546

    command button help

    when a command button is clicked, how do you change the look of it.. ex.. clicking it would make the text white and the bg black..?
  40. Replies
    7
    Views
    942

    Re: KeyAscii Question

    so..
    if keyascii =vbkeymenu + 102 then
    command1_click
    end if
    ????
Results 1 to 40 of 106
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width