Search:

Type: Posts; User: wideminnow6970

Page 1 of 2 1 2

Search: Search took 0.05 seconds.

  1. VS 2015 Re: Trying to import sleep function

    Works great - thanks
  2. VS 2015 Re: Trying to import sleep function

    I set the Option strict to on.

    For Shaggy Hiker:
    I had the code uploaded before.
    Can you show me how the code shoiuld work?
    Thanks in advance
  3. VS 2015 Re: Trying to import sleep function

    I did not know about task.delay in VB.

    I changed the 10.5 to 1000 (found some examples on the net for the time) with the same results.

    How do you change the "Option Strict On" ?

    I disabled...
  4. VS 2015 Re: Trying to import sleep function

    I got the Declare Sub Sleep Lib "kernel32.dll" (Milliseconds As Integer) error message to go away.
    I tried using the threading.thread.sleep, but nothing happens.
    See attached code:
    The screen...
  5. VS 2015 [RESOLVED] Trying to import sleep function

    I am trying to import the sleep function for a delay.
    Here is the code:
    Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)


    When I get to this line of code:

    Call...
  6. VS 2015 Re: Convert text box to integer

    Convert.ToInt32(P1_FIRST.Text) = C11.Text
    OR

    CInt(P1_FIRST.Text) = C11.Text

    IF (Convert.ToInt32(P1_FIRST.Text) > Convert.ToInt32(P1_SECOND.Text)
    MESSAGEBOX.SHOW ("P1_FIRST.Text >...
  7. VS 2015 [RESOLVED] Convert text box to integer

    I am trying to compare 2 text fields that contain only numbers.
    When the try to compare the bypass the code.
    I tried the convert.toint32 but it gave me an error.
    I tried the CInt but it also gave...
  8. Replies
    7
    Views
    623

    VS 2015 Re: Break not working

    Stop worked great - thanks.
  9. Replies
    7
    Views
    623

    VS 2015 [RESOLVED] Break not working

    I have 2 breaks set in my program. The first time thru both breaks work properly.
    After that, neither break works at all.
    The messagebox after the p1_again only shows up the first time.
    If I go...
  10. VS 2015 Re: visible = false does not work

    There was another textbox under it. I moved it and it works great now.
    Thanks for the help.
  11. VS 2015 [RESOLVED] visible = false does not work

    I have a form with multiple text boxes. They all work except 1.
    I set the attributes to on box A71.Visible = False.
    The .Visible = False works on all the other boxes.
  12. VS 2015 Re: Break while running code inb debug mode

    The Call Stack only shows [External Code] (not Highlighted) with nothing after it.
  13. VS 2015 Re: Break while running code inb debug mode

    I tried the Control + Break and got the following results (see attached).
    The Control + Break did not work.
    Do I have to load something else to get it to work?
  14. VS 2015 Break while running code inb debug mode

    Is there anyway to break into the vb code without setting a breakpoint so that I can get into the code while the program is running?
  15. VS 2015 Re: Picture box does not display without a messagebox.show after it displays.

    I read up on paul's suggestion and used the Timer_Tick event and it works great. Thanks
  16. VS 2015 [RESOLVED] Picture box does not display without a messagebox.show after it displays.

    I have a program and I am trying to display 9 picture boxes after a wait of 0.5 seconds after each one is displayed.
    The only way that the picture box displays is if I put a messagebox.show after...
  17. VS 2015 Re: Go to text box when button pressed

    Works great. Thanks for the quick reply
  18. VS 2015 [RESOLVED] Go to text box when button pressed

    I have a program with multiple buttons and multiple text boxes.
    When I click on a button, a message box comes up.
    When I click on the message box, I would like the mouse to automatically be on a...
  19. VS 2015 Re: Include mp4 video in my.resources

    Makes sense thanks.
  20. VS 2015 [RESOLVED] Include mp4 video in my.resources

    I have a MP4 file playing a video file in MEDIA PLAYER.
    I would like to include it in the MY.RESOURCES so that I can use the program on another device.
    How do I include it in the MY.RESOURCES file...
  21. VS 2015 Re: Change media player to visible

    I changed the AxWindowsMediaPlayer2.Ctlcontrols.play() to ME.AxWindowsMediaPlayer2.Ctlcontrols.play()
    Now it works the way that I wanted.
  22. VS 2015 Re: Change media player to visible

    I put the following control at the start of the program:
    AxWindowsMediaPlayer1.Ctlcontrols.stop()
    but the video stills plays.

    When the program is at the end, I put the following code:
    ...
  23. VS 2015 [RESOLVED] Change media player to visible

    I do not want the video to start until the end of the program!
    I have a media player in my form that is set to invisible, but plays in the background invisible.
    I would like it to be visible at the...
  24. VS 2015 Re: Popup does not display the second time without a message box

    What code, just the .VB file?
  25. VS 2015 [RESOLVED] Popup does not display the second time without a message box

    I have a form that starts with a popup. There are 2 buttons on the popup TRUE or FALSE.
    When the button is pressed, the main form is displayed. it checks something and the popup is supposed to get...
  26. VS 2015 Re: Designer view does not display

    Like you suggested , I got rid of the 3 text files.
    I tried to go to the Designer again and it worked.

    Thanks for the help, greatly appreciated...
  27. VS 2015 Re: Designer view does not display

    Here is a copy of the Show All Files button on the Solution Explorer toolbar.
  28. VS 2015 Re: Keep popup open without continuing on

    Works great - thanks
  29. VS 2015 [RESOLVED] Designer view does not display

    I have been working with a form for several weeks.
    Now when I go into the form, I can view the code, but the Designer screen does not come up and there is no error.
    I tried the View Designer and...
  30. VS 2015 [RESOLVED] Keep popup open without continuing on

    I have a form and under certain conditions, I have a pop up window that requires the user to click on one of two fields to continue.
    The popup stays on the form, but the program continues to run...
  31. VS 2015 Re: Executable file keeps deleting

    The AVG virus program was deleting the executable.
    I deleted the AVG software and it stopped deleting the program.
    I reinstalled the program and it deleted the programs again.
    It never deleted...
  32. VS 2015 [RESOLVED] Executable file keeps deleting

    I generate an executable program in Visual Basic.
    After about 1 minute the executable file gets deleted.
    This started happening about a week ago.
    Before that the executable did not delete it...
  33. Replies
    10
    Views
    1,229

    VS 2015 Re: picturebox in execute

    jmcilhinney response works great.

    Thanks for the help.
  34. Replies
    10
    Views
    1,229

    VS 2015 [RESOLVED] picturebox in execute

    I have multiple Picturebox's in my form, which load with no problem.
    How can you include them in the execute so that I can run the program on another PC?

    Thanks
  35. VS 2017 Re: Include sound in project

    I found the my.resources example and put it in my program and it works file on another Pc.

    Thanks
  36. VS 2017 Re: Include sound in project

    I found the my.resources example and put it in my program and it works file on another Pc.

    Thanks
  37. VS 2017 Re: Include sound in project

    Here is the error that I get.
    The sound files are located in the c:\Program Files (x86)\Microsoft Office\Office12\MEDIA\DRUMROLL.WAV' directory
    The sound files are not on the new pc
    ...
  38. VS 2017 [RESOLVED] Include sound in project

    How do you include a sound file in a Visual Basic program so that the executable can be used on another PC?
    The sound plays on my PC, but when I try to run it on another PC, I get an error.
  39. VS 2015 [RESOLVED] Put sound file in executable program

    I have a sound file in the directory where the program is.

    My.Computer.Audio.Play("I:\VISUAL_BASIC_2015\WindowsApplication2\WindowsApplication2\DRUMROLL.WAV",
    AudioPlayMode.WaitToComplete)
    ...
  40. Replies
    6
    Views
    885

    VS 2015 Re: Timer not displaying

    Thanks for the response, works great especially with the sleep timer
Results 1 to 40 of 70
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width