|
-
Dec 10th, 2006, 02:41 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Copy something before open VB
Why is whatever I copy before opening VB gone when it's ready to be pasted into my project?
-
Dec 10th, 2006, 03:05 PM
#2
Re: Copy something before open VB
are you using MZTools? That clears the clipboard I've noticed.
-
Dec 10th, 2006, 03:13 PM
#3
Re: Copy something before open VB
That happens to me too.. If i have something coppied on the clipboard, it gets cleared when VB is opened..
and i dont have any MZ stuff... dont even know what it is..
_____________________________________________________________________
----If this post has helped you. Please take time to Rate it.
----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.

-
Dec 10th, 2006, 03:19 PM
#4
Re: Copy something before open VB
 Originally Posted by some1uk03
and i dont have any MZ stuff... dont even know what it is.. 
hmmm, I kinda assumed it was MZTools - I guess not...
-
Dec 10th, 2006, 04:54 PM
#5
Re: Copy something before open VB
-
Dec 11th, 2006, 04:06 AM
#6
Thread Starter
Hyperactive Member
Re: Copy something before open VB
 Originally Posted by MartinLiss
That's SOP in VB6.
SOP="Some Odd Phenomena"?
Thanks to all for good solving of an irritating little SOP.
-
Dec 11th, 2006, 03:34 AM
#7
Re: Copy something before open VB
i think excel and word do too
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Dec 11th, 2006, 03:36 AM
#8
Re: Copy something before open VB
 Originally Posted by westconn1
i think excel and word do too
they don't for me, and I've never known them too - it would be a pretty silly thing for any text-editor to do.
-
Dec 11th, 2006, 03:52 AM
#9
Re: Copy something before open VB
What it is is that when you have an AddIn loading at the start of VB, any Office app, etc the AddIn may have an icon on the toolbar button or menu item. In order for the image to be placed the code will use the clipboard to transfer the image cross processes. This will clear the clipboard.
To test it out simply dont load any addins and place a picturebox on a form and paste whats on your clipboard. This should be the last item placed on it from any possible addins.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|