Laphan
2007-12-20 11:35:30 UTC
Hi All
Just wanted to see if anybody had any experience with the following
scenarios:
1) VB6 app connecting to an SQL Server Compact Edition 3.5 DB - any
problems?
I know many machines will have .net 2+ installed by default, but I want my
app to run with the minimum of installation fuss. I'm currently using a VB6
/ Access DB combo and apart from my msflexgrid dll file to install, the
installation process is smooth. Problem is that the structure of Access DBs
can't be updated by code (correct?) so I thought it best to go up one to SQL
Server Compact and give me the flexibility to change the DB structure to
handle future updates.
2) What actual SQL code limitations are there in the Compact edition? I
heard that commands like IF and auto-number data types aren't included - is
this true?
3) What appears to be my main issue is that I work in a number of schools
and 90% of them have a Win 2003 server with Active Directory setup, whereby
the desktops have their My Docs redirected from the server's home drive and
the laptops are set for off-line file access if disconnected from the
network.
I had it that my Access DB was installed in the program files folder with my
program, but this meant that when user's log into the machine they are all
using the same data file. My plan was to put the database in the My Docs so
that each user will use the program to connect to their database in their My
Docs folder - do you envisage any problems with this setup?
I really don't want to go the Express route due to the installation hassle
for users and bloated installation package.
Many thanks for any advice you can give.
Rgds
Just wanted to see if anybody had any experience with the following
scenarios:
1) VB6 app connecting to an SQL Server Compact Edition 3.5 DB - any
problems?
I know many machines will have .net 2+ installed by default, but I want my
app to run with the minimum of installation fuss. I'm currently using a VB6
/ Access DB combo and apart from my msflexgrid dll file to install, the
installation process is smooth. Problem is that the structure of Access DBs
can't be updated by code (correct?) so I thought it best to go up one to SQL
Server Compact and give me the flexibility to change the DB structure to
handle future updates.
2) What actual SQL code limitations are there in the Compact edition? I
heard that commands like IF and auto-number data types aren't included - is
this true?
3) What appears to be my main issue is that I work in a number of schools
and 90% of them have a Win 2003 server with Active Directory setup, whereby
the desktops have their My Docs redirected from the server's home drive and
the laptops are set for off-line file access if disconnected from the
network.
I had it that my Access DB was installed in the program files folder with my
program, but this meant that when user's log into the machine they are all
using the same data file. My plan was to put the database in the My Docs so
that each user will use the program to connect to their database in their My
Docs folder - do you envisage any problems with this setup?
I really don't want to go the Express route due to the installation hassle
for users and bloated installation package.
Many thanks for any advice you can give.
Rgds