This 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.
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
I'm making a seat booking system in vb.net (WinForms) and I need the user to be able to select the seat they wish to use and for it to change colour (so they can tell that it selected).
I began to try using buttons, but 480 buttons seriously slowed down the load time for the form. I then tried a data grid view with buttons in the rows/columns, but couldnt make that work properly.
Would it be worth trying to use 480 picture boxes and change their background colour? Or would that just slow the form down the same way as 480 buttons?
how 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.
Now 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)
I 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.
I 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?
I 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
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()
I'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.
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?
Is 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...
Ive 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
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
I 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:
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?