1) How do I create a exe in msAccess ?
You don't. It mystifies me that this rumor continues to go around. For
whatever reason you want an exe program, the next closest three things you
can do are:
1. "compile" it to a .mde file (The user will still have to have MS Access)
2. Purchase the "Access Developer's Toolkit" (I think it's still called
that) and distribute your application with the Runtime Edition of Access
(The user will NOT have to have MS Access)
3. Migrate your application from Access to something like VB 6.0 or VB.NET.
(User will not need anything but what you give them)
2) If I want to use msaccess as front end to sql server how do I go about
it
(ie, I have created web pages linking it to sql server database) but ?
I personally am a bit weak on that one, because when I talk to SQL Server, I
use VS.NET. In Access, you want to make a .adp file ("Access Database
Project") and point it at your SQL Server. Here's a sample one to get you
started (path may differ with your version):
C:\Program Files\Microsoft Office\OFFICE11\SAMPLES\NorthwindCS.adp
When you open this in Access, you will have to click File -> Connection and
point to a Northwind database in a SQL Server.
Create a blank database -> go to Web pages - > create Web pages - > then
how
do I create exe ?
Like I mentioned, sadly, you cannot. If you are actually looking to have a
web application against a SQL database, the proper thing would be to use
Visual InterDev 6.0 or Visual Studio.NET. Using Access as a middle man,
even though it's so super easy to use, is very poor design. BTW -- don't
even THINK of using FrontPage for this
Will the connection properties be stored in exe created ? When I use the
exe
on different machines will then exe still be good (ie, will get connected
to
sql server) ?
If you make a .adp with Access, I believe the connection stuff is stored in
the .adp file, and therefore will be portable among users.
Also, similar to how you can "compile" an mdb to an mde, you can compile an
adp to an ade. But even if you do so, if you give a user an adp or ade,
they will still have to have Access.
--
Peace & happy computing,
Mike Labosh, MCSD
"Working here is like living inside a Salvador Dali painting." -- Me. Yeah,
ME! [Oh fer cryin out loud]