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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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()...
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 =...
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...
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...
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
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...
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...
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.