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 Mike Lewis 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: *

  1. Chris8852

    Tmp files

    It may very well be the programs. What applications are crashing? Have you tried re-installing them? How often do they crash? If you delete the tmp files, how often do they re-appear? etc.
  2. Chris8852

    How to infer a clipboard copy/cut/paste.

    I meant a way that wouldn't interfere with the users keyboard... See, if I check to see if the alt or control keys areheld down(I'm using a hotkey here..) and then I put them up(I have to or else I can't invoke a copy/paste etc.) and then I put them back down afterwards, it doesnt work many...
  3. Chris8852

    How to infer a clipboard copy/cut/paste.

    I'm developing an application where I need to make another application copy/cut/paste to the clipboard. I didn't think this would work, but I tried it and it didn't... PostMessage(GetForegroundWindow(),WM_KEYDOWN,'C',NULL); PostMessage(GetForegroundWindow(),WM_KEYUP,'C',NULL); WM_COPY paste etc...
  4. Chris8852

    GlobalLock() returning NULL but NO ERROR?

    I'm trying to lock a clipboard object, and GlobalLock returns NULL... I use this to get the last error: FormatMessage( FORMAT_MESSAGE_ALLOCATE_BUFFER |FORMAT_MESSAGE_FROM_SYSTEM,NULL,GetLastError(),MAKELANGID( LANG_ENGLISH, SUBLANG_ENGLISH_US ),(LPTSTR)&ptr,0, NULL); It says "The operation...
  5. Chris8852

    GlobalLock() returning NULL but NO ERROR?

    I'm trying to lock a clipboard object, and GlobalLock returns NULL... I use this to get the last error: FormatMessage( FORMAT_MESSAGE_ALLOCATE_BUFFER |FORMAT_MESSAGE_FROM_SYSTEM,NULL,GetLastError(),MAKELANGID( LANG_ENGLISH, SUBLANG_ENGLISH_US ),(LPTSTR)&ptr,0, NULL); It says "The operation...
  6. Chris8852

    Clipboard()->AsText access violation, checking using timer

    Yes, I already am checking it with CF_TEXT. Does anyone here know how to get the clipboard notification code working?
  7. Chris8852

    Simple question

    Whenever I post in here I don't seem to get any (meaningful) replies. So I'd like to know if this is a beginner's forum or an intermediate/expert forum? I'm no expert, but if no one here can help me I might as well be.
  8. Chris8852

    Clipboard()->AsText access violation, checking using timer

    Yes I read that and I DO check to make sure the clipboard contains text before I use it. This isn't the problem. I test it by copying text to the clipboard, and that is when I get the access violations. Is there a way I can have the access violation just not show up?...
  9. Chris8852

    Clipboard()->AsText access violation, checking using timer

    In my program I use code like AnsiString b1 = Clipboard()->AsText; and int i = Clipboard()->AsText.Length(); Both cause access violations. My program uses AsText hundreds of times in it, but not all the time does it cause an access violation. I check to see if the Clipboard() == NULL and if...
  10. Chris8852

    Help: network application dealing with clipboard data and dynamic IP

    I was searching the web and found this site that displays how to do it in VB: http://www.vbweb.co.uk/show/224 I don't know visual basic, but if the winapi calls are all the same, I believe this can be converted to C++ code without too much trouble?
  11. Chris8852

    Help: network application dealing with clipboard data and dynamic IP

    I have created a network application that unifies the clipboards of multiple computers over a network, it will even detect URL links clicked on and mailto: links clicked on and run the associated program on another computer if you want it to, as well as many other advanced options... now my...
  12. Chris8852

    fit a long filename into a small label

    Hello BTecho, I noticed in CBuilder5 ExtractShortPathName does NOT work correctly in some circumstances. I forget which exactly, but I believe it was circumstances with spaces and/or ()s in the file name.
  13. Chris8852

    Copy File To Clipboard in BCB app?

    I believe when you copy a file (like from Explorer) to the windows clipboard the contents of the file are not dealt with at all- only the file name. When you decide to paste, then it initiates a copy (or move) process that deals with the contents of the file, but only then. I need to be able to...
  14. Chris8852

    Copy File To Clipboard in BCB app?

    Yes hennep, hat I need it to do is copy the file onto the clipboard like when you press Ctrl-C in windows explorer, not copy the contents of the file whatsoever.
  15. Chris8852

    Copy File To Clipboard in BCB app?

    Uhh, I wish it was that easy, but it's not. I need to copy a file itself onto the clipboard, not text, not an image, not raw data, but a file (e.x. C:\readme.txt), where the user can just press ctl-v and paste it someplace else. I'm going to be astonished if no one knows how to do that!
  16. Chris8852

    Copy File To Clipboard in BCB app?

    Hello there, I'm programming an application that needs to copy a file onto the clipboard so the user can paste it in a folder of their choice. As far as I can tell the TClipboard won’t do that, and I've Ole implementation but its just one maze of code and structures after another... If anyone...

Part and Inventory Search

Back
Top