Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Please Help

Please Help

Please Help

I am having difficulty in writing code to post a form and it's entire contents from a program created with Visual Basic 6 to the Clipboard for paste in another application. Can anyone offer any suggestions on how I can write the code to paste the form and contents. Any assistance would be greatly appreciated.
Thank YOU.

RE: Please Help

Is it that you want to strip out the data (text fields list boxes and such), put that in the clipboard and then be able to paste that into another instance of the same form?

Or - Do you just want a picture of the screen? (as a graphic)


RE: Please Help

I would like to copy the screen as it appears after input data and calculations are completed and then paste into another document such as word perfect or microsoft word.

RE: Please Help


You're probably not going to like this but this is the only way I know of how to do this

1) Display your form on screen

2) Press SHIFT+PRINT-SCREEN (copies the whole screen to the clipboard)

3) Fire up PaintBrush

4) Paste into PaintBrush

You can now save this image as a file - but it *is* an image - not text that you can easily manipulate.

There's probably a way to do that from within a VB program I'll do some digging if you're interested - it wold be nicer (of course) if someone else had already done this....

Hope this helps you Becky


RE: Please Help

May be you can check with SemdKeys to do the Print Screen from code...


RE: Please Help

I'd use DDE to send the data straight to Excel or Word after it's been calculated by the VB app. The procedure is reasonably well documented, but if you can't figure it out post again...

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close