From R.Griffiths at bury.gov.uk Tue Oct 7 09:50:00 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 7 Oct 2003 15:50:00 +0100 Subject: [dba-VB] VB6 - hpertext link Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F28E@MAILGATE.bury.gov.uk> Hi What I wish to achieve is a label (field or button) that when clicked will act as a hypertext link of favourites type link. We have a system that produces a large number of graphs stored down many long folder hierarchies , so having produced the graph in excel I want to be able to link directly to Q:\database\systems\hsis\graphs\yy\mm\...\...\\ and so on without having the load Windows Explorer and navigating there. Richard From stuart at lexacorp.com.pg Tue Oct 7 17:51:55 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 08 Oct 2003 08:51:55 +1000 Subject: [dba-VB] VB6 - hpertext link In-Reply-To: <52339DF8DCA2A544AF660C8217EB7DCD0227F28E@MAILGATE.bury.gov.uk> Message-ID: <3F83D02B.15318.2D5FEB@localhost> On 7 Oct 2003 at 15:50, Griffiths, Richard wrote: > Hi > > What I wish to achieve is a label (field or button) that when clicked will > act as a hypertext link of favourites type link. > We have a system that produces a large number of graphs stored down many > long folder hierarchies , so having produced the graph in excel I want to be > able to link directly to Q:\database\systems\hsis\graphs\yy\mm\...\...\\ and > so on without having the load Windows Explorer and navigating there. > If I understand you correctly, you want to click on a path/filename and have the appropriuate application such as Excel open the document? In that case: Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Private Sub myLink_Click() ShellExecute(0,"Open",myLink.Text,"","",1) End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From R.Griffiths at bury.gov.uk Thu Oct 9 03:47:00 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 9 Oct 2003 09:47:00 +0100 Subject: [dba-VB] VB6 - hpertext link Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F290@MAILGATE.bury.gov.uk> Hi thanks for the reply, no I don't want to open Excel or another application, however your solution works when I enter the path to the folder e.g. 'C:\MyFolder\MySubfolder\...\...\..\" that I want to move to - i.e. it loads Windows Explorer and initialises on the path entered.Perfect. Richard > -----Original Message----- > From: Stuart McLachlan [SMTP:stuart at lexacorp.com.pg] > Sent: 07 October 2003 23:52 > To: dba-vb at databaseadvisors.com > Subject: Re: [dba-VB] VB6 - hpertext link > > On 7 Oct 2003 at 15:50, Griffiths, Richard wrote: > > > Hi > > > > What I wish to achieve is a label (field or button) that when clicked > will > > act as a hypertext link of favourites type link. > > We have a system that produces a large number of graphs stored down many > > long folder hierarchies , so having produced the graph in excel I want > to be > > able to link directly to Q:\database\systems\hsis\graphs\yy\mm\...\...\\ > and > > so on without having the load Windows Explorer and navigating there. > > > > If I understand you correctly, you want to click on a path/filename > and have the appropriuate application such as Excel open the > document? > > In that case: > > > Public Declare Function ShellExecute Lib "shell32.dll" Alias > "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, > ByVal lpFile As String, ByVal lpParameters As String, ByVal > lpDirectory As String, ByVal nShowCmd As Long) As Long > > > Private Sub myLink_Click() > ShellExecute(0,"Open",myLink.Text,"","",1) > End Sub > > > > > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System > Support. > > > > _______________________________________________ > 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 Mon Oct 13 08:21:43 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 13 Oct 2003 15:21:43 +0200 (CEST) Subject: [dba-VB] OT Learning ASP Message-ID: <20722120.1066051303430.JavaMail.www@wwinf3004> To all, I would like to start getting into ASP, I have done very little HTML so really don?t know where to start. We are going to transfer our main booking database to SQL Server 7.0, and will be using this as a back-end to an Intranet/Internet page. What I am really after is a way to create a logon page that grants access via a user table, I think if someone could give me some sample code to do this (i.e. designing the logon page and connecting to the database to check the logins) I may be able to get a better understanding before we go to far. Also does anyone know any good books for this, I am currently programming in VB/VBA on XP machines with a Windows 2000 server. Paul Hartland -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.hartland at fsmail.net Mon Oct 13 08:21:43 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 13 Oct 2003 15:21:43 +0200 (CEST) Subject: [dba-VB] [AccessD] OT Learning ASP Message-ID: <20722120.1066051303430.JavaMail.www@wwinf3004> To all, I would like to start getting into ASP, I have done very little HTML so really don?t know where to start. We are going to transfer our main booking database to SQL Server 7.0, and will be using this as a back-end to an Intranet/Internet page. What I am really after is a way to create a logon page that grants access via a user table, I think if someone could give me some sample code to do this (i.e. designing the logon page and connecting to the database to check the logins) I may be able to get a better understanding before we go to far. Also does anyone know any good books for this, I am currently programming in VB/VBA on XP machines with a Windows 2000 server. Paul Hartland -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Oct 13 11:17:10 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 13 Oct 2003 09:17:10 -0700 Subject: [dba-VB] OT Learning ASP References: <20722120.1066051303430.JavaMail.www@wwinf3004> Message-ID: <3F8AD006.6020907@shaw.ca> I learned by using GenericDB essentially a series of asp wizards with a config page to connect to Access. SQL would mean just changing the connection strings, plus handling the different flavours of SQL. The ASP code is free. http://www.genericdb.com also see http://www.asp101.com http://www.aspfree.com If you can afford it a subscription to http://www.asptoday.com has a multitude of full ASP SQL project examples with writeups and code. This site was owned by Wrox publishing. It was down for a few months due to bankruptcy. You also want to make sure you understand ASP security to stop things like SQL injection attacks. There are starter writeups at http://www.4guysfromrolla.com paul.hartland at fsmail.net wrote: > To all, > > I would like to start getting into ASP, I have done very little HTML > so really don?t know where to start. We are going to transfer our main > booking database to SQL Server 7.0, and will be using this as a > back-end to an Intranet/Internet page. What I am really after is a way > to create a logon page that grants access via a user table, I think if > someone could give me some sample code to do this (i.e. designing the > logon page and connecting to the database to check the logins) I may > be able to get a better understanding before we go to far. > > Also does anyone know any good books for this, I am currently > programming in VB/VBA on XP machines with a Windows 2000 server. > > Paul Hartland > >------------------------------------------------------------------------ > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From listmaster at databaseadvisors.com Tue Oct 14 20:46:20 2003 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Tue, 14 Oct 2003 21:46:20 -0400 Subject: [dba-VB] AdministriviaList Configuration Changes Message-ID: <3F8C6EAC.17687.2BF2AA3@localhost> On Saturday October 18th, 2003 between 09:00 - 12:00 EDT (13:00 - 16:00 GMT) the lists hosted by Database Advisors will be making a small configuration change. This change will strip all HTML formatting from the posts sent to the lists. You should not have to do anything different at your end, the mailing list server will take care of it. Currently the DBA-OT list has been run this way for quite some time with no ill effects. If you do run into any problems, please contact our listmaster at listmaster at databaseadvisors.com or one of the moderators, a list of which can be found at http://www.databaseadvisors.com/lists/moderators.htm You can also keep an eye on http://www.databaseadvisors.com/liststatus.htm for any changes or notices. This small change will reduce DBA's bandwidth and hard drive storage space for our archives. It is also the first step in upgrading our server software to give us searchable archives for all the lists. Thank you for your patience during this, and the upcoming changes and upgrades. -- Bryan Carbonnell - listmaster at databaseadvisors.com I've learned.... That one should keep his words both soft and tender, because tomorrow he may have to eat them. _______________________________________________ Administrivia mailing list Administrivia at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/administrivia From subs1847 at solution-providers.ie Fri Oct 17 03:18:58 2003 From: subs1847 at solution-providers.ie (Mark L. Breen) Date: Fri, 17 Oct 2003 09:18:58 +0100 Subject: [dba-VB] Test -VB - Please Ignore References: <3F8C6EAC.17687.2BF2AA3@localhost> Message-ID: <006101c39487$53a23120$026da8c0@D8TZHN0J> From jcolby at colbyconsulting.com Fri Oct 17 07:15:42 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 17 Oct 2003 08:15:42 -0400 Subject: [dba-VB] Test -VB - Please Ignore In-Reply-To: <006101c39487$53a23120$026da8c0@D8TZHN0J> Message-ID: Always happy to ignore you Mark. ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: Friday, October 17, 2003 4:19 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Test -VB - Please Ignore _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From listmaster at databaseadvisors.com Sat Oct 18 09:29:56 2003 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Sat, 18 Oct 2003 10:29:56 -0400 Subject: [dba-VB] Administrivia - List Configuration Changes Completed Message-ID: <3F911624.25590.5C43C8@localhost> All of the list configurations have been completed as of 10:30 am EDT (14:30 GMT) All that should get through to the lists now is plain text. You should not have to make any configuration changes to still post. Tha mailing list software should be able to handle most or what you throw at it and strip everything except the plain text. If you have problems posting, PLEASE forward the entire rejection notice to listmaster at databaseadvisors.com *as an attachment*. If you don't forward it as an attachemnt, you will be inadvertently be removing the information I need to determine why your post was rejected. Thank You, -- Bryan Carbonnell - listmaster at databaseadvisors.com Never let a computer see you hurry. _______________________________________________ Administrivia mailing list Administrivia at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/administrivia From Jdemarco at hshhp.org Thu Oct 23 11:01:13 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 23 Oct 2003 12:01:13 -0400 Subject: [dba-VB] Reverse Engineer ActiveX DLL Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99022B0577@TTNEXCHSRV1.hshhp.com> X posted accessd dba-vb List(s), Does anyone know of a service or tool that can reverse engineer an ActiveX DLL? We had a nasty crash on a dev box here and a couple of important (and not backed up) class modules are lost. I've been searching the web but haven't found anything substantial except that I can use a hex editor (which would leave us with a lot of work pulling out the code). Thanks, Jim DeMarco Director Product Development Hudson Health Plan *********************************************************************************** "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 paul.hartland at fsmail.net Wed Oct 29 07:06:30 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 29 Oct 2003 14:06:30 +0100 (CET) Subject: [dba-VB] Saving a SQl query to an access database via Visual Basic 6 Message-ID: <29257532.1067432790075.JavaMail.www@wwinf3005> To all, I know I have done this before but for the life of me can't remember how, and can't find the code in any of my old projects. I have a VB6 application that generates a SQL string, I need to save the SQL string as a query in my Access(XP) database Can someone please tell me how to do this (even sample code if you can), before I pull whats left of my hair out. Paul Hartland Database Designer/Developer (so they say).......... From Jdemarco at hshhp.org Wed Oct 29 08:47:12 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 29 Oct 2003 09:47:12 -0500 Subject: [dba-VB] NT Services Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F7D9@TTNEXCHSRV1.hshhp.com> I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan *********************************************************************************** "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 DWUTKA at marlow.com Wed Oct 29 11:16:47 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 29 Oct 2003 11:16:47 -0600 Subject: [dba-VB] NT Services Message-ID: <2F8793082E00D4119A1700B0D0216BF802227425@main2.marlow.com> Yes, what are you doing it in, VB 6? If so, I can send you a sample service if you want. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 8:47 AM To: VB List (E-mail) Subject: [dba-VB] NT Services I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Jdemarco at hshhp.org Wed Oct 29 12:32:50 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 29 Oct 2003 13:32:50 -0500 Subject: [dba-VB] NT Services Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F7DE@TTNEXCHSRV1.hshhp.com> Thanks Drew yes VB6. Are you using the ntsvc.ocx? I've heard it's problematic. I'm trying to run a dll as a service. Do you know ifthis can be done or do I need to wrap it in an exe? Thanks, Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 29, 2003 12:17 PM To: 'dba-vb at databaseadvisors.com' Subject: RE: [dba-VB] NT Services Yes, what are you doing it in, VB 6? If so, I can send you a sample service if you want. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 8:47 AM To: VB List (E-mail) Subject: [dba-VB] NT Services I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ 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 *********************************************************************************** "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 DWUTKA at marlow.com Wed Oct 29 12:48:33 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 29 Oct 2003 12:48:33 -0600 Subject: [dba-VB] NT Services Message-ID: <2F8793082E00D4119A1700B0D0216BF80222742A@main2.marlow.com> You need to wrap it in an .exe. Actually, no need to wrap it, just make an .exe that uses the .dll. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 12:33 PM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] NT Services Thanks Drew yes VB6. Are you using the ntsvc.ocx? I've heard it's problematic. I'm trying to run a dll as a service. Do you know ifthis can be done or do I need to wrap it in an exe? Thanks, Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 29, 2003 12:17 PM To: 'dba-vb at databaseadvisors.com' Subject: RE: [dba-VB] NT Services Yes, what are you doing it in, VB 6? If so, I can send you a sample service if you want. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 8:47 AM To: VB List (E-mail) Subject: [dba-VB] NT Services I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ 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 **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Jdemarco at hshhp.org Wed Oct 29 13:03:34 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 29 Oct 2003 14:03:34 -0500 Subject: [dba-VB] NT Services Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F7E0@TTNEXCHSRV1.hshhp.com> Right. Could you send me your sample? Thanks, Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 29, 2003 1:49 PM To: 'dba-vb at databaseadvisors.com' Subject: RE: [dba-VB] NT Services You need to wrap it in an .exe. Actually, no need to wrap it, just make an .exe that uses the .dll. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 12:33 PM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] NT Services Thanks Drew yes VB6. Are you using the ntsvc.ocx? I've heard it's problematic. I'm trying to run a dll as a service. Do you know ifthis can be done or do I need to wrap it in an exe? Thanks, Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 29, 2003 12:17 PM To: 'dba-vb at databaseadvisors.com' Subject: RE: [dba-VB] NT Services Yes, what are you doing it in, VB 6? If so, I can send you a sample service if you want. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 8:47 AM To: VB List (E-mail) Subject: [dba-VB] NT Services I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ 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 **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ 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 *********************************************************************************** "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 joconnell at indy.rr.com Wed Oct 29 15:36:46 2003 From: joconnell at indy.rr.com (Joseph O'Connell) Date: Wed, 29 Oct 2003 16:36:46 -0500 Subject: [dba-VB] Saving a SQl query to an access database via Visual Basic 6 Message-ID: <04e901c39e64$cfa01940$6601a8c0@joe.indy.rr.com> Paul, This is a function that I use in Access 2000 applications. Joe O'Connell joconnell at indy.rr.com '--------------------------------------------------------------------------- ---------- ' Write a query to the database '--------------------------------------------------------------------------- ---------- Function WriteQuery(strSQL As String, strName As String, strMsg As String) As Boolean Dim qdSQL As QueryDef WriteQuery = True On Error Resume Next CurrentDb.QueryDefs.Delete strName On Error GoTo WriteQuery_Err Set qdSQL = CurrentDb.CreateQueryDef(strName, strSQL) WriteQuery_Exit: Exit Function WriteQuery_Err: strMsg = Err.Description WriteQuery = False Resume WriteQuery_Exit End Function -----Original Message----- From: paul.hartland at fsmail.net To: dba-vb Cc: accessd Date: Wednesday, October 29, 2003 8:20 AM Subject: [dba-VB] Saving a SQl query to an access database via Visual Basic 6 |To all, |I know I have done this before but for the life of me can't remember how, and can't find the code in any of my old projects. |I have a VB6 application that generates a SQL string, I need to save the SQL string as a query in my Access(XP) database |Can someone please tell me how to do this (even sample code if you can), before I pull whats left of my hair out. |Paul Hartland |Database Designer/Developer (so they say).......... |_______________________________________________ |dba-VB mailing list |dba-VB at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/dba-vb |http://www.databaseadvisors.com | From askolits at ot.com Fri Oct 31 08:00:15 2003 From: askolits at ot.com (John Skolits) Date: Fri, 31 Oct 2003 09:00:15 -0500 Subject: [dba-VB] Determining if on VPN or network Message-ID: Anyone have an API call that will tell me if the user is logged in at the office on their network or on a VPN connection? The domain will be the same either way. John Skolits From askolits at ot.com Fri Oct 31 10:11:48 2003 From: askolits at ot.com (John Skolits) Date: Fri, 31 Oct 2003 11:11:48 -0500 Subject: [dba-VB] Test Only Message-ID: Test Only Thanks From askolits at ot.com Fri Oct 31 10:20:53 2003 From: askolits at ot.com (John Skolits) Date: Fri, 31 Oct 2003 11:20:53 -0500 Subject: [dba-VB] Test #2 In-Reply-To: Message-ID: Test #2 Thanks, John From R.Griffiths at bury.gov.uk Tue Oct 7 09:50:00 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 7 Oct 2003 15:50:00 +0100 Subject: [dba-VB] VB6 - hpertext link Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F28E@MAILGATE.bury.gov.uk> Hi What I wish to achieve is a label (field or button) that when clicked will act as a hypertext link of favourites type link. We have a system that produces a large number of graphs stored down many long folder hierarchies , so having produced the graph in excel I want to be able to link directly to Q:\database\systems\hsis\graphs\yy\mm\...\...\\ and so on without having the load Windows Explorer and navigating there. Richard From stuart at lexacorp.com.pg Tue Oct 7 17:51:55 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 08 Oct 2003 08:51:55 +1000 Subject: [dba-VB] VB6 - hpertext link In-Reply-To: <52339DF8DCA2A544AF660C8217EB7DCD0227F28E@MAILGATE.bury.gov.uk> Message-ID: <3F83D02B.15318.2D5FEB@localhost> On 7 Oct 2003 at 15:50, Griffiths, Richard wrote: > Hi > > What I wish to achieve is a label (field or button) that when clicked will > act as a hypertext link of favourites type link. > We have a system that produces a large number of graphs stored down many > long folder hierarchies , so having produced the graph in excel I want to be > able to link directly to Q:\database\systems\hsis\graphs\yy\mm\...\...\\ and > so on without having the load Windows Explorer and navigating there. > If I understand you correctly, you want to click on a path/filename and have the appropriuate application such as Excel open the document? In that case: Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Private Sub myLink_Click() ShellExecute(0,"Open",myLink.Text,"","",1) End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From R.Griffiths at bury.gov.uk Thu Oct 9 03:47:00 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 9 Oct 2003 09:47:00 +0100 Subject: [dba-VB] VB6 - hpertext link Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F290@MAILGATE.bury.gov.uk> Hi thanks for the reply, no I don't want to open Excel or another application, however your solution works when I enter the path to the folder e.g. 'C:\MyFolder\MySubfolder\...\...\..\" that I want to move to - i.e. it loads Windows Explorer and initialises on the path entered.Perfect. Richard > -----Original Message----- > From: Stuart McLachlan [SMTP:stuart at lexacorp.com.pg] > Sent: 07 October 2003 23:52 > To: dba-vb at databaseadvisors.com > Subject: Re: [dba-VB] VB6 - hpertext link > > On 7 Oct 2003 at 15:50, Griffiths, Richard wrote: > > > Hi > > > > What I wish to achieve is a label (field or button) that when clicked > will > > act as a hypertext link of favourites type link. > > We have a system that produces a large number of graphs stored down many > > long folder hierarchies , so having produced the graph in excel I want > to be > > able to link directly to Q:\database\systems\hsis\graphs\yy\mm\...\...\\ > and > > so on without having the load Windows Explorer and navigating there. > > > > If I understand you correctly, you want to click on a path/filename > and have the appropriuate application such as Excel open the > document? > > In that case: > > > Public Declare Function ShellExecute Lib "shell32.dll" Alias > "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, > ByVal lpFile As String, ByVal lpParameters As String, ByVal > lpDirectory As String, ByVal nShowCmd As Long) As Long > > > Private Sub myLink_Click() > ShellExecute(0,"Open",myLink.Text,"","",1) > End Sub > > > > > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System > Support. > > > > _______________________________________________ > 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 Mon Oct 13 08:21:43 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 13 Oct 2003 15:21:43 +0200 (CEST) Subject: [dba-VB] OT Learning ASP Message-ID: <20722120.1066051303430.JavaMail.www@wwinf3004> To all, I would like to start getting into ASP, I have done very little HTML so really don?t know where to start. We are going to transfer our main booking database to SQL Server 7.0, and will be using this as a back-end to an Intranet/Internet page. What I am really after is a way to create a logon page that grants access via a user table, I think if someone could give me some sample code to do this (i.e. designing the logon page and connecting to the database to check the logins) I may be able to get a better understanding before we go to far. Also does anyone know any good books for this, I am currently programming in VB/VBA on XP machines with a Windows 2000 server. Paul Hartland -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.hartland at fsmail.net Mon Oct 13 08:21:43 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 13 Oct 2003 15:21:43 +0200 (CEST) Subject: [dba-VB] [AccessD] OT Learning ASP Message-ID: <20722120.1066051303430.JavaMail.www@wwinf3004> To all, I would like to start getting into ASP, I have done very little HTML so really don?t know where to start. We are going to transfer our main booking database to SQL Server 7.0, and will be using this as a back-end to an Intranet/Internet page. What I am really after is a way to create a logon page that grants access via a user table, I think if someone could give me some sample code to do this (i.e. designing the logon page and connecting to the database to check the logins) I may be able to get a better understanding before we go to far. Also does anyone know any good books for this, I am currently programming in VB/VBA on XP machines with a Windows 2000 server. Paul Hartland -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Oct 13 11:17:10 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 13 Oct 2003 09:17:10 -0700 Subject: [dba-VB] OT Learning ASP References: <20722120.1066051303430.JavaMail.www@wwinf3004> Message-ID: <3F8AD006.6020907@shaw.ca> I learned by using GenericDB essentially a series of asp wizards with a config page to connect to Access. SQL would mean just changing the connection strings, plus handling the different flavours of SQL. The ASP code is free. http://www.genericdb.com also see http://www.asp101.com http://www.aspfree.com If you can afford it a subscription to http://www.asptoday.com has a multitude of full ASP SQL project examples with writeups and code. This site was owned by Wrox publishing. It was down for a few months due to bankruptcy. You also want to make sure you understand ASP security to stop things like SQL injection attacks. There are starter writeups at http://www.4guysfromrolla.com paul.hartland at fsmail.net wrote: > To all, > > I would like to start getting into ASP, I have done very little HTML > so really don?t know where to start. We are going to transfer our main > booking database to SQL Server 7.0, and will be using this as a > back-end to an Intranet/Internet page. What I am really after is a way > to create a logon page that grants access via a user table, I think if > someone could give me some sample code to do this (i.e. designing the > logon page and connecting to the database to check the logins) I may > be able to get a better understanding before we go to far. > > Also does anyone know any good books for this, I am currently > programming in VB/VBA on XP machines with a Windows 2000 server. > > Paul Hartland > >------------------------------------------------------------------------ > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From listmaster at databaseadvisors.com Tue Oct 14 20:46:20 2003 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Tue, 14 Oct 2003 21:46:20 -0400 Subject: [dba-VB] AdministriviaList Configuration Changes Message-ID: <3F8C6EAC.17687.2BF2AA3@localhost> On Saturday October 18th, 2003 between 09:00 - 12:00 EDT (13:00 - 16:00 GMT) the lists hosted by Database Advisors will be making a small configuration change. This change will strip all HTML formatting from the posts sent to the lists. You should not have to do anything different at your end, the mailing list server will take care of it. Currently the DBA-OT list has been run this way for quite some time with no ill effects. If you do run into any problems, please contact our listmaster at listmaster at databaseadvisors.com or one of the moderators, a list of which can be found at http://www.databaseadvisors.com/lists/moderators.htm You can also keep an eye on http://www.databaseadvisors.com/liststatus.htm for any changes or notices. This small change will reduce DBA's bandwidth and hard drive storage space for our archives. It is also the first step in upgrading our server software to give us searchable archives for all the lists. Thank you for your patience during this, and the upcoming changes and upgrades. -- Bryan Carbonnell - listmaster at databaseadvisors.com I've learned.... That one should keep his words both soft and tender, because tomorrow he may have to eat them. _______________________________________________ Administrivia mailing list Administrivia at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/administrivia From subs1847 at solution-providers.ie Fri Oct 17 03:18:58 2003 From: subs1847 at solution-providers.ie (Mark L. Breen) Date: Fri, 17 Oct 2003 09:18:58 +0100 Subject: [dba-VB] Test -VB - Please Ignore References: <3F8C6EAC.17687.2BF2AA3@localhost> Message-ID: <006101c39487$53a23120$026da8c0@D8TZHN0J> From jcolby at colbyconsulting.com Fri Oct 17 07:15:42 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 17 Oct 2003 08:15:42 -0400 Subject: [dba-VB] Test -VB - Please Ignore In-Reply-To: <006101c39487$53a23120$026da8c0@D8TZHN0J> Message-ID: Always happy to ignore you Mark. ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: Friday, October 17, 2003 4:19 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Test -VB - Please Ignore _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From listmaster at databaseadvisors.com Sat Oct 18 09:29:56 2003 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Sat, 18 Oct 2003 10:29:56 -0400 Subject: [dba-VB] Administrivia - List Configuration Changes Completed Message-ID: <3F911624.25590.5C43C8@localhost> All of the list configurations have been completed as of 10:30 am EDT (14:30 GMT) All that should get through to the lists now is plain text. You should not have to make any configuration changes to still post. Tha mailing list software should be able to handle most or what you throw at it and strip everything except the plain text. If you have problems posting, PLEASE forward the entire rejection notice to listmaster at databaseadvisors.com *as an attachment*. If you don't forward it as an attachemnt, you will be inadvertently be removing the information I need to determine why your post was rejected. Thank You, -- Bryan Carbonnell - listmaster at databaseadvisors.com Never let a computer see you hurry. _______________________________________________ Administrivia mailing list Administrivia at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/administrivia From Jdemarco at hshhp.org Thu Oct 23 11:01:13 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 23 Oct 2003 12:01:13 -0400 Subject: [dba-VB] Reverse Engineer ActiveX DLL Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99022B0577@TTNEXCHSRV1.hshhp.com> X posted accessd dba-vb List(s), Does anyone know of a service or tool that can reverse engineer an ActiveX DLL? We had a nasty crash on a dev box here and a couple of important (and not backed up) class modules are lost. I've been searching the web but haven't found anything substantial except that I can use a hex editor (which would leave us with a lot of work pulling out the code). Thanks, Jim DeMarco Director Product Development Hudson Health Plan *********************************************************************************** "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 paul.hartland at fsmail.net Wed Oct 29 07:06:30 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 29 Oct 2003 14:06:30 +0100 (CET) Subject: [dba-VB] Saving a SQl query to an access database via Visual Basic 6 Message-ID: <29257532.1067432790075.JavaMail.www@wwinf3005> To all, I know I have done this before but for the life of me can't remember how, and can't find the code in any of my old projects. I have a VB6 application that generates a SQL string, I need to save the SQL string as a query in my Access(XP) database Can someone please tell me how to do this (even sample code if you can), before I pull whats left of my hair out. Paul Hartland Database Designer/Developer (so they say).......... From Jdemarco at hshhp.org Wed Oct 29 08:47:12 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 29 Oct 2003 09:47:12 -0500 Subject: [dba-VB] NT Services Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F7D9@TTNEXCHSRV1.hshhp.com> I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan *********************************************************************************** "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 DWUTKA at marlow.com Wed Oct 29 11:16:47 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 29 Oct 2003 11:16:47 -0600 Subject: [dba-VB] NT Services Message-ID: <2F8793082E00D4119A1700B0D0216BF802227425@main2.marlow.com> Yes, what are you doing it in, VB 6? If so, I can send you a sample service if you want. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 8:47 AM To: VB List (E-mail) Subject: [dba-VB] NT Services I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Jdemarco at hshhp.org Wed Oct 29 12:32:50 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 29 Oct 2003 13:32:50 -0500 Subject: [dba-VB] NT Services Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F7DE@TTNEXCHSRV1.hshhp.com> Thanks Drew yes VB6. Are you using the ntsvc.ocx? I've heard it's problematic. I'm trying to run a dll as a service. Do you know ifthis can be done or do I need to wrap it in an exe? Thanks, Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 29, 2003 12:17 PM To: 'dba-vb at databaseadvisors.com' Subject: RE: [dba-VB] NT Services Yes, what are you doing it in, VB 6? If so, I can send you a sample service if you want. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 8:47 AM To: VB List (E-mail) Subject: [dba-VB] NT Services I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ 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 *********************************************************************************** "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 DWUTKA at marlow.com Wed Oct 29 12:48:33 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 29 Oct 2003 12:48:33 -0600 Subject: [dba-VB] NT Services Message-ID: <2F8793082E00D4119A1700B0D0216BF80222742A@main2.marlow.com> You need to wrap it in an .exe. Actually, no need to wrap it, just make an .exe that uses the .dll. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 12:33 PM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] NT Services Thanks Drew yes VB6. Are you using the ntsvc.ocx? I've heard it's problematic. I'm trying to run a dll as a service. Do you know ifthis can be done or do I need to wrap it in an exe? Thanks, Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 29, 2003 12:17 PM To: 'dba-vb at databaseadvisors.com' Subject: RE: [dba-VB] NT Services Yes, what are you doing it in, VB 6? If so, I can send you a sample service if you want. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 8:47 AM To: VB List (E-mail) Subject: [dba-VB] NT Services I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ 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 **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Jdemarco at hshhp.org Wed Oct 29 13:03:34 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 29 Oct 2003 14:03:34 -0500 Subject: [dba-VB] NT Services Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F7E0@TTNEXCHSRV1.hshhp.com> Right. Could you send me your sample? Thanks, Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 29, 2003 1:49 PM To: 'dba-vb at databaseadvisors.com' Subject: RE: [dba-VB] NT Services You need to wrap it in an .exe. Actually, no need to wrap it, just make an .exe that uses the .dll. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 12:33 PM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] NT Services Thanks Drew yes VB6. Are you using the ntsvc.ocx? I've heard it's problematic. I'm trying to run a dll as a service. Do you know ifthis can be done or do I need to wrap it in an exe? Thanks, Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 29, 2003 12:17 PM To: 'dba-vb at databaseadvisors.com' Subject: RE: [dba-VB] NT Services Yes, what are you doing it in, VB 6? If so, I can send you a sample service if you want. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 8:47 AM To: VB List (E-mail) Subject: [dba-VB] NT Services I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ 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 **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ 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 *********************************************************************************** "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 joconnell at indy.rr.com Wed Oct 29 15:36:46 2003 From: joconnell at indy.rr.com (Joseph O'Connell) Date: Wed, 29 Oct 2003 16:36:46 -0500 Subject: [dba-VB] Saving a SQl query to an access database via Visual Basic 6 Message-ID: <04e901c39e64$cfa01940$6601a8c0@joe.indy.rr.com> Paul, This is a function that I use in Access 2000 applications. Joe O'Connell joconnell at indy.rr.com '--------------------------------------------------------------------------- ---------- ' Write a query to the database '--------------------------------------------------------------------------- ---------- Function WriteQuery(strSQL As String, strName As String, strMsg As String) As Boolean Dim qdSQL As QueryDef WriteQuery = True On Error Resume Next CurrentDb.QueryDefs.Delete strName On Error GoTo WriteQuery_Err Set qdSQL = CurrentDb.CreateQueryDef(strName, strSQL) WriteQuery_Exit: Exit Function WriteQuery_Err: strMsg = Err.Description WriteQuery = False Resume WriteQuery_Exit End Function -----Original Message----- From: paul.hartland at fsmail.net To: dba-vb Cc: accessd Date: Wednesday, October 29, 2003 8:20 AM Subject: [dba-VB] Saving a SQl query to an access database via Visual Basic 6 |To all, |I know I have done this before but for the life of me can't remember how, and can't find the code in any of my old projects. |I have a VB6 application that generates a SQL string, I need to save the SQL string as a query in my Access(XP) database |Can someone please tell me how to do this (even sample code if you can), before I pull whats left of my hair out. |Paul Hartland |Database Designer/Developer (so they say).......... |_______________________________________________ |dba-VB mailing list |dba-VB at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/dba-vb |http://www.databaseadvisors.com | From askolits at ot.com Fri Oct 31 08:00:15 2003 From: askolits at ot.com (John Skolits) Date: Fri, 31 Oct 2003 09:00:15 -0500 Subject: [dba-VB] Determining if on VPN or network Message-ID: Anyone have an API call that will tell me if the user is logged in at the office on their network or on a VPN connection? The domain will be the same either way. John Skolits From askolits at ot.com Fri Oct 31 10:11:48 2003 From: askolits at ot.com (John Skolits) Date: Fri, 31 Oct 2003 11:11:48 -0500 Subject: [dba-VB] Test Only Message-ID: Test Only Thanks From askolits at ot.com Fri Oct 31 10:20:53 2003 From: askolits at ot.com (John Skolits) Date: Fri, 31 Oct 2003 11:20:53 -0500 Subject: [dba-VB] Test #2 In-Reply-To: Message-ID: Test #2 Thanks, John From R.Griffiths at bury.gov.uk Tue Oct 7 09:50:00 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 7 Oct 2003 15:50:00 +0100 Subject: [dba-VB] VB6 - hpertext link Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F28E@MAILGATE.bury.gov.uk> Hi What I wish to achieve is a label (field or button) that when clicked will act as a hypertext link of favourites type link. We have a system that produces a large number of graphs stored down many long folder hierarchies , so having produced the graph in excel I want to be able to link directly to Q:\database\systems\hsis\graphs\yy\mm\...\...\\ and so on without having the load Windows Explorer and navigating there. Richard From stuart at lexacorp.com.pg Tue Oct 7 17:51:55 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 08 Oct 2003 08:51:55 +1000 Subject: [dba-VB] VB6 - hpertext link In-Reply-To: <52339DF8DCA2A544AF660C8217EB7DCD0227F28E@MAILGATE.bury.gov.uk> Message-ID: <3F83D02B.15318.2D5FEB@localhost> On 7 Oct 2003 at 15:50, Griffiths, Richard wrote: > Hi > > What I wish to achieve is a label (field or button) that when clicked will > act as a hypertext link of favourites type link. > We have a system that produces a large number of graphs stored down many > long folder hierarchies , so having produced the graph in excel I want to be > able to link directly to Q:\database\systems\hsis\graphs\yy\mm\...\...\\ and > so on without having the load Windows Explorer and navigating there. > If I understand you correctly, you want to click on a path/filename and have the appropriuate application such as Excel open the document? In that case: Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Private Sub myLink_Click() ShellExecute(0,"Open",myLink.Text,"","",1) End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From R.Griffiths at bury.gov.uk Thu Oct 9 03:47:00 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 9 Oct 2003 09:47:00 +0100 Subject: [dba-VB] VB6 - hpertext link Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F290@MAILGATE.bury.gov.uk> Hi thanks for the reply, no I don't want to open Excel or another application, however your solution works when I enter the path to the folder e.g. 'C:\MyFolder\MySubfolder\...\...\..\" that I want to move to - i.e. it loads Windows Explorer and initialises on the path entered.Perfect. Richard > -----Original Message----- > From: Stuart McLachlan [SMTP:stuart at lexacorp.com.pg] > Sent: 07 October 2003 23:52 > To: dba-vb at databaseadvisors.com > Subject: Re: [dba-VB] VB6 - hpertext link > > On 7 Oct 2003 at 15:50, Griffiths, Richard wrote: > > > Hi > > > > What I wish to achieve is a label (field or button) that when clicked > will > > act as a hypertext link of favourites type link. > > We have a system that produces a large number of graphs stored down many > > long folder hierarchies , so having produced the graph in excel I want > to be > > able to link directly to Q:\database\systems\hsis\graphs\yy\mm\...\...\\ > and > > so on without having the load Windows Explorer and navigating there. > > > > If I understand you correctly, you want to click on a path/filename > and have the appropriuate application such as Excel open the > document? > > In that case: > > > Public Declare Function ShellExecute Lib "shell32.dll" Alias > "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, > ByVal lpFile As String, ByVal lpParameters As String, ByVal > lpDirectory As String, ByVal nShowCmd As Long) As Long > > > Private Sub myLink_Click() > ShellExecute(0,"Open",myLink.Text,"","",1) > End Sub > > > > > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System > Support. > > > > _______________________________________________ > 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 Mon Oct 13 08:21:43 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 13 Oct 2003 15:21:43 +0200 (CEST) Subject: [dba-VB] OT Learning ASP Message-ID: <20722120.1066051303430.JavaMail.www@wwinf3004> To all, I would like to start getting into ASP, I have done very little HTML so really don?t know where to start. We are going to transfer our main booking database to SQL Server 7.0, and will be using this as a back-end to an Intranet/Internet page. What I am really after is a way to create a logon page that grants access via a user table, I think if someone could give me some sample code to do this (i.e. designing the logon page and connecting to the database to check the logins) I may be able to get a better understanding before we go to far. Also does anyone know any good books for this, I am currently programming in VB/VBA on XP machines with a Windows 2000 server. Paul Hartland -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.hartland at fsmail.net Mon Oct 13 08:21:43 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 13 Oct 2003 15:21:43 +0200 (CEST) Subject: [dba-VB] [AccessD] OT Learning ASP Message-ID: <20722120.1066051303430.JavaMail.www@wwinf3004> To all, I would like to start getting into ASP, I have done very little HTML so really don?t know where to start. We are going to transfer our main booking database to SQL Server 7.0, and will be using this as a back-end to an Intranet/Internet page. What I am really after is a way to create a logon page that grants access via a user table, I think if someone could give me some sample code to do this (i.e. designing the logon page and connecting to the database to check the logins) I may be able to get a better understanding before we go to far. Also does anyone know any good books for this, I am currently programming in VB/VBA on XP machines with a Windows 2000 server. Paul Hartland -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Oct 13 11:17:10 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 13 Oct 2003 09:17:10 -0700 Subject: [dba-VB] OT Learning ASP References: <20722120.1066051303430.JavaMail.www@wwinf3004> Message-ID: <3F8AD006.6020907@shaw.ca> I learned by using GenericDB essentially a series of asp wizards with a config page to connect to Access. SQL would mean just changing the connection strings, plus handling the different flavours of SQL. The ASP code is free. http://www.genericdb.com also see http://www.asp101.com http://www.aspfree.com If you can afford it a subscription to http://www.asptoday.com has a multitude of full ASP SQL project examples with writeups and code. This site was owned by Wrox publishing. It was down for a few months due to bankruptcy. You also want to make sure you understand ASP security to stop things like SQL injection attacks. There are starter writeups at http://www.4guysfromrolla.com paul.hartland at fsmail.net wrote: > To all, > > I would like to start getting into ASP, I have done very little HTML > so really don?t know where to start. We are going to transfer our main > booking database to SQL Server 7.0, and will be using this as a > back-end to an Intranet/Internet page. What I am really after is a way > to create a logon page that grants access via a user table, I think if > someone could give me some sample code to do this (i.e. designing the > logon page and connecting to the database to check the logins) I may > be able to get a better understanding before we go to far. > > Also does anyone know any good books for this, I am currently > programming in VB/VBA on XP machines with a Windows 2000 server. > > Paul Hartland > >------------------------------------------------------------------------ > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From listmaster at databaseadvisors.com Tue Oct 14 20:46:20 2003 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Tue, 14 Oct 2003 21:46:20 -0400 Subject: [dba-VB] AdministriviaList Configuration Changes Message-ID: <3F8C6EAC.17687.2BF2AA3@localhost> On Saturday October 18th, 2003 between 09:00 - 12:00 EDT (13:00 - 16:00 GMT) the lists hosted by Database Advisors will be making a small configuration change. This change will strip all HTML formatting from the posts sent to the lists. You should not have to do anything different at your end, the mailing list server will take care of it. Currently the DBA-OT list has been run this way for quite some time with no ill effects. If you do run into any problems, please contact our listmaster at listmaster at databaseadvisors.com or one of the moderators, a list of which can be found at http://www.databaseadvisors.com/lists/moderators.htm You can also keep an eye on http://www.databaseadvisors.com/liststatus.htm for any changes or notices. This small change will reduce DBA's bandwidth and hard drive storage space for our archives. It is also the first step in upgrading our server software to give us searchable archives for all the lists. Thank you for your patience during this, and the upcoming changes and upgrades. -- Bryan Carbonnell - listmaster at databaseadvisors.com I've learned.... That one should keep his words both soft and tender, because tomorrow he may have to eat them. _______________________________________________ Administrivia mailing list Administrivia at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/administrivia From subs1847 at solution-providers.ie Fri Oct 17 03:18:58 2003 From: subs1847 at solution-providers.ie (Mark L. Breen) Date: Fri, 17 Oct 2003 09:18:58 +0100 Subject: [dba-VB] Test -VB - Please Ignore References: <3F8C6EAC.17687.2BF2AA3@localhost> Message-ID: <006101c39487$53a23120$026da8c0@D8TZHN0J> From jcolby at colbyconsulting.com Fri Oct 17 07:15:42 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 17 Oct 2003 08:15:42 -0400 Subject: [dba-VB] Test -VB - Please Ignore In-Reply-To: <006101c39487$53a23120$026da8c0@D8TZHN0J> Message-ID: Always happy to ignore you Mark. ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: Friday, October 17, 2003 4:19 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Test -VB - Please Ignore _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From listmaster at databaseadvisors.com Sat Oct 18 09:29:56 2003 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Sat, 18 Oct 2003 10:29:56 -0400 Subject: [dba-VB] Administrivia - List Configuration Changes Completed Message-ID: <3F911624.25590.5C43C8@localhost> All of the list configurations have been completed as of 10:30 am EDT (14:30 GMT) All that should get through to the lists now is plain text. You should not have to make any configuration changes to still post. Tha mailing list software should be able to handle most or what you throw at it and strip everything except the plain text. If you have problems posting, PLEASE forward the entire rejection notice to listmaster at databaseadvisors.com *as an attachment*. If you don't forward it as an attachemnt, you will be inadvertently be removing the information I need to determine why your post was rejected. Thank You, -- Bryan Carbonnell - listmaster at databaseadvisors.com Never let a computer see you hurry. _______________________________________________ Administrivia mailing list Administrivia at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/administrivia From Jdemarco at hshhp.org Thu Oct 23 11:01:13 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 23 Oct 2003 12:01:13 -0400 Subject: [dba-VB] Reverse Engineer ActiveX DLL Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99022B0577@TTNEXCHSRV1.hshhp.com> X posted accessd dba-vb List(s), Does anyone know of a service or tool that can reverse engineer an ActiveX DLL? We had a nasty crash on a dev box here and a couple of important (and not backed up) class modules are lost. I've been searching the web but haven't found anything substantial except that I can use a hex editor (which would leave us with a lot of work pulling out the code). Thanks, Jim DeMarco Director Product Development Hudson Health Plan *********************************************************************************** "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 paul.hartland at fsmail.net Wed Oct 29 07:06:30 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 29 Oct 2003 14:06:30 +0100 (CET) Subject: [dba-VB] Saving a SQl query to an access database via Visual Basic 6 Message-ID: <29257532.1067432790075.JavaMail.www@wwinf3005> To all, I know I have done this before but for the life of me can't remember how, and can't find the code in any of my old projects. I have a VB6 application that generates a SQL string, I need to save the SQL string as a query in my Access(XP) database Can someone please tell me how to do this (even sample code if you can), before I pull whats left of my hair out. Paul Hartland Database Designer/Developer (so they say).......... From Jdemarco at hshhp.org Wed Oct 29 08:47:12 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 29 Oct 2003 09:47:12 -0500 Subject: [dba-VB] NT Services Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F7D9@TTNEXCHSRV1.hshhp.com> I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan *********************************************************************************** "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 DWUTKA at marlow.com Wed Oct 29 11:16:47 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 29 Oct 2003 11:16:47 -0600 Subject: [dba-VB] NT Services Message-ID: <2F8793082E00D4119A1700B0D0216BF802227425@main2.marlow.com> Yes, what are you doing it in, VB 6? If so, I can send you a sample service if you want. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 8:47 AM To: VB List (E-mail) Subject: [dba-VB] NT Services I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Jdemarco at hshhp.org Wed Oct 29 12:32:50 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 29 Oct 2003 13:32:50 -0500 Subject: [dba-VB] NT Services Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F7DE@TTNEXCHSRV1.hshhp.com> Thanks Drew yes VB6. Are you using the ntsvc.ocx? I've heard it's problematic. I'm trying to run a dll as a service. Do you know ifthis can be done or do I need to wrap it in an exe? Thanks, Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 29, 2003 12:17 PM To: 'dba-vb at databaseadvisors.com' Subject: RE: [dba-VB] NT Services Yes, what are you doing it in, VB 6? If so, I can send you a sample service if you want. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 8:47 AM To: VB List (E-mail) Subject: [dba-VB] NT Services I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ 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 *********************************************************************************** "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 DWUTKA at marlow.com Wed Oct 29 12:48:33 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 29 Oct 2003 12:48:33 -0600 Subject: [dba-VB] NT Services Message-ID: <2F8793082E00D4119A1700B0D0216BF80222742A@main2.marlow.com> You need to wrap it in an .exe. Actually, no need to wrap it, just make an .exe that uses the .dll. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 12:33 PM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] NT Services Thanks Drew yes VB6. Are you using the ntsvc.ocx? I've heard it's problematic. I'm trying to run a dll as a service. Do you know ifthis can be done or do I need to wrap it in an exe? Thanks, Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 29, 2003 12:17 PM To: 'dba-vb at databaseadvisors.com' Subject: RE: [dba-VB] NT Services Yes, what are you doing it in, VB 6? If so, I can send you a sample service if you want. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 8:47 AM To: VB List (E-mail) Subject: [dba-VB] NT Services I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ 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 **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Jdemarco at hshhp.org Wed Oct 29 13:03:34 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 29 Oct 2003 14:03:34 -0500 Subject: [dba-VB] NT Services Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F7E0@TTNEXCHSRV1.hshhp.com> Right. Could you send me your sample? Thanks, Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 29, 2003 1:49 PM To: 'dba-vb at databaseadvisors.com' Subject: RE: [dba-VB] NT Services You need to wrap it in an .exe. Actually, no need to wrap it, just make an .exe that uses the .dll. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 12:33 PM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] NT Services Thanks Drew yes VB6. Are you using the ntsvc.ocx? I've heard it's problematic. I'm trying to run a dll as a service. Do you know ifthis can be done or do I need to wrap it in an exe? Thanks, Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 29, 2003 12:17 PM To: 'dba-vb at databaseadvisors.com' Subject: RE: [dba-VB] NT Services Yes, what are you doing it in, VB 6? If so, I can send you a sample service if you want. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 8:47 AM To: VB List (E-mail) Subject: [dba-VB] NT Services I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ 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 **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ 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 *********************************************************************************** "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 joconnell at indy.rr.com Wed Oct 29 15:36:46 2003 From: joconnell at indy.rr.com (Joseph O'Connell) Date: Wed, 29 Oct 2003 16:36:46 -0500 Subject: [dba-VB] Saving a SQl query to an access database via Visual Basic 6 Message-ID: <04e901c39e64$cfa01940$6601a8c0@joe.indy.rr.com> Paul, This is a function that I use in Access 2000 applications. Joe O'Connell joconnell at indy.rr.com '--------------------------------------------------------------------------- ---------- ' Write a query to the database '--------------------------------------------------------------------------- ---------- Function WriteQuery(strSQL As String, strName As String, strMsg As String) As Boolean Dim qdSQL As QueryDef WriteQuery = True On Error Resume Next CurrentDb.QueryDefs.Delete strName On Error GoTo WriteQuery_Err Set qdSQL = CurrentDb.CreateQueryDef(strName, strSQL) WriteQuery_Exit: Exit Function WriteQuery_Err: strMsg = Err.Description WriteQuery = False Resume WriteQuery_Exit End Function -----Original Message----- From: paul.hartland at fsmail.net To: dba-vb Cc: accessd Date: Wednesday, October 29, 2003 8:20 AM Subject: [dba-VB] Saving a SQl query to an access database via Visual Basic 6 |To all, |I know I have done this before but for the life of me can't remember how, and can't find the code in any of my old projects. |I have a VB6 application that generates a SQL string, I need to save the SQL string as a query in my Access(XP) database |Can someone please tell me how to do this (even sample code if you can), before I pull whats left of my hair out. |Paul Hartland |Database Designer/Developer (so they say).......... |_______________________________________________ |dba-VB mailing list |dba-VB at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/dba-vb |http://www.databaseadvisors.com | From askolits at ot.com Fri Oct 31 08:00:15 2003 From: askolits at ot.com (John Skolits) Date: Fri, 31 Oct 2003 09:00:15 -0500 Subject: [dba-VB] Determining if on VPN or network Message-ID: Anyone have an API call that will tell me if the user is logged in at the office on their network or on a VPN connection? The domain will be the same either way. John Skolits From askolits at ot.com Fri Oct 31 10:11:48 2003 From: askolits at ot.com (John Skolits) Date: Fri, 31 Oct 2003 11:11:48 -0500 Subject: [dba-VB] Test Only Message-ID: Test Only Thanks From askolits at ot.com Fri Oct 31 10:20:53 2003 From: askolits at ot.com (John Skolits) Date: Fri, 31 Oct 2003 11:20:53 -0500 Subject: [dba-VB] Test #2 In-Reply-To: Message-ID: Test #2 Thanks, John From R.Griffiths at bury.gov.uk Tue Oct 7 09:50:00 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 7 Oct 2003 15:50:00 +0100 Subject: [dba-VB] VB6 - hpertext link Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F28E@MAILGATE.bury.gov.uk> Hi What I wish to achieve is a label (field or button) that when clicked will act as a hypertext link of favourites type link. We have a system that produces a large number of graphs stored down many long folder hierarchies , so having produced the graph in excel I want to be able to link directly to Q:\database\systems\hsis\graphs\yy\mm\...\...\\ and so on without having the load Windows Explorer and navigating there. Richard From stuart at lexacorp.com.pg Tue Oct 7 17:51:55 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 08 Oct 2003 08:51:55 +1000 Subject: [dba-VB] VB6 - hpertext link In-Reply-To: <52339DF8DCA2A544AF660C8217EB7DCD0227F28E@MAILGATE.bury.gov.uk> Message-ID: <3F83D02B.15318.2D5FEB@localhost> On 7 Oct 2003 at 15:50, Griffiths, Richard wrote: > Hi > > What I wish to achieve is a label (field or button) that when clicked will > act as a hypertext link of favourites type link. > We have a system that produces a large number of graphs stored down many > long folder hierarchies , so having produced the graph in excel I want to be > able to link directly to Q:\database\systems\hsis\graphs\yy\mm\...\...\\ and > so on without having the load Windows Explorer and navigating there. > If I understand you correctly, you want to click on a path/filename and have the appropriuate application such as Excel open the document? In that case: Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Private Sub myLink_Click() ShellExecute(0,"Open",myLink.Text,"","",1) End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From R.Griffiths at bury.gov.uk Thu Oct 9 03:47:00 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Thu, 9 Oct 2003 09:47:00 +0100 Subject: [dba-VB] VB6 - hpertext link Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F290@MAILGATE.bury.gov.uk> Hi thanks for the reply, no I don't want to open Excel or another application, however your solution works when I enter the path to the folder e.g. 'C:\MyFolder\MySubfolder\...\...\..\" that I want to move to - i.e. it loads Windows Explorer and initialises on the path entered.Perfect. Richard > -----Original Message----- > From: Stuart McLachlan [SMTP:stuart at lexacorp.com.pg] > Sent: 07 October 2003 23:52 > To: dba-vb at databaseadvisors.com > Subject: Re: [dba-VB] VB6 - hpertext link > > On 7 Oct 2003 at 15:50, Griffiths, Richard wrote: > > > Hi > > > > What I wish to achieve is a label (field or button) that when clicked > will > > act as a hypertext link of favourites type link. > > We have a system that produces a large number of graphs stored down many > > long folder hierarchies , so having produced the graph in excel I want > to be > > able to link directly to Q:\database\systems\hsis\graphs\yy\mm\...\...\\ > and > > so on without having the load Windows Explorer and navigating there. > > > > If I understand you correctly, you want to click on a path/filename > and have the appropriuate application such as Excel open the > document? > > In that case: > > > Public Declare Function ShellExecute Lib "shell32.dll" Alias > "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, > ByVal lpFile As String, ByVal lpParameters As String, ByVal > lpDirectory As String, ByVal nShowCmd As Long) As Long > > > Private Sub myLink_Click() > ShellExecute(0,"Open",myLink.Text,"","",1) > End Sub > > > > > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System > Support. > > > > _______________________________________________ > 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 Mon Oct 13 08:21:43 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 13 Oct 2003 15:21:43 +0200 (CEST) Subject: [dba-VB] OT Learning ASP Message-ID: <20722120.1066051303430.JavaMail.www@wwinf3004> To all, I would like to start getting into ASP, I have done very little HTML so really don?t know where to start. We are going to transfer our main booking database to SQL Server 7.0, and will be using this as a back-end to an Intranet/Internet page. What I am really after is a way to create a logon page that grants access via a user table, I think if someone could give me some sample code to do this (i.e. designing the logon page and connecting to the database to check the logins) I may be able to get a better understanding before we go to far. Also does anyone know any good books for this, I am currently programming in VB/VBA on XP machines with a Windows 2000 server. Paul Hartland -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.hartland at fsmail.net Mon Oct 13 08:21:43 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 13 Oct 2003 15:21:43 +0200 (CEST) Subject: [dba-VB] [AccessD] OT Learning ASP Message-ID: <20722120.1066051303430.JavaMail.www@wwinf3004> To all, I would like to start getting into ASP, I have done very little HTML so really don?t know where to start. We are going to transfer our main booking database to SQL Server 7.0, and will be using this as a back-end to an Intranet/Internet page. What I am really after is a way to create a logon page that grants access via a user table, I think if someone could give me some sample code to do this (i.e. designing the logon page and connecting to the database to check the logins) I may be able to get a better understanding before we go to far. Also does anyone know any good books for this, I am currently programming in VB/VBA on XP machines with a Windows 2000 server. Paul Hartland -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Oct 13 11:17:10 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 13 Oct 2003 09:17:10 -0700 Subject: [dba-VB] OT Learning ASP References: <20722120.1066051303430.JavaMail.www@wwinf3004> Message-ID: <3F8AD006.6020907@shaw.ca> I learned by using GenericDB essentially a series of asp wizards with a config page to connect to Access. SQL would mean just changing the connection strings, plus handling the different flavours of SQL. The ASP code is free. http://www.genericdb.com also see http://www.asp101.com http://www.aspfree.com If you can afford it a subscription to http://www.asptoday.com has a multitude of full ASP SQL project examples with writeups and code. This site was owned by Wrox publishing. It was down for a few months due to bankruptcy. You also want to make sure you understand ASP security to stop things like SQL injection attacks. There are starter writeups at http://www.4guysfromrolla.com paul.hartland at fsmail.net wrote: > To all, > > I would like to start getting into ASP, I have done very little HTML > so really don?t know where to start. We are going to transfer our main > booking database to SQL Server 7.0, and will be using this as a > back-end to an Intranet/Internet page. What I am really after is a way > to create a logon page that grants access via a user table, I think if > someone could give me some sample code to do this (i.e. designing the > logon page and connecting to the database to check the logins) I may > be able to get a better understanding before we go to far. > > Also does anyone know any good books for this, I am currently > programming in VB/VBA on XP machines with a Windows 2000 server. > > Paul Hartland > >------------------------------------------------------------------------ > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From listmaster at databaseadvisors.com Tue Oct 14 20:46:20 2003 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Tue, 14 Oct 2003 21:46:20 -0400 Subject: [dba-VB] AdministriviaList Configuration Changes Message-ID: <3F8C6EAC.17687.2BF2AA3@localhost> On Saturday October 18th, 2003 between 09:00 - 12:00 EDT (13:00 - 16:00 GMT) the lists hosted by Database Advisors will be making a small configuration change. This change will strip all HTML formatting from the posts sent to the lists. You should not have to do anything different at your end, the mailing list server will take care of it. Currently the DBA-OT list has been run this way for quite some time with no ill effects. If you do run into any problems, please contact our listmaster at listmaster at databaseadvisors.com or one of the moderators, a list of which can be found at http://www.databaseadvisors.com/lists/moderators.htm You can also keep an eye on http://www.databaseadvisors.com/liststatus.htm for any changes or notices. This small change will reduce DBA's bandwidth and hard drive storage space for our archives. It is also the first step in upgrading our server software to give us searchable archives for all the lists. Thank you for your patience during this, and the upcoming changes and upgrades. -- Bryan Carbonnell - listmaster at databaseadvisors.com I've learned.... That one should keep his words both soft and tender, because tomorrow he may have to eat them. _______________________________________________ Administrivia mailing list Administrivia at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/administrivia From subs1847 at solution-providers.ie Fri Oct 17 03:18:58 2003 From: subs1847 at solution-providers.ie (Mark L. Breen) Date: Fri, 17 Oct 2003 09:18:58 +0100 Subject: [dba-VB] Test -VB - Please Ignore References: <3F8C6EAC.17687.2BF2AA3@localhost> Message-ID: <006101c39487$53a23120$026da8c0@D8TZHN0J> From jcolby at colbyconsulting.com Fri Oct 17 07:15:42 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 17 Oct 2003 08:15:42 -0400 Subject: [dba-VB] Test -VB - Please Ignore In-Reply-To: <006101c39487$53a23120$026da8c0@D8TZHN0J> Message-ID: Always happy to ignore you Mark. ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of Mark L. Breen Sent: Friday, October 17, 2003 4:19 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Test -VB - Please Ignore _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From listmaster at databaseadvisors.com Sat Oct 18 09:29:56 2003 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Sat, 18 Oct 2003 10:29:56 -0400 Subject: [dba-VB] Administrivia - List Configuration Changes Completed Message-ID: <3F911624.25590.5C43C8@localhost> All of the list configurations have been completed as of 10:30 am EDT (14:30 GMT) All that should get through to the lists now is plain text. You should not have to make any configuration changes to still post. Tha mailing list software should be able to handle most or what you throw at it and strip everything except the plain text. If you have problems posting, PLEASE forward the entire rejection notice to listmaster at databaseadvisors.com *as an attachment*. If you don't forward it as an attachemnt, you will be inadvertently be removing the information I need to determine why your post was rejected. Thank You, -- Bryan Carbonnell - listmaster at databaseadvisors.com Never let a computer see you hurry. _______________________________________________ Administrivia mailing list Administrivia at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/administrivia From Jdemarco at hshhp.org Thu Oct 23 11:01:13 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 23 Oct 2003 12:01:13 -0400 Subject: [dba-VB] Reverse Engineer ActiveX DLL Message-ID: <22F1CCD5171D17419CB37FEEE09D5F99022B0577@TTNEXCHSRV1.hshhp.com> X posted accessd dba-vb List(s), Does anyone know of a service or tool that can reverse engineer an ActiveX DLL? We had a nasty crash on a dev box here and a couple of important (and not backed up) class modules are lost. I've been searching the web but haven't found anything substantial except that I can use a hex editor (which would leave us with a lot of work pulling out the code). Thanks, Jim DeMarco Director Product Development Hudson Health Plan *********************************************************************************** "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 paul.hartland at fsmail.net Wed Oct 29 07:06:30 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 29 Oct 2003 14:06:30 +0100 (CET) Subject: [dba-VB] Saving a SQl query to an access database via Visual Basic 6 Message-ID: <29257532.1067432790075.JavaMail.www@wwinf3005> To all, I know I have done this before but for the life of me can't remember how, and can't find the code in any of my old projects. I have a VB6 application that generates a SQL string, I need to save the SQL string as a query in my Access(XP) database Can someone please tell me how to do this (even sample code if you can), before I pull whats left of my hair out. Paul Hartland Database Designer/Developer (so they say).......... From Jdemarco at hshhp.org Wed Oct 29 08:47:12 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 29 Oct 2003 09:47:12 -0500 Subject: [dba-VB] NT Services Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F7D9@TTNEXCHSRV1.hshhp.com> I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan *********************************************************************************** "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 DWUTKA at marlow.com Wed Oct 29 11:16:47 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 29 Oct 2003 11:16:47 -0600 Subject: [dba-VB] NT Services Message-ID: <2F8793082E00D4119A1700B0D0216BF802227425@main2.marlow.com> Yes, what are you doing it in, VB 6? If so, I can send you a sample service if you want. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 8:47 AM To: VB List (E-mail) Subject: [dba-VB] NT Services I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Jdemarco at hshhp.org Wed Oct 29 12:32:50 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 29 Oct 2003 13:32:50 -0500 Subject: [dba-VB] NT Services Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F7DE@TTNEXCHSRV1.hshhp.com> Thanks Drew yes VB6. Are you using the ntsvc.ocx? I've heard it's problematic. I'm trying to run a dll as a service. Do you know ifthis can be done or do I need to wrap it in an exe? Thanks, Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 29, 2003 12:17 PM To: 'dba-vb at databaseadvisors.com' Subject: RE: [dba-VB] NT Services Yes, what are you doing it in, VB 6? If so, I can send you a sample service if you want. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 8:47 AM To: VB List (E-mail) Subject: [dba-VB] NT Services I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ 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 *********************************************************************************** "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 DWUTKA at marlow.com Wed Oct 29 12:48:33 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 29 Oct 2003 12:48:33 -0600 Subject: [dba-VB] NT Services Message-ID: <2F8793082E00D4119A1700B0D0216BF80222742A@main2.marlow.com> You need to wrap it in an .exe. Actually, no need to wrap it, just make an .exe that uses the .dll. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 12:33 PM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] NT Services Thanks Drew yes VB6. Are you using the ntsvc.ocx? I've heard it's problematic. I'm trying to run a dll as a service. Do you know ifthis can be done or do I need to wrap it in an exe? Thanks, Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 29, 2003 12:17 PM To: 'dba-vb at databaseadvisors.com' Subject: RE: [dba-VB] NT Services Yes, what are you doing it in, VB 6? If so, I can send you a sample service if you want. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 8:47 AM To: VB List (E-mail) Subject: [dba-VB] NT Services I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ 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 **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Jdemarco at hshhp.org Wed Oct 29 13:03:34 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 29 Oct 2003 14:03:34 -0500 Subject: [dba-VB] NT Services Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F7E0@TTNEXCHSRV1.hshhp.com> Right. Could you send me your sample? Thanks, Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 29, 2003 1:49 PM To: 'dba-vb at databaseadvisors.com' Subject: RE: [dba-VB] NT Services You need to wrap it in an .exe. Actually, no need to wrap it, just make an .exe that uses the .dll. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 12:33 PM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] NT Services Thanks Drew yes VB6. Are you using the ntsvc.ocx? I've heard it's problematic. I'm trying to run a dll as a service. Do you know ifthis can be done or do I need to wrap it in an exe? Thanks, Jim -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 29, 2003 12:17 PM To: 'dba-vb at databaseadvisors.com' Subject: RE: [dba-VB] NT Services Yes, what are you doing it in, VB 6? If so, I can send you a sample service if you want. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, October 29, 2003 8:47 AM To: VB List (E-mail) Subject: [dba-VB] NT Services I'm trying to put together an NT service but I'm having a bit of trouble finding any details on how to. Can anyone point me in the right direction. Drew, you've done this right? Thanks, Jim DeMarco Director Product Development Hudson Health Plan **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ 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 **************************************************************************** ******* "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". **************************************************************************** ******* _______________________________________________ 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 *********************************************************************************** "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 joconnell at indy.rr.com Wed Oct 29 15:36:46 2003 From: joconnell at indy.rr.com (Joseph O'Connell) Date: Wed, 29 Oct 2003 16:36:46 -0500 Subject: [dba-VB] Saving a SQl query to an access database via Visual Basic 6 Message-ID: <04e901c39e64$cfa01940$6601a8c0@joe.indy.rr.com> Paul, This is a function that I use in Access 2000 applications. Joe O'Connell joconnell at indy.rr.com '--------------------------------------------------------------------------- ---------- ' Write a query to the database '--------------------------------------------------------------------------- ---------- Function WriteQuery(strSQL As String, strName As String, strMsg As String) As Boolean Dim qdSQL As QueryDef WriteQuery = True On Error Resume Next CurrentDb.QueryDefs.Delete strName On Error GoTo WriteQuery_Err Set qdSQL = CurrentDb.CreateQueryDef(strName, strSQL) WriteQuery_Exit: Exit Function WriteQuery_Err: strMsg = Err.Description WriteQuery = False Resume WriteQuery_Exit End Function -----Original Message----- From: paul.hartland at fsmail.net To: dba-vb Cc: accessd Date: Wednesday, October 29, 2003 8:20 AM Subject: [dba-VB] Saving a SQl query to an access database via Visual Basic 6 |To all, |I know I have done this before but for the life of me can't remember how, and can't find the code in any of my old projects. |I have a VB6 application that generates a SQL string, I need to save the SQL string as a query in my Access(XP) database |Can someone please tell me how to do this (even sample code if you can), before I pull whats left of my hair out. |Paul Hartland |Database Designer/Developer (so they say).......... |_______________________________________________ |dba-VB mailing list |dba-VB at databaseadvisors.com |http://databaseadvisors.com/mailman/listinfo/dba-vb |http://www.databaseadvisors.com | From askolits at ot.com Fri Oct 31 08:00:15 2003 From: askolits at ot.com (John Skolits) Date: Fri, 31 Oct 2003 09:00:15 -0500 Subject: [dba-VB] Determining if on VPN or network Message-ID: Anyone have an API call that will tell me if the user is logged in at the office on their network or on a VPN connection? The domain will be the same either way. John Skolits From askolits at ot.com Fri Oct 31 10:11:48 2003 From: askolits at ot.com (John Skolits) Date: Fri, 31 Oct 2003 11:11:48 -0500 Subject: [dba-VB] Test Only Message-ID: Test Only Thanks From askolits at ot.com Fri Oct 31 10:20:53 2003 From: askolits at ot.com (John Skolits) Date: Fri, 31 Oct 2003 11:20:53 -0500 Subject: [dba-VB] Test #2 In-Reply-To: Message-ID: Test #2 Thanks, John