Type: Posts; User: VehementSoftware
Search took 0.01 seconds.
April 10th, 2009, 02:42 PM
I have found that the Access 2003 events are not available for automation. I know for start up you can use an AutoExec Macro, I'll just have to see if there are any other macros out there...
April 10th, 2009, 01:54 PM
So this is a VBA question, not technically 6.0 but similar enough. I am working on an Access 2003 Database and would like to have access to the Application events. In other Office 2003...
January 6th, 2009, 04:59 PM
I have added DoEvents Commands to my file read loop and it seems to be working. Will know for sure tomorrow morning.
January 6th, 2009, 04:26 PM
I have a simple application that reads a large text file (290,000) lines, and for each line reorganizes the data into a set of objects. These objects are then written to an output file of about 4,000...
July 29th, 2008, 10:01 AM
Thanx wizbang, that is very helpful. Yeah, actually passing an array would be probably more effective. The calling procedure would look like this
Dim strFilePaths(3) as String
July 28th, 2008, 01:38 PM
Yeah, I forgot if ParamArrays could be declared a specific data type or just variant. I don't use ParamArrays that often, but felt one would be appropriate for this purpose. And I had...
July 25th, 2008, 11:02 PM
I like the line by line check with a break as well.
July 25th, 2008, 06:59 PM
Something Like this?
Public Function SearchFiles(ByVal SearchString as String, ParamArray _
FilePaths() as Variant) as Variant
Dim strFilePathsWithString() as String
Dim intCounter as...
July 25th, 2008, 06:22 PM
Sorry dglienna, I just found out what the technique is called today. Had I known I would not have posted a thread; and since the thread was already started, I thought I would mention that I found the...
July 25th, 2008, 06:19 PM
The base class needs to modify system wide globally unique data. If there is a better way to do that, then I would love to hear it. This has been frustrating beyond all end.
July 25th, 2008, 04:24 PM
Okay, apparently I am trying to create a Singleton Object. After doing some research, I have ordered a book "Advanced Visual Basic 6" and will post if the solutions work.
If anyone has any...
July 25th, 2008, 12:55 PM
ah, I used fso completely for my test, opening the file and copying it. That must have been why it was able to copy while the file was open.
July 24th, 2008, 09:16 PM
DataMiser, That is so clever. Don't know if I'd have the know how to implement that...but nicely done. Sounds like it would work. Actually after reading that again...I think I could do it.
July 24th, 2008, 09:14 PM
If you are using the Scripting.FileSystemObject, you can always take a copy of the file...run your tests on the copy and then recopy, test, recopy, test ad nauseum...only prob will be some delay from...
July 24th, 2008, 06:55 PM
Is the file constantly open?
July 24th, 2008, 06:35 PM
Exactly...he could include a timer in the app and have it periodically run some routines to see if the file has been changed...if it has, update the display. In the event of the file being locked, he...
July 23rd, 2008, 10:12 AM
That is it right there. I am a self taught programmer with about 2 yrs experience. I started with 6.0, so I've always had the object.
July 23rd, 2008, 10:08 AM
Sorry Hannes, I thought Me was used in .Net, I have never used in 6.0. Just remembered it's My in .Net. Forgive me, still kind of a noob.
July 23rd, 2008, 01:03 AM
Or is there another way to access the messages from clsJournalBase in my two exportable classes that will allow me to avoid setting up a property in each class as type clsJournalBase?
July 23rd, 2008, 12:34 AM
DataMiser - Have to agree the standard I/O are nice. I use them for binary/random file access. I just prefer to use the filesystemobject for text files since it provides nice ways of verifying the...
July 23rd, 2008, 12:13 AM
I like the frame idea...very clever...will add that to my tools.
I usually use an array/collection for looping though objects and performing the same method.
You could code the array as
July 22nd, 2008, 11:57 PM
This can be done by creating an instance of Scripting.FileSystemObject and using the methods that this object provides. I am attaching a link to the msdn library site for the FileSystemObject. This...
July 22nd, 2008, 04:28 PM
Hello all, this is my first post on CodeGuru.
I am currently developing an ActiveX exe using VB 6.0. My plan calls for a private class (clsJournalBase) to be delcared and instanced once through...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.