From jwcolby at colbyconsulting.com Sun Jan 2 20:37:30 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 02 Jan 2005 21:37:30 -0500 Subject: [dba-VB] Where is the .net directory Message-ID: <000001c4f13d$301b6fa0$677aa8c0@ColbyM6805> I have Visual Studio 2002. I had the .net framework 1.0 installed (came with Visual Studio I think) and was having problems updating Visual Studio to get the .net framework 1.1. I had 1.1. installed on my system but Visual Studio didn't "see it". I uninstalled both 1.0 and 1.1, then loaded 1.1 again (from Windows Update) and the 1.1 SDK. Now Visual Studio says I can't open my projects because it "can't find Visual Basic, the framework directory not found". Dows anyone know where the framework directory is, and how to tell Visual Studio the path to the framework? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Tue Jan 11 22:18:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 11 Jan 2005 23:18:57 -0500 Subject: [dba-VB] Vb.net changed events In-Reply-To: <0CC84C9461AE6445AD5A602001C41C4B059CE5@mercury.tnco-inc.com> Message-ID: <001801c4f85d$d60c6500$677aa8c0@ColbyM6805> I'm looking through the events for vb.net controls and am finding a TON of "changed" events. Does anyone know if every dynamically modifiable property raises an event when the property changes at run time? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From accessd at shaw.ca Tue Jan 11 23:59:16 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 11 Jan 2005 21:59:16 -0800 Subject: [dba-VB] Vb.net changed events In-Reply-To: <001801c4f85d$d60c6500$677aa8c0@ColbyM6805> Message-ID: <0IA60020YWM501@l-daemon> Hi John: I am at the same stage you are at but I just finished reading a section from a .Net book about how to add your own events to controls.... It is in a WROX book called Beginning VB.Net 2003, in Chapter 10-13; 'Building objects' and up to 'Creating your own Custom controls'. HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, January 11, 2005 8:19 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Vb.net changed events I'm looking through the events for vb.net controls and am finding a TON of "changed" events. Does anyone know if every dynamically modifiable property raises an event when the property changes at run time? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Jan 12 08:23:59 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Jan 2005 09:23:59 -0500 Subject: [dba-VB] Vb.net changed events In-Reply-To: <0IA60020YWM501@l-daemon> Message-ID: <002d01c4f8b2$5e9cfbb0$677aa8c0@ColbyM6805> Jim, I understand that controls are "just code" in .net and thus you can inherit them just like anything else, adding whatever you wish to them. What I was specifically referring to are all of the "Changed" events listed for (for example) the text control. Go into the Editor, select a control in the left hand combo and drop down the right hand combo. Notice all the XXXXXChanged events where XXXXX look like the names of properties and stuff. It looks like all (or many) of the properties that you could change programmatically fire an event when they are changed, which is pretty cool actually. One of my frustrations with Access (VBA) is that you never know when a property changes (not enough events). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, January 12, 2005 12:59 AM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] Vb.net changed events Hi John: I am at the same stage you are at but I just finished reading a section from a .Net book about how to add your own events to controls.... It is in a WROX book called Beginning VB.Net 2003, in Chapter 10-13; 'Building objects' and up to 'Creating your own Custom controls'. HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, January 11, 2005 8:19 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Vb.net changed events I'm looking through the events for vb.net controls and am finding a TON of "changed" events. Does anyone know if every dynamically modifiable property raises an event when the property changes at run time? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ 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 From jwcolby at colbyconsulting.com Sun Jan 23 10:14:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 23 Jan 2005 11:14:57 -0500 Subject: [dba-VB] Properly importing code In-Reply-To: <002d01c4f8b2$5e9cfbb0$677aa8c0@ColbyM6805> Message-ID: <000d01c50166$b28e7660$677aa8c0@ColbyM6805> I am trying to import code from a book into an existing project. The project is in one directory, the code for the book in another. When I imported the code it just left the code out in that dir which isn't what I want' I want the class file in the project dir. Now I can't seem to "unlink" the file out in the book dir. Anyone know how to find the list of all the classes and things in a project and "delete" pieces? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Sun Jan 23 10:33:20 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 23 Jan 2005 11:33:20 -0500 Subject: [dba-VB] Properly importing code In-Reply-To: <000d01c50166$b28e7660$677aa8c0@ColbyM6805> Message-ID: <000e01c50169$40512220$677aa8c0@ColbyM6805> Sorry, should have specified - Visual Studio .net John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:15 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Properly importing code I am trying to import code from a book into an existing project. The project is in one directory, the code for the book in another. When I imported the code it just left the code out in that dir which isn't what I want' I want the class file in the project dir. Now I can't seem to "unlink" the file out in the book dir. Anyone know how to find the list of all the classes and things in a project and "delete" pieces? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Mon Jan 24 08:29:47 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 24 Jan 2005 09:29:47 -0500 Subject: [dba-VB] Properly importing code Message-ID: <08F823FD83787D4BA0B99CA580AD3C749D2AE0@TTNEXCHCL2.hshhp.com> Don't know for sure but in VB 6 you could open the project file (*.vbp) in Notepad and see/edit the references there. Maybe you can do the same with the *.sln or project file? Jim DeMarco -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:33 AM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] Properly importing code Sorry, should have specified - Visual Studio .net John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:15 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Properly importing code I am trying to import code from a book into an existing project. The project is in one directory, the code for the book in another. When I imported the code it just left the code out in that dir which isn't what I want' I want the class file in the project dir. Now I can't seem to "unlink" the file out in the book dir. Anyone know how to find the list of all the classes and things in a project and "delete" pieces? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ 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 pharold at proftesting.com Mon Jan 24 13:23:05 2005 From: pharold at proftesting.com (Perry Harold) Date: Mon, 24 Jan 2005 14:23:05 -0500 Subject: [dba-VB] Properly importing code In-Reply-To: <000e01c50169$40512220$677aa8c0@ColbyM6805> Message-ID: <001f01c5024a$2168a9f0$192da8c0@D58BT131Perry> Haven't moved to .net but with VB6 when bringing in forms or code I always save as to the directory where the project is saved. All forms, modules, classes, etc are then in one project directory and all changes from that point on get saved in the project directory and the original code is left untouched. Perry Harold -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:33 AM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] Properly importing code Sorry, should have specified - Visual Studio .net John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:15 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Properly importing code I am trying to import code from a book into an existing project. The project is in one directory, the code for the book in another. When I imported the code it just left the code out in that dir which isn't what I want' I want the class file in the project dir. Now I can't seem to "unlink" the file out in the book dir. Anyone know how to find the list of all the classes and things in a project and "delete" pieces? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ 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 From jwcolby at colbyconsulting.com Mon Jan 24 14:08:19 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 24 Jan 2005 15:08:19 -0500 Subject: [dba-VB] Properly importing code In-Reply-To: <001f01c5024a$2168a9f0$192da8c0@D58BT131Perry> Message-ID: <001f01c50250$75cbfff0$677aa8c0@ColbyM6805> I was looking at moving my SysVars to VB.Net. I found an "address book" project in the VB.net book I am studying that builds and maintains an address book stored out to XML. It is AMAZING how easy this stuff is with .net. You build a class that serializes an object, then inherit that object in any class that stores your data. That class can now export / import (serialize / deserialize) any property that is read/write for any object that inherits the serializer. Feed the data class to a class that opens a file and serializes / deserializes an object and you now have data read or written somewhere (to a stream). In this case the stream goes to disk, but it can go a lot of different places - FTP, Encryption etc. Three classes (SerializableData, Address, AddressBook) and the form and it's done. Each class is tiny. This stuff is simply amazing. Oh for the day I understand enough to program as easily as I do in Access / VBA. What I can do though is modify this to be a Sysvar system. Plus keep it around as a template for other such needs. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Perry Harold Sent: Monday, January 24, 2005 2:23 PM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] Properly importing code Haven't moved to .net but with VB6 when bringing in forms or code I always save as to the directory where the project is saved. All forms, modules, classes, etc are then in one project directory and all changes from that point on get saved in the project directory and the original code is left untouched. Perry Harold From jwcolby at colbyconsulting.com Sun Jan 2 20:37:30 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 02 Jan 2005 21:37:30 -0500 Subject: [dba-VB] Where is the .net directory Message-ID: <000001c4f13d$301b6fa0$677aa8c0@ColbyM6805> I have Visual Studio 2002. I had the .net framework 1.0 installed (came with Visual Studio I think) and was having problems updating Visual Studio to get the .net framework 1.1. I had 1.1. installed on my system but Visual Studio didn't "see it". I uninstalled both 1.0 and 1.1, then loaded 1.1 again (from Windows Update) and the 1.1 SDK. Now Visual Studio says I can't open my projects because it "can't find Visual Basic, the framework directory not found". Dows anyone know where the framework directory is, and how to tell Visual Studio the path to the framework? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Tue Jan 11 22:18:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 11 Jan 2005 23:18:57 -0500 Subject: [dba-VB] Vb.net changed events In-Reply-To: <0CC84C9461AE6445AD5A602001C41C4B059CE5@mercury.tnco-inc.com> Message-ID: <001801c4f85d$d60c6500$677aa8c0@ColbyM6805> I'm looking through the events for vb.net controls and am finding a TON of "changed" events. Does anyone know if every dynamically modifiable property raises an event when the property changes at run time? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From accessd at shaw.ca Tue Jan 11 23:59:16 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 11 Jan 2005 21:59:16 -0800 Subject: [dba-VB] Vb.net changed events In-Reply-To: <001801c4f85d$d60c6500$677aa8c0@ColbyM6805> Message-ID: <0IA60020YWM501@l-daemon> Hi John: I am at the same stage you are at but I just finished reading a section from a .Net book about how to add your own events to controls.... It is in a WROX book called Beginning VB.Net 2003, in Chapter 10-13; 'Building objects' and up to 'Creating your own Custom controls'. HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, January 11, 2005 8:19 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Vb.net changed events I'm looking through the events for vb.net controls and am finding a TON of "changed" events. Does anyone know if every dynamically modifiable property raises an event when the property changes at run time? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Jan 12 08:23:59 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Jan 2005 09:23:59 -0500 Subject: [dba-VB] Vb.net changed events In-Reply-To: <0IA60020YWM501@l-daemon> Message-ID: <002d01c4f8b2$5e9cfbb0$677aa8c0@ColbyM6805> Jim, I understand that controls are "just code" in .net and thus you can inherit them just like anything else, adding whatever you wish to them. What I was specifically referring to are all of the "Changed" events listed for (for example) the text control. Go into the Editor, select a control in the left hand combo and drop down the right hand combo. Notice all the XXXXXChanged events where XXXXX look like the names of properties and stuff. It looks like all (or many) of the properties that you could change programmatically fire an event when they are changed, which is pretty cool actually. One of my frustrations with Access (VBA) is that you never know when a property changes (not enough events). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, January 12, 2005 12:59 AM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] Vb.net changed events Hi John: I am at the same stage you are at but I just finished reading a section from a .Net book about how to add your own events to controls.... It is in a WROX book called Beginning VB.Net 2003, in Chapter 10-13; 'Building objects' and up to 'Creating your own Custom controls'. HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, January 11, 2005 8:19 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Vb.net changed events I'm looking through the events for vb.net controls and am finding a TON of "changed" events. Does anyone know if every dynamically modifiable property raises an event when the property changes at run time? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ 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 From jwcolby at colbyconsulting.com Sun Jan 23 10:14:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 23 Jan 2005 11:14:57 -0500 Subject: [dba-VB] Properly importing code In-Reply-To: <002d01c4f8b2$5e9cfbb0$677aa8c0@ColbyM6805> Message-ID: <000d01c50166$b28e7660$677aa8c0@ColbyM6805> I am trying to import code from a book into an existing project. The project is in one directory, the code for the book in another. When I imported the code it just left the code out in that dir which isn't what I want' I want the class file in the project dir. Now I can't seem to "unlink" the file out in the book dir. Anyone know how to find the list of all the classes and things in a project and "delete" pieces? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Sun Jan 23 10:33:20 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 23 Jan 2005 11:33:20 -0500 Subject: [dba-VB] Properly importing code In-Reply-To: <000d01c50166$b28e7660$677aa8c0@ColbyM6805> Message-ID: <000e01c50169$40512220$677aa8c0@ColbyM6805> Sorry, should have specified - Visual Studio .net John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:15 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Properly importing code I am trying to import code from a book into an existing project. The project is in one directory, the code for the book in another. When I imported the code it just left the code out in that dir which isn't what I want' I want the class file in the project dir. Now I can't seem to "unlink" the file out in the book dir. Anyone know how to find the list of all the classes and things in a project and "delete" pieces? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Mon Jan 24 08:29:47 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 24 Jan 2005 09:29:47 -0500 Subject: [dba-VB] Properly importing code Message-ID: <08F823FD83787D4BA0B99CA580AD3C749D2AE0@TTNEXCHCL2.hshhp.com> Don't know for sure but in VB 6 you could open the project file (*.vbp) in Notepad and see/edit the references there. Maybe you can do the same with the *.sln or project file? Jim DeMarco -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:33 AM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] Properly importing code Sorry, should have specified - Visual Studio .net John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:15 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Properly importing code I am trying to import code from a book into an existing project. The project is in one directory, the code for the book in another. When I imported the code it just left the code out in that dir which isn't what I want' I want the class file in the project dir. Now I can't seem to "unlink" the file out in the book dir. Anyone know how to find the list of all the classes and things in a project and "delete" pieces? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ 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 pharold at proftesting.com Mon Jan 24 13:23:05 2005 From: pharold at proftesting.com (Perry Harold) Date: Mon, 24 Jan 2005 14:23:05 -0500 Subject: [dba-VB] Properly importing code In-Reply-To: <000e01c50169$40512220$677aa8c0@ColbyM6805> Message-ID: <001f01c5024a$2168a9f0$192da8c0@D58BT131Perry> Haven't moved to .net but with VB6 when bringing in forms or code I always save as to the directory where the project is saved. All forms, modules, classes, etc are then in one project directory and all changes from that point on get saved in the project directory and the original code is left untouched. Perry Harold -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:33 AM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] Properly importing code Sorry, should have specified - Visual Studio .net John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:15 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Properly importing code I am trying to import code from a book into an existing project. The project is in one directory, the code for the book in another. When I imported the code it just left the code out in that dir which isn't what I want' I want the class file in the project dir. Now I can't seem to "unlink" the file out in the book dir. Anyone know how to find the list of all the classes and things in a project and "delete" pieces? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ 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 From jwcolby at colbyconsulting.com Mon Jan 24 14:08:19 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 24 Jan 2005 15:08:19 -0500 Subject: [dba-VB] Properly importing code In-Reply-To: <001f01c5024a$2168a9f0$192da8c0@D58BT131Perry> Message-ID: <001f01c50250$75cbfff0$677aa8c0@ColbyM6805> I was looking at moving my SysVars to VB.Net. I found an "address book" project in the VB.net book I am studying that builds and maintains an address book stored out to XML. It is AMAZING how easy this stuff is with .net. You build a class that serializes an object, then inherit that object in any class that stores your data. That class can now export / import (serialize / deserialize) any property that is read/write for any object that inherits the serializer. Feed the data class to a class that opens a file and serializes / deserializes an object and you now have data read or written somewhere (to a stream). In this case the stream goes to disk, but it can go a lot of different places - FTP, Encryption etc. Three classes (SerializableData, Address, AddressBook) and the form and it's done. Each class is tiny. This stuff is simply amazing. Oh for the day I understand enough to program as easily as I do in Access / VBA. What I can do though is modify this to be a Sysvar system. Plus keep it around as a template for other such needs. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Perry Harold Sent: Monday, January 24, 2005 2:23 PM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] Properly importing code Haven't moved to .net but with VB6 when bringing in forms or code I always save as to the directory where the project is saved. All forms, modules, classes, etc are then in one project directory and all changes from that point on get saved in the project directory and the original code is left untouched. Perry Harold From jwcolby at colbyconsulting.com Sun Jan 2 20:37:30 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 02 Jan 2005 21:37:30 -0500 Subject: [dba-VB] Where is the .net directory Message-ID: <000001c4f13d$301b6fa0$677aa8c0@ColbyM6805> I have Visual Studio 2002. I had the .net framework 1.0 installed (came with Visual Studio I think) and was having problems updating Visual Studio to get the .net framework 1.1. I had 1.1. installed on my system but Visual Studio didn't "see it". I uninstalled both 1.0 and 1.1, then loaded 1.1 again (from Windows Update) and the 1.1 SDK. Now Visual Studio says I can't open my projects because it "can't find Visual Basic, the framework directory not found". Dows anyone know where the framework directory is, and how to tell Visual Studio the path to the framework? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Tue Jan 11 22:18:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 11 Jan 2005 23:18:57 -0500 Subject: [dba-VB] Vb.net changed events In-Reply-To: <0CC84C9461AE6445AD5A602001C41C4B059CE5@mercury.tnco-inc.com> Message-ID: <001801c4f85d$d60c6500$677aa8c0@ColbyM6805> I'm looking through the events for vb.net controls and am finding a TON of "changed" events. Does anyone know if every dynamically modifiable property raises an event when the property changes at run time? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From accessd at shaw.ca Tue Jan 11 23:59:16 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 11 Jan 2005 21:59:16 -0800 Subject: [dba-VB] Vb.net changed events In-Reply-To: <001801c4f85d$d60c6500$677aa8c0@ColbyM6805> Message-ID: <0IA60020YWM501@l-daemon> Hi John: I am at the same stage you are at but I just finished reading a section from a .Net book about how to add your own events to controls.... It is in a WROX book called Beginning VB.Net 2003, in Chapter 10-13; 'Building objects' and up to 'Creating your own Custom controls'. HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, January 11, 2005 8:19 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Vb.net changed events I'm looking through the events for vb.net controls and am finding a TON of "changed" events. Does anyone know if every dynamically modifiable property raises an event when the property changes at run time? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Jan 12 08:23:59 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Jan 2005 09:23:59 -0500 Subject: [dba-VB] Vb.net changed events In-Reply-To: <0IA60020YWM501@l-daemon> Message-ID: <002d01c4f8b2$5e9cfbb0$677aa8c0@ColbyM6805> Jim, I understand that controls are "just code" in .net and thus you can inherit them just like anything else, adding whatever you wish to them. What I was specifically referring to are all of the "Changed" events listed for (for example) the text control. Go into the Editor, select a control in the left hand combo and drop down the right hand combo. Notice all the XXXXXChanged events where XXXXX look like the names of properties and stuff. It looks like all (or many) of the properties that you could change programmatically fire an event when they are changed, which is pretty cool actually. One of my frustrations with Access (VBA) is that you never know when a property changes (not enough events). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, January 12, 2005 12:59 AM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] Vb.net changed events Hi John: I am at the same stage you are at but I just finished reading a section from a .Net book about how to add your own events to controls.... It is in a WROX book called Beginning VB.Net 2003, in Chapter 10-13; 'Building objects' and up to 'Creating your own Custom controls'. HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, January 11, 2005 8:19 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Vb.net changed events I'm looking through the events for vb.net controls and am finding a TON of "changed" events. Does anyone know if every dynamically modifiable property raises an event when the property changes at run time? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ 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 From jwcolby at colbyconsulting.com Sun Jan 23 10:14:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 23 Jan 2005 11:14:57 -0500 Subject: [dba-VB] Properly importing code In-Reply-To: <002d01c4f8b2$5e9cfbb0$677aa8c0@ColbyM6805> Message-ID: <000d01c50166$b28e7660$677aa8c0@ColbyM6805> I am trying to import code from a book into an existing project. The project is in one directory, the code for the book in another. When I imported the code it just left the code out in that dir which isn't what I want' I want the class file in the project dir. Now I can't seem to "unlink" the file out in the book dir. Anyone know how to find the list of all the classes and things in a project and "delete" pieces? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Sun Jan 23 10:33:20 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 23 Jan 2005 11:33:20 -0500 Subject: [dba-VB] Properly importing code In-Reply-To: <000d01c50166$b28e7660$677aa8c0@ColbyM6805> Message-ID: <000e01c50169$40512220$677aa8c0@ColbyM6805> Sorry, should have specified - Visual Studio .net John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:15 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Properly importing code I am trying to import code from a book into an existing project. The project is in one directory, the code for the book in another. When I imported the code it just left the code out in that dir which isn't what I want' I want the class file in the project dir. Now I can't seem to "unlink" the file out in the book dir. Anyone know how to find the list of all the classes and things in a project and "delete" pieces? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Mon Jan 24 08:29:47 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 24 Jan 2005 09:29:47 -0500 Subject: [dba-VB] Properly importing code Message-ID: <08F823FD83787D4BA0B99CA580AD3C749D2AE0@TTNEXCHCL2.hshhp.com> Don't know for sure but in VB 6 you could open the project file (*.vbp) in Notepad and see/edit the references there. Maybe you can do the same with the *.sln or project file? Jim DeMarco -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:33 AM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] Properly importing code Sorry, should have specified - Visual Studio .net John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:15 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Properly importing code I am trying to import code from a book into an existing project. The project is in one directory, the code for the book in another. When I imported the code it just left the code out in that dir which isn't what I want' I want the class file in the project dir. Now I can't seem to "unlink" the file out in the book dir. Anyone know how to find the list of all the classes and things in a project and "delete" pieces? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ 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 pharold at proftesting.com Mon Jan 24 13:23:05 2005 From: pharold at proftesting.com (Perry Harold) Date: Mon, 24 Jan 2005 14:23:05 -0500 Subject: [dba-VB] Properly importing code In-Reply-To: <000e01c50169$40512220$677aa8c0@ColbyM6805> Message-ID: <001f01c5024a$2168a9f0$192da8c0@D58BT131Perry> Haven't moved to .net but with VB6 when bringing in forms or code I always save as to the directory where the project is saved. All forms, modules, classes, etc are then in one project directory and all changes from that point on get saved in the project directory and the original code is left untouched. Perry Harold -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:33 AM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] Properly importing code Sorry, should have specified - Visual Studio .net John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:15 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Properly importing code I am trying to import code from a book into an existing project. The project is in one directory, the code for the book in another. When I imported the code it just left the code out in that dir which isn't what I want' I want the class file in the project dir. Now I can't seem to "unlink" the file out in the book dir. Anyone know how to find the list of all the classes and things in a project and "delete" pieces? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ 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 From jwcolby at colbyconsulting.com Mon Jan 24 14:08:19 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 24 Jan 2005 15:08:19 -0500 Subject: [dba-VB] Properly importing code In-Reply-To: <001f01c5024a$2168a9f0$192da8c0@D58BT131Perry> Message-ID: <001f01c50250$75cbfff0$677aa8c0@ColbyM6805> I was looking at moving my SysVars to VB.Net. I found an "address book" project in the VB.net book I am studying that builds and maintains an address book stored out to XML. It is AMAZING how easy this stuff is with .net. You build a class that serializes an object, then inherit that object in any class that stores your data. That class can now export / import (serialize / deserialize) any property that is read/write for any object that inherits the serializer. Feed the data class to a class that opens a file and serializes / deserializes an object and you now have data read or written somewhere (to a stream). In this case the stream goes to disk, but it can go a lot of different places - FTP, Encryption etc. Three classes (SerializableData, Address, AddressBook) and the form and it's done. Each class is tiny. This stuff is simply amazing. Oh for the day I understand enough to program as easily as I do in Access / VBA. What I can do though is modify this to be a Sysvar system. Plus keep it around as a template for other such needs. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Perry Harold Sent: Monday, January 24, 2005 2:23 PM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] Properly importing code Haven't moved to .net but with VB6 when bringing in forms or code I always save as to the directory where the project is saved. All forms, modules, classes, etc are then in one project directory and all changes from that point on get saved in the project directory and the original code is left untouched. Perry Harold From jwcolby at colbyconsulting.com Sun Jan 2 20:37:30 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 02 Jan 2005 21:37:30 -0500 Subject: [dba-VB] Where is the .net directory Message-ID: <000001c4f13d$301b6fa0$677aa8c0@ColbyM6805> I have Visual Studio 2002. I had the .net framework 1.0 installed (came with Visual Studio I think) and was having problems updating Visual Studio to get the .net framework 1.1. I had 1.1. installed on my system but Visual Studio didn't "see it". I uninstalled both 1.0 and 1.1, then loaded 1.1 again (from Windows Update) and the 1.1 SDK. Now Visual Studio says I can't open my projects because it "can't find Visual Basic, the framework directory not found". Dows anyone know where the framework directory is, and how to tell Visual Studio the path to the framework? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Tue Jan 11 22:18:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 11 Jan 2005 23:18:57 -0500 Subject: [dba-VB] Vb.net changed events In-Reply-To: <0CC84C9461AE6445AD5A602001C41C4B059CE5@mercury.tnco-inc.com> Message-ID: <001801c4f85d$d60c6500$677aa8c0@ColbyM6805> I'm looking through the events for vb.net controls and am finding a TON of "changed" events. Does anyone know if every dynamically modifiable property raises an event when the property changes at run time? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From accessd at shaw.ca Tue Jan 11 23:59:16 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 11 Jan 2005 21:59:16 -0800 Subject: [dba-VB] Vb.net changed events In-Reply-To: <001801c4f85d$d60c6500$677aa8c0@ColbyM6805> Message-ID: <0IA60020YWM501@l-daemon> Hi John: I am at the same stage you are at but I just finished reading a section from a .Net book about how to add your own events to controls.... It is in a WROX book called Beginning VB.Net 2003, in Chapter 10-13; 'Building objects' and up to 'Creating your own Custom controls'. HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, January 11, 2005 8:19 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Vb.net changed events I'm looking through the events for vb.net controls and am finding a TON of "changed" events. Does anyone know if every dynamically modifiable property raises an event when the property changes at run time? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Jan 12 08:23:59 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 12 Jan 2005 09:23:59 -0500 Subject: [dba-VB] Vb.net changed events In-Reply-To: <0IA60020YWM501@l-daemon> Message-ID: <002d01c4f8b2$5e9cfbb0$677aa8c0@ColbyM6805> Jim, I understand that controls are "just code" in .net and thus you can inherit them just like anything else, adding whatever you wish to them. What I was specifically referring to are all of the "Changed" events listed for (for example) the text control. Go into the Editor, select a control in the left hand combo and drop down the right hand combo. Notice all the XXXXXChanged events where XXXXX look like the names of properties and stuff. It looks like all (or many) of the properties that you could change programmatically fire an event when they are changed, which is pretty cool actually. One of my frustrations with Access (VBA) is that you never know when a property changes (not enough events). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, January 12, 2005 12:59 AM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] Vb.net changed events Hi John: I am at the same stage you are at but I just finished reading a section from a .Net book about how to add your own events to controls.... It is in a WROX book called Beginning VB.Net 2003, in Chapter 10-13; 'Building objects' and up to 'Creating your own Custom controls'. HTH Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, January 11, 2005 8:19 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Vb.net changed events I'm looking through the events for vb.net controls and am finding a TON of "changed" events. Does anyone know if every dynamically modifiable property raises an event when the property changes at run time? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ 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 From jwcolby at colbyconsulting.com Sun Jan 23 10:14:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 23 Jan 2005 11:14:57 -0500 Subject: [dba-VB] Properly importing code In-Reply-To: <002d01c4f8b2$5e9cfbb0$677aa8c0@ColbyM6805> Message-ID: <000d01c50166$b28e7660$677aa8c0@ColbyM6805> I am trying to import code from a book into an existing project. The project is in one directory, the code for the book in another. When I imported the code it just left the code out in that dir which isn't what I want' I want the class file in the project dir. Now I can't seem to "unlink" the file out in the book dir. Anyone know how to find the list of all the classes and things in a project and "delete" pieces? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Sun Jan 23 10:33:20 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 23 Jan 2005 11:33:20 -0500 Subject: [dba-VB] Properly importing code In-Reply-To: <000d01c50166$b28e7660$677aa8c0@ColbyM6805> Message-ID: <000e01c50169$40512220$677aa8c0@ColbyM6805> Sorry, should have specified - Visual Studio .net John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:15 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Properly importing code I am trying to import code from a book into an existing project. The project is in one directory, the code for the book in another. When I imported the code it just left the code out in that dir which isn't what I want' I want the class file in the project dir. Now I can't seem to "unlink" the file out in the book dir. Anyone know how to find the list of all the classes and things in a project and "delete" pieces? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Mon Jan 24 08:29:47 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 24 Jan 2005 09:29:47 -0500 Subject: [dba-VB] Properly importing code Message-ID: <08F823FD83787D4BA0B99CA580AD3C749D2AE0@TTNEXCHCL2.hshhp.com> Don't know for sure but in VB 6 you could open the project file (*.vbp) in Notepad and see/edit the references there. Maybe you can do the same with the *.sln or project file? Jim DeMarco -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:33 AM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] Properly importing code Sorry, should have specified - Visual Studio .net John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:15 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Properly importing code I am trying to import code from a book into an existing project. The project is in one directory, the code for the book in another. When I imported the code it just left the code out in that dir which isn't what I want' I want the class file in the project dir. Now I can't seem to "unlink" the file out in the book dir. Anyone know how to find the list of all the classes and things in a project and "delete" pieces? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ 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 pharold at proftesting.com Mon Jan 24 13:23:05 2005 From: pharold at proftesting.com (Perry Harold) Date: Mon, 24 Jan 2005 14:23:05 -0500 Subject: [dba-VB] Properly importing code In-Reply-To: <000e01c50169$40512220$677aa8c0@ColbyM6805> Message-ID: <001f01c5024a$2168a9f0$192da8c0@D58BT131Perry> Haven't moved to .net but with VB6 when bringing in forms or code I always save as to the directory where the project is saved. All forms, modules, classes, etc are then in one project directory and all changes from that point on get saved in the project directory and the original code is left untouched. Perry Harold -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:33 AM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] Properly importing code Sorry, should have specified - Visual Studio .net John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, January 23, 2005 11:15 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] Properly importing code I am trying to import code from a book into an existing project. The project is in one directory, the code for the book in another. When I imported the code it just left the code out in that dir which isn't what I want' I want the class file in the project dir. Now I can't seem to "unlink" the file out in the book dir. Anyone know how to find the list of all the classes and things in a project and "delete" pieces? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ _______________________________________________ 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 From jwcolby at colbyconsulting.com Mon Jan 24 14:08:19 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 24 Jan 2005 15:08:19 -0500 Subject: [dba-VB] Properly importing code In-Reply-To: <001f01c5024a$2168a9f0$192da8c0@D58BT131Perry> Message-ID: <001f01c50250$75cbfff0$677aa8c0@ColbyM6805> I was looking at moving my SysVars to VB.Net. I found an "address book" project in the VB.net book I am studying that builds and maintains an address book stored out to XML. It is AMAZING how easy this stuff is with .net. You build a class that serializes an object, then inherit that object in any class that stores your data. That class can now export / import (serialize / deserialize) any property that is read/write for any object that inherits the serializer. Feed the data class to a class that opens a file and serializes / deserializes an object and you now have data read or written somewhere (to a stream). In this case the stream goes to disk, but it can go a lot of different places - FTP, Encryption etc. Three classes (SerializableData, Address, AddressBook) and the form and it's done. Each class is tiny. This stuff is simply amazing. Oh for the day I understand enough to program as easily as I do in Access / VBA. What I can do though is modify this to be a Sysvar system. Plus keep it around as a template for other such needs. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Perry Harold Sent: Monday, January 24, 2005 2:23 PM To: dba-vb at databaseadvisors.com Subject: RE: [dba-VB] Properly importing code Haven't moved to .net but with VB6 when bringing in forms or code I always save as to the directory where the project is saved. All forms, modules, classes, etc are then in one project directory and all changes from that point on get saved in the project directory and the original code is left untouched. Perry Harold