Make A Program Fullscreen?
Aug 15, 2011How to make a program fullscreen?
View 3 RepliesHow to make a program fullscreen?
View 3 RepliesThis will be a simple one I bet as totally new to VB but have to start somewhere.I need the code to make a program called td4.exe on my I: drive be called from a VB app and it MUST run in Fullscreen mode with no borders. If just run the td4.exe it is windowed and will not alter even from the properties settings.
View 5 RepliesI need to make a winform full screen. This is what I found online.
1. Hook WinProc to catch WM_SYSCOMMAND
2. Check wParam == SC_MAXIMIZE and then
3. Set my windiw's attributes
Me.ResizeMode = ResizeMode.NoResize
Me.WindowStyle = WindowStyle.None
Me.WindowState = WindowState.Maximized
I am fairly new to vb.net and do not know how to do Steps 1 or 2.
Make a picturebox fullscreen?
View 1 Replieshow would you make the form fullscreen
View 3 Replies how to make a form to show in a game, Sort of like the program steam does.
Or is this even pausbile?
I have a form in visual basic 2008 express edition and i want to be able to press a button to make the form go into fullscreen i have tried various codes but they all just remove the taskbars and i want the form to increase in size and not leave a section of the side blank i want it to sort of zoom the form size
View 10 Repliesif there is a way to disable the WMP control from going fullscreen when the video is clicked on??
View 3 Replieshow to write the fullscreen video opening vb.net code? Currently,I am doing the project opening full screen video by moving the sensor.I can do the maximized video opening when run the program,but not full screen.I heard about ActiveX for fullscreen before, but I don't know how to put it and make the fullscreen.
View 3 RepliesNow my question is, is it possible to use Hotkeys and ScreenCapture in a Fullscreen game?If so, how?What im acutaly trying to do is a program to take a screenshot ingame (for some reason, this game doesnt have an option to take screenshots ingame.. Bad Company 2)
View 7 RepliesI have created 2 forms: "Form1" and "Form2"....Form1 is MDIcontainer and it contains Form2. In Form2 I have inserted the windows media player OCX. When I run the program and try to set the media player to fullscreen (via command button) appears an error:
{"Errore irreparabile (Eccezione da HRESULT: 0x8000FFFF (E_UNEXPECTED))"}
Here's the
Public Class Form2
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
AxWindowsMediaPlayer1.fullScreen = True
[Code] ....
If I open a new project and I copy the code and the media player it works! I think problem is when I use MDIforms.
Basically i'm coding a application that can be used as a crosshair.How do I keep this above the game which runs in fullscreen. I've tried
View 5 RepliesI have this one project going on, and I has media player inside the form, and other staff too. How I can make only the media player to go in fullscreen?
View 2 RepliesI need the simplest code possible to play an AVI fullscreen on a form.
View 5 RepliesI need to create a vb-application which plays video-files as a fullscreen mode on computer's external screen. At the sametime user must have control to these files on another screen shown on the computer's (laptop) own screen.
So far I have managed to open the videofile as a fullscreen mode so that user has to first drag the videopanel (not a problem in this case) to the another screen and then click the "Fullscreen"- button on the control-form. Now the problem is that when another screen is playing on a fullscreen-mode and user clicks the control-form on the main screen: the fullscreen-mode ends and the videopanel results to the video's actual size.
Is there any solutions to this? So I'd need to continue the fullscreenmode on the other screen while there are user actions on the main screen. I am using DirectX / AudioVideoPlayback by Visual Basic 2008 Express Edition. And yes, I am quite a newbie with VB-related things :)
The following code takes a full screen screenshot:
Public Function TakeShotOfScreens() As Bitmap
Dim maxHeight As Integer = 0
Dim maxWidth As Integer = 0
For Each scr As Screen In Screen.AllScreens
maxWidth += scr.Bounds.Width
[Code] .....
I am after some code that takes a screenshot of only a small portion of the screen.... I have to x,y,width and height of the square that I wish to take. Is this possible?
i make a simple winform application with AxWindowsMediaPlayer and timer.
My objective is about to make the application play the clip with interval (that's why i use timer)
When AxWindowsMediaPlayer finish playing the first clip, everything's okay. But when it begin playing the next clip. It CAN'T HAVE FULLSCREEN MODE. I have to double click the control manually to have it fullscreen. I use vb 2005 in 7 ultimate.
Here is my code
Private Sub AxWindowsMediaPlayer_PlayStateChange(ByVal sender As Object, ByVal e As AxWMPLib._WMPOCXEvents_PlayStateChangeEvent) Handles AxWindowsMediaPlayer.PlayStateChange
[Code]......
I've a really nice fullscreen code I found on the internet, the only problem I found was that you can't make msgbox show or open another form! Which is really bothering me making panels.visible = true/false to make a cheap way of "Forms"orm1.
Private Sub TryToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Call normalScreen()
[code].....
How can I make my app form go to fullscreen, and change the computers resolution as what I want?
View 2 RepliesI'd need to show an image in fullscreen mode on my application when a music-file is being played. Is it possible to define a form and an image (picturebox) to be shown as a maximum size on the screen?One thing that makes it even more interesting is that I'd need to show it as a fullscreen mode on a external screen.
I can move the form to external screen like this:
Form3.SetBounds(2000, 112, Form3.Bounds.Width, Form3.Bounds.Height)
Is there a way to add a Full Screen button to the embedded media player? I know that you can add a 'button' that will set it to full screen after it is running, or you can add code that will make it go full screen, but is there a way to actually put a button in the embedded player to make it go full screen?
View 2 RepliesIs it possible to create a menu when wmp comp is in fullscreen mode. I mean when wmp goes fullscreen a toolbar or something appear, showing play pause etc! Generally all the controls of a player...
View 3 RepliesIve been trying to build a simple application that runs a single website, as a promotion for a friends new project.The problem is, he wants it to exit when ESCAPE is pressed.Since neither of us have any expierence building apps, were fully relying on stuff we find on the internet.I was able to make the webrowser work in full screen,I was able to make it quit when ESCAPE is pressed.But for some reason, when I combine the code, it doesnt work anymore.This is what I have sofar:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None
Me.WindowState = FormWindowState.Maximized
[code]...
Basically I want to Position a line from The middle of my screen to the bottom right of my screen. But I need to draw over the game to do this. I dont mind if it flickers as long as its there is all i want. Like this VV
View 4 RepliesI cannot for the life of me disable fullscreen on the WMP control when the control video is double clicked on... I posted yesterday regarding this, but marked the thread as resolved as i thought i had fixed this by going:
[Code]...
I need to overlay a small bar along the top of the screen over a fullscreen DirectX game. I have searched for a while but I have not found any code examples for VB.NET 2008 (I've never used any previous version). How can I do this? Would this involve learning DirectX programming?
View 2 RepliesI have created a <acronym title="Visual Basic">VB</acronym>.NET project that includes WebBrowser control. The web browser control navigates to html page that embedes a flash movie. Everything works fine except that when I want to exit the fullscreen mode of the video by pressing (Esc) key, it doesn't exit. If I view the html page with any other browser (Internet Explorer, Firefox, ...) it works perfectly. You can download the project from the link below. The files are in the Debug folder.
Download Link: FlashinWebBrowser.rar - [URL] - online file sharing and storage - download
I am writing a GUI application to run on a touchscreen device using VB.NET and WPF--it must be full screen at all times, like a kiosk app; the window must not be able to resize or move in any way. The window contains a ListBox that users can currently scroll through by dragging across the list. The problem I'm seeing is that when the user drags across the list, the whole window moves a bit, exposing the desktop underneath, then springs back into place once the user stops dragging. I have not been able to figure out how to keep the window stationary while still allowing users to drag across the ListBox to view all list items. Here is a somewhat simplified version of my code:
[Code]...
I cannot find a way to make a program that I write make a shortcut in the start menu for all users.My final goal is to make an MSI and deploy it in group policy to all users on a computers OU. Is this possible?
View 5 RepliesHow do i make my button open a program and make it windows size?
View 6 Replies