Click here to Skip to main content
15,901,796 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralError while displaying combobox in datagrid Pin
Thirumalaraj21-Dec-04 2:32
Thirumalaraj21-Dec-04 2:32 
GeneralRe: Error while displaying combobox in datagrid Pin
mtone21-Dec-04 3:59
mtone21-Dec-04 3:59 
GeneralRe: Error while displaying combobox in datagrid Pin
Thirumalaraj21-Dec-04 16:46
Thirumalaraj21-Dec-04 16:46 
GeneralI use Winsock to make a simple chat program but!!! Pin
BlitzBall21-Dec-04 2:12
sussBlitzBall21-Dec-04 2:12 
GeneralRe: I use Winsock to make a simple chat program but!!! Pin
Dave Kreskowiak21-Dec-04 3:13
mveDave Kreskowiak21-Dec-04 3:13 
Generalclass problem Pin
Fu Manchu21-Dec-04 2:08
Fu Manchu21-Dec-04 2:08 
GeneralRe: class problem Pin
Tom John21-Dec-04 4:19
Tom John21-Dec-04 4:19 
GeneralRe: class problem Pin
Fu Manchu21-Dec-04 22:52
Fu Manchu21-Dec-04 22:52 
Thanks for your help, i needed further info but you lead me in the right direction

i came up with this.... (this works!).....

Private WithEvents timer As Clock = New Clock

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Label1.Text = timer.systemtime
End Sub

Private Sub timer_UpdateTime(ByVal sender As Object, ByVal e As System.EventArgs) Handles timer.Tick
Label1.Text = timer.systemtime
End Sub

Public Class Clock
Inherits timer
Public Event UpdateTime As EventHandler

Private Sub Test_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Tick
systemtime()
End Sub
Public Function systemtime()
If Me.Enabled = False Then
Me.Interval = 125
Me.Enabled = True
End If
systemtime = Now.Second
RaiseEvent UpdateTime(Me, EventArgs.Empty)
End Function

End Class


Thank you and have a Merry Xmas

Andy


QuestionHow to make cmdbuttons reacting on different PC? Pin
HuDcHeI21-Dec-04 2:04
sussHuDcHeI21-Dec-04 2:04 
QuestionHow to make cmdbuttons reacting on different PC? Pin
Anonymous21-Dec-04 2:04
Anonymous21-Dec-04 2:04 
AnswerRe: How to make cmdbuttons reacting on different PC? Pin
Dave Kreskowiak21-Dec-04 3:04
mveDave Kreskowiak21-Dec-04 3:04 
GeneralRe: How to make cmdbuttons reacting on different PC? Pin
HuDcHeIs22-Dec-04 5:08
sussHuDcHeIs22-Dec-04 5:08 
GeneralRe: How to make cmdbuttons reacting on different PC? Pin
Dave Kreskowiak22-Dec-04 11:57
mveDave Kreskowiak22-Dec-04 11:57 
GeneralFTP Pin
nitin_ion20-Dec-04 23:19
nitin_ion20-Dec-04 23:19 
Generaldataset to xmlfile Pin
Makniteasy20-Dec-04 19:57
Makniteasy20-Dec-04 19:57 
GeneralRe: dataset to xmlfile Pin
Tom John20-Dec-04 22:04
Tom John20-Dec-04 22:04 
GeneralDLL HELP Pin
Member 158672020-Dec-04 15:58
Member 158672020-Dec-04 15:58 
GeneralRe: DLL HELP Pin
Dave Kreskowiak21-Dec-04 1:11
mveDave Kreskowiak21-Dec-04 1:11 
GeneralDatagrid Pin
abo el ror20-Dec-04 15:01
abo el ror20-Dec-04 15:01 
GeneralRe: Datagrid Pin
Jay Shankar20-Dec-04 16:38
Jay Shankar20-Dec-04 16:38 
GeneralRe: Datagrid Pin
ScottSingleton21-Dec-04 8:10
ScottSingleton21-Dec-04 8:10 
GeneralVB6 Simple Question I think Pin
dougstratton20-Dec-04 10:56
dougstratton20-Dec-04 10:56 
GeneralRe: VB6 Simple Question I think Pin
Dave Kreskowiak21-Dec-04 1:06
mveDave Kreskowiak21-Dec-04 1:06 
GeneralRe: VB6 Simple Question I think Pin
dougstratton21-Dec-04 5:27
dougstratton21-Dec-04 5:27 
GeneralRe: VB6 Simple Question I think Pin
dougstratton21-Dec-04 5:37
dougstratton21-Dec-04 5:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.