From ttom at accessyourdata.com Sat Apr 5 17:01:34 2003 From: ttom at accessyourdata.com (t tom) Date: Sat, 05 Apr 2003 16:01:34 -0700 Subject: [dba-VB] Saving Data within a VB exe References: <22F1CCD5171D17419CB37FEEE09D5F996D5546@TTNEXCHSRV1.hshhp.com> Message-ID: <002301c2fbc7$51ac3860$132b9244@cg.shawcable.net> Hi All Can data be saved and/or updated from within a VB exe file. For example , Can I "make room " for a person's name, address , etc in a VB EXE file. Then can I update this data. I don't want to use a text or database file. TIA Tomt From accessd at shaw.ca Sat Apr 5 19:10:46 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 05 Apr 2003 17:10:46 -0800 Subject: [dba-VB] Saving Data within a VB exe In-Reply-To: <002301c2fbc7$51ac3860$132b9244@cg.shawcable.net> Message-ID: Hi Tom: The simple answer is NO. But yes it can be done but I have never tried with a compiled executable. Before the compile you would have to create a constant variable, with contents of a particular of a non repeating nature. i.e.. "0123456789abcdefghijklmnopqrstuvwxyz". After the application is compiled, use an assembler to locate that sequence, record its' offset pointer and then you should be able to binary write to that position in the executable...Did something like that many years ago but have not tried it recently. A better method would be to write the specific data into the registry. It can even be encoded if you like. HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of t tom Sent: Saturday, April 05, 2003 3:02 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Saving Data within a VB exe Hi All Can data be saved and/or updated from within a VB exe file. For example , Can I "make room " for a person's name, address , etc in a VB EXE file. Then can I update this data. I don't want to use a text or database file. TIA Tomt _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Apr 5 21:58:03 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 06 Apr 2003 13:58:03 +1000 Subject: [dba-VB] Saving Data within a VB exe In-Reply-To: <002301c2fbc7$51ac3860$132b9244@cg.shawcable.net> Message-ID: <3E90326B.10490.17D7EDA@localhost> On 5 Apr 2003 at 16:01, t tom wrote: > Hi All > > Can data be saved and/or updated from within a VB exe file. > For example , Can I "make room " for a person's name, address , etc in > a VB EXE file. Then can I update this data. I don't want to use a text > or database file. > > There are two options that we used to use with DOS applications: 1. As Jim has already suggested - store a unique string and later rfind it and write to that location. 2. Get the length of the executable and then append your data to the end of the file. As long as you append a fixed length, you than then read this x number of bytes from then end of the executable later. Both of these have methods have problems in Windows with the executable being locked by the OS while it is running. You may be able to do it opening the file as "LOCK SHARED" Also many antivirus programs don't like to se executables changing! There's a bit of discussion about this in the PowerBasic forums at : http://www.powerbasic.com/support/forums/Archives/Archive- 000003/HTML/20000801-4-000389.html http://www.powerbasic.com/support/forums/Archives/Archive- 000003/HTML/20000801-4-000299.html (watch for line wraps) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From JRojas at tnco-inc.com Thu Apr 10 07:40:11 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 10 Apr 2003 08:40:11 -0400 Subject: [dba-VB] Slightly OT: VBScript IDE Message-ID: <806536912C472E4A9D6515DF2E57261E0C5995@mercury.tnco-inc.com> Hello All, I am developing a few login scripts for our network users and I was wondering if there is a VBScript IDE out there? Something that would help ease the creation of vbs files? Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From GRAY at utah.gov Thu Apr 10 08:57:16 2003 From: GRAY at utah.gov (Gary Ray) Date: Thu, 10 Apr 2003 07:57:16 -0600 Subject: [dba-VB] Slightly OT: VBScript IDE Message-ID: I think you can use InterDev (Development Environment) for this. There are also lots of shareware text editors out there. Gary Ray - Application Developer Workforce Information Systems R & D E-Mail gray at utah.gov >>> JRojas at tnco-inc.com 04/10/03 06:40AM >>> Hello All, I am developing a few login scripts for our network users and I was wondering if there is a VBScript IDE out there? Something that would help ease the creation of vbs files? Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Fri Apr 18 09:07:28 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 18 Apr 2003 09:07:28 -0500 Subject: [dba-VB] VB6: Object Reference Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C73D@TAPPEEXCH01> Here's one that is stumping me: I want to write an ActiveX DLL that contains: - A class module to handle all properties/methods/events. - A form that is instantiated by the class, to display visual information to the user. The form needs to interact with the class module to get at its properties/methods/events, so I thought that I should store an object reference in the form. I tried the following code in the form: Private WithEvents mobjSrcObj As clsMyClass Public Property Set SourceObject (objSrcObj As clsMyClass) Set mobjSrcObj = objSrcObj End Property In the class module, I have the following code: Private mfrmMyForm As frmMyForm Public Sub Class_Initialize Set mfrmMyForm = New frmMyForm Set mfrmMyForm.SourceObject = Me End Sub This works great, except for one small thing. I cannot destroy the class instance by setting it to Nothing, because the Form it instantiated still has a reference to it. There has to be a simple solution to this! Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc., 1989. -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From carbonnb at sympatico.ca Fri Apr 18 09:55:58 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 18 Apr 2003 10:55:58 -0400 Subject: [dba-VB] VB6: Object Reference In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C73D@TAPPEEXCH01> Message-ID: <3E9FD9BE.31267.8C0AB0@localhost> On 18 Apr 2003 at 9:07, Brett Barabash wrote: > Here's one that is stumping me: > I want to write an ActiveX DLL that contains: > - A class module to handle all properties/methods/events. > - A form that is instantiated by the class, to display visual > information to the user. > > The form needs to interact with the class module to get at its > properties/methods/events, so I thought that I should store an object > reference in the form. I tried the following code in the form: > > Private WithEvents mobjSrcObj As clsMyClass > > Public Property Set SourceObject (objSrcObj As clsMyClass) > Set mobjSrcObj = objSrcObj > End Property > > In the class module, I have the following code: > > Private mfrmMyForm As frmMyForm > > Public Sub Class_Initialize > Set mfrmMyForm = New frmMyForm > Set mfrmMyForm.SourceObject = Me > End Sub > > This works great, except for one small thing. I cannot destroy the > class instance by setting it to Nothing, because the Form it > instantiated still has a reference to it. > > There has to be a simple solution to this! It sounds like you will need a "Tear Down" method of your class. In your calss add: Public Sub TearDown () Set mfrmMyForm.SourceObject = Nothing Set mfrmMyForm = Nothing End Sub Then when you want to destroy the class you need to call your TearDown method before you set it to nothing 'Close and destroy YourClassVariable.TearDown Set YourClassVariable = Nothing It's the same approach you have to take when you build Parent Properties for Classes. -- Bryan Carbonnell - carbonnb at sympatico.ca Age is a very high price to pay for maturity. From BBarabash at TappeConstruction.com Fri Apr 18 10:15:25 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 18 Apr 2003 10:15:25 -0500 Subject: [dba-VB] VB6: Object Reference Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C73E@TAPPEEXCH01> Thanks Bryan, My only issue with your method, is that it requires the parent code to explicitly call the TearDown method to destroy the object. If the TearDown method isn't called (crashes, sloppy code, whatever), the object will remain in memory. I ran across a very interesting article through Google groups, about establishing "Weak References". Using the CopyMemory API call, you can establish an uncounted reference to an object and avoid the common circular reference problems. A little bit more work and more risky (as an uncounted interface, you need to handle cleanup manually). Still, an interesting read: http://groups.google.com/groups?selm=7uluuc%24srp%241%40nntp1.atl.mindspring .net&oe=UTF-8&output=gplain -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Friday, April 18, 2003 9:56 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VB6: Object Reference It sounds like you will need a "Tear Down" method of your class. In your calss add: Public Sub TearDown () Set mfrmMyForm.SourceObject = Nothing Set mfrmMyForm = Nothing End Sub Then when you want to destroy the class you need to call your TearDown method before you set it to nothing 'Close and destroy YourClassVariable.TearDown Set YourClassVariable = Nothing It's the same approach you have to take when you build Parent Properties for Classes. -- Bryan Carbonnell - carbonnb at sympatico.ca Age is a very high price to pay for maturity. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From carbonnb at sympatico.ca Fri Apr 18 10:48:55 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 18 Apr 2003 11:48:55 -0400 Subject: [dba-VB] VB6: Object Reference In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C73E@TAPPEEXCH01> Message-ID: <3E9FE627.1353.BC8712@localhost> On 18 Apr 2003 at 10:15, Brett Barabash wrote: > My only issue with your method, is that it requires the parent code to > explicitly call the TearDown method to destroy the object. If the > TearDown method isn't called (crashes, sloppy code, whatever), the > object will remain in memory. Yep, same issue I have with doing it that way as well. Unfortunately, it's about the only way I can think of to do it. IIRC, I got this methid from the VBADH by Getz & Gilbert. > I ran across a very interesting article through Google groups, about > establishing "Weak References". Using the CopyMemory API call, you > can establish an uncounted reference to an object and avoid the common > circular reference problems. A little bit more work and more risky > (as an uncounted interface, you need to handle cleanup manually). > Still, an interesting read: > http://groups.google.com/groups?selm=7uluuc%24srp%241%40nntp1.atl.mind > spring .net&oe=UTF-8&output=gplain Sounds like an interesting read. I must add it to my ever growing collection of things to read. -- Bryan Carbonnell - carbonnb at sympatico.ca We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true.^ [Robert Wilensky (1997)] From BBarabash at TappeConstruction.com Fri Apr 18 11:12:19 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 18 Apr 2003 11:12:19 -0500 Subject: [dba-VB] VB6: Object Reference Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C73F@TAPPEEXCH01> Upon further investigation, I found that the recursive reference problem is fairly common among VB developers. In fact, VB.NET has a WeakReference feature built-in to avoid this. Here was another article that gave some interesting information: http://www.programmersheaven.com/articles/harry/article1.htm -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Friday, April 18, 2003 10:49 AM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] VB6: Object Reference On 18 Apr 2003 at 10:15, Brett Barabash wrote: > My only issue with your method, is that it requires the parent code to > explicitly call the TearDown method to destroy the object. If the > TearDown method isn't called (crashes, sloppy code, whatever), the > object will remain in memory. Yep, same issue I have with doing it that way as well. Unfortunately, it's about the only way I can think of to do it. IIRC, I got this methid from the VBADH by Getz & Gilbert. > I ran across a very interesting article through Google groups, about > establishing "Weak References". Using the CopyMemory API call, you > can establish an uncounted reference to an object and avoid the common > circular reference problems. A little bit more work and more risky > (as an uncounted interface, you need to handle cleanup manually). > Still, an interesting read: > http://groups.google.com/groups?selm=7uluuc%24srp%241%40nntp1.atl.mind > spring .net&oe=UTF-8&output=gplain Sounds like an interesting read. I must add it to my ever growing collection of things to read. -- Bryan Carbonnell - carbonnb at sympatico.ca We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true.^ [Robert Wilensky (1997)] _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From paul.hartland at fsmail.net Tue Apr 29 05:32:39 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 29 Apr 2003 10:32:39 +0000 Subject: [dba-VB] An Error Occurred While Registering The File C:\Windows\System32\MSADO25.TLB Message-ID: <20030429103241.ZUPK4720.fep07-svc.ttys.com@localhost> To all, we are running windows XP professional, and are using VB6 along with Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small application and used the package & deployment wizard to create the setup.exe When the program is installing we get the error message (see subject), and if you click ignore the program seem to install & run without a problem. Does anyone have any idea why this error message would appear, as it doesn't look very professional. Thanks in advance Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From accessd at shaw.ca Tue Apr 29 06:59:06 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 29 Apr 2003 04:59:06 -0700 Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB In-Reply-To: <20030429103241.ZUPK4720.fep07-svc.ttys.com@localhost> Message-ID: Paul: Have you tried manually registering the component that causing the display error? Does this file exist in the directory c:\windows\system32 before the registration process is started? Is the component already registered? If the setup application is trying to write-over an active component, it fails of course (a reboot will have to be forced) and then attempting to re-register the same component, it will fail again with an error. My bet is that the component msado25.tbl is not in the system32 directory. (check the setup script...) HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, April 29, 2003 3:33 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB To all, we are running windows XP professional, and are using VB6 along with Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small application and used the package & deployment wizard to create the setup.exe When the program is installing we get the error message (see subject), and if you click ignore the program seem to install & run without a problem. Does anyone have any idea why this error message would appear, as it doesn't look very professional. Thanks in advance Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From paul.hartland at fsmail.net Tue Apr 29 07:22:55 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 29 Apr 2003 12:22:55 +0000 Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB Message-ID: <20030429122255.RMPC28680.fep03-svc.ttys.com@localhost> I can see the MSADO25.TBL in the system32 directory..... From: "Jim Lawrence (AccessD)" Date: Tue 29/Apr/2003 11:59 GMT To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB Paul: Have you tried manually registering the component that causing the display error? Does this file exist in the directory c:\windows\system32 before the registration process is started? Is the component already registered? If the setup application is trying to write-over an active component, it fails of course (a reboot will have to be forced) and then attempting to re-register the same component, it will fail again with an error. My bet is that the component msado25.tbl is not in the system32 directory. (check the setup script...) HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, April 29, 2003 3:33 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB To all, we are running windows XP professional, and are using VB6 along with Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small application and used the package & deployment wizard to create the setup.exe When the program is installing we get the error message (see subject), and if you click ignore the program seem to install & run without a problem. Does anyone have any idea why this error message would appear, as it doesn't look very professional. Thanks in advance Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From garykjos at hotmail.com Tue Apr 29 07:26:18 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Tue, 29 Apr 2003 07:26:18 -0500 Subject: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB Message-ID: Well, one of them is spelled different unless it's a typo in your message - one has .TLB and the other is .TBL Perhaps a typo in your setup? Gary Kjos garykjos at hotmail.com >From: >Reply-To: dba-vb at databaseadvisors.com >To: dba-vb at databaseadvisors.com >Subject: Re: RE: [dba-VB] An Error Occurred While Registering >TheFileC:\Windows\System32\MSADO25.TLB >Date: Tue, 29 Apr 2003 12:22:55 +0000 > >I can see the MSADO25.TBL in the system32 directory..... > >From: "Jim Lawrence (AccessD)" >Date: Tue 29/Apr/2003 11:59 GMT >To: dba-vb at databaseadvisors.com >Subject: RE: [dba-VB] An Error Occurred While Registering The > FileC:\Windows\System32\MSADO25.TLB > >Paul: > >Have you tried manually registering the component that causing the display >error? Does this file exist in the directory c:\windows\system32 before the >registration process is started? Is the component already registered? > >If the setup application is trying to write-over an active component, it >fails of course (a reboot will have to be forced) and then attempting to >re-register the same component, it will fail again with an error. My bet is >that the component msado25.tbl is not in the system32 directory. (check the >setup script...) > >HTH >Jim > >-----Original Message----- >From: dba-vb-bounces at databaseadvisors.com >[mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of >paul.hartland at fsmail.net >Sent: Tuesday, April 29, 2003 3:33 AM >To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com >Subject: [dba-VB] An Error Occurred While Registering The >FileC:\Windows\System32\MSADO25.TLB > > >To all, > >we are running windows XP professional, and are using VB6 along with >Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small >application and used the package & deployment wizard to create the >setup.exe > >When the program is installing we get the error message (see subject), and >if you click ignore the program seem to install & run without a problem. >Does anyone have any idea why this error message would appear, as it >doesn't >look very professional. > >Thanks in advance > >Paul > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From paul.hartland at fsmail.net Tue Apr 29 07:42:59 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 29 Apr 2003 12:42:59 +0000 Subject: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB Message-ID: <20030429124259.RNGJ28680.fep03-svc.ttys.com@localhost> lol, yeah sorry it's the MSADO25.TLB file that is causing the Error, but I can see it in the Windows/System32 dir From: "Gary Kjos" Date: Tue 29/Apr/2003 12:26 GMT To: dba-vb at databaseadvisors.com Subject: Re: RE: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB Well, one of them is spelled different unless it's a typo in your message - one has .TLB and the other is .TBL Perhaps a typo in your setup? Gary Kjos garykjos at hotmail.com >From: >Reply-To: dba-vb at databaseadvisors.com >To: dba-vb at databaseadvisors.com >Subject: Re: RE: [dba-VB] An Error Occurred While Registering >TheFileC:\Windows\System32\MSADO25.TLB >Date: Tue, 29 Apr 2003 12:22:55 +0000 > >I can see the MSADO25.TBL in the system32 directory..... > >From: "Jim Lawrence (AccessD)" >Date: Tue 29/Apr/2003 11:59 GMT >To: dba-vb at databaseadvisors.com >Subject: RE: [dba-VB] An Error Occurred While Registering The > FileC:\Windows\System32\MSADO25.TLB > >Paul: > >Have you tried manually registering the component that causing the display >error? Does this file exist in the directory c:\windows\system32 before the >registration process is started? Is the component already registered? > >If the setup application is trying to write-over an active component, it >fails of course (a reboot will have to be forced) and then attempting to >re-register the same component, it will fail again with an error. My bet is >that the component msado25.tbl is not in the system32 directory. (check the >setup script...) > >HTH >Jim > >-----Original Message----- >From: dba-vb-bounces at databaseadvisors.com >[mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of >paul.hartland at fsmail.net >Sent: Tuesday, April 29, 2003 3:33 AM >To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com >Subject: [dba-VB] An Error Occurred While Registering The >FileC:\Windows\System32\MSADO25.TLB > > >To all, > >we are running windows XP professional, and are using VB6 along with >Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small >application and used the package & deployment wizard to create the >setup.exe > >When the program is installing we get the error message (see subject), and >if you click ignore the program seem to install & run without a problem. >Does anyone have any idea why this error message would appear, as it >doesn't >look very professional. > >Thanks in advance > >Paul > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From garykjos at hotmail.com Tue Apr 29 07:47:57 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Tue, 29 Apr 2003 07:47:57 -0500 Subject: [dba-VB] An Error Occurred While RegisteringTheFileC:\Windows\System32\MSADO25.TLB Message-ID: Figured that was probably the case, but thought it was worth a shot. Good luck solving it. Gary Kjos garykjos at hotmail.com >From: >Reply-To: dba-vb at databaseadvisors.com >To: dba-vb at databaseadvisors.com >Subject: Re: RE: [dba-VB] An Error Occurred While >RegisteringTheFileC:\Windows\System32\MSADO25.TLB >Date: Tue, 29 Apr 2003 12:42:59 +0000 > >lol, yeah sorry it's the MSADO25.TLB file that is causing the Error, but I >can see it in the Windows/System32 dir > > >From: "Gary Kjos" >Date: Tue 29/Apr/2003 12:26 GMT >To: dba-vb at databaseadvisors.com >Subject: Re: RE: [dba-VB] An Error Occurred While Registering > TheFileC:\Windows\System32\MSADO25.TLB > >Well, one of them is spelled different unless it's a typo in your message - >one has .TLB and the other is .TBL > >Perhaps a typo in your setup? > > > >Gary Kjos >garykjos at hotmail.com > > > > > > >From: > >Reply-To: dba-vb at databaseadvisors.com > >To: dba-vb at databaseadvisors.com > >Subject: Re: RE: [dba-VB] An Error Occurred While Registering > >TheFileC:\Windows\System32\MSADO25.TLB > >Date: Tue, 29 Apr 2003 12:22:55 +0000 > > > >I can see the MSADO25.TBL in the system32 directory..... > > > >From: "Jim Lawrence (AccessD)" > >Date: Tue 29/Apr/2003 11:59 GMT > >To: dba-vb at databaseadvisors.com > >Subject: RE: [dba-VB] An Error Occurred While Registering The > > FileC:\Windows\System32\MSADO25.TLB > > > >Paul: > > > >Have you tried manually registering the component that causing the >display > >error? Does this file exist in the directory c:\windows\system32 before >the > >registration process is started? Is the component already registered? > > > >If the setup application is trying to write-over an active component, it > >fails of course (a reboot will have to be forced) and then attempting to > >re-register the same component, it will fail again with an error. My bet >is > >that the component msado25.tbl is not in the system32 directory. (check >the > >setup script...) > > > >HTH > >Jim > > > >-----Original Message----- > >From: dba-vb-bounces at databaseadvisors.com > >[mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of > >paul.hartland at fsmail.net > >Sent: Tuesday, April 29, 2003 3:33 AM > >To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com > >Subject: [dba-VB] An Error Occurred While Registering The > >FileC:\Windows\System32\MSADO25.TLB > > > > > >To all, > > > >we are running windows XP professional, and are using VB6 along with > >Access2002 for our systems (VB6 FE, Access2002 BE). I created a very >small > >application and used the package & deployment wizard to create the > >setup.exe > > > >When the program is installing we get the error message (see subject), >and > >if you click ignore the program seem to install & run without a problem. > >Does anyone have any idea why this error message would appear, as it > >doesn't > >look very professional. > > > >Thanks in advance > > > >Paul > > > > > >__________________________________________________________________________ > >Join Freeserve http://www.freeserve.com/time/ > > > >Winner of the 2003 Internet Service Providers' Association awards for >Best > >Unmetered ISP and Best Consumer Application. > > > > > >_______________________________________________ > >dba-VB mailing list > >dba-VB at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/dba-vb > >http://www.databaseadvisors.com > > > >_______________________________________________ > >dba-VB mailing list > >dba-VB at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/dba-vb > >http://www.databaseadvisors.com > > > > > >__________________________________________________________________________ > >Join Freeserve http://www.freeserve.com/time/ > > > >Winner of the 2003 Internet Service Providers' Association awards for >Best > >Unmetered ISP and Best Consumer Application. > > > > > >_______________________________________________ > >dba-VB mailing list > >dba-VB at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/dba-vb > >http://www.databaseadvisors.com > > > > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From accessd at shaw.ca Tue Apr 29 13:49:04 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 29 Apr 2003 11:49:04 -0700 Subject: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB In-Reply-To: <20030429122255.RMPC28680.fep03-svc.ttys.com@localhost> Message-ID: Hi Paul: What happens when you try to manually register MSADO25.TBL? Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, April 29, 2003 5:23 AM To: dba-vb at databaseadvisors.com Subject: Re: RE: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB I can see the MSADO25.TBL in the system32 directory..... From: "Jim Lawrence (AccessD)" Date: Tue 29/Apr/2003 11:59 GMT To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB Paul: Have you tried manually registering the component that causing the display error? Does this file exist in the directory c:\windows\system32 before the registration process is started? Is the component already registered? If the setup application is trying to write-over an active component, it fails of course (a reboot will have to be forced) and then attempting to re-register the same component, it will fail again with an error. My bet is that the component msado25.tbl is not in the system32 directory. (check the setup script...) HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, April 29, 2003 3:33 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB To all, we are running windows XP professional, and are using VB6 along with Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small application and used the package & deployment wizard to create the setup.exe When the program is installing we get the error message (see subject), and if you click ignore the program seem to install & run without a problem. Does anyone have any idea why this error message would appear, as it doesn't look very professional. Thanks in advance Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Apr 30 05:50:09 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 30 Apr 2003 10:50:09 +0000 Subject: [dba-VB] Slightly OT: Infragistic's Datagrid for VB6 Message-ID: <20030430105009.MRKE17808.fep02-svc.ttys.com@localhost> To all, Before I go further into what the problem is, is there anyone out there that use's the Infragistics UltraGrid for VB6....? Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From artful at rogers.com Wed Apr 30 07:11:15 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 30 Apr 2003 08:11:15 -0400 Subject: [dba-VB] Trusted Connection versus What? In-Reply-To: <20030430105009.MRKE17808.fep02-svc.ttys.com@localhost> Message-ID: <056b01c30f11$992efd00$8e01a8c0@Rock> In the I Buy Spy sample apps, there is a connection string like this: My db server is not set up for trusted connections. What do I change this to? Do I embed a suitable uid and pswd right in the string or what? TIA, Arthur From Jdemarco at hshhp.org Wed Apr 30 07:26:27 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 30 Apr 2003 08:26:27 -0400 Subject: [dba-VB] Trusted Connection versus What? Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85B02@TTNEXCHSRV1.hshhp.com> In VB you would use: Integrated Security=SSPI So I'd imaging there is some similar property (sorry don't know what) and you'd leave Trusted_Connection out or set to false. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, April 30, 2003 8:11 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Trusted Connection versus What? In the I Buy Spy sample apps, there is a connection string like this: My db server is not set up for trusted connections. What do I change this to? Do I embed a suitable uid and pswd right in the string or what? TIA, Arthur _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From BBarabash at TappeConstruction.com Wed Apr 30 08:19:43 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed, 30 Apr 2003 08:19:43 -0500 Subject: [dba-VB] Trusted Connection versus What? Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C76B@TAPPEEXCH01> Arthur, Try: server=localhost;database=store;User Id=myusername;Password=mypassword This works for SQL Server via ADO. -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, April 30, 2003 7:11 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Trusted Connection versus What? In the I Buy Spy sample apps, there is a connection string like this: My db server is not set up for trusted connections. What do I change this to? Do I embed a suitable uid and pswd right in the string or what? TIA, Arthur _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From artful at rogers.com Wed Apr 30 14:32:59 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 30 Apr 2003 15:32:59 -0400 Subject: [dba-VB] MapPoint 2003 question In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85B02@TTNEXCHSRV1.hshhp.com> Message-ID: <05a801c30f4f$4f5ddb90$8e01a8c0@Rock> Cross-posted... I've been reading about the MapPoint class hierarchy. What I have not hit upon yet is the cost :-) There's an ActiveX control which is fine for Access, but what about .NET? Is there a corresponding control? Suppose you want to deliver this kind of functionality, and more, such as a route list or the 5 national parks closest to your zip code. Can you do these sorts of things? Does anyone know the licensing issues involved? I have a potential client who wants to know :-) Arthur From martyconnelly at shaw.ca Wed Apr 30 16:26:39 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 30 Apr 2003 14:26:39 -0700 Subject: [dba-VB] MapPoint 2003 question References: <05a801c30f4f$4f5ddb90$8e01a8c0@Rock> Message-ID: <3EB03F8F.9030802@shaw.ca> I have done this with MapBlast and xmlhttp in Access for driving directions. If I was going to do this, I would use MapPoint Web Service, don't know the cost per transaction. I would use the webservice for more uptodate directions, none of these methods seem to be accurate where road directions requires ferries or toll avoidance etc. You can write your own mappoint .net web service there is an SDK. There is reverse geocoding. http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28001402 Arthur Fuller wrote: >Cross-posted... > >I've been reading about the MapPoint class hierarchy. What I have not hit >upon yet is the cost :-) There's an ActiveX control which is fine for >Access, but what about .NET? Is there a corresponding control? Suppose you >want to deliver this kind of functionality, and more, such as a route list >or the 5 national parks closest to your zip code. Can you do these sorts of >things? Does anyone know the licensing issues involved? I have a potential >client who wants to know :-) > >Arthur > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > > > From ttom at accessyourdata.com Sat Apr 5 17:01:34 2003 From: ttom at accessyourdata.com (t tom) Date: Sat, 05 Apr 2003 16:01:34 -0700 Subject: [dba-VB] Saving Data within a VB exe References: <22F1CCD5171D17419CB37FEEE09D5F996D5546@TTNEXCHSRV1.hshhp.com> Message-ID: <002301c2fbc7$51ac3860$132b9244@cg.shawcable.net> Hi All Can data be saved and/or updated from within a VB exe file. For example , Can I "make room " for a person's name, address , etc in a VB EXE file. Then can I update this data. I don't want to use a text or database file. TIA Tomt From accessd at shaw.ca Sat Apr 5 19:10:46 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 05 Apr 2003 17:10:46 -0800 Subject: [dba-VB] Saving Data within a VB exe In-Reply-To: <002301c2fbc7$51ac3860$132b9244@cg.shawcable.net> Message-ID: Hi Tom: The simple answer is NO. But yes it can be done but I have never tried with a compiled executable. Before the compile you would have to create a constant variable, with contents of a particular of a non repeating nature. i.e.. "0123456789abcdefghijklmnopqrstuvwxyz". After the application is compiled, use an assembler to locate that sequence, record its' offset pointer and then you should be able to binary write to that position in the executable...Did something like that many years ago but have not tried it recently. A better method would be to write the specific data into the registry. It can even be encoded if you like. HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of t tom Sent: Saturday, April 05, 2003 3:02 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Saving Data within a VB exe Hi All Can data be saved and/or updated from within a VB exe file. For example , Can I "make room " for a person's name, address , etc in a VB EXE file. Then can I update this data. I don't want to use a text or database file. TIA Tomt _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Apr 5 21:58:03 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 06 Apr 2003 13:58:03 +1000 Subject: [dba-VB] Saving Data within a VB exe In-Reply-To: <002301c2fbc7$51ac3860$132b9244@cg.shawcable.net> Message-ID: <3E90326B.10490.17D7EDA@localhost> On 5 Apr 2003 at 16:01, t tom wrote: > Hi All > > Can data be saved and/or updated from within a VB exe file. > For example , Can I "make room " for a person's name, address , etc in > a VB EXE file. Then can I update this data. I don't want to use a text > or database file. > > There are two options that we used to use with DOS applications: 1. As Jim has already suggested - store a unique string and later rfind it and write to that location. 2. Get the length of the executable and then append your data to the end of the file. As long as you append a fixed length, you than then read this x number of bytes from then end of the executable later. Both of these have methods have problems in Windows with the executable being locked by the OS while it is running. You may be able to do it opening the file as "LOCK SHARED" Also many antivirus programs don't like to se executables changing! There's a bit of discussion about this in the PowerBasic forums at : http://www.powerbasic.com/support/forums/Archives/Archive- 000003/HTML/20000801-4-000389.html http://www.powerbasic.com/support/forums/Archives/Archive- 000003/HTML/20000801-4-000299.html (watch for line wraps) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From JRojas at tnco-inc.com Thu Apr 10 07:40:11 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 10 Apr 2003 08:40:11 -0400 Subject: [dba-VB] Slightly OT: VBScript IDE Message-ID: <806536912C472E4A9D6515DF2E57261E0C5995@mercury.tnco-inc.com> Hello All, I am developing a few login scripts for our network users and I was wondering if there is a VBScript IDE out there? Something that would help ease the creation of vbs files? Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From GRAY at utah.gov Thu Apr 10 08:57:16 2003 From: GRAY at utah.gov (Gary Ray) Date: Thu, 10 Apr 2003 07:57:16 -0600 Subject: [dba-VB] Slightly OT: VBScript IDE Message-ID: I think you can use InterDev (Development Environment) for this. There are also lots of shareware text editors out there. Gary Ray - Application Developer Workforce Information Systems R & D E-Mail gray at utah.gov >>> JRojas at tnco-inc.com 04/10/03 06:40AM >>> Hello All, I am developing a few login scripts for our network users and I was wondering if there is a VBScript IDE out there? Something that would help ease the creation of vbs files? Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Fri Apr 18 09:07:28 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 18 Apr 2003 09:07:28 -0500 Subject: [dba-VB] VB6: Object Reference Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C73D@TAPPEEXCH01> Here's one that is stumping me: I want to write an ActiveX DLL that contains: - A class module to handle all properties/methods/events. - A form that is instantiated by the class, to display visual information to the user. The form needs to interact with the class module to get at its properties/methods/events, so I thought that I should store an object reference in the form. I tried the following code in the form: Private WithEvents mobjSrcObj As clsMyClass Public Property Set SourceObject (objSrcObj As clsMyClass) Set mobjSrcObj = objSrcObj End Property In the class module, I have the following code: Private mfrmMyForm As frmMyForm Public Sub Class_Initialize Set mfrmMyForm = New frmMyForm Set mfrmMyForm.SourceObject = Me End Sub This works great, except for one small thing. I cannot destroy the class instance by setting it to Nothing, because the Form it instantiated still has a reference to it. There has to be a simple solution to this! Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc., 1989. -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From carbonnb at sympatico.ca Fri Apr 18 09:55:58 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 18 Apr 2003 10:55:58 -0400 Subject: [dba-VB] VB6: Object Reference In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C73D@TAPPEEXCH01> Message-ID: <3E9FD9BE.31267.8C0AB0@localhost> On 18 Apr 2003 at 9:07, Brett Barabash wrote: > Here's one that is stumping me: > I want to write an ActiveX DLL that contains: > - A class module to handle all properties/methods/events. > - A form that is instantiated by the class, to display visual > information to the user. > > The form needs to interact with the class module to get at its > properties/methods/events, so I thought that I should store an object > reference in the form. I tried the following code in the form: > > Private WithEvents mobjSrcObj As clsMyClass > > Public Property Set SourceObject (objSrcObj As clsMyClass) > Set mobjSrcObj = objSrcObj > End Property > > In the class module, I have the following code: > > Private mfrmMyForm As frmMyForm > > Public Sub Class_Initialize > Set mfrmMyForm = New frmMyForm > Set mfrmMyForm.SourceObject = Me > End Sub > > This works great, except for one small thing. I cannot destroy the > class instance by setting it to Nothing, because the Form it > instantiated still has a reference to it. > > There has to be a simple solution to this! It sounds like you will need a "Tear Down" method of your class. In your calss add: Public Sub TearDown () Set mfrmMyForm.SourceObject = Nothing Set mfrmMyForm = Nothing End Sub Then when you want to destroy the class you need to call your TearDown method before you set it to nothing 'Close and destroy YourClassVariable.TearDown Set YourClassVariable = Nothing It's the same approach you have to take when you build Parent Properties for Classes. -- Bryan Carbonnell - carbonnb at sympatico.ca Age is a very high price to pay for maturity. From BBarabash at TappeConstruction.com Fri Apr 18 10:15:25 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 18 Apr 2003 10:15:25 -0500 Subject: [dba-VB] VB6: Object Reference Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C73E@TAPPEEXCH01> Thanks Bryan, My only issue with your method, is that it requires the parent code to explicitly call the TearDown method to destroy the object. If the TearDown method isn't called (crashes, sloppy code, whatever), the object will remain in memory. I ran across a very interesting article through Google groups, about establishing "Weak References". Using the CopyMemory API call, you can establish an uncounted reference to an object and avoid the common circular reference problems. A little bit more work and more risky (as an uncounted interface, you need to handle cleanup manually). Still, an interesting read: http://groups.google.com/groups?selm=7uluuc%24srp%241%40nntp1.atl.mindspring .net&oe=UTF-8&output=gplain -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Friday, April 18, 2003 9:56 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VB6: Object Reference It sounds like you will need a "Tear Down" method of your class. In your calss add: Public Sub TearDown () Set mfrmMyForm.SourceObject = Nothing Set mfrmMyForm = Nothing End Sub Then when you want to destroy the class you need to call your TearDown method before you set it to nothing 'Close and destroy YourClassVariable.TearDown Set YourClassVariable = Nothing It's the same approach you have to take when you build Parent Properties for Classes. -- Bryan Carbonnell - carbonnb at sympatico.ca Age is a very high price to pay for maturity. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From carbonnb at sympatico.ca Fri Apr 18 10:48:55 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 18 Apr 2003 11:48:55 -0400 Subject: [dba-VB] VB6: Object Reference In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C73E@TAPPEEXCH01> Message-ID: <3E9FE627.1353.BC8712@localhost> On 18 Apr 2003 at 10:15, Brett Barabash wrote: > My only issue with your method, is that it requires the parent code to > explicitly call the TearDown method to destroy the object. If the > TearDown method isn't called (crashes, sloppy code, whatever), the > object will remain in memory. Yep, same issue I have with doing it that way as well. Unfortunately, it's about the only way I can think of to do it. IIRC, I got this methid from the VBADH by Getz & Gilbert. > I ran across a very interesting article through Google groups, about > establishing "Weak References". Using the CopyMemory API call, you > can establish an uncounted reference to an object and avoid the common > circular reference problems. A little bit more work and more risky > (as an uncounted interface, you need to handle cleanup manually). > Still, an interesting read: > http://groups.google.com/groups?selm=7uluuc%24srp%241%40nntp1.atl.mind > spring .net&oe=UTF-8&output=gplain Sounds like an interesting read. I must add it to my ever growing collection of things to read. -- Bryan Carbonnell - carbonnb at sympatico.ca We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true.^ [Robert Wilensky (1997)] From BBarabash at TappeConstruction.com Fri Apr 18 11:12:19 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 18 Apr 2003 11:12:19 -0500 Subject: [dba-VB] VB6: Object Reference Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C73F@TAPPEEXCH01> Upon further investigation, I found that the recursive reference problem is fairly common among VB developers. In fact, VB.NET has a WeakReference feature built-in to avoid this. Here was another article that gave some interesting information: http://www.programmersheaven.com/articles/harry/article1.htm -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Friday, April 18, 2003 10:49 AM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] VB6: Object Reference On 18 Apr 2003 at 10:15, Brett Barabash wrote: > My only issue with your method, is that it requires the parent code to > explicitly call the TearDown method to destroy the object. If the > TearDown method isn't called (crashes, sloppy code, whatever), the > object will remain in memory. Yep, same issue I have with doing it that way as well. Unfortunately, it's about the only way I can think of to do it. IIRC, I got this methid from the VBADH by Getz & Gilbert. > I ran across a very interesting article through Google groups, about > establishing "Weak References". Using the CopyMemory API call, you > can establish an uncounted reference to an object and avoid the common > circular reference problems. A little bit more work and more risky > (as an uncounted interface, you need to handle cleanup manually). > Still, an interesting read: > http://groups.google.com/groups?selm=7uluuc%24srp%241%40nntp1.atl.mind > spring .net&oe=UTF-8&output=gplain Sounds like an interesting read. I must add it to my ever growing collection of things to read. -- Bryan Carbonnell - carbonnb at sympatico.ca We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true.^ [Robert Wilensky (1997)] _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From paul.hartland at fsmail.net Tue Apr 29 05:32:39 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 29 Apr 2003 10:32:39 +0000 Subject: [dba-VB] An Error Occurred While Registering The File C:\Windows\System32\MSADO25.TLB Message-ID: <20030429103241.ZUPK4720.fep07-svc.ttys.com@localhost> To all, we are running windows XP professional, and are using VB6 along with Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small application and used the package & deployment wizard to create the setup.exe When the program is installing we get the error message (see subject), and if you click ignore the program seem to install & run without a problem. Does anyone have any idea why this error message would appear, as it doesn't look very professional. Thanks in advance Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From accessd at shaw.ca Tue Apr 29 06:59:06 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 29 Apr 2003 04:59:06 -0700 Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB In-Reply-To: <20030429103241.ZUPK4720.fep07-svc.ttys.com@localhost> Message-ID: Paul: Have you tried manually registering the component that causing the display error? Does this file exist in the directory c:\windows\system32 before the registration process is started? Is the component already registered? If the setup application is trying to write-over an active component, it fails of course (a reboot will have to be forced) and then attempting to re-register the same component, it will fail again with an error. My bet is that the component msado25.tbl is not in the system32 directory. (check the setup script...) HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, April 29, 2003 3:33 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB To all, we are running windows XP professional, and are using VB6 along with Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small application and used the package & deployment wizard to create the setup.exe When the program is installing we get the error message (see subject), and if you click ignore the program seem to install & run without a problem. Does anyone have any idea why this error message would appear, as it doesn't look very professional. Thanks in advance Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From paul.hartland at fsmail.net Tue Apr 29 07:22:55 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 29 Apr 2003 12:22:55 +0000 Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB Message-ID: <20030429122255.RMPC28680.fep03-svc.ttys.com@localhost> I can see the MSADO25.TBL in the system32 directory..... From: "Jim Lawrence (AccessD)" Date: Tue 29/Apr/2003 11:59 GMT To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB Paul: Have you tried manually registering the component that causing the display error? Does this file exist in the directory c:\windows\system32 before the registration process is started? Is the component already registered? If the setup application is trying to write-over an active component, it fails of course (a reboot will have to be forced) and then attempting to re-register the same component, it will fail again with an error. My bet is that the component msado25.tbl is not in the system32 directory. (check the setup script...) HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, April 29, 2003 3:33 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB To all, we are running windows XP professional, and are using VB6 along with Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small application and used the package & deployment wizard to create the setup.exe When the program is installing we get the error message (see subject), and if you click ignore the program seem to install & run without a problem. Does anyone have any idea why this error message would appear, as it doesn't look very professional. Thanks in advance Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From garykjos at hotmail.com Tue Apr 29 07:26:18 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Tue, 29 Apr 2003 07:26:18 -0500 Subject: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB Message-ID: Well, one of them is spelled different unless it's a typo in your message - one has .TLB and the other is .TBL Perhaps a typo in your setup? Gary Kjos garykjos at hotmail.com >From: >Reply-To: dba-vb at databaseadvisors.com >To: dba-vb at databaseadvisors.com >Subject: Re: RE: [dba-VB] An Error Occurred While Registering >TheFileC:\Windows\System32\MSADO25.TLB >Date: Tue, 29 Apr 2003 12:22:55 +0000 > >I can see the MSADO25.TBL in the system32 directory..... > >From: "Jim Lawrence (AccessD)" >Date: Tue 29/Apr/2003 11:59 GMT >To: dba-vb at databaseadvisors.com >Subject: RE: [dba-VB] An Error Occurred While Registering The > FileC:\Windows\System32\MSADO25.TLB > >Paul: > >Have you tried manually registering the component that causing the display >error? Does this file exist in the directory c:\windows\system32 before the >registration process is started? Is the component already registered? > >If the setup application is trying to write-over an active component, it >fails of course (a reboot will have to be forced) and then attempting to >re-register the same component, it will fail again with an error. My bet is >that the component msado25.tbl is not in the system32 directory. (check the >setup script...) > >HTH >Jim > >-----Original Message----- >From: dba-vb-bounces at databaseadvisors.com >[mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of >paul.hartland at fsmail.net >Sent: Tuesday, April 29, 2003 3:33 AM >To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com >Subject: [dba-VB] An Error Occurred While Registering The >FileC:\Windows\System32\MSADO25.TLB > > >To all, > >we are running windows XP professional, and are using VB6 along with >Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small >application and used the package & deployment wizard to create the >setup.exe > >When the program is installing we get the error message (see subject), and >if you click ignore the program seem to install & run without a problem. >Does anyone have any idea why this error message would appear, as it >doesn't >look very professional. > >Thanks in advance > >Paul > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From paul.hartland at fsmail.net Tue Apr 29 07:42:59 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 29 Apr 2003 12:42:59 +0000 Subject: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB Message-ID: <20030429124259.RNGJ28680.fep03-svc.ttys.com@localhost> lol, yeah sorry it's the MSADO25.TLB file that is causing the Error, but I can see it in the Windows/System32 dir From: "Gary Kjos" Date: Tue 29/Apr/2003 12:26 GMT To: dba-vb at databaseadvisors.com Subject: Re: RE: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB Well, one of them is spelled different unless it's a typo in your message - one has .TLB and the other is .TBL Perhaps a typo in your setup? Gary Kjos garykjos at hotmail.com >From: >Reply-To: dba-vb at databaseadvisors.com >To: dba-vb at databaseadvisors.com >Subject: Re: RE: [dba-VB] An Error Occurred While Registering >TheFileC:\Windows\System32\MSADO25.TLB >Date: Tue, 29 Apr 2003 12:22:55 +0000 > >I can see the MSADO25.TBL in the system32 directory..... > >From: "Jim Lawrence (AccessD)" >Date: Tue 29/Apr/2003 11:59 GMT >To: dba-vb at databaseadvisors.com >Subject: RE: [dba-VB] An Error Occurred While Registering The > FileC:\Windows\System32\MSADO25.TLB > >Paul: > >Have you tried manually registering the component that causing the display >error? Does this file exist in the directory c:\windows\system32 before the >registration process is started? Is the component already registered? > >If the setup application is trying to write-over an active component, it >fails of course (a reboot will have to be forced) and then attempting to >re-register the same component, it will fail again with an error. My bet is >that the component msado25.tbl is not in the system32 directory. (check the >setup script...) > >HTH >Jim > >-----Original Message----- >From: dba-vb-bounces at databaseadvisors.com >[mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of >paul.hartland at fsmail.net >Sent: Tuesday, April 29, 2003 3:33 AM >To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com >Subject: [dba-VB] An Error Occurred While Registering The >FileC:\Windows\System32\MSADO25.TLB > > >To all, > >we are running windows XP professional, and are using VB6 along with >Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small >application and used the package & deployment wizard to create the >setup.exe > >When the program is installing we get the error message (see subject), and >if you click ignore the program seem to install & run without a problem. >Does anyone have any idea why this error message would appear, as it >doesn't >look very professional. > >Thanks in advance > >Paul > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From garykjos at hotmail.com Tue Apr 29 07:47:57 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Tue, 29 Apr 2003 07:47:57 -0500 Subject: [dba-VB] An Error Occurred While RegisteringTheFileC:\Windows\System32\MSADO25.TLB Message-ID: Figured that was probably the case, but thought it was worth a shot. Good luck solving it. Gary Kjos garykjos at hotmail.com >From: >Reply-To: dba-vb at databaseadvisors.com >To: dba-vb at databaseadvisors.com >Subject: Re: RE: [dba-VB] An Error Occurred While >RegisteringTheFileC:\Windows\System32\MSADO25.TLB >Date: Tue, 29 Apr 2003 12:42:59 +0000 > >lol, yeah sorry it's the MSADO25.TLB file that is causing the Error, but I >can see it in the Windows/System32 dir > > >From: "Gary Kjos" >Date: Tue 29/Apr/2003 12:26 GMT >To: dba-vb at databaseadvisors.com >Subject: Re: RE: [dba-VB] An Error Occurred While Registering > TheFileC:\Windows\System32\MSADO25.TLB > >Well, one of them is spelled different unless it's a typo in your message - >one has .TLB and the other is .TBL > >Perhaps a typo in your setup? > > > >Gary Kjos >garykjos at hotmail.com > > > > > > >From: > >Reply-To: dba-vb at databaseadvisors.com > >To: dba-vb at databaseadvisors.com > >Subject: Re: RE: [dba-VB] An Error Occurred While Registering > >TheFileC:\Windows\System32\MSADO25.TLB > >Date: Tue, 29 Apr 2003 12:22:55 +0000 > > > >I can see the MSADO25.TBL in the system32 directory..... > > > >From: "Jim Lawrence (AccessD)" > >Date: Tue 29/Apr/2003 11:59 GMT > >To: dba-vb at databaseadvisors.com > >Subject: RE: [dba-VB] An Error Occurred While Registering The > > FileC:\Windows\System32\MSADO25.TLB > > > >Paul: > > > >Have you tried manually registering the component that causing the >display > >error? Does this file exist in the directory c:\windows\system32 before >the > >registration process is started? Is the component already registered? > > > >If the setup application is trying to write-over an active component, it > >fails of course (a reboot will have to be forced) and then attempting to > >re-register the same component, it will fail again with an error. My bet >is > >that the component msado25.tbl is not in the system32 directory. (check >the > >setup script...) > > > >HTH > >Jim > > > >-----Original Message----- > >From: dba-vb-bounces at databaseadvisors.com > >[mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of > >paul.hartland at fsmail.net > >Sent: Tuesday, April 29, 2003 3:33 AM > >To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com > >Subject: [dba-VB] An Error Occurred While Registering The > >FileC:\Windows\System32\MSADO25.TLB > > > > > >To all, > > > >we are running windows XP professional, and are using VB6 along with > >Access2002 for our systems (VB6 FE, Access2002 BE). I created a very >small > >application and used the package & deployment wizard to create the > >setup.exe > > > >When the program is installing we get the error message (see subject), >and > >if you click ignore the program seem to install & run without a problem. > >Does anyone have any idea why this error message would appear, as it > >doesn't > >look very professional. > > > >Thanks in advance > > > >Paul > > > > > >__________________________________________________________________________ > >Join Freeserve http://www.freeserve.com/time/ > > > >Winner of the 2003 Internet Service Providers' Association awards for >Best > >Unmetered ISP and Best Consumer Application. > > > > > >_______________________________________________ > >dba-VB mailing list > >dba-VB at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/dba-vb > >http://www.databaseadvisors.com > > > >_______________________________________________ > >dba-VB mailing list > >dba-VB at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/dba-vb > >http://www.databaseadvisors.com > > > > > >__________________________________________________________________________ > >Join Freeserve http://www.freeserve.com/time/ > > > >Winner of the 2003 Internet Service Providers' Association awards for >Best > >Unmetered ISP and Best Consumer Application. > > > > > >_______________________________________________ > >dba-VB mailing list > >dba-VB at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/dba-vb > >http://www.databaseadvisors.com > > > > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From accessd at shaw.ca Tue Apr 29 13:49:04 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 29 Apr 2003 11:49:04 -0700 Subject: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB In-Reply-To: <20030429122255.RMPC28680.fep03-svc.ttys.com@localhost> Message-ID: Hi Paul: What happens when you try to manually register MSADO25.TBL? Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, April 29, 2003 5:23 AM To: dba-vb at databaseadvisors.com Subject: Re: RE: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB I can see the MSADO25.TBL in the system32 directory..... From: "Jim Lawrence (AccessD)" Date: Tue 29/Apr/2003 11:59 GMT To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB Paul: Have you tried manually registering the component that causing the display error? Does this file exist in the directory c:\windows\system32 before the registration process is started? Is the component already registered? If the setup application is trying to write-over an active component, it fails of course (a reboot will have to be forced) and then attempting to re-register the same component, it will fail again with an error. My bet is that the component msado25.tbl is not in the system32 directory. (check the setup script...) HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, April 29, 2003 3:33 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB To all, we are running windows XP professional, and are using VB6 along with Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small application and used the package & deployment wizard to create the setup.exe When the program is installing we get the error message (see subject), and if you click ignore the program seem to install & run without a problem. Does anyone have any idea why this error message would appear, as it doesn't look very professional. Thanks in advance Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Apr 30 05:50:09 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 30 Apr 2003 10:50:09 +0000 Subject: [dba-VB] Slightly OT: Infragistic's Datagrid for VB6 Message-ID: <20030430105009.MRKE17808.fep02-svc.ttys.com@localhost> To all, Before I go further into what the problem is, is there anyone out there that use's the Infragistics UltraGrid for VB6....? Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From artful at rogers.com Wed Apr 30 07:11:15 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 30 Apr 2003 08:11:15 -0400 Subject: [dba-VB] Trusted Connection versus What? In-Reply-To: <20030430105009.MRKE17808.fep02-svc.ttys.com@localhost> Message-ID: <056b01c30f11$992efd00$8e01a8c0@Rock> In the I Buy Spy sample apps, there is a connection string like this: My db server is not set up for trusted connections. What do I change this to? Do I embed a suitable uid and pswd right in the string or what? TIA, Arthur From Jdemarco at hshhp.org Wed Apr 30 07:26:27 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 30 Apr 2003 08:26:27 -0400 Subject: [dba-VB] Trusted Connection versus What? Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85B02@TTNEXCHSRV1.hshhp.com> In VB you would use: Integrated Security=SSPI So I'd imaging there is some similar property (sorry don't know what) and you'd leave Trusted_Connection out or set to false. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, April 30, 2003 8:11 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Trusted Connection versus What? In the I Buy Spy sample apps, there is a connection string like this: My db server is not set up for trusted connections. What do I change this to? Do I embed a suitable uid and pswd right in the string or what? TIA, Arthur _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From BBarabash at TappeConstruction.com Wed Apr 30 08:19:43 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed, 30 Apr 2003 08:19:43 -0500 Subject: [dba-VB] Trusted Connection versus What? Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C76B@TAPPEEXCH01> Arthur, Try: server=localhost;database=store;User Id=myusername;Password=mypassword This works for SQL Server via ADO. -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, April 30, 2003 7:11 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Trusted Connection versus What? In the I Buy Spy sample apps, there is a connection string like this: My db server is not set up for trusted connections. What do I change this to? Do I embed a suitable uid and pswd right in the string or what? TIA, Arthur _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From artful at rogers.com Wed Apr 30 14:32:59 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 30 Apr 2003 15:32:59 -0400 Subject: [dba-VB] MapPoint 2003 question In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85B02@TTNEXCHSRV1.hshhp.com> Message-ID: <05a801c30f4f$4f5ddb90$8e01a8c0@Rock> Cross-posted... I've been reading about the MapPoint class hierarchy. What I have not hit upon yet is the cost :-) There's an ActiveX control which is fine for Access, but what about .NET? Is there a corresponding control? Suppose you want to deliver this kind of functionality, and more, such as a route list or the 5 national parks closest to your zip code. Can you do these sorts of things? Does anyone know the licensing issues involved? I have a potential client who wants to know :-) Arthur From martyconnelly at shaw.ca Wed Apr 30 16:26:39 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 30 Apr 2003 14:26:39 -0700 Subject: [dba-VB] MapPoint 2003 question References: <05a801c30f4f$4f5ddb90$8e01a8c0@Rock> Message-ID: <3EB03F8F.9030802@shaw.ca> I have done this with MapBlast and xmlhttp in Access for driving directions. If I was going to do this, I would use MapPoint Web Service, don't know the cost per transaction. I would use the webservice for more uptodate directions, none of these methods seem to be accurate where road directions requires ferries or toll avoidance etc. You can write your own mappoint .net web service there is an SDK. There is reverse geocoding. http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28001402 Arthur Fuller wrote: >Cross-posted... > >I've been reading about the MapPoint class hierarchy. What I have not hit >upon yet is the cost :-) There's an ActiveX control which is fine for >Access, but what about .NET? Is there a corresponding control? Suppose you >want to deliver this kind of functionality, and more, such as a route list >or the 5 national parks closest to your zip code. Can you do these sorts of >things? Does anyone know the licensing issues involved? I have a potential >client who wants to know :-) > >Arthur > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > > > From ttom at accessyourdata.com Sat Apr 5 17:01:34 2003 From: ttom at accessyourdata.com (t tom) Date: Sat, 05 Apr 2003 16:01:34 -0700 Subject: [dba-VB] Saving Data within a VB exe References: <22F1CCD5171D17419CB37FEEE09D5F996D5546@TTNEXCHSRV1.hshhp.com> Message-ID: <002301c2fbc7$51ac3860$132b9244@cg.shawcable.net> Hi All Can data be saved and/or updated from within a VB exe file. For example , Can I "make room " for a person's name, address , etc in a VB EXE file. Then can I update this data. I don't want to use a text or database file. TIA Tomt From accessd at shaw.ca Sat Apr 5 19:10:46 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 05 Apr 2003 17:10:46 -0800 Subject: [dba-VB] Saving Data within a VB exe In-Reply-To: <002301c2fbc7$51ac3860$132b9244@cg.shawcable.net> Message-ID: Hi Tom: The simple answer is NO. But yes it can be done but I have never tried with a compiled executable. Before the compile you would have to create a constant variable, with contents of a particular of a non repeating nature. i.e.. "0123456789abcdefghijklmnopqrstuvwxyz". After the application is compiled, use an assembler to locate that sequence, record its' offset pointer and then you should be able to binary write to that position in the executable...Did something like that many years ago but have not tried it recently. A better method would be to write the specific data into the registry. It can even be encoded if you like. HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of t tom Sent: Saturday, April 05, 2003 3:02 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Saving Data within a VB exe Hi All Can data be saved and/or updated from within a VB exe file. For example , Can I "make room " for a person's name, address , etc in a VB EXE file. Then can I update this data. I don't want to use a text or database file. TIA Tomt _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Apr 5 21:58:03 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 06 Apr 2003 13:58:03 +1000 Subject: [dba-VB] Saving Data within a VB exe In-Reply-To: <002301c2fbc7$51ac3860$132b9244@cg.shawcable.net> Message-ID: <3E90326B.10490.17D7EDA@localhost> On 5 Apr 2003 at 16:01, t tom wrote: > Hi All > > Can data be saved and/or updated from within a VB exe file. > For example , Can I "make room " for a person's name, address , etc in > a VB EXE file. Then can I update this data. I don't want to use a text > or database file. > > There are two options that we used to use with DOS applications: 1. As Jim has already suggested - store a unique string and later rfind it and write to that location. 2. Get the length of the executable and then append your data to the end of the file. As long as you append a fixed length, you than then read this x number of bytes from then end of the executable later. Both of these have methods have problems in Windows with the executable being locked by the OS while it is running. You may be able to do it opening the file as "LOCK SHARED" Also many antivirus programs don't like to se executables changing! There's a bit of discussion about this in the PowerBasic forums at : http://www.powerbasic.com/support/forums/Archives/Archive- 000003/HTML/20000801-4-000389.html http://www.powerbasic.com/support/forums/Archives/Archive- 000003/HTML/20000801-4-000299.html (watch for line wraps) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From JRojas at tnco-inc.com Thu Apr 10 07:40:11 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 10 Apr 2003 08:40:11 -0400 Subject: [dba-VB] Slightly OT: VBScript IDE Message-ID: <806536912C472E4A9D6515DF2E57261E0C5995@mercury.tnco-inc.com> Hello All, I am developing a few login scripts for our network users and I was wondering if there is a VBScript IDE out there? Something that would help ease the creation of vbs files? Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From GRAY at utah.gov Thu Apr 10 08:57:16 2003 From: GRAY at utah.gov (Gary Ray) Date: Thu, 10 Apr 2003 07:57:16 -0600 Subject: [dba-VB] Slightly OT: VBScript IDE Message-ID: I think you can use InterDev (Development Environment) for this. There are also lots of shareware text editors out there. Gary Ray - Application Developer Workforce Information Systems R & D E-Mail gray at utah.gov >>> JRojas at tnco-inc.com 04/10/03 06:40AM >>> Hello All, I am developing a few login scripts for our network users and I was wondering if there is a VBScript IDE out there? Something that would help ease the creation of vbs files? Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Fri Apr 18 09:07:28 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 18 Apr 2003 09:07:28 -0500 Subject: [dba-VB] VB6: Object Reference Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C73D@TAPPEEXCH01> Here's one that is stumping me: I want to write an ActiveX DLL that contains: - A class module to handle all properties/methods/events. - A form that is instantiated by the class, to display visual information to the user. The form needs to interact with the class module to get at its properties/methods/events, so I thought that I should store an object reference in the form. I tried the following code in the form: Private WithEvents mobjSrcObj As clsMyClass Public Property Set SourceObject (objSrcObj As clsMyClass) Set mobjSrcObj = objSrcObj End Property In the class module, I have the following code: Private mfrmMyForm As frmMyForm Public Sub Class_Initialize Set mfrmMyForm = New frmMyForm Set mfrmMyForm.SourceObject = Me End Sub This works great, except for one small thing. I cannot destroy the class instance by setting it to Nothing, because the Form it instantiated still has a reference to it. There has to be a simple solution to this! Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc., 1989. -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From carbonnb at sympatico.ca Fri Apr 18 09:55:58 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 18 Apr 2003 10:55:58 -0400 Subject: [dba-VB] VB6: Object Reference In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C73D@TAPPEEXCH01> Message-ID: <3E9FD9BE.31267.8C0AB0@localhost> On 18 Apr 2003 at 9:07, Brett Barabash wrote: > Here's one that is stumping me: > I want to write an ActiveX DLL that contains: > - A class module to handle all properties/methods/events. > - A form that is instantiated by the class, to display visual > information to the user. > > The form needs to interact with the class module to get at its > properties/methods/events, so I thought that I should store an object > reference in the form. I tried the following code in the form: > > Private WithEvents mobjSrcObj As clsMyClass > > Public Property Set SourceObject (objSrcObj As clsMyClass) > Set mobjSrcObj = objSrcObj > End Property > > In the class module, I have the following code: > > Private mfrmMyForm As frmMyForm > > Public Sub Class_Initialize > Set mfrmMyForm = New frmMyForm > Set mfrmMyForm.SourceObject = Me > End Sub > > This works great, except for one small thing. I cannot destroy the > class instance by setting it to Nothing, because the Form it > instantiated still has a reference to it. > > There has to be a simple solution to this! It sounds like you will need a "Tear Down" method of your class. In your calss add: Public Sub TearDown () Set mfrmMyForm.SourceObject = Nothing Set mfrmMyForm = Nothing End Sub Then when you want to destroy the class you need to call your TearDown method before you set it to nothing 'Close and destroy YourClassVariable.TearDown Set YourClassVariable = Nothing It's the same approach you have to take when you build Parent Properties for Classes. -- Bryan Carbonnell - carbonnb at sympatico.ca Age is a very high price to pay for maturity. From BBarabash at TappeConstruction.com Fri Apr 18 10:15:25 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 18 Apr 2003 10:15:25 -0500 Subject: [dba-VB] VB6: Object Reference Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C73E@TAPPEEXCH01> Thanks Bryan, My only issue with your method, is that it requires the parent code to explicitly call the TearDown method to destroy the object. If the TearDown method isn't called (crashes, sloppy code, whatever), the object will remain in memory. I ran across a very interesting article through Google groups, about establishing "Weak References". Using the CopyMemory API call, you can establish an uncounted reference to an object and avoid the common circular reference problems. A little bit more work and more risky (as an uncounted interface, you need to handle cleanup manually). Still, an interesting read: http://groups.google.com/groups?selm=7uluuc%24srp%241%40nntp1.atl.mindspring .net&oe=UTF-8&output=gplain -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Friday, April 18, 2003 9:56 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VB6: Object Reference It sounds like you will need a "Tear Down" method of your class. In your calss add: Public Sub TearDown () Set mfrmMyForm.SourceObject = Nothing Set mfrmMyForm = Nothing End Sub Then when you want to destroy the class you need to call your TearDown method before you set it to nothing 'Close and destroy YourClassVariable.TearDown Set YourClassVariable = Nothing It's the same approach you have to take when you build Parent Properties for Classes. -- Bryan Carbonnell - carbonnb at sympatico.ca Age is a very high price to pay for maturity. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From carbonnb at sympatico.ca Fri Apr 18 10:48:55 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 18 Apr 2003 11:48:55 -0400 Subject: [dba-VB] VB6: Object Reference In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C73E@TAPPEEXCH01> Message-ID: <3E9FE627.1353.BC8712@localhost> On 18 Apr 2003 at 10:15, Brett Barabash wrote: > My only issue with your method, is that it requires the parent code to > explicitly call the TearDown method to destroy the object. If the > TearDown method isn't called (crashes, sloppy code, whatever), the > object will remain in memory. Yep, same issue I have with doing it that way as well. Unfortunately, it's about the only way I can think of to do it. IIRC, I got this methid from the VBADH by Getz & Gilbert. > I ran across a very interesting article through Google groups, about > establishing "Weak References". Using the CopyMemory API call, you > can establish an uncounted reference to an object and avoid the common > circular reference problems. A little bit more work and more risky > (as an uncounted interface, you need to handle cleanup manually). > Still, an interesting read: > http://groups.google.com/groups?selm=7uluuc%24srp%241%40nntp1.atl.mind > spring .net&oe=UTF-8&output=gplain Sounds like an interesting read. I must add it to my ever growing collection of things to read. -- Bryan Carbonnell - carbonnb at sympatico.ca We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true.^ [Robert Wilensky (1997)] From BBarabash at TappeConstruction.com Fri Apr 18 11:12:19 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 18 Apr 2003 11:12:19 -0500 Subject: [dba-VB] VB6: Object Reference Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C73F@TAPPEEXCH01> Upon further investigation, I found that the recursive reference problem is fairly common among VB developers. In fact, VB.NET has a WeakReference feature built-in to avoid this. Here was another article that gave some interesting information: http://www.programmersheaven.com/articles/harry/article1.htm -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Friday, April 18, 2003 10:49 AM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] VB6: Object Reference On 18 Apr 2003 at 10:15, Brett Barabash wrote: > My only issue with your method, is that it requires the parent code to > explicitly call the TearDown method to destroy the object. If the > TearDown method isn't called (crashes, sloppy code, whatever), the > object will remain in memory. Yep, same issue I have with doing it that way as well. Unfortunately, it's about the only way I can think of to do it. IIRC, I got this methid from the VBADH by Getz & Gilbert. > I ran across a very interesting article through Google groups, about > establishing "Weak References". Using the CopyMemory API call, you > can establish an uncounted reference to an object and avoid the common > circular reference problems. A little bit more work and more risky > (as an uncounted interface, you need to handle cleanup manually). > Still, an interesting read: > http://groups.google.com/groups?selm=7uluuc%24srp%241%40nntp1.atl.mind > spring .net&oe=UTF-8&output=gplain Sounds like an interesting read. I must add it to my ever growing collection of things to read. -- Bryan Carbonnell - carbonnb at sympatico.ca We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true.^ [Robert Wilensky (1997)] _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From paul.hartland at fsmail.net Tue Apr 29 05:32:39 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 29 Apr 2003 10:32:39 +0000 Subject: [dba-VB] An Error Occurred While Registering The File C:\Windows\System32\MSADO25.TLB Message-ID: <20030429103241.ZUPK4720.fep07-svc.ttys.com@localhost> To all, we are running windows XP professional, and are using VB6 along with Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small application and used the package & deployment wizard to create the setup.exe When the program is installing we get the error message (see subject), and if you click ignore the program seem to install & run without a problem. Does anyone have any idea why this error message would appear, as it doesn't look very professional. Thanks in advance Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From accessd at shaw.ca Tue Apr 29 06:59:06 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 29 Apr 2003 04:59:06 -0700 Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB In-Reply-To: <20030429103241.ZUPK4720.fep07-svc.ttys.com@localhost> Message-ID: Paul: Have you tried manually registering the component that causing the display error? Does this file exist in the directory c:\windows\system32 before the registration process is started? Is the component already registered? If the setup application is trying to write-over an active component, it fails of course (a reboot will have to be forced) and then attempting to re-register the same component, it will fail again with an error. My bet is that the component msado25.tbl is not in the system32 directory. (check the setup script...) HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, April 29, 2003 3:33 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB To all, we are running windows XP professional, and are using VB6 along with Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small application and used the package & deployment wizard to create the setup.exe When the program is installing we get the error message (see subject), and if you click ignore the program seem to install & run without a problem. Does anyone have any idea why this error message would appear, as it doesn't look very professional. Thanks in advance Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From paul.hartland at fsmail.net Tue Apr 29 07:22:55 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 29 Apr 2003 12:22:55 +0000 Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB Message-ID: <20030429122255.RMPC28680.fep03-svc.ttys.com@localhost> I can see the MSADO25.TBL in the system32 directory..... From: "Jim Lawrence (AccessD)" Date: Tue 29/Apr/2003 11:59 GMT To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB Paul: Have you tried manually registering the component that causing the display error? Does this file exist in the directory c:\windows\system32 before the registration process is started? Is the component already registered? If the setup application is trying to write-over an active component, it fails of course (a reboot will have to be forced) and then attempting to re-register the same component, it will fail again with an error. My bet is that the component msado25.tbl is not in the system32 directory. (check the setup script...) HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, April 29, 2003 3:33 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB To all, we are running windows XP professional, and are using VB6 along with Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small application and used the package & deployment wizard to create the setup.exe When the program is installing we get the error message (see subject), and if you click ignore the program seem to install & run without a problem. Does anyone have any idea why this error message would appear, as it doesn't look very professional. Thanks in advance Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From garykjos at hotmail.com Tue Apr 29 07:26:18 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Tue, 29 Apr 2003 07:26:18 -0500 Subject: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB Message-ID: Well, one of them is spelled different unless it's a typo in your message - one has .TLB and the other is .TBL Perhaps a typo in your setup? Gary Kjos garykjos at hotmail.com >From: >Reply-To: dba-vb at databaseadvisors.com >To: dba-vb at databaseadvisors.com >Subject: Re: RE: [dba-VB] An Error Occurred While Registering >TheFileC:\Windows\System32\MSADO25.TLB >Date: Tue, 29 Apr 2003 12:22:55 +0000 > >I can see the MSADO25.TBL in the system32 directory..... > >From: "Jim Lawrence (AccessD)" >Date: Tue 29/Apr/2003 11:59 GMT >To: dba-vb at databaseadvisors.com >Subject: RE: [dba-VB] An Error Occurred While Registering The > FileC:\Windows\System32\MSADO25.TLB > >Paul: > >Have you tried manually registering the component that causing the display >error? Does this file exist in the directory c:\windows\system32 before the >registration process is started? Is the component already registered? > >If the setup application is trying to write-over an active component, it >fails of course (a reboot will have to be forced) and then attempting to >re-register the same component, it will fail again with an error. My bet is >that the component msado25.tbl is not in the system32 directory. (check the >setup script...) > >HTH >Jim > >-----Original Message----- >From: dba-vb-bounces at databaseadvisors.com >[mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of >paul.hartland at fsmail.net >Sent: Tuesday, April 29, 2003 3:33 AM >To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com >Subject: [dba-VB] An Error Occurred While Registering The >FileC:\Windows\System32\MSADO25.TLB > > >To all, > >we are running windows XP professional, and are using VB6 along with >Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small >application and used the package & deployment wizard to create the >setup.exe > >When the program is installing we get the error message (see subject), and >if you click ignore the program seem to install & run without a problem. >Does anyone have any idea why this error message would appear, as it >doesn't >look very professional. > >Thanks in advance > >Paul > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From paul.hartland at fsmail.net Tue Apr 29 07:42:59 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 29 Apr 2003 12:42:59 +0000 Subject: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB Message-ID: <20030429124259.RNGJ28680.fep03-svc.ttys.com@localhost> lol, yeah sorry it's the MSADO25.TLB file that is causing the Error, but I can see it in the Windows/System32 dir From: "Gary Kjos" Date: Tue 29/Apr/2003 12:26 GMT To: dba-vb at databaseadvisors.com Subject: Re: RE: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB Well, one of them is spelled different unless it's a typo in your message - one has .TLB and the other is .TBL Perhaps a typo in your setup? Gary Kjos garykjos at hotmail.com >From: >Reply-To: dba-vb at databaseadvisors.com >To: dba-vb at databaseadvisors.com >Subject: Re: RE: [dba-VB] An Error Occurred While Registering >TheFileC:\Windows\System32\MSADO25.TLB >Date: Tue, 29 Apr 2003 12:22:55 +0000 > >I can see the MSADO25.TBL in the system32 directory..... > >From: "Jim Lawrence (AccessD)" >Date: Tue 29/Apr/2003 11:59 GMT >To: dba-vb at databaseadvisors.com >Subject: RE: [dba-VB] An Error Occurred While Registering The > FileC:\Windows\System32\MSADO25.TLB > >Paul: > >Have you tried manually registering the component that causing the display >error? Does this file exist in the directory c:\windows\system32 before the >registration process is started? Is the component already registered? > >If the setup application is trying to write-over an active component, it >fails of course (a reboot will have to be forced) and then attempting to >re-register the same component, it will fail again with an error. My bet is >that the component msado25.tbl is not in the system32 directory. (check the >setup script...) > >HTH >Jim > >-----Original Message----- >From: dba-vb-bounces at databaseadvisors.com >[mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of >paul.hartland at fsmail.net >Sent: Tuesday, April 29, 2003 3:33 AM >To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com >Subject: [dba-VB] An Error Occurred While Registering The >FileC:\Windows\System32\MSADO25.TLB > > >To all, > >we are running windows XP professional, and are using VB6 along with >Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small >application and used the package & deployment wizard to create the >setup.exe > >When the program is installing we get the error message (see subject), and >if you click ignore the program seem to install & run without a problem. >Does anyone have any idea why this error message would appear, as it >doesn't >look very professional. > >Thanks in advance > >Paul > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From garykjos at hotmail.com Tue Apr 29 07:47:57 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Tue, 29 Apr 2003 07:47:57 -0500 Subject: [dba-VB] An Error Occurred While RegisteringTheFileC:\Windows\System32\MSADO25.TLB Message-ID: Figured that was probably the case, but thought it was worth a shot. Good luck solving it. Gary Kjos garykjos at hotmail.com >From: >Reply-To: dba-vb at databaseadvisors.com >To: dba-vb at databaseadvisors.com >Subject: Re: RE: [dba-VB] An Error Occurred While >RegisteringTheFileC:\Windows\System32\MSADO25.TLB >Date: Tue, 29 Apr 2003 12:42:59 +0000 > >lol, yeah sorry it's the MSADO25.TLB file that is causing the Error, but I >can see it in the Windows/System32 dir > > >From: "Gary Kjos" >Date: Tue 29/Apr/2003 12:26 GMT >To: dba-vb at databaseadvisors.com >Subject: Re: RE: [dba-VB] An Error Occurred While Registering > TheFileC:\Windows\System32\MSADO25.TLB > >Well, one of them is spelled different unless it's a typo in your message - >one has .TLB and the other is .TBL > >Perhaps a typo in your setup? > > > >Gary Kjos >garykjos at hotmail.com > > > > > > >From: > >Reply-To: dba-vb at databaseadvisors.com > >To: dba-vb at databaseadvisors.com > >Subject: Re: RE: [dba-VB] An Error Occurred While Registering > >TheFileC:\Windows\System32\MSADO25.TLB > >Date: Tue, 29 Apr 2003 12:22:55 +0000 > > > >I can see the MSADO25.TBL in the system32 directory..... > > > >From: "Jim Lawrence (AccessD)" > >Date: Tue 29/Apr/2003 11:59 GMT > >To: dba-vb at databaseadvisors.com > >Subject: RE: [dba-VB] An Error Occurred While Registering The > > FileC:\Windows\System32\MSADO25.TLB > > > >Paul: > > > >Have you tried manually registering the component that causing the >display > >error? Does this file exist in the directory c:\windows\system32 before >the > >registration process is started? Is the component already registered? > > > >If the setup application is trying to write-over an active component, it > >fails of course (a reboot will have to be forced) and then attempting to > >re-register the same component, it will fail again with an error. My bet >is > >that the component msado25.tbl is not in the system32 directory. (check >the > >setup script...) > > > >HTH > >Jim > > > >-----Original Message----- > >From: dba-vb-bounces at databaseadvisors.com > >[mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of > >paul.hartland at fsmail.net > >Sent: Tuesday, April 29, 2003 3:33 AM > >To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com > >Subject: [dba-VB] An Error Occurred While Registering The > >FileC:\Windows\System32\MSADO25.TLB > > > > > >To all, > > > >we are running windows XP professional, and are using VB6 along with > >Access2002 for our systems (VB6 FE, Access2002 BE). I created a very >small > >application and used the package & deployment wizard to create the > >setup.exe > > > >When the program is installing we get the error message (see subject), >and > >if you click ignore the program seem to install & run without a problem. > >Does anyone have any idea why this error message would appear, as it > >doesn't > >look very professional. > > > >Thanks in advance > > > >Paul > > > > > >__________________________________________________________________________ > >Join Freeserve http://www.freeserve.com/time/ > > > >Winner of the 2003 Internet Service Providers' Association awards for >Best > >Unmetered ISP and Best Consumer Application. > > > > > >_______________________________________________ > >dba-VB mailing list > >dba-VB at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/dba-vb > >http://www.databaseadvisors.com > > > >_______________________________________________ > >dba-VB mailing list > >dba-VB at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/dba-vb > >http://www.databaseadvisors.com > > > > > >__________________________________________________________________________ > >Join Freeserve http://www.freeserve.com/time/ > > > >Winner of the 2003 Internet Service Providers' Association awards for >Best > >Unmetered ISP and Best Consumer Application. > > > > > >_______________________________________________ > >dba-VB mailing list > >dba-VB at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/dba-vb > >http://www.databaseadvisors.com > > > > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From accessd at shaw.ca Tue Apr 29 13:49:04 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 29 Apr 2003 11:49:04 -0700 Subject: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB In-Reply-To: <20030429122255.RMPC28680.fep03-svc.ttys.com@localhost> Message-ID: Hi Paul: What happens when you try to manually register MSADO25.TBL? Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, April 29, 2003 5:23 AM To: dba-vb at databaseadvisors.com Subject: Re: RE: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB I can see the MSADO25.TBL in the system32 directory..... From: "Jim Lawrence (AccessD)" Date: Tue 29/Apr/2003 11:59 GMT To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB Paul: Have you tried manually registering the component that causing the display error? Does this file exist in the directory c:\windows\system32 before the registration process is started? Is the component already registered? If the setup application is trying to write-over an active component, it fails of course (a reboot will have to be forced) and then attempting to re-register the same component, it will fail again with an error. My bet is that the component msado25.tbl is not in the system32 directory. (check the setup script...) HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, April 29, 2003 3:33 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB To all, we are running windows XP professional, and are using VB6 along with Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small application and used the package & deployment wizard to create the setup.exe When the program is installing we get the error message (see subject), and if you click ignore the program seem to install & run without a problem. Does anyone have any idea why this error message would appear, as it doesn't look very professional. Thanks in advance Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Apr 30 05:50:09 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 30 Apr 2003 10:50:09 +0000 Subject: [dba-VB] Slightly OT: Infragistic's Datagrid for VB6 Message-ID: <20030430105009.MRKE17808.fep02-svc.ttys.com@localhost> To all, Before I go further into what the problem is, is there anyone out there that use's the Infragistics UltraGrid for VB6....? Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From artful at rogers.com Wed Apr 30 07:11:15 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 30 Apr 2003 08:11:15 -0400 Subject: [dba-VB] Trusted Connection versus What? In-Reply-To: <20030430105009.MRKE17808.fep02-svc.ttys.com@localhost> Message-ID: <056b01c30f11$992efd00$8e01a8c0@Rock> In the I Buy Spy sample apps, there is a connection string like this: My db server is not set up for trusted connections. What do I change this to? Do I embed a suitable uid and pswd right in the string or what? TIA, Arthur From Jdemarco at hshhp.org Wed Apr 30 07:26:27 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 30 Apr 2003 08:26:27 -0400 Subject: [dba-VB] Trusted Connection versus What? Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85B02@TTNEXCHSRV1.hshhp.com> In VB you would use: Integrated Security=SSPI So I'd imaging there is some similar property (sorry don't know what) and you'd leave Trusted_Connection out or set to false. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, April 30, 2003 8:11 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Trusted Connection versus What? In the I Buy Spy sample apps, there is a connection string like this: My db server is not set up for trusted connections. What do I change this to? Do I embed a suitable uid and pswd right in the string or what? TIA, Arthur _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From BBarabash at TappeConstruction.com Wed Apr 30 08:19:43 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed, 30 Apr 2003 08:19:43 -0500 Subject: [dba-VB] Trusted Connection versus What? Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C76B@TAPPEEXCH01> Arthur, Try: server=localhost;database=store;User Id=myusername;Password=mypassword This works for SQL Server via ADO. -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, April 30, 2003 7:11 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Trusted Connection versus What? In the I Buy Spy sample apps, there is a connection string like this: My db server is not set up for trusted connections. What do I change this to? Do I embed a suitable uid and pswd right in the string or what? TIA, Arthur _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From artful at rogers.com Wed Apr 30 14:32:59 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 30 Apr 2003 15:32:59 -0400 Subject: [dba-VB] MapPoint 2003 question In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85B02@TTNEXCHSRV1.hshhp.com> Message-ID: <05a801c30f4f$4f5ddb90$8e01a8c0@Rock> Cross-posted... I've been reading about the MapPoint class hierarchy. What I have not hit upon yet is the cost :-) There's an ActiveX control which is fine for Access, but what about .NET? Is there a corresponding control? Suppose you want to deliver this kind of functionality, and more, such as a route list or the 5 national parks closest to your zip code. Can you do these sorts of things? Does anyone know the licensing issues involved? I have a potential client who wants to know :-) Arthur From martyconnelly at shaw.ca Wed Apr 30 16:26:39 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 30 Apr 2003 14:26:39 -0700 Subject: [dba-VB] MapPoint 2003 question References: <05a801c30f4f$4f5ddb90$8e01a8c0@Rock> Message-ID: <3EB03F8F.9030802@shaw.ca> I have done this with MapBlast and xmlhttp in Access for driving directions. If I was going to do this, I would use MapPoint Web Service, don't know the cost per transaction. I would use the webservice for more uptodate directions, none of these methods seem to be accurate where road directions requires ferries or toll avoidance etc. You can write your own mappoint .net web service there is an SDK. There is reverse geocoding. http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28001402 Arthur Fuller wrote: >Cross-posted... > >I've been reading about the MapPoint class hierarchy. What I have not hit >upon yet is the cost :-) There's an ActiveX control which is fine for >Access, but what about .NET? Is there a corresponding control? Suppose you >want to deliver this kind of functionality, and more, such as a route list >or the 5 national parks closest to your zip code. Can you do these sorts of >things? Does anyone know the licensing issues involved? I have a potential >client who wants to know :-) > >Arthur > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > > > From ttom at accessyourdata.com Sat Apr 5 17:01:34 2003 From: ttom at accessyourdata.com (t tom) Date: Sat, 05 Apr 2003 16:01:34 -0700 Subject: [dba-VB] Saving Data within a VB exe References: <22F1CCD5171D17419CB37FEEE09D5F996D5546@TTNEXCHSRV1.hshhp.com> Message-ID: <002301c2fbc7$51ac3860$132b9244@cg.shawcable.net> Hi All Can data be saved and/or updated from within a VB exe file. For example , Can I "make room " for a person's name, address , etc in a VB EXE file. Then can I update this data. I don't want to use a text or database file. TIA Tomt From accessd at shaw.ca Sat Apr 5 19:10:46 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 05 Apr 2003 17:10:46 -0800 Subject: [dba-VB] Saving Data within a VB exe In-Reply-To: <002301c2fbc7$51ac3860$132b9244@cg.shawcable.net> Message-ID: Hi Tom: The simple answer is NO. But yes it can be done but I have never tried with a compiled executable. Before the compile you would have to create a constant variable, with contents of a particular of a non repeating nature. i.e.. "0123456789abcdefghijklmnopqrstuvwxyz". After the application is compiled, use an assembler to locate that sequence, record its' offset pointer and then you should be able to binary write to that position in the executable...Did something like that many years ago but have not tried it recently. A better method would be to write the specific data into the registry. It can even be encoded if you like. HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of t tom Sent: Saturday, April 05, 2003 3:02 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] Saving Data within a VB exe Hi All Can data be saved and/or updated from within a VB exe file. For example , Can I "make room " for a person's name, address , etc in a VB EXE file. Then can I update this data. I don't want to use a text or database file. TIA Tomt _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Apr 5 21:58:03 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 06 Apr 2003 13:58:03 +1000 Subject: [dba-VB] Saving Data within a VB exe In-Reply-To: <002301c2fbc7$51ac3860$132b9244@cg.shawcable.net> Message-ID: <3E90326B.10490.17D7EDA@localhost> On 5 Apr 2003 at 16:01, t tom wrote: > Hi All > > Can data be saved and/or updated from within a VB exe file. > For example , Can I "make room " for a person's name, address , etc in > a VB EXE file. Then can I update this data. I don't want to use a text > or database file. > > There are two options that we used to use with DOS applications: 1. As Jim has already suggested - store a unique string and later rfind it and write to that location. 2. Get the length of the executable and then append your data to the end of the file. As long as you append a fixed length, you than then read this x number of bytes from then end of the executable later. Both of these have methods have problems in Windows with the executable being locked by the OS while it is running. You may be able to do it opening the file as "LOCK SHARED" Also many antivirus programs don't like to se executables changing! There's a bit of discussion about this in the PowerBasic forums at : http://www.powerbasic.com/support/forums/Archives/Archive- 000003/HTML/20000801-4-000389.html http://www.powerbasic.com/support/forums/Archives/Archive- 000003/HTML/20000801-4-000299.html (watch for line wraps) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From JRojas at tnco-inc.com Thu Apr 10 07:40:11 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 10 Apr 2003 08:40:11 -0400 Subject: [dba-VB] Slightly OT: VBScript IDE Message-ID: <806536912C472E4A9D6515DF2E57261E0C5995@mercury.tnco-inc.com> Hello All, I am developing a few login scripts for our network users and I was wondering if there is a VBScript IDE out there? Something that would help ease the creation of vbs files? Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From GRAY at utah.gov Thu Apr 10 08:57:16 2003 From: GRAY at utah.gov (Gary Ray) Date: Thu, 10 Apr 2003 07:57:16 -0600 Subject: [dba-VB] Slightly OT: VBScript IDE Message-ID: I think you can use InterDev (Development Environment) for this. There are also lots of shareware text editors out there. Gary Ray - Application Developer Workforce Information Systems R & D E-Mail gray at utah.gov >>> JRojas at tnco-inc.com 04/10/03 06:40AM >>> Hello All, I am developing a few login scripts for our network users and I was wondering if there is a VBScript IDE out there? Something that would help ease the creation of vbs files? Thanks, Joe Rojas jrojas at tnco-inc.com This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Fri Apr 18 09:07:28 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 18 Apr 2003 09:07:28 -0500 Subject: [dba-VB] VB6: Object Reference Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C73D@TAPPEEXCH01> Here's one that is stumping me: I want to write an ActiveX DLL that contains: - A class module to handle all properties/methods/events. - A form that is instantiated by the class, to display visual information to the user. The form needs to interact with the class module to get at its properties/methods/events, so I thought that I should store an object reference in the form. I tried the following code in the form: Private WithEvents mobjSrcObj As clsMyClass Public Property Set SourceObject (objSrcObj As clsMyClass) Set mobjSrcObj = objSrcObj End Property In the class module, I have the following code: Private mfrmMyForm As frmMyForm Public Sub Class_Initialize Set mfrmMyForm = New frmMyForm Set mfrmMyForm.SourceObject = Me End Sub This works great, except for one small thing. I cannot destroy the class instance by setting it to Nothing, because the Form it instantiated still has a reference to it. There has to be a simple solution to this! Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc., 1989. -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From carbonnb at sympatico.ca Fri Apr 18 09:55:58 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 18 Apr 2003 10:55:58 -0400 Subject: [dba-VB] VB6: Object Reference In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C73D@TAPPEEXCH01> Message-ID: <3E9FD9BE.31267.8C0AB0@localhost> On 18 Apr 2003 at 9:07, Brett Barabash wrote: > Here's one that is stumping me: > I want to write an ActiveX DLL that contains: > - A class module to handle all properties/methods/events. > - A form that is instantiated by the class, to display visual > information to the user. > > The form needs to interact with the class module to get at its > properties/methods/events, so I thought that I should store an object > reference in the form. I tried the following code in the form: > > Private WithEvents mobjSrcObj As clsMyClass > > Public Property Set SourceObject (objSrcObj As clsMyClass) > Set mobjSrcObj = objSrcObj > End Property > > In the class module, I have the following code: > > Private mfrmMyForm As frmMyForm > > Public Sub Class_Initialize > Set mfrmMyForm = New frmMyForm > Set mfrmMyForm.SourceObject = Me > End Sub > > This works great, except for one small thing. I cannot destroy the > class instance by setting it to Nothing, because the Form it > instantiated still has a reference to it. > > There has to be a simple solution to this! It sounds like you will need a "Tear Down" method of your class. In your calss add: Public Sub TearDown () Set mfrmMyForm.SourceObject = Nothing Set mfrmMyForm = Nothing End Sub Then when you want to destroy the class you need to call your TearDown method before you set it to nothing 'Close and destroy YourClassVariable.TearDown Set YourClassVariable = Nothing It's the same approach you have to take when you build Parent Properties for Classes. -- Bryan Carbonnell - carbonnb at sympatico.ca Age is a very high price to pay for maturity. From BBarabash at TappeConstruction.com Fri Apr 18 10:15:25 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 18 Apr 2003 10:15:25 -0500 Subject: [dba-VB] VB6: Object Reference Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C73E@TAPPEEXCH01> Thanks Bryan, My only issue with your method, is that it requires the parent code to explicitly call the TearDown method to destroy the object. If the TearDown method isn't called (crashes, sloppy code, whatever), the object will remain in memory. I ran across a very interesting article through Google groups, about establishing "Weak References". Using the CopyMemory API call, you can establish an uncounted reference to an object and avoid the common circular reference problems. A little bit more work and more risky (as an uncounted interface, you need to handle cleanup manually). Still, an interesting read: http://groups.google.com/groups?selm=7uluuc%24srp%241%40nntp1.atl.mindspring .net&oe=UTF-8&output=gplain -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Friday, April 18, 2003 9:56 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VB6: Object Reference It sounds like you will need a "Tear Down" method of your class. In your calss add: Public Sub TearDown () Set mfrmMyForm.SourceObject = Nothing Set mfrmMyForm = Nothing End Sub Then when you want to destroy the class you need to call your TearDown method before you set it to nothing 'Close and destroy YourClassVariable.TearDown Set YourClassVariable = Nothing It's the same approach you have to take when you build Parent Properties for Classes. -- Bryan Carbonnell - carbonnb at sympatico.ca Age is a very high price to pay for maturity. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From carbonnb at sympatico.ca Fri Apr 18 10:48:55 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 18 Apr 2003 11:48:55 -0400 Subject: [dba-VB] VB6: Object Reference In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C73E@TAPPEEXCH01> Message-ID: <3E9FE627.1353.BC8712@localhost> On 18 Apr 2003 at 10:15, Brett Barabash wrote: > My only issue with your method, is that it requires the parent code to > explicitly call the TearDown method to destroy the object. If the > TearDown method isn't called (crashes, sloppy code, whatever), the > object will remain in memory. Yep, same issue I have with doing it that way as well. Unfortunately, it's about the only way I can think of to do it. IIRC, I got this methid from the VBADH by Getz & Gilbert. > I ran across a very interesting article through Google groups, about > establishing "Weak References". Using the CopyMemory API call, you > can establish an uncounted reference to an object and avoid the common > circular reference problems. A little bit more work and more risky > (as an uncounted interface, you need to handle cleanup manually). > Still, an interesting read: > http://groups.google.com/groups?selm=7uluuc%24srp%241%40nntp1.atl.mind > spring .net&oe=UTF-8&output=gplain Sounds like an interesting read. I must add it to my ever growing collection of things to read. -- Bryan Carbonnell - carbonnb at sympatico.ca We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true.^ [Robert Wilensky (1997)] From BBarabash at TappeConstruction.com Fri Apr 18 11:12:19 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 18 Apr 2003 11:12:19 -0500 Subject: [dba-VB] VB6: Object Reference Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C73F@TAPPEEXCH01> Upon further investigation, I found that the recursive reference problem is fairly common among VB developers. In fact, VB.NET has a WeakReference feature built-in to avoid this. Here was another article that gave some interesting information: http://www.programmersheaven.com/articles/harry/article1.htm -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Friday, April 18, 2003 10:49 AM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] VB6: Object Reference On 18 Apr 2003 at 10:15, Brett Barabash wrote: > My only issue with your method, is that it requires the parent code to > explicitly call the TearDown method to destroy the object. If the > TearDown method isn't called (crashes, sloppy code, whatever), the > object will remain in memory. Yep, same issue I have with doing it that way as well. Unfortunately, it's about the only way I can think of to do it. IIRC, I got this methid from the VBADH by Getz & Gilbert. > I ran across a very interesting article through Google groups, about > establishing "Weak References". Using the CopyMemory API call, you > can establish an uncounted reference to an object and avoid the common > circular reference problems. A little bit more work and more risky > (as an uncounted interface, you need to handle cleanup manually). > Still, an interesting read: > http://groups.google.com/groups?selm=7uluuc%24srp%241%40nntp1.atl.mind > spring .net&oe=UTF-8&output=gplain Sounds like an interesting read. I must add it to my ever growing collection of things to read. -- Bryan Carbonnell - carbonnb at sympatico.ca We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true.^ [Robert Wilensky (1997)] _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From paul.hartland at fsmail.net Tue Apr 29 05:32:39 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 29 Apr 2003 10:32:39 +0000 Subject: [dba-VB] An Error Occurred While Registering The File C:\Windows\System32\MSADO25.TLB Message-ID: <20030429103241.ZUPK4720.fep07-svc.ttys.com@localhost> To all, we are running windows XP professional, and are using VB6 along with Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small application and used the package & deployment wizard to create the setup.exe When the program is installing we get the error message (see subject), and if you click ignore the program seem to install & run without a problem. Does anyone have any idea why this error message would appear, as it doesn't look very professional. Thanks in advance Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From accessd at shaw.ca Tue Apr 29 06:59:06 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 29 Apr 2003 04:59:06 -0700 Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB In-Reply-To: <20030429103241.ZUPK4720.fep07-svc.ttys.com@localhost> Message-ID: Paul: Have you tried manually registering the component that causing the display error? Does this file exist in the directory c:\windows\system32 before the registration process is started? Is the component already registered? If the setup application is trying to write-over an active component, it fails of course (a reboot will have to be forced) and then attempting to re-register the same component, it will fail again with an error. My bet is that the component msado25.tbl is not in the system32 directory. (check the setup script...) HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, April 29, 2003 3:33 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB To all, we are running windows XP professional, and are using VB6 along with Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small application and used the package & deployment wizard to create the setup.exe When the program is installing we get the error message (see subject), and if you click ignore the program seem to install & run without a problem. Does anyone have any idea why this error message would appear, as it doesn't look very professional. Thanks in advance Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From paul.hartland at fsmail.net Tue Apr 29 07:22:55 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 29 Apr 2003 12:22:55 +0000 Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB Message-ID: <20030429122255.RMPC28680.fep03-svc.ttys.com@localhost> I can see the MSADO25.TBL in the system32 directory..... From: "Jim Lawrence (AccessD)" Date: Tue 29/Apr/2003 11:59 GMT To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB Paul: Have you tried manually registering the component that causing the display error? Does this file exist in the directory c:\windows\system32 before the registration process is started? Is the component already registered? If the setup application is trying to write-over an active component, it fails of course (a reboot will have to be forced) and then attempting to re-register the same component, it will fail again with an error. My bet is that the component msado25.tbl is not in the system32 directory. (check the setup script...) HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, April 29, 2003 3:33 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB To all, we are running windows XP professional, and are using VB6 along with Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small application and used the package & deployment wizard to create the setup.exe When the program is installing we get the error message (see subject), and if you click ignore the program seem to install & run without a problem. Does anyone have any idea why this error message would appear, as it doesn't look very professional. Thanks in advance Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From garykjos at hotmail.com Tue Apr 29 07:26:18 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Tue, 29 Apr 2003 07:26:18 -0500 Subject: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB Message-ID: Well, one of them is spelled different unless it's a typo in your message - one has .TLB and the other is .TBL Perhaps a typo in your setup? Gary Kjos garykjos at hotmail.com >From: >Reply-To: dba-vb at databaseadvisors.com >To: dba-vb at databaseadvisors.com >Subject: Re: RE: [dba-VB] An Error Occurred While Registering >TheFileC:\Windows\System32\MSADO25.TLB >Date: Tue, 29 Apr 2003 12:22:55 +0000 > >I can see the MSADO25.TBL in the system32 directory..... > >From: "Jim Lawrence (AccessD)" >Date: Tue 29/Apr/2003 11:59 GMT >To: dba-vb at databaseadvisors.com >Subject: RE: [dba-VB] An Error Occurred While Registering The > FileC:\Windows\System32\MSADO25.TLB > >Paul: > >Have you tried manually registering the component that causing the display >error? Does this file exist in the directory c:\windows\system32 before the >registration process is started? Is the component already registered? > >If the setup application is trying to write-over an active component, it >fails of course (a reboot will have to be forced) and then attempting to >re-register the same component, it will fail again with an error. My bet is >that the component msado25.tbl is not in the system32 directory. (check the >setup script...) > >HTH >Jim > >-----Original Message----- >From: dba-vb-bounces at databaseadvisors.com >[mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of >paul.hartland at fsmail.net >Sent: Tuesday, April 29, 2003 3:33 AM >To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com >Subject: [dba-VB] An Error Occurred While Registering The >FileC:\Windows\System32\MSADO25.TLB > > >To all, > >we are running windows XP professional, and are using VB6 along with >Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small >application and used the package & deployment wizard to create the >setup.exe > >When the program is installing we get the error message (see subject), and >if you click ignore the program seem to install & run without a problem. >Does anyone have any idea why this error message would appear, as it >doesn't >look very professional. > >Thanks in advance > >Paul > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From paul.hartland at fsmail.net Tue Apr 29 07:42:59 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 29 Apr 2003 12:42:59 +0000 Subject: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB Message-ID: <20030429124259.RNGJ28680.fep03-svc.ttys.com@localhost> lol, yeah sorry it's the MSADO25.TLB file that is causing the Error, but I can see it in the Windows/System32 dir From: "Gary Kjos" Date: Tue 29/Apr/2003 12:26 GMT To: dba-vb at databaseadvisors.com Subject: Re: RE: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB Well, one of them is spelled different unless it's a typo in your message - one has .TLB and the other is .TBL Perhaps a typo in your setup? Gary Kjos garykjos at hotmail.com >From: >Reply-To: dba-vb at databaseadvisors.com >To: dba-vb at databaseadvisors.com >Subject: Re: RE: [dba-VB] An Error Occurred While Registering >TheFileC:\Windows\System32\MSADO25.TLB >Date: Tue, 29 Apr 2003 12:22:55 +0000 > >I can see the MSADO25.TBL in the system32 directory..... > >From: "Jim Lawrence (AccessD)" >Date: Tue 29/Apr/2003 11:59 GMT >To: dba-vb at databaseadvisors.com >Subject: RE: [dba-VB] An Error Occurred While Registering The > FileC:\Windows\System32\MSADO25.TLB > >Paul: > >Have you tried manually registering the component that causing the display >error? Does this file exist in the directory c:\windows\system32 before the >registration process is started? Is the component already registered? > >If the setup application is trying to write-over an active component, it >fails of course (a reboot will have to be forced) and then attempting to >re-register the same component, it will fail again with an error. My bet is >that the component msado25.tbl is not in the system32 directory. (check the >setup script...) > >HTH >Jim > >-----Original Message----- >From: dba-vb-bounces at databaseadvisors.com >[mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of >paul.hartland at fsmail.net >Sent: Tuesday, April 29, 2003 3:33 AM >To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com >Subject: [dba-VB] An Error Occurred While Registering The >FileC:\Windows\System32\MSADO25.TLB > > >To all, > >we are running windows XP professional, and are using VB6 along with >Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small >application and used the package & deployment wizard to create the >setup.exe > >When the program is installing we get the error message (see subject), and >if you click ignore the program seem to install & run without a problem. >Does anyone have any idea why this error message would appear, as it >doesn't >look very professional. > >Thanks in advance > >Paul > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From garykjos at hotmail.com Tue Apr 29 07:47:57 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Tue, 29 Apr 2003 07:47:57 -0500 Subject: [dba-VB] An Error Occurred While RegisteringTheFileC:\Windows\System32\MSADO25.TLB Message-ID: Figured that was probably the case, but thought it was worth a shot. Good luck solving it. Gary Kjos garykjos at hotmail.com >From: >Reply-To: dba-vb at databaseadvisors.com >To: dba-vb at databaseadvisors.com >Subject: Re: RE: [dba-VB] An Error Occurred While >RegisteringTheFileC:\Windows\System32\MSADO25.TLB >Date: Tue, 29 Apr 2003 12:42:59 +0000 > >lol, yeah sorry it's the MSADO25.TLB file that is causing the Error, but I >can see it in the Windows/System32 dir > > >From: "Gary Kjos" >Date: Tue 29/Apr/2003 12:26 GMT >To: dba-vb at databaseadvisors.com >Subject: Re: RE: [dba-VB] An Error Occurred While Registering > TheFileC:\Windows\System32\MSADO25.TLB > >Well, one of them is spelled different unless it's a typo in your message - >one has .TLB and the other is .TBL > >Perhaps a typo in your setup? > > > >Gary Kjos >garykjos at hotmail.com > > > > > > >From: > >Reply-To: dba-vb at databaseadvisors.com > >To: dba-vb at databaseadvisors.com > >Subject: Re: RE: [dba-VB] An Error Occurred While Registering > >TheFileC:\Windows\System32\MSADO25.TLB > >Date: Tue, 29 Apr 2003 12:22:55 +0000 > > > >I can see the MSADO25.TBL in the system32 directory..... > > > >From: "Jim Lawrence (AccessD)" > >Date: Tue 29/Apr/2003 11:59 GMT > >To: dba-vb at databaseadvisors.com > >Subject: RE: [dba-VB] An Error Occurred While Registering The > > FileC:\Windows\System32\MSADO25.TLB > > > >Paul: > > > >Have you tried manually registering the component that causing the >display > >error? Does this file exist in the directory c:\windows\system32 before >the > >registration process is started? Is the component already registered? > > > >If the setup application is trying to write-over an active component, it > >fails of course (a reboot will have to be forced) and then attempting to > >re-register the same component, it will fail again with an error. My bet >is > >that the component msado25.tbl is not in the system32 directory. (check >the > >setup script...) > > > >HTH > >Jim > > > >-----Original Message----- > >From: dba-vb-bounces at databaseadvisors.com > >[mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of > >paul.hartland at fsmail.net > >Sent: Tuesday, April 29, 2003 3:33 AM > >To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com > >Subject: [dba-VB] An Error Occurred While Registering The > >FileC:\Windows\System32\MSADO25.TLB > > > > > >To all, > > > >we are running windows XP professional, and are using VB6 along with > >Access2002 for our systems (VB6 FE, Access2002 BE). I created a very >small > >application and used the package & deployment wizard to create the > >setup.exe > > > >When the program is installing we get the error message (see subject), >and > >if you click ignore the program seem to install & run without a problem. > >Does anyone have any idea why this error message would appear, as it > >doesn't > >look very professional. > > > >Thanks in advance > > > >Paul > > > > > >__________________________________________________________________________ > >Join Freeserve http://www.freeserve.com/time/ > > > >Winner of the 2003 Internet Service Providers' Association awards for >Best > >Unmetered ISP and Best Consumer Application. > > > > > >_______________________________________________ > >dba-VB mailing list > >dba-VB at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/dba-vb > >http://www.databaseadvisors.com > > > >_______________________________________________ > >dba-VB mailing list > >dba-VB at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/dba-vb > >http://www.databaseadvisors.com > > > > > >__________________________________________________________________________ > >Join Freeserve http://www.freeserve.com/time/ > > > >Winner of the 2003 Internet Service Providers' Association awards for >Best > >Unmetered ISP and Best Consumer Application. > > > > > >_______________________________________________ > >dba-VB mailing list > >dba-VB at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/dba-vb > >http://www.databaseadvisors.com > > > > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > >__________________________________________________________________________ >Join Freeserve http://www.freeserve.com/time/ > >Winner of the 2003 Internet Service Providers' Association awards for Best >Unmetered ISP and Best Consumer Application. > > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From accessd at shaw.ca Tue Apr 29 13:49:04 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 29 Apr 2003 11:49:04 -0700 Subject: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB In-Reply-To: <20030429122255.RMPC28680.fep03-svc.ttys.com@localhost> Message-ID: Hi Paul: What happens when you try to manually register MSADO25.TBL? Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, April 29, 2003 5:23 AM To: dba-vb at databaseadvisors.com Subject: Re: RE: [dba-VB] An Error Occurred While Registering TheFileC:\Windows\System32\MSADO25.TLB I can see the MSADO25.TBL in the system32 directory..... From: "Jim Lawrence (AccessD)" Date: Tue 29/Apr/2003 11:59 GMT To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB Paul: Have you tried manually registering the component that causing the display error? Does this file exist in the directory c:\windows\system32 before the registration process is started? Is the component already registered? If the setup application is trying to write-over an active component, it fails of course (a reboot will have to be forced) and then attempting to re-register the same component, it will fail again with an error. My bet is that the component msado25.tbl is not in the system32 directory. (check the setup script...) HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, April 29, 2003 3:33 AM To: accessd at databaseadvisors.com; dba-vb at databaseadvisors.com Subject: [dba-VB] An Error Occurred While Registering The FileC:\Windows\System32\MSADO25.TLB To all, we are running windows XP professional, and are using VB6 along with Access2002 for our systems (VB6 FE, Access2002 BE). I created a very small application and used the package & deployment wizard to create the setup.exe When the program is installing we get the error message (see subject), and if you click ignore the program seem to install & run without a problem. Does anyone have any idea why this error message would appear, as it doesn't look very professional. Thanks in advance Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From paul.hartland at fsmail.net Wed Apr 30 05:50:09 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 30 Apr 2003 10:50:09 +0000 Subject: [dba-VB] Slightly OT: Infragistic's Datagrid for VB6 Message-ID: <20030430105009.MRKE17808.fep02-svc.ttys.com@localhost> To all, Before I go further into what the problem is, is there anyone out there that use's the Infragistics UltraGrid for VB6....? Paul __________________________________________________________________________ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application. From artful at rogers.com Wed Apr 30 07:11:15 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 30 Apr 2003 08:11:15 -0400 Subject: [dba-VB] Trusted Connection versus What? In-Reply-To: <20030430105009.MRKE17808.fep02-svc.ttys.com@localhost> Message-ID: <056b01c30f11$992efd00$8e01a8c0@Rock> In the I Buy Spy sample apps, there is a connection string like this: My db server is not set up for trusted connections. What do I change this to? Do I embed a suitable uid and pswd right in the string or what? TIA, Arthur From Jdemarco at hshhp.org Wed Apr 30 07:26:27 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 30 Apr 2003 08:26:27 -0400 Subject: [dba-VB] Trusted Connection versus What? Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99D85B02@TTNEXCHSRV1.hshhp.com> In VB you would use: Integrated Security=SSPI So I'd imaging there is some similar property (sorry don't know what) and you'd leave Trusted_Connection out or set to false. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, April 30, 2003 8:11 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Trusted Connection versus What? In the I Buy Spy sample apps, there is a connection string like this: My db server is not set up for trusted connections. What do I change this to? Do I embed a suitable uid and pswd right in the string or what? TIA, Arthur _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From BBarabash at TappeConstruction.com Wed Apr 30 08:19:43 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed, 30 Apr 2003 08:19:43 -0500 Subject: [dba-VB] Trusted Connection versus What? Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C76B@TAPPEEXCH01> Arthur, Try: server=localhost;database=store;User Id=myusername;Password=mypassword This works for SQL Server via ADO. -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, April 30, 2003 7:11 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Trusted Connection versus What? In the I Buy Spy sample apps, there is a connection string like this: My db server is not set up for trusted connections. What do I change this to? Do I embed a suitable uid and pswd right in the string or what? TIA, Arthur _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From artful at rogers.com Wed Apr 30 14:32:59 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 30 Apr 2003 15:32:59 -0400 Subject: [dba-VB] MapPoint 2003 question In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F99D85B02@TTNEXCHSRV1.hshhp.com> Message-ID: <05a801c30f4f$4f5ddb90$8e01a8c0@Rock> Cross-posted... I've been reading about the MapPoint class hierarchy. What I have not hit upon yet is the cost :-) There's an ActiveX control which is fine for Access, but what about .NET? Is there a corresponding control? Suppose you want to deliver this kind of functionality, and more, such as a route list or the 5 national parks closest to your zip code. Can you do these sorts of things? Does anyone know the licensing issues involved? I have a potential client who wants to know :-) Arthur From martyconnelly at shaw.ca Wed Apr 30 16:26:39 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 30 Apr 2003 14:26:39 -0700 Subject: [dba-VB] MapPoint 2003 question References: <05a801c30f4f$4f5ddb90$8e01a8c0@Rock> Message-ID: <3EB03F8F.9030802@shaw.ca> I have done this with MapBlast and xmlhttp in Access for driving directions. If I was going to do this, I would use MapPoint Web Service, don't know the cost per transaction. I would use the webservice for more uptodate directions, none of these methods seem to be accurate where road directions requires ferries or toll avoidance etc. You can write your own mappoint .net web service there is an SDK. There is reverse geocoding. http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28001402 Arthur Fuller wrote: >Cross-posted... > >I've been reading about the MapPoint class hierarchy. What I have not hit >upon yet is the cost :-) There's an ActiveX control which is fine for >Access, but what about .NET? Is there a corresponding control? Suppose you >want to deliver this kind of functionality, and more, such as a route list >or the 5 national parks closest to your zip code. Can you do these sorts of >things? Does anyone know the licensing issues involved? I have a potential >client who wants to know :-) > >Arthur > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > > >