Hi
I am creating a form and would like to have the results how up as a currency value but every time I run my code it keeps freezing not sure why.
--Code --
Dim Add1 As Decimal
Dim Add2 As Decimal
Dim Total As Decimal
Add1 = Me.Text1.Text
Add2 = Me.Text2.Text
Total = Me.Text3.Text...
I am using gdi+ to print
here is part of the code that I am using on form1 to get some of the attributes of a textbox on form2 the only thing I wasn't able to capture was the text.
--Code --
e.Graphics.DrawString(Form2.txtName.Text, _
New Font(Form2.txtName.Font, FontStyle.Regular), _
New...
Thanks that worked
but just one other question related to this
what if I had two forms where form1 was the container and form2 was the child
On form 1 all I have is the main menu with print capabilities.
If I wanted to print the text inside text2 How would I go about pushing the data to...
Hi,
I looked everywhere for this and it seems to be an easy question.
I have two forms each with a textbox on it
Form1 has text1
Form2 has text2
When I click on a button on form1 to open form 2 I would like to have any text in form1 to be passed over to text2.
I have been able to have it...
Lorey
thanks for your help
the change I made to my code works fine but I am only able to pass text value of what is in the textboxes property I am not able to type in a value inthe textbox in form1 and then pass that value from form1 to the textbox in form2.
Hi
I am new to vb.net
but I am trying to pass a value from a textbox in form1 to a textbox in form2 but am not having any luck this is the code that I have on the on load event of form2
Dim Form1 as Form1
Me.Text2.text = Form1.Text1.Text
but nothing happens when I open form 2 from a...
I have tried the screen shot code it works fine but the problem is if the users screen setting is too big and cuts the form off then the form will be printed with the form being cut off. I need it so if the whole form can not be visible with out scrolling and the user prints the form I would...
Hi RiverGuy
I am kind of new to vb.net
But from what I have experienced with PrintDocument and PrintPreview I am not able to print what is on my form.
I am able to set it up so that I could print the contents of what ever is in the textboxes but I need to have it print up the same way the...
Well what can I use to make it into a document
I am designing a form for clients to fill out and print
I was doing research and was thinking of using crystal reports but not sure how to set it up on vs.net do I need to buy a seperate program for it or does it come with vs.net already.
Thanks
hi
I was woundering if you can use printdocument control to print out all your controls on your form.
For example if I have a button on my form it would print out the button control right where it is on my form
Hi VB.net Newbe
I currently have a form with printing functionality (printdoucment1 control and printdialog control) to it.
The form currently takes an image of the form and then prints it out, this has been working great for one page reports but I am currently working on a report who's layout...
Hi
I currently have a form that writes data to a text file using the code below. and code to read data (below the following code) using Microsoft Text Driver. Currently it could only read a comma delimiter but when I change it to a semi colon or anything else it doesn't accept it is there...
Thanks for your response
The reason why I am asking is that I am creating a form where as the user will be the company's clients so far the way I have it set is that they fill out the form and then save the contents of the textfields to a text file but I think that would be a little less...
Hi,
This is a long shot but I just thought I ask
Is there a way to create a form with text fields where as the user types their information in the text field and when they are done they can just close it and then when they wish to open the file again to view or edit they will see the same...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.