[Originally posted by dinu]
I have to make a package of applications desinged to be used in a medical environment.
For this, I need to know if it's possible in Visual Basic to make a black screen (no forms, task-bar etc) and on this black screen to display some simple geometrical forms such as lines, circles etc.
I also want to know if it's possible in VB to get the refresh rate of the monitor.
Thank you very much,
[Originally posted by xterra210]
Click on FORM1.
Open its properties.
Set it to maximized
Set its color to black
you can even have some cool effects for the menu.ÿ If you've ever used Bryce 4 the menu is invisble, and when you mouseover the top, the menu is VISIBLE.ÿ this is perfect for what you want to do.ÿ
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Y < 500 Then
'//code to display menu
hope this helps
to exit the app, you can easily add:
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
or on a mouseclick, precedure, just like a ascreensaver.
[Originally posted by John Citizen]
An alternative that will allow you to do more but will alot harder then to get going then Xterra's example is you can directly reference DirectX.
This will allow you to get any information about the screen (like refresh rate - resolution) and allow you to create your own black screen and 2D/3D animated or still graphics.
NOTE this is very complicated and may be over doing it so i'll leave it up to you if you decide to investigate it. Once you learn it but it allows you to do incredible things. You will have to download the DirectX 8 SDK from microsoft's website (they have help support and examples).
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center