Click here to Skip to main content
15,887,135 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Tree View Pin
farhang19-May-04 20:20
farhang19-May-04 20:20 
GeneralRe: Tree View Pin
Dave Kreskowiak20-May-04 1:04
mveDave Kreskowiak20-May-04 1:04 
GeneralAnother Toolbar Problem Pin
qyp18-May-04 14:46
qyp18-May-04 14:46 
GeneralHi all - runonce reg key Pin
HarryBo18-May-04 6:34
HarryBo18-May-04 6:34 
GeneralRe: Hi all - runonce reg key Pin
Dave Kreskowiak18-May-04 9:45
mveDave Kreskowiak18-May-04 9:45 
GeneralToolBar Problem Pin
HinJinShah18-May-04 5:46
HinJinShah18-May-04 5:46 
GeneralPrinting in VB Pin
Maverick_8317-May-04 22:50
Maverick_8317-May-04 22:50 
GeneralVB Timer Control Pin
Simon Kearn17-May-04 7:01
sussSimon Kearn17-May-04 7:01 
I have created a secure shell in VB that sits in place of the desktop. In this shell there are a number of icons, which when clicked on run up the specified application. This then logs time spent in the application. When it finishes I then just note the time down and work out the elapsed time. However to find when the application finishes I have created a loop that checks whether the application has terminated. So far so good. But now the problem I have is that every 15 minutes I want to create a file of the time spent in each of the applications and send it off to another machine. The timer control in VB will only go on for 1 minute before having to reset it, so thats not really good. I could implement a C++ program to run a timer but then I have the problem in intergrating the two codes together, as the C++ will not know the contents of the variables in the VB application. I had thought about writing the data out to a file as I go (created and opened in the VB code), but then the C++ timer could cause problems in trying to close the file down, and also I would not be able to rest the variables in the VB code easily. Obviously I would like to keep all the code in VB if I could. Also does the timer allow you to come out of the loop that I may be in whilst waiting for a currently running application to finish, and then go back into the loop.

Any help would be great. Thanks

Simon Kearn (simon.kearn@lmco.com or simon.kearn@ntlworld.com)
GeneralRe: VB Timer Control Pin
Dave Kreskowiak17-May-04 7:10
mveDave Kreskowiak17-May-04 7:10 
GeneralRe: VB Timer Control Pin
VBGuruWantabe17-May-04 10:21
VBGuruWantabe17-May-04 10:21 
GeneralRe: VB Timer Control Pin
Simon Kearn18-May-04 0:54
sussSimon Kearn18-May-04 0:54 
GeneralRe: VB Timer Control Pin
Dave Kreskowiak18-May-04 2:16
mveDave Kreskowiak18-May-04 2:16 
GeneralUsing IDispatch Pin
CreativeCat17-May-04 5:24
CreativeCat17-May-04 5:24 
GeneralRe: Using IDispatch Pin
Dave Kreskowiak18-May-04 3:27
mveDave Kreskowiak18-May-04 3:27 
GeneralRe: Using IDispatch Pin
CreativeCat18-May-04 4:14
CreativeCat18-May-04 4:14 
GeneralRe: Using IDispatch Pin
CreativeCat18-May-04 4:38
CreativeCat18-May-04 4:38 
GeneralRe: Using IDispatch Pin
Dave Kreskowiak18-May-04 9:49
mveDave Kreskowiak18-May-04 9:49 
GeneralRe: Using IDispatch Pin
CreativeCat18-May-04 9:51
CreativeCat18-May-04 9:51 
GeneralMdi Form Pin
XGaMeS17-May-04 3:38
XGaMeS17-May-04 3:38 
GeneralRe: Mdi Form Pin
Dave Kreskowiak17-May-04 3:56
mveDave Kreskowiak17-May-04 3:56 
GeneralRe: Mdi Form Pin
XGaMeS17-May-04 4:02
XGaMeS17-May-04 4:02 
GeneralActiveDesktop in VB.NET Pin
Emdek17-May-04 2:23
Emdek17-May-04 2:23 
GeneralRe: ActiveDesktop in VB.NET Pin
Dave Kreskowiak17-May-04 3:15
mveDave Kreskowiak17-May-04 3:15 
GeneralRe: ActiveDesktop in VB.NET Pin
Emdek17-May-04 3:52
Emdek17-May-04 3:52 
GeneralRe: ActiveDesktop in VB.NET Pin
Dave Kreskowiak17-May-04 3:59
mveDave Kreskowiak17-May-04 3:59 

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.