-
VB 6.0 & Data Environment???
Dear friends,
I recently completed a Project.vbp (VB 6.0 program using a Data Environment/connection
to a command containing a table) and my question is this:
If I were to transfer my Project.vbp (my forms, modules , reports.. and data
environment connection..etc) to another Project.vbp that already has its
own Data Enviornment connection.
Would I have to use that connection with my Forms etc and rewrite the connection
plus add a command within that Project.vbp for my program, OR could I place
my data Environment within that Project and call it a day?
Would this be considered poor programming skills? It works great and is
efficent from an organized stand point. What I wonder is if this is a good
idea to perform?
I would like to hear from others who have more experience than I, using
Visual Basic 6.0. Any ideas, comments or examples would be greatly appreciated.
Thanks in advance,
Brad Isaacs
Junior Visual Basic 6.0 / Crystal reports 8.0 / SQL Server 7.0 Databases
-
Re: VB 6.0 & Data Environment???
On 7 Mar 2001 07:39:58 -0800, "Brad Isaacs" <bradhouse@sprint.ca> wrote:
¤
¤ Dear friends,
¤
¤ I recently completed a Project.vbp (VB 6.0 program using a Data Environment/connection
¤ to a command containing a table) and my question is this:
¤
¤ If I were to transfer my Project.vbp (my forms, modules , reports.. and data
¤ environment connection..etc) to another Project.vbp that already has its
¤ own Data Enviornment connection.
¤
¤ Would I have to use that connection with my Forms etc and rewrite the connection
¤ plus add a command within that Project.vbp for my program, OR could I place
¤ my data Environment within that Project and call it a day?
¤
¤ Would this be considered poor programming skills? It works great and is
¤ efficent from an organized stand point. What I wonder is if this is a good
¤ idea to perform?
¤
¤ I would like to hear from others who have more experience than I, using
¤ Visual Basic 6.0. Any ideas, comments or examples would be greatly appreciated.
¤
¤ Thanks in advance,
¤
¤ Brad Isaacs
¤ Junior Visual Basic 6.0 / Crystal reports 8.0 / SQL Server 7.0 Databases
¤
Not sure exactly what you are asking, but essentially you may use multiple Data Environments within
a single project if you want. Each is self-contained and independent of any other.
Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)
-
Re: VB 6.0 & Data Environment???
Dear Paul Clement,
>Not sure exactly what you are asking, but essentially you may use multiple
Data Environments within a single project if you want. Each is self-contained
and independent of any other.
Ok, Thanks, see I have placed the second data environment thinking it was
incorrect programming (essentially the wrong method) to have 2 data environments
( one for my Reports and the other for the rest of my program. Although
it seems to work very well and helps with organization within my Project.
Thanks for your input,
Brad Isaacs
8-)
Junior Visual Basic 6.0 / Crystal reports 8.0 / SQL Server 7.0 Databases
-
Re: VB 6.0 & Data Environment???
hi
regarding your question about transfering the project to ther project
i would suggest you to keep your old dataenvironment connection ,thereby
conserving the old commands (some connections might have hundreds of commands,so
you can think of the trouble you would create ,if you were to create new
commands.
but keep in mind while doing this, ,you will have to be on the same network
and server and will have to have same DSN to connect.
nilesh
Paul Clement <UseAdddressAtEndofMessage@swspectrum.com> wrote:
>On 7 Mar 2001 07:39:58 -0800, "Brad Isaacs" <bradhouse@sprint.ca> wrote:
>
>¤
>¤ Dear friends,
>¤
>¤ I recently completed a Project.vbp (VB 6.0 program using a Data Environment/connection
>¤ to a command containing a table) and my question is this:
>¤
>¤ If I were to transfer my Project.vbp (my forms, modules , reports.. and
data
>¤ environment connection..etc) to another Project.vbp that already has its
>¤ own Data Enviornment connection.
>¤
>¤ Would I have to use that connection with my Forms etc and rewrite the
connection
>¤ plus add a command within that Project.vbp for my program, OR could I
place
>¤ my data Environment within that Project and call it a day?
>¤
>¤ Would this be considered poor programming skills? It works great and
is
>¤ efficent from an organized stand point. What I wonder is if this is a
good
>¤ idea to perform?
>¤
>¤ I would like to hear from others who have more experience than I, using
>¤ Visual Basic 6.0. Any ideas, comments or examples would be greatly appreciated.
>¤
>¤ Thanks in advance,
>¤
>¤ Brad Isaacs
>¤ Junior Visual Basic 6.0 / Crystal reports 8.0 / SQL Server 7.0 Databases
>¤
>
>Not sure exactly what you are asking, but essentially you may use multiple
Data Environments
>within
>a single project if you want. Each is self-contained and independent of
any other.
>
>
>Paul ~~~ pclement@ameritech.net
>Microsoft MVP (Visual Basic)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks