Displaying Form With WMP Control On Another Screen?

Jun 11, 2011

I am writing a program to control light and sound for a show I'm working on.
The program has buttons and stuff controlling music and sound effects but I am at a loss as to how to get the video part to work.

My computer is hooked up to a projector in extended desktop mode. (I can't change that, otherwise my control panel would show up on the big screen.

I need the video to display on Screen 2 (the projector), so I made a form and used this code:

Dim screen As Screen
screen = screen.AllScreens(1) 'the array is 0 based
Form2.StartPosition = FormStartPosition.Manual
Form2.Location = screen.Bounds.Location + New Point(0, 0)
Form2.ShowDialog()

to display it when I press a button. This worked fine, I set form2's border to none and fullscreened it, tested again, no probs. My problem arose when I tried to add a WMP ActiveX control. I ran the program, pressed the button, and... form2 (along with WMP) appeared on my laptop display. I desperately need this by tomorrow. If no solution is available, is there an alternative to WMP?

View 2 Replies


ADVERTISEMENT

Displaying Windows Form As A Child Of User Control?

May 30, 2009

I have a User control having two panels. one at the top border and second at the bottom border of the control.

The panels contain some buttons on the click of which i want to display some forms. But I want thoes forms to act like children of the user control i.e. like MDi Parent - Child (here parent being User control and child being the new forms which would be opening). Unfortunately i've not been able to find any way of do'in so.

View 2 Replies

Re-size All Control Within Form To Fit Different Screen Resolution?

Jul 21, 2010

How to re-size all control within form to fit different screen resolution?

any solution on this? my control always run out of the screen size... can it re-size every control before the user can see the form load..?

View 4 Replies

Resize Font Of All Windows Form Control When Change Screen Resolution?

Jun 10, 2011

I want to resize font of all windows form control when i change screen resolution..I am able to resize all the controls but font resize driving me nuts..

View 7 Replies

Displaying Text To Screen?

Jan 18, 2010

How do I get a VB program to display a character to the screen after clicking a button and then once the character has been pressed for the character to dissapear from the screenP.S Possibly using a messagebox - i can easily display one but cant find a way for it to exit upon pressing a keyboard character

View 2 Replies

[2005] Multi-Screen Application - Control Each Screen Separately?

Jun 23, 2009

im about to develop a small appliacation for a bet system, which needs 6 screens, each screen will be a touch screen for each client... the application will be running in one computer only just with 6 screens. my question is does anyone knows how to control each screen separately?. somethign that would allow me to output each forms in different screens would work fine.

View 2 Replies

Displaying Text To Center Of Screen

Feb 18, 2010

I know i've made a few posts previously on this, but none have fully worked. I now have my program doing everything I need it to do, except having the ability to display the text to the centre of the screen. It needs to be able to perform the same functionality it does on the form but without the form being there (e.g. the letter disappearing after being pressed)

[Code]...

View 13 Replies

Displaying Two Forms On Left / Right Side Of Screen

Aug 11, 2010

I would like to display 2 forms side by side. Frm1 will call Frm2. The problem is, if Frm1 is too near the edge of the computer screen, when Fr2 is shown, part of it will be outside the screen. How do I make it so that if Frm1 is near the right-side of the screen then Frm2 will show on the left-side of Frm1 and vise-versa?

View 2 Replies

Converting Time Formats Displaying In Label On Screen

Sep 24, 2009

I have a variable which I called ElapsedTime. I press a button and it displays the time in seconds since clicking the button, into a label . I did it with HTML
Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
LblElapsedTime1.Text = ElapsedTime
ElapsedTime = ElapsedTime + 1
End Sub
Private Sub BtnStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnStart.Click
Timer2.Enabled = True
End Sub
This updates every second a bit like a simple stop watch. Great so far, because I do need the elapsed time (in seconds) for later use in my app. However, whilst elapsed time is being displayed in this label on the screen I want it to be shown in HH:MM:SS format. How can I convert it into a new variable " ElapsedTime2 " so that I can show it in the desired format yet still retain my original " ElapsedTime " variable for later.

View 8 Replies

Is There A Control That Is Specifically Designed For Displaying Content Larger Than Control Itself

Sep 23, 2010

Is there a control in vb.net that is specifically designed for displaying content larger than the control itself?I know it's possible to code your own using a panel and two scrollbars, but is there an already existing method for this?

View 1 Replies

Detecting Change In Database / Displaying Word 'change' On Screen In Realtime For Any Client Connected

Nov 30, 2010

Can someone please help me create a very very simplistic sample page as the chat page included is too coomplete. something as simple as detecting a change in the database and displaying the word "change" on screen in realtime for any client connected.and I tried creating a global.asax file into which I added in the line mentioned in the link above, but it does not seem to like the word "Setup" in the line [code]

View 2 Replies

WMP Control Displaying ID3 Information?

Nov 19, 2009

I remember using a one liner, something along the lines of AxWindowsMediaPlayer.currentMedia.Artist or something similar, that required no complex processing of the file, to display artist, album and song title. Using the WMP 11 control. It's been a while since i needed to use that and i've lost it.

Was wondering if anyone knew what that was, and if im mistaken, what easy method, without processing strings, files etc. there is in getting ID3 tags.

Im using Visual Basic Express 2008

View 3 Replies

Displaying Contents Of Ms Access Database Form On A Form Using .net?

Sep 16, 2011

How to display contents of ms access database form on a form using vb .net...in visual studio

View 7 Replies

Screen Blanks After 1 Min Of Processing (of Excel File) / Refresh Or Freeze Screen To Avoid Blank Screen?

Jun 29, 2011

BTW this issue occurs in any MS office program when the VB.Net (or even VBA) is processing information.Example: In Excel, a worksheet is displayed on the screen. I start either, a VB.Net or VBA procedure and within 30 seconds the Excel worksheet (previously displayed) blanks out. In both VB.Net and VBA,ScreenUpdating = False. My expectation is that the previously displayed screen would stay static as if I left my desk to get a cup of coffee; came back and the same ole Excel worksheet was still there?Of course, setting VBA Screen Updating = False accomplishes two goals: 1) speeds up processing and 2) saves the user from seeing unnecessary "garbage-processing" steps.Why does VBA or VB.Net ScreenUpdating = False not freeze the screen at the time of its invoking?

View 11 Replies

Displaying A PDF In A Control In Visual Basic 2010?

Dec 17, 2010

I just installed Visual Basic 2010, went through some tutorials on how to display files, but can't find any material on how to select and embed existing PDF files into a form.

View 4 Replies

Filter The Content That Reportviewer Control Is Displaying?

Jun 6, 2011

I'd like to know how to filter the content that my reportviewer control is displaying. Example, from all the records of employees, I only want to print those whose surname starts with letter 's'.

View 2 Replies

Help Displaying Dates Correctly In Calendar Control

Jun 29, 2011

I have a dataset that returns the following data:[code]The first character is the shift code, the next date is the beginning of the shift the next day is the ending day of the shift and the last field is if it is a day shift (0) or night shift(1).I need to display the dates for the DBX dates in a light blue and the ACY in white.These shifts are always on the same days, just A,B,C,D rotate from night I am new to web development and just trying to create a shift calendar on the fly,What the result should be is a calendar with 4 days shaded blue, and 4 days shaded white.

View 2 Replies

Show A Textbox Displaying Numbers With A Control?

Jun 20, 2011

I have three Buttons labled "Single" "Double" and "Triple" and four textboxes, one for each button and one to display the results. Here is how it works. Each time I click on one of the buttons, it increments itself by that number...for example if I click on Button with the word "Triple" on it I will get the result '3' in the adjoining textbox. If I click it again the number will change to '6'. This holds true for all the buttons. I have this part of the program working well. there a way to have the addition of all these numbers appear in the fourth textbox WITHOUT having to use another button. In other words I want the fourth textbox to constantly update as I'm pushing buttons.

View 2 Replies

User Control Displaying In Wrong Place

Aug 24, 2010

I'm trying to include a user control in an aspx page, it works fine, but my control does position itself where I want it and always appears at the very top of the page. Could it have something to do with the masterpage? I've tried registering the user control in the master page, but I don't know how to reference it in the content page.[code]

View 1 Replies

VS 2005 Displaying Multicolumn Data - Which Control?

Jul 17, 2009

I would like to create a multicolumn list of items, similar to the right pane of the Windows Explorer window. There are rows, one for each item. And there are columns similar to the filename, size, date of last modification, etc. columns of Windows Explorer. The data supplied to the control will be individually extracted from files. (I mean, no database, no spreadsheet is available as a source.)

Question: Which control is the best for this purpose? I tried listbox, but it seems "multicolumn" means not what I'm used to in Excel VBA.

View 16 Replies

VS 2008 Displaying Same Control On Multiple Tab Pages?

Aug 5, 2009

Basically I have custom events within several classes which populate data for specific controls. I'm only using one form, however I'm using the TabControl which houses 3 tab pages, I want to display the same label on all 3 tab pages, any idea's how I could accomplish this?

View 9 Replies

What Control To Use For Printing / Displaying Pages Of Text

Nov 11, 2011

In my desktop application I am writing output to a rich text file *.rtb and loading it into my rich text box control so the user can see the results of an analysis...This analysis which is saved as *rthas 50-200 pages of textUsing the rich text box control works ok but I would like to have a table of contents with hyperlinks or navigation tree that would allow the user to click on a link and go right to the specific page of output.

View 2 Replies

Asp.net - Navigation SiteMathPath - SiteMapPath Control Is Not Displaying On The Masterpage When I Log In?

Mar 25, 2011

My application has a number of different users, currently there are different masterpages set up for them. The idea is for some type of breadcrumb in the system i.e. home > details > ...What is the best approach for this? I think I will need to define the separate paths that each user can have (all the pages they can view) in the Web.sitemap (will have multiple SiteMapPaths) and then add the sitemap control to masterpage and link them to the appropriate SiteMapPath, does this sound like the right way to approach this?

I am having an issue with setting up the SiteMapPath within the masterpage. I used the following tutorial http:[url]....aspx to try to use the control, but the SiteMapPath control is not displaying on the masterpage when I log in do you know what the problem might be?

Web.sitemap:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >[code].....

View 1 Replies

Correct Control For Displaying Mouse Right Click Menu?

Jul 29, 2009

what is the correct control for displaying mouse event -> right click? i tried the ContextMenuStrip control but it seems i can't change its location, can i?

View 17 Replies

Displaying Errortext On The Current Cell In DataGridView Control?

Oct 9, 2007

I'm trying to use the errortext field on a cell to display a validation error. It works fine if I leave the cell, but I can't figure out how to display it while staying in the cell. I have seen examples where the code updates the row's errortext, but I really want to mark the cell in error.

My code is:

Code Block

View 6 Replies

VS 2010 Displaying Property Arrays In PropertyGrid Control?

Feb 17, 2011

It seems as if the propertygrid control cannot display property arrays. Is this the case?

When I do this :
Imports System.ComponentModel
Public Class comPicturePirate
Private intAmountImages As Integer
Private strWebURL As String

[Code]...

View 11 Replies

Irregular Shaped Form With No Borders Moving Across The Screen Until From Within The Loop The Form Closes?

May 26, 2012

I tried it every way I can think off, but nothing can stop it .

View 7 Replies

Crop Form Screenshot - Screen Capture Of Twindows Form And Display Only A Certain Specified Area

Aug 2, 2010

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Form2.PictureBox1.Load(bm2)

[CODE]...

So I'm trying to take a screen capture of the windows form and display only a certain specified area of that screen capture in a picturebox on a different form. Kind of like this. First, take the screen capture of the form: Then get a specified area of that form through x,y coordinates or something and display it on a picturebox on a separate form.

View 1 Replies

Form Height Limit, Make The Form Larger Than The Screen And Allow For Scrolling Down?

Nov 17, 2011

I have read that VB .NET in earlier versions limited the FORM size to that of the development machine screen resolution.I am hoping that there is a way in the current VB 2010 to get around that.However in my attempts to make the form larger, it always resets itself to the screen height on my develoment machine.Is there a way to get around this and have the person be able to use a scroll bar to move down?The data I wish to show actually has two screens worth of information but the stuff in the scroll down section would be used on a limitied basis so scrolling will be useful rather than having to recreat the screen to show less data at one time.

View 2 Replies

'abort' (terminate Immediately) A Form Screen In A Windows Form Application Running Under 'local' Environment?

May 30, 2012

FormA calls DialogB where user cancels DialogB which exits via ForceTermination(), see insert.Caller FormA check for DialogResult not = OK, which it isn't, and I can see this in debug as Abort(3).However, the code continues merrily along its way until I get a 'null reference' error which I'm trying to avoid via Force Termination().This is caused by the user cancelling DialogB, a selection process to get a database (SQL) instance.[code]

View 13 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved