Make A Picturebox Fullscreen?
Jan 22, 2010Make a picturebox fullscreen?
View 1 RepliesMake a picturebox fullscreen?
View 1 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.
How to make a program fullscreen?
View 3 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 RepliesI am trying to make a picturebox follow another picturebox. But I also want this picturebox to be able to collide with the other picturebox if the picturbox stops. I hope this is not too confusing. I cannot figure this one out. The code below is probably nothing like what I should be doing, but i cannot think of any other way to do what I want.
PictureBox1.Location = New Point(PictureBox2.Location.X)
PictureBox1.Location = New Point(PictureBox2.Location.Y)
I have two Picturebox and both should be transparent background, but the real problem is both transparent for form background but not over each other .
View 1 RepliesThe error that I get is "Object reference not set to an instance of an object."[code]...
And is it even possible to do a vb6 style implementation? As I see it, this will clone the picture image while the vb6 implementation will just read directly off the image? and is lockbits like getdibits? I need to process 60 bitmap images of about 200pix by 200pix every second.
I'm trying to make a picture box do a "fade in" effect. I just don't exactly know how to code it. The general premise is, in the main form's load event handler, I'd run a procedure so that when the form opens up, a picture will fade in. I have 20 copies of the same picture, each gradually less and less faded.I was thinking of cycling through an array of all the images with a timer control so it animates and fades in.
View 1 RepliesCan you control what part of the image is shown in the picturebox. ex. you only want the top left 100x100 pix shown of a 1000x1000 pix image?
View 4 RepliesHow can I make a picturebox transparent?
View 8 RepliesSub resetboard()
For x = 1 To 80
This don't work
Boardstring(x).Image = NewBoard.Images(x)
This does d1.Image = NewBoard.Images(x) Next Is it posable to replace d1.image with a Boardstring(x).image
I want to make a PictureBox to non background color, when I change its backcolor to transparent its backcolor still black.
View 2 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?
So I am trying to Make a Jewel Quest sort of Game and I need to be able to make the image from one picturebox trade places with an image from another picturebox, I m trying todo it with the MouseMove, DragEnter, and DragDrop events and so far i think ive gotten everything figured out for the first two but cant figure out how to code the drop event.....
View 3 Repliesis there a way to change the size picture (scale the image according my size 300 x 150). Let say an user upload an image with (500 x 300), using picturebox, can i scale the image (500 x 300) to my picturebox size so that it can looks perfectly nice
View 2 RepliesI'm making a minigame where the user moves their mouse around a picture and a little image of a stick figure follows that image. I've got part of it to move, but it only moves up and down. I've tried to change the code to go by width and height but it wont go into debugging even though it shows know error.[code]...
View 4 RepliesIs there anyway to make a picturebox move very smoothly, with my code it is very jerky and ruins the jumping effect i am currently using:
Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
Select Case e.KeyCode
Case Keys.Left
[code]....
I have a small picturebox(34x34 pixels) and want to have a transparent label(maybe 12x12 or 15x15 pixels) in the corner of it, which will be used as a counter.
I saw another forums suggesting adding the PictureBox as a parent to the Label, like this:
Label1.Parent = PictureBox1
Label1.BackColor = Color.Transparent
But then the label just disappears, and no text is displayed.
Is there a way to make a vertical progressbar other than using say a picturebox and loading an image correlating in height to the corresponding value?
View 7 Replies