Create A Code VS 2008 Print Screen Part Of The Form
Jul 24, 2009Is it possible to create a code that when a button is clicked it Print Screens part of the form (For example, location 3,4 to location 30,40) and then saves the image?
View 3 RepliesIs it possible to create a code that when a button is clicked it Print Screens part of the form (For example, location 3,4 to location 30,40) and then saves the image?
View 3 RepliesI have a user who wants to print the form that is on the screen(the entire form not just the data) on the click of a button, is there a quick and easy way to capture it and print it. Kind of like a screen shot? I suggested that they could just do alt/printscreen and capture the form that way and print it but they want it all to be done from a print button for them.
View 14 RepliesI have a BIG piece of code that looks like this: Public Sub mnuNew_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuNew.Click ' Lots of code End Sub I need to execute this subroutine from another part of the same form's code. This should be fairly simple but I haven't been able to figure it out. How do I do this?
View 2 Repliesi am working on Scrollable form, when i am trying to print this form with PrintForm object its printing only the showing part not all the form this the code which am using. Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Me.PrintForm1.Print(Me, PowerPacks.Printing.PrintForm.PrintOption.Scrollable) End Sub
View 7 Repliesi have a form in which i have Name, startdate, end date, total hours, hourly rate, age and the total week hours. I want to print the name of employee with startdate, end date and total hours.
View 19 RepliesIm trying to create anther layer for the user to login by their fingerprint , but using any finger-print samples from the internet, so what software and the package i need to install in visual studio to get the program working
if any one could show me the all the steps for creating a login screen by finger-print that will be nice from them
I've inherited a project in VB6.NET 2008. There is a Panel control where graphs are drawn along with titles, axes, legends etc. What is drawn on the panel is also printed WYSIWYG (on a print command, of course) The problem I have is that the code for printing is entirely separate to the code for drawing. I want to merge the two so that common code is used. I'd like to work in the same units for both, which means setting either the pixels per inch for the Graphics object for the printing (so I can work in pixels) or doing the equivalent of the opposite so I can work in inches (printed inches, not screen inches).
View 2 RepliesI'm doing program that I can capture a part of the screen. Heres code, I don't know why it's not working.
[code]...
Hi.. Im using an application to capture selected part of screen by resizing the form and capturing area of it!! now i want to reset the form once my work id done!! i mean if i press a "RESET" button the form should be load as first time it was loaded.(the real form size..)
View 1 RepliesI have created a form for a user to add a new booking to a database, the form uses text boxes, labels and datetimepickers to handle the data. [Code] My problem is that when I print the document I get the following "311salesmeeting". This is the data from my text boxes, but I want the form to print as it is on my screen. I have done some reading up and the only other way I can see to print a form is to load the form into a bitmap file and print that. Is this correct, or can I alter my code some how.
View 2 RepliesI need to print a windows form which contains radio buttons, checkboxes, and other controls.
Printform doesn't work - even with the scrollable option it only prints the visible screen.
The PrintDocument doesn't work, because I can't add controls to it.
I can't capture the screen image, because the form occupies more than the visible screen.
how I would be able to print the entire portion of the screen which the form occupies,Basically, my problem lies in that the way I print now will properly print the form's buttons/labels/textboxes etc. But it will not print the WebComponent AxChartspace that I have added to it. So basically my form is partially blank.
View 14 RepliesI'm using Vb2008.I found this code to create forms in vb.net but I don't know how to use it .[code]
View 3 RepliesI have created a class which generates a form in code. I have hooked up the buttons and a text box so that they work. Now, I am trying to hook up the Resize event (and probably will need other events) for this form. How do I do that? If I can understand how to do it for the Resize event, I should be able to apply that to whatever other events I might want to use. I can't just put "Handles frmMyForm.Resize" or "Handles Me.Resize". I get the message "Handles clause requires a WithEvents variable defined in the containing type or one of its base types." This all has been a learning experience.
View 2 RepliesPlease tell me how can i disable print screen in Visual Basic 2008.
View 13 RepliesI have a program that Outputs a measurement after in putting an angle and a width... solves the triangle.
[code]...
Make question is if there is any way to make the program print to the screen a picture of the triangle with the correct angles and measurements?
How do i add a simple print button in vb 2008 to allow me to print the form?
View 1 RepliesI'm wondering if it's possible to refresh only a part of a code, the reason why is that I'm adding an item from Form2 to a listbox in Form1.The code in Form2 for adding is : [code]I need to press a button in Form2 to trigger the refresh in the code I posted above + it needs to do this action.[code]
View 5 RepliesI have a for each item in listbox:
try
'code goes here
catch ex as exception
end try
next
now, in my code, i also have if ex = certain error. i'd like it to go back to the top of the try. reason for not letting it do its thing is, i am wanting it to retry it, under the same item. So, is there a way to goto a portion of the code.
How to Disable print, print screen, right click using asp.net
View 4 RepliesI know that when you are working in vb.net, you are using forms, so in conclusion you will have an application with multi-windows. My questions is next: How you can do it, to have all the application screen in a main form. I have an application which assists me to manage the products and the customers. Normally with the forms, if I press on: Add new customer or Add a new product, I will have a new windows pop-uped. I want to have both on the same form. When I press on new custom to see the specific screen and when I press on the new product to see its screen. I tried now using panels and tableLayoutPanels using the property visible, but I'm sure it is not the best way to do it.
View 9 Repliesim making an application in vb.net (duh!) anyway i have created and coded the whole project and it performs exactly as i want it to (i dont need code help). my problem lies with the fact that my project is 2-3 parts
1.a setup form that gathers inital data about the enviroment stores this data encrypted in a config file. after inital setup this form is not displayed again. but needs to be run on both computers
2. the second form is the real application form im in the process of turning this part in to a background service anyway this form is the one that establishes the connection between two nodes it works correctly
3. the config files
anyway here is my problem i want to make this application distributional with just one file the (.exe) and have this .exe make everything else happen. it runs the setup form and creates the first config file which it does then it needs to produce a copy of just the second form and the config file to transfer to workstation #2 that will run independtly without the whole application which i cant make happen then it needs to turn both workstations application on by only starting one on either computer and invoke the other computer to start its corrosponding app also no idea how to make this happen any ideas or suggestions as to where to look to try to find my answers.im thinking i might need to make two seperate applications (a setup app, and the running app) and include them both in a project and use the setup.exe to to package them together this is a little side project that im making for my self to use to make programming a little easier so i plan on giving it out to some fellow students to test and tell me what they think so im not really worried about ease of use or complicated procedures yet but if it turns out to work and actually be of use to anyone else i would be willing to rewrite it to distribute to the masses but for now i just want it to work for me.
I have a form and i want to print a specific part how do i specify that? I have a printdocument and a printpreview
View 3 RepliesI have a picturbox, which I redraw everytime you move the image inside of it... (g.Drawpath...) So in fact my picture is like 10000x10000, but my picturebox only 1080 x 540. So you only see a specific part of it. Now I'm trying to print ONLY the part I see.
View 10 Repliesif there was a way to print screen certain dimensions of the screen. Like if I were to assign a short cut(F2) in the menustrip and it was to print screen those dimensions.
View 2 RepliesI need to execute some code after the form is loaded and shown on the screen, how can I do that?
View 2 RepliesBasically, I want PictureBox1 to zoom in on a certain location of a form.
Like this
PictureBox zooms in on part of the form.
NO I dont want it to change a fixed zoomed in image so dont tell me to zoom it in and put a fixed imaged. As the image i wanted zoomed in constantly changes.
P.S This example isn't my form, just an example
Just to make it clear, I want my pictureBox to zoom in on a different part of the form. The image is on a part of a WebBrowser.
How I can compare a gif image I have with a certain part of the screen. For example lets say I have the gif for the Close window button (top right hand of the window incase your confused). I would want the program to check the top right hand of the screen in the exact coordinates and see if the pixels match. if so return a variable true.
View 7 Replieswhat is the way to print part of the string after certain characters.For example, original string: c:windowshouse.jpg I need to print after , that returns house.jpg?
View 3 RepliesI'm looking to make a program that would capture your whole screen, then have the picture display on the screen (simulating a frozen screen) to where the person handling the program could select a partial segment of the screen with their mouse and then save to a folder.
1. I have no idea how to go by doing this
2. My form is constantly minimized, so I have to do it without MouseDown on the form and whatnot.
How would I go by doing this?