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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by LegoPiece

  1. LegoPiece

    Trapping Windows Messages

    Hi, I would like to trap a windows event that tells me that a Compact Flash card has been inserted in the USB Card Reader connected to my computer. I would much rather have an asynchronous event tell me if a card's inserted rather than use a timer to poll a specific drive. Can this be done in...
  2. LegoPiece

    Embedding Word Document

    I almost forgot - Is it possible to have the form-embedded Word docuemnt READ ONLY (like a Print Preview) also? Peace Lego "People have accused us of releasing the same album 16 times - that's simply not true. We've released the same album 17 times!" - Angus Young, AC/DC
  3. LegoPiece

    Embedding Word Document

    I have an MDI application which generates Word documents. Is there a way that I can display the generated word document within the MDI application on its own form for previewing? Peace Lego "People have accused us of releasing the same album 16 times - that's simply not true. We've...
  4. LegoPiece

    What happens to a VB app when/if timers start to stack up or overlap

    Hey SBB, I've not used the approach you described above to implement a multi-process scenario, however if it works then I can't personally think of an 'obvious' better way to do this. There are different ways to skin a cat (I hate that term, being a proud cat owner), and the way I'd implement a...
  5. LegoPiece

    Automating Microsoft Word in VB

    Sweeeeeet- Sounds like my dilemmas are coming to a close on this one! Thanks for the help! Peace Lego "People have accused us of releasing the same album 16 times - that's simply not true. We've released the same album 17 times!" - Angus Young, AC/DC
  6. LegoPiece

    Automating Microsoft Word in VB

    Andy, Dumb question, but do I set this parameter in Word, or is there a property in the Word Object's Print Out (or some other) method that allows me to do this? Thanks! ------- Hugh, I have the Word Object wrapped up inside an ActiveX DLL, which my client application uses to open a template...
  7. LegoPiece

    What happens to a VB app when/if timers start to stack up or overlap

    1. STACKED TIMER APPROACH PROS * All data is shared within a single app * Simpler to control application through single interface * No API calls CONS * Spaghetti Code * Without proper memory management, stacking timers can cause freeze-ups and missed reads (this is purely through experience)...
  8. LegoPiece

    Automating Microsoft Word in VB

    This is a two-part dilemma that I'm having a hard time with. I have a VB app which uses Word in the background to open, save and print a Word document. My FIRST problem is to do with synchronization - i.e. I need to determine when Word is done printing, so that I can get it to do something...
  9. LegoPiece

    Detection of USB Card Reader

    Anything at all? Peace Lego "People have accused us of releasing the same album 16 times - that's simply not true. We've released the same album 17 times!" - Angus Young, AC/DC
  10. LegoPiece

    Detection of USB Card Reader

    Hi Everyone I need to develop an application which checks to see if a Compact Flash Card has been inserted into a USB Card Reader, and automatically check to see if there's a Word document on it, and if so print it out. Do I need to develop a Windows Service to do this, or write a Standard EXE...
  11. LegoPiece

    Will DLLs written in VB 6 work in .net ?

    I'm writing an application for a Pocket PC, which has to have a voice recorder, which can capture audio and save it to a file. Sounds simple enough, but there are no ActiveX controls for such a voice recorder for embedded and the only way to do this is to use the PlaySound and RecordSound...
  12. LegoPiece

    RS232 in vb not using MSCOMM

    Totally Possible. Go Here for one option... http://www.adontec.com/scocx_e.htm Hope this helps! Peace Lego "People have accused us of releasing the same album 16 times - that's simply not true. We've released the same album 17 times!" - Angus Young, AC/DC
  13. LegoPiece

    Form Events in ActiveX Exes?

    I have a class module (ActiveX exe), which has a form with controls (most importantly a timer control). The Class Initialize method loads the form, and subsequently acts as an interface to the form. ie. When a class method is invoked by a client application, the class in turn calls a form...
  14. LegoPiece

    ActiveX EXEs

    LPlates - Thanks, I'm trying that out as we speak - will let you know how it transpires! Strong - That's what I thought. It was my belief that events were asynchonous like interrupts, as opposed to 'polls', which mandate monitoring. Am I wrong in this assumption? Peace Lego "People have...
  15. LegoPiece

    ActiveX EXEs

    Hey Guys, thanks for the feedback... It appears that I misunderstood a few concpets here. I was under the impression that I could instantiate objects which could be instructed to execute methods, without tying up the client application (which could go on to do other things). I was hoping to...

Part and Inventory Search

Back
Top