|
-
Dec 11th, 2000, 01:51 PM
#1
Thread Starter
Addicted Member
My (shelled) program appears on the system tray, so I have to click on it to show it on the desktop. (the shelled program is alsdo an compiled VB-program (exe). I like to see the program direct on the desktop. How can I do that ?
-
Dec 11th, 2000, 02:04 PM
#2
Lively Member
Ok, i would say the ghetto way to do it is to have the program save a key in the registry
Code:
SaveSetting "myapp","commands","maximize", True
then have the other program with a timer monitor that key
Code:
If GetSetting("myapp", "commands", "maximize", False) = True Then
SaveSetting "myapp","commands","maximize", False
Me.Windowstate = vbMaximized
End If
but like i said.. this is a very very ghetto way of doing it.
Kid A
18 Year Old Programmer
Visual Basic 6 & .NET Enterprise, ASP, WinXP (Advanced Server) Administration, HTML, Graphic Arts, Winsock, Learning VC++ and now maybe C#.. heh
[vbcode]
'back in the day vb6 code
Private Sub My_Life()
If Hour(Now) > 3 And Hour(Now) < 13 Then
Status = "Sleeping"
Else
Status = "Computing"
End If
End Sub
[/vbcode]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|