Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: at51178
  • Order by date
  1. at51178

    Problem adding textboxes together and view as currency

    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...
  2. at51178

    Passing textbox text from one form to another

    I found the answer to my last question thanks I think I have a much better handle on how vb.net handles data from one form to another.
  3. at51178

    Passing textbox text from one form to another

    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...
  4. at51178

    Passing textbox text from one form to another

    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...
  5. at51178

    Passing textbox text from one form to another

    this is the code I have so far in the load event of form2 Dim form1 as form1= New Form1 Me.text2.text = Form1.text1.text
  6. at51178

    Passing textbox text from one form to another

    its in vb.net a windows form
  7. at51178

    Passing textbox text from one form to another

    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...
  8. at51178

    How to pass a value from one form to another

    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.
  9. at51178

    How to pass a value from one form to another

    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...
  10. at51178

    how to get printdocument to print controls on form

    I understand but I am going by what my bosses want I will try out the draw method thanks for your help
  11. at51178

    how to get printdocument to print controls on form

    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...
  12. at51178

    how to get printdocument to print controls on form

    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...
  13. at51178

    how to get printdocument to print controls on form

    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
  14. at51178

    how to get printdocument to print controls on form

    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
  15. at51178

    Set delimiter using Microsoft Text Driver

    Thanks that worked
  16. at51178

    How to print multiple pages

    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...
  17. at51178

    Set delimiter using Microsoft Text Driver

    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...
  18. at51178

    Saving data on a form

    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...
  19. at51178

    Saving data on a form

    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...

Part and Inventory Search

Back
Top