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!

Search results for query: *

  • Users: LegoPiece
  • Content: Threads
  • Order by date
  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 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. LegoPiece

    ActiveX EXEs

    I have created an ActiveX Exe which instantiates an object, called 'plate', which behaves not unlike an 'oven'. Instead of cooking, it incubates for a specified duration. So, the client can call the 'incubate' method and go about its business. When the incubation period has elapsed, the plate...
  8. LegoPiece

    Groupwise + Outlook Killed Each Other

    It is with great difficulty that I have to write this with a somewhat calm state of mind - but I'll try anyway... My Dell machine already came installed with Office XP and Outlook, however MIS being the true disciples of Novell have made it mandatory that we use the Groupwise 5.5 client on all...
  9. LegoPiece

    Using VB.net designed controls in VB6

    We're going to be moving over to .net shortly, and I need to re-design our ActiveX controls for our robot systems. Will it be possible for VB 6 programmers to use these controls, once they're in ocx format? Peace Lego "People have accused us of releasing the same album 16 times - that's...
  10. LegoPiece

    Object Reference Counting

    In my class_initialize method of a class module, is there any way I can assign to a variable, the instance number of that object? i.e. When the object is created, it knows that its been created four times previous to its current instantiation, using the Static keyword??? Much Appreciated Peace...
  11. LegoPiece

    Embedding ActiveX Controls

    Hi Everyone... My aim is to create an ActiveX Control (MyControl) in VB with one of its constituent members being a pre-existing ActiveX Control (OtherControl), which I import from the Components dialog. If I build an ocx out of MyControl, does the target machine need to have the OtherControl...
  12. LegoPiece

    Raising Events

    Is it possible to raise an event from a class module then receive it in a form module??? E.g. Class module Thing: ------------------- Public Event Ding(DingValue as Integer) Public Property Let Value (SomeValue as Integer) RaiseEvent Ding(SomeValue + 10) End Property...
  13. LegoPiece

    Arrrrgh! I Can't Get A Date!

    I have a Calendar control in my application, and when the user clicks on a day, I want to take that information to ascertain the day of the week. Problem is that I can't seem to format the clicked calendar information into a date format. Private Sub MyCal_Click()...
  14. LegoPiece

    DAO 3.6

    I can't open a recordset!!! I wonder why - here's what I did... Private Const DBFile = "C:\TestDB\DB.mdb" Private Const SQLString = "Select * FROM Product;" Private RS as new Recordset Private DB as Database Private Sub Form_Load() Set DB =...
  15. LegoPiece

    mscomm serial port woes

    Hi Everyone! I'm trying to read from and write to a serial port from my VB program, and it's errr.. well, it's not exactly working! I dropped an mscomm control onto the form, applied the proper port settings, then opened the port using the .portopen() method. I then used the MSComm1.output to...
  16. LegoPiece

    Pulling up Enumerated constants

    Yes, yes, I know - I should've known and learned this ubiquitous procedure LONG ago, but I didn't... shame on me! Anyway, can anyone please tell me what the keystrokes are to pull up a list of enumerated constants while locating acceptable values for a given property or method? e.g...
  17. LegoPiece

    Running DOS Scripts from VB

    Is it possible to call command line statements from within Visual Basic, and perhaps take it a step further + run batch scripts? Peace Thanks! LeGo PiEcE "The Computer Spock! Destroy it!" - Captain James T. Kirk
  18. LegoPiece

    Disabling DHCP From Visual Basic

    Hi Guys! I guess the question says it all really. What I need to do is to first determine if the local machine has DHCP enabled, and if so - how to disable it and provide the local computer with an IP Host name, IP Address, Subnet Mask and Default Gateway from VB. Is this even possible? Peace...
  19. LegoPiece

    Memory Leaks

    Hi All! I have a program, which I run six discrete instances of for multi-processing, and use a shared memory interface between them to communicate. The programs all run fine for the first two weeks of operation before they start to slooooow down and grind to a halt. Looking at the NT Task...
  20. LegoPiece

    Getting PC's IP Hostname + IP Address in VB?

    Says it all really! However, it would be lovely to have the IP address and Hostname returned as a string. Are there any API calls, or open source examples for how to do this? Thanks! LeGo PiEcE "The Computer Spock! Destroy it!" - Captain James T. Kirk

Part and Inventory Search

Back
Top