User Profile

Collapse

Profile Sidebar

Collapse
ambusy
ambusy
Last Activity: Aug 19 '14, 07:15 AM
Joined: Aug 18 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ambusy
    replied to showing time out by exiting the from to users
    in .NET
    with a button to click:
    Code:
    Public Class Form1
        Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
            Me.Close()
            End
        End Sub
        Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
            Timer1.Enabled = True
        End Sub
    End Class
    See more | Go to post

    Leave a comment:


  • but don't forget to refresh the screen in the timer module. If not, you will not see the change on the screen!!!!!!
    See more | Go to post

    Leave a comment:


  • ambusy
    replied to Forms access null exception.
    When you write FORM2.METHOD() in F3, you (implicitly) create a new instance of FORM2, which DIMs an new instance of F3, and calls it's method METHOD. This instance knows NOTHING of the existence of other instances. You perhaps wanted the method METHOD of F2 executed on it's F3. If so make F2 and F3 Friend and you have no more problems
    See more | Go to post

    Leave a comment:


  • ambusy
    replied to connecting vb.net and ms access
    in .NET
    To create the ODBC database I execute: c:\WINDOWS\SysW OW64\odbcad32.e xe
    In the resulting window, on tab "User DSN"
    - I add my database with name ArCatSy with attributes Microsoft Access Driver (*.mdb)
    - Save and exit
    In Visual basic I have this (partial) code:
    Code:
        Dim DbConn As odbcConnection
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    ...
    See more | Go to post
    Last edited by ambusy; Aug 18 '14, 07:40 PM. Reason: forgot some routines

    Leave a comment:


  • This works: doEvents refreshes the window:

    Code:
    Public Class Form1
        Dim m_wordsList() As String = {"q", "b", "c"}
        Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
            Dim ReadingDelay As Double = 0
            ReadingDelay = (60 / CDbl(txtWPM.Text)) * 1000 'time in millseconds
            For words = 1 To m_wordsList.Count
                txtstdTextBox.Text
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...