Interface And Graphics :: GDI Output To A Monitor And Projector

Aug 30, 2008

I'm writing a VB2005 program (for WinXP) to implement a lighting show and need to clarify a few things before I buy a video projector.My PC has 2 Geforce 8800GTS cards. One will feed a standard monitor (housing the program control interface) and the other will feed the video projector doing the lighting show.My prog uses GDI DrawString to output text to the video projector.In the prog I want the output of Form1 (control interface) to ALWAYS go to the Monitor (through the primary display adapter) and the output of Form2 (GDI text strings) to go to the video projector (through the secondary display adapter).Can I assign a FORM to a specific Display Adapter or Monitor/Projector so that all output from that form will automatically go to that adapter (monitor/video projector)?If not, what is the best way to do it? Perhaps something like the following? Frankly I have no idea whether this is even remotely correct or whether there is a better way. [code] If the above is correct, will it work for a video projector as well (i.e. is a porojector also set to a specific resolution/bounds and is that resolution/bounds used as its size, as with a monitor?

View 2 Replies


ADVERTISEMENT

Interface And Graphics :: Getting Multiple Monitor Screenshot?

Feb 12, 2009

I'm working on a small app that takes a series of screenshots to analyze a graph. The problem I'm having is that, on my 3-monitor setup, the screenshot works fine on the primary monitor, but when I drag my app to either of the other monitors, the screenshot is black. I've also tried taking screenshots of the other monitors while the app is in the primary monitor by feeding the coordinates into the CopyFromScreen call directly, and that works, but as soon as I drag my app to one of the other monitors, all my screenshots are black. Also, and I'm pretty sure this will be important later, my primary monitor is attached to the on-board video, whereas the other two are attached to a separate video card. Both the on-board and installed cards are ATI Radeons.

Here's the screenshot code I'm using:

Code:

Namespace ScreenShot
'/ Provides functions to capture the screen, in whole or part
Public Class ScreenCapture

[code]....

View 2 Replies

Interface And Graphics :: Monitor Resolution For The Masses?

Jan 11, 2012

Recently I released a �preview edition� of an app to the www for distribution. One of the comments I received back was about it not fitting on the screen properly.So I just wanted to put it out there and get some feedback on how everyone approaches the subject of trying to make everyone happy.Being that it was a preview edition and not a released version I wasn�t all that concerned about things like auto scaling. The purpose was to demonstrate the concept of the program not provide a fully functioning bug free version of the software.I have started on a �preview edition 2� which includes 5 group boxes (3 left side and 2 right side) and I have that fairly well sorted, sizing and positioning the group boxes using the Form width and Height.I am not really interested in improving that section of the code too much as it works fairly well already. My concern is more around the labels, text boxes, drop down boxes etc. in the groupboxes�

Again I can do a similar thing scaling to the height and width of the groupbox properties to align the contents of the groupboxes.My question is� When you try to use a resolution like 800 x 600 (which appears huge after using ~1600 x 1000) how do you squeeze everything on the page?I was thinking of changing the font size for each resolution group i.e. < 900 Horizontal run this font size, < 1000 Horizontal run this font size etc.Or I could work out the font size based on the resolution and round it� FontSize = rnd (Res / 100, 1) since the lower the resolution the bigger the font is going to look anyway.If I can control the font size and I auto size all the labels and text boxes etc. I think I have a far better chance of getting everything on the screen.

View 7 Replies

Interface And Graphics :: Any Way To Pipe Output Of Bat File To Control

Mar 26, 2010

I have a visual basic .NET application that starts up a command prompt window using the following method:[code]The bat file then goes on to start up an application, which has a lot of output to the command prompt.I was wondering if there was any way to pipe the output of the bat file to a visual basic control. I am trying not to modify the bat file, if I can help it.

View 9 Replies

Interface And Graphics :: Display Long Lists Of Output?

Aug 15, 2008

I am trying to write a program in VB2008 Express. I originally wrote it in excel, but I want to add some features and make it a standalone executable. the program is ideal for a spreadsheet application though.

essentially, there are two input tables. each containing about 6 columns and maybe 10 rows. I assume that could be handled by arrays. the output would be a continuously updated table of output based on calculations using the data from the two input tables. the output table would be about 4 columns by up to 1000+ rows, and would need to be recalculated and displayed each time any data in the input tables has changed.

first, are arrays sufficient to handle this? would databases be more appropriate?

second, what's the best way to display a long list of output, that has a user defined length and is continually updated. it would also be nice to have the ability to click on an individual cell (or value) in the output and have more code executed.

is there a way to incorporate a spreadsheet like tool for this as a backend? I want to make sure i'm using the most efficient approach before i invest too much time.

View 1 Replies

Interface And Graphics :: DXF Viewer Control With Measured Output

Dec 16, 2011

I am re-writing my old VB6 DXF viewer control in VB.NET Winforms. Attached is a picture of my testbed app. As we only need it to check parts that have been created to generate gcode for our laser it is limited to Points, Lines, Arcs, And Circles. It has Point, EndPoint, Centers, and Intersections snaps for all entities and combinations of entities. Measured output is displayed as Actual Point to Point plus Horizontal and vertical delta. Zoom Extents, Zoom Window, Pan and Mouse Wheel Zoom are fully functional. The last took a while to develop as I wanted the Zoom to be centered about the cursor position just as it is in Acad.

View 19 Replies

Interface And Graphics :: E.Graphics.Drawstring Length Overflow Page?

Nov 19, 2010

Im working on a project that needs to print a report of one client.Everything went smooth untill i came across my multiline input text data.When i display it in the PrintPagePreview the text go's outside my page. Even when im printing it only the halve of my text is displayed. I googled and looked everywhere but i can't get a clear fix for it.

[Code]...

View 3 Replies

Interface And Graphics :: Passing Bitmaps & Graphics To Subroutines As Arguments

Jan 22, 2011

I used to program with Visual Basic 6, so I have alot of old programs that I'm updating, plus I'm learning the new VB2008 methods. I'm writing a program that replaces the old "BitBlit" function which is no longer supported by Visual Basic 2008. It involves three picture boxes, one holds the sprite bitmap, a second holds the mask (silhouette) of the sprite bitmap, and a third has a background image.

[Code]...

View 3 Replies

Interface And Graphics :: System.Drawing.Graphics.DrawString On Other Window?

Aug 14, 2009

drawing text on a window which is not the current form's window.I remember doing this in Win32 api with getwindowdc(handle) to obtain a DC for the Window, then textout() on the DC.

View 2 Replies

Interface And Graphics :: Create A User Interface In A Game Such As The Application XFire Using VB?

Jan 12, 2010

how to create a user interface in a game such as the application XFire using Visual Basic?

View 3 Replies

Interface And Graphics :: Use A Graphical User Interface That Contains A Drag And Drop Form?

Oct 19, 2008

I'm working on a design project where I have to use a Graphical User Interface that contains a drag and drop form. It consists of having a window dropped on a wall. Both of them are images to scale. I would like to know what kind of code I would have to use to show the x and y coordinates of one of the points of my window when dragged so when I drop it, I'm dropping in it on the desired coordinate of the wall.

View 2 Replies

Interface And Graphics :: Creating A Class Holding Some Graphics?

Jan 12, 2011

Ok, I want to create a class that will handle a special rectangle graphic.In my form, I want to have two of these special rectangles. So, basically, I need two instances of that class in my form, right?I manage to initialize two, alright. But, how exactly am I supposed tomanage drawing/graphics etc in a class, and the results to be displayed in my form?

View 13 Replies

Interface And Graphics :: Error - Graphics Paths For Designing

Oct 29, 2008

Using graphics paths for designing...but am getting an error when trying to add a shape to : _shapelist.add(createshape())

It says : Value of type 'system.drawing.drawing2d.graphicspath' cannot be converted to '1-dimensional array of system.drawing.drawing2d.graphicspath'

View 2 Replies

Interface And Graphics :: How To Procede With An Interface Design Approach

May 18, 2012

I was wondering if I could elicit some tips on how to procede with an interface design approach.That is. What is a good way to go about establishing a "work area" where one can have multiple "floating forms" in this area.Can you have a form which occupies the entire windows desk top and the other forms "float" in this space? the "floating" forms would need to interact with each other where pressing buttons etc on them would affect other forms on the "workspace") Or what would be a good way to start accomplishing that? Or is there a better way to get the same effect?

View 4 Replies

Interface And Graphics :: Link A Class / Object To An Interface?

Apr 21, 2010

I'm trying to make a .dll that contains a lot of basic functionality that a program can use. Currently i am trying to use interfaces to make a lot of this functionallity independend of the program using it but i hit a snag. The Basic idea is that a programmer will create his own object using the interface discribed in my .DLL file. Then implements those functions as he likes. He can then instanciate a controller (found in the same DLL) and sends his custom object implementing the interface to that Controller. The controller can then be started and will take over all the work. I do not know what type of object is send to the controller and idealy i want to program it in such a fashion that i shouldn't care as long as the object send implements that interface.In code I am trying to achieve the following: (quite simplyfied)

.Dll:
Code:
Public Interface MyInterface '<----Decleration of the interfaceFunction GetData() As Integer
Function SetData(Data As Integer)
end interface

[code]....

this propperly. I know that the second i set the interface adaptor in the Controller VS comes nagging that it can not be converted to a "MyInterface" Class. Obviously i am doing something wrong. I can change the datatype that the controller expects to the "MyController" type but that would completely ruin the whole idea of flexibillity. I am hoping someone sees what i am trying to do and can point out where i made the thinking error.

View 6 Replies

Interface And Graphics :: Picture Of Interface And Get Feedback On Changes For Easier Use?

May 21, 2012

Is this where i would post a picture of my interface and get feedback on changes for easier use? If not is there someplace on this forum or any other forum to do this?

View 1 Replies

Interface And Graphics :: Draw On Tabpage's Graphics?

Jan 19, 2011

So I decided to make my famous tile selector project, but instead of drawing in a form's graphics, do it inside a tabpage.Well, I managed to get it working, but it seems to... flicker.Normally, setting the form's DoubleBuffered property to True would help a lot there, but apparently, the tabpage has no such property.

When I invalidate the tabpage, I draw two images and fill one rectangle.Following past advice, those two images were created before, just once, and are stored in a variable so I don't create them every time I invalidate the tabpage.

View 1 Replies

Interface And Graphics :: Save Graphics As Png With Transparency?

Aug 1, 2010

Ok I have this: This makes a sub called 'graphicspaint' then writes "demo version" to a picturebox1

Code:
Imports System.Drawing
Imports System.Windows.Forms

[code]......

View 8 Replies

Interface And Graphics :: [VB2010] - Some Graphics Effects?

Dec 5, 2011

i whant do my own shadow effect. i can do the shandow. but how can i plus 2 bitmap images(1 above the other)?

View 15 Replies

Monitor Process Standard Output That Does Not Necessarily Use CR/LF

Jun 29, 2009

My application periodically starts console programs with process.start. I need to monitor the output of the programs in "realtime".

For example, the program writes the following text to the console: Processing...............

Every second or so a new dot appears to let the user know the program is still processing. However,... until the programm outputs a CR/LF, I am not able to retrieve the standard output of the program (while it is still running).

What can I do to get the output in realtime for - let's say - piping it into a database for instance in VB.NET?

View 2 Replies

Interface And Graphics :: Keep Graphics Over Image

Oct 28, 2011

I load my picturebox with a jpeg. If I put my DrawObjects() sub into picturebox paint event.When ever a picturebox.refresh or picturebox.visible = true (vb.net seems to draw my DrawObjects() first, then load the jpeg Image over my drawing - erasing drawing) Is there a way to get the picturebox to redraw the jpg image first then draw on it, in picturebox paint event?

View 10 Replies

Plotting Graphics And Output To Image File?

Feb 23, 2009

I am a total beginner to software development, I have purchased a copy of Visual Studio 2008 and have been working through a self teach book on Visual Basic.NET. I have some ideas for applications that I want to develop and am in need of some pointers.

I want to plot graphical objects and standard lines and rectangles based on coordinate data that I have imported into an array from a tab delimited text file. I have some bitmap symbols that I have created and I want to plot these in my programme along with some labels and save the output as a bitmap file or other suitable image file.

I am having trouble finding any help in the online documentation and want know where I need to start. Do I plot the graphics directly onto a form or do I need to add them to a picture box? When I get this far how to I create the image file?

View 2 Replies

Interface And Graphics :: Possible To Do Image Map

Apr 4, 2011

Just want to know if it is possible to do an image mapping in VB2010?..

View 3 Replies

Network Interface - Equivalent To Get The Same Output In .Net?

Jan 29, 2011

I have this snippet in Java:

final InetAddress address = InetAddress.getLocalHost();
final NetworkInterface ni = NetworkInterface.getByInetAddress(address);
key = new String(ni.getHardwareAddress());

"key", on my PC returns:

▲╔UiÎ

What would be the equivalent to get the same output in VB.Net? I have tried getting 'MAC Address' and 'Physical Address' but they do not compare to the output in Java at all?

View 1 Replies

Graphics, User, Operator Interface

Feb 16, 2012

I am using Visual Basic 2005 for an Operator Interface in an industrial setting. Where should I be looking to help make my Operator Interface even more eye pleasing and practical?

View 2 Replies

Interface And Graphics - Datagrid Wrapping In WPF

Oct 4, 2010

I am having a datagrid in WPF application and I need to show the text wrapped in the cells. Basically I am reading from SQL server and displaying them in the Datagrid. Some of the fields having more than 255 character length and I want to show them as wrapped. To do this, I created my own style and trying to apply that to a data grid cell, but it is not working. [Code]

View 1 Replies

Interface And Graphics :: .NET And Video (re-)encoding?

Apr 11, 2009

I'm considering working on a video encoding framework. Essentially a program to re-encode a video file from one format to another, using codecs which are widely distributed. (Codecs commonly found on the average PC.)Emphasis would be on reformatting - rescaling, cropping - in a visual environment. Is vb.NET a good environment for such an application or would it be wiser to look elsewhere?

View 4 Replies

Interface And Graphics :: 3D Plot And Rotating?

Jun 18, 2009

I'd like to be able to graphically represent a position in a 3D graph and be able to rotate the grid to match a certain perspective. I've looked for tutorials online, but they all mention how to import or create common file types. I don't want or need to do this. I just need to know where to begin. I have the DirectX SDK, but I'm not sure where to start with it and need some direction.

View 1 Replies

Interface And Graphics :: Add A Scrollbar To Form?

Aug 12, 2009

How can I add a scrollbar to my form I tried the auto scrollbar option but is not working ??

How can I validate the user inpute inside a textbox to check that he type the desired word?? for Example validate if the user typed the word ( Bob)?

View 2 Replies

Interface And Graphics :: Automatically Changes Value Within Textbox?

Feb 17, 2009

how can i automatically update my value when a user changs the combobox item. At the moment i have a button click when the user changes the combobox item and press the button the values get updated, everytime the combobox item get changed i have to repeat it click the button to update the value. I want something where automitically as soon as the combobox item selected the total value in the text box to change without clicking the button:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If ComboBox1.SelectedItem = "Seafood" Then
TextBox1.Text = 3.5 * ComboBox2.SelectedItem
End If

View 3 Replies







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