473,698 Members | 2,616 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Copying Textfield data to clipboard in VB 6

6 New Member
How to copy selected (s) textfield, which those selected through checkbox

I like to copy in clipboard. Access textfield data when front of the textfield checkbox is checked if not checked it should not copy in clipboard.

If text field has data like that

altaf/ahmed mr one field checked
goodguydude@thi sandthatandtheo ther.com one field checked
ca gf767577 ca 17-may-60 M 12-mar-12 six field checked with one checkbox

Upon pressing Action button (s)
I like to have data in clipboard like this

-altaf/ahmed/+
pe=goodguydude@ thisandthatandt heother/
3docs/ca/gf767577/ca/17-may-60/m/12-mar-12/altaf/ahmed mr-1.1
Jan 1 '09 #1
8 6218
Dököll
2,364 Recognized Expert Top Contributor
Happy New Year!

I went ahead a modified your email since it looks like you wanted to make a point with it.

Are you able to at least establish a connection to your Access back end?

Please post what you have working thus far for a quick look...

I also noticed your title did not say too much. Please let us know if okay as is
Jan 1 '09 #2
debasisdas
8,127 Recognized Expert Expert
your question is so confusing.
can you please clarify.
Jan 1 '09 #3
ALTAFAD
6 New Member
thanks for asking my problem
could you tell me you email address ican send you attachment and explain
Thanks
Altaf Ahmed
email removed
Jan 1 '09 #4
ALTAFAD
6 New Member
Hi
I have made database file which has 8 textfield in form view and 3 checkbox to select them and one button for copy command as follow

altaf/ahmed mr one field checkbox
"removed email here too" one field checkbox
ca gf767577 ca 17-may-60 M 12-mar-12 six field checkbox
copybutton



How to copy selected (s) textfield, which those selected through checkbox

I like to copy in clipboard. Access textfield data when front of the textfield checkbox is checked if not checked it should not copy in clipboard.

If text field has data like that

altaf/ahmed mr one field checked
"removed email here too" one field checked
ca gf767577 ca 17-may-60 M 12-mar-12 six field checked with one checkbox

Upon pressing Action button (s) copybutton
I like to have data in clipboard like this

-altaf/ahmed/+
pe="removed email here too" /
3docs/ca/gf767577/ca/17-may-60/m/12-mar-12/altaf/ahmed mr-1.1
Jan 1 '09 #5
ALTAFAD
6 New Member



Hi
I have made database file which has 8 textfield in form view and 3 checkbox to select them and one button for copy command as follow

altaf/ahmed mr one field checkbox
"email address removed" one field checkbox
ca gf767577 ca 17-may-60 M 12-mar-12 six field checkbox
copybutton



How to copy selected (s) textfield, which those selected through checkbox

I like to copy in clipboard. Access textfield data when front of the textfield checkbox is checked if not checked it should not copy in clipboard.

If text field has data like that

altaf/ahmed mr checked
"email address removed" checked
ca gf767577 ca 17-may-60 M 12-mar-12 checked six field with one checkbox

Upon pressing Action button (s) copybutton
I like to have data in clipboard like this

-altaf/ahmed/+
pe="email address removed"/
3docs/ca/gf767577/ca/17-may-60/m/12-mar-12/altaf/ahmed mr-1.1
Attached Images
File Type: jpg databae image.jpg (15.8 KB, 184 views)
Jan 1 '09 #6
Dököll
2,364 Recognized Expert Top Contributor
@ALTAFAD
I removed your email previously because we're trying to protect our visiters from spammers and so on. You can PM someone for thanks, but I believe we'd rather you post everything here for all to see...
Jan 2 '09 #7
debasisdas
8,127 Recognized Expert Expert
You may try to use Clipboard.SetTe xt
Jan 2 '09 #8
QVeen72
1,445 Recognized Expert Top Contributor
Hi,
Prepare a Text some thing like this:
And Set it to Clipboard:

Expand|Select|Wrap|Line Numbers
  1. Dim MyStr As String
  2. MyStr =""
  3. If ChkPName.Value = vbChecked Then
  4.     MyStr = MyStr & txtPName.Text & "/"
  5. End If
  6. If chkEMail.Value = vbChecked Then
  7.     MyStr = MyStr & txtEMail.Text & "/"
  8. End If
  9. ClipBoard.SetText = MyStr
  10.  
Regards
Veena
Jan 2 '09 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

2
6905
by: Gey-Hong Gweon | last post by:
Is there a way to copy a PIL image to windows clipboard (as a dib image or a bitmap, I suppose)? What I would like to accomplish is to do a fast copy and paste of images from my python application to a windows application such as powerpoint. A slower way is to use files, which is what I am doing at the moment. Thanks in advance.
0
568
by: Ata | last post by:
Hello, I am trying to copy the contents of the output of SQL Reporting Services to a PowerPoint slide. For this, I am using SQL Reporting Services to obtain an IMAGE stream, which I paste to the Windows clipboard. Then, using automation, I am trying to copy this information from the clipboard to a PowerPoint slide. However, I get an error at slide.Shapes.PasteSpecial. I am able create a System.Drawing.Bitmap object from the memory...
16
12458
by: DataBard007 | last post by:
I have an Access97 application whose form contains many text boxes. What do I have to do in order to copy the contents of one of these text boxes to the clipboard? I want to do this so I can then paste from the clipboard to Word, Notepad, etc. I know about the SetClipboardData function, but I really can't figure out how it works. It's supposed to be used in conjunction with the OpenClipboard function, I think. If anybody knows,...
8
16235
by: John Smith | last post by:
Hi folks, I know how to place text into the user's clipboard: Clipboard.SetDataObject("My Copied Text"); but how do I place a file in there? So, if I have a file C:\test.txt, how can I place that file into the user's clipboard so that they can later paste it into explorer? Thanks!!!
9
2122
by: Christian Blackburn | last post by:
Hi Gang, I don't know what to make of all of this, but I'm having nothing, but trouble copying data to the clipboard which should be the easiest thing in the world. The only systems I can get this to not crash on is my development system w/ VB 2003 installed and Windows NT 4. My development system is Windows 2000 Pro, but if I try using the clipboard on Win2K Pro system that doesn't have VB 2003 installed it'll crash. The only...
4
4531
by: fred | last post by:
I am trying to copy a file onto the clipboard but I am not having any success. Perhaps someone can help me out. I have the full file name from my application and to put it onto the clipboard I have tried: Clipboard.SetDataObject(New DataObject(DataFormats.FileDrop, myFileName), True) where myFileName is a string and contains the full path name of the file. When I retrieve a 'FileDrop' type data from the clipboard the object is an
4
5846
by: gordon | last post by:
Hi I hav e a smallish app that has a datagridview. A user can select some columns in the datagrid, and i have a button that i would like to use to copy the rows that are selected to the clipboard or to a text file. Any ideas how to accomplish this? I have all the controls working in this form apart from this feature.
19
8730
by: Jeff | last post by:
....working with visualweb.net 2005 and vb. ....trying to simply copy the contents from a textbox to the clipboard. I've looked at a large number of places on line and they give me various code, but it doesn't work. I'm apparently missing some type of declaration, and the code is diffent in visualweb.net than elsewhere. When I try the code below, it tells me that the "name clipboard is not declared"
0
1996
by: MathewJose | last post by:
Hi, I have a DatagridView in windows form.It has got a column which has some names that are populated from master table in database.Now i need to copy a set of data against these names. I tried to populate data to the first column from database and then tried to copy excel sheet data against each name but some exceptions are coming.It says "cannot programmaticaly add rows while using data bind". This is the code that i used for...
0
8610
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8902
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7740
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.