473,399 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

can i programmatically set up a web server?

hi all

i'm primarily a ASP web developer, so i'm not sure if i can do this or not.
i want to allow client's on my site to run a local version of the site off
their laptop. i want to give the user an option on the site that grabs all
the ASP pages, extracts just their records for MS SQL and exports to MS
Access, then packs into a zip file for download. no problem with any of the
steps so far. what should happend next is the user runs my app which:

a. checks to see if PWS is installed on the machine and if so, is there a
domain set up to point to my pages. if not, install PWS and add the domain.
b. copy my files to "c:\local_web_site"
c. adds a favourites pointing to the PWS server in IE
d. starts PWS, opens IE and goes to the directory.

is this possible? the big question is the business of sniffing for a PWS,
installing if necessary, and adding the domain info.

tks
Jul 17 '05 #1
1 2995


"Steven" <ss***@hotmail.com> wrote in message
news:m9********************@rogers.com...
hi all

i'm primarily a ASP web developer, so i'm not sure if i can do this or not. i want to allow client's on my site to run a local version of the site off
their laptop. i want to give the user an option on the site that grabs all
the ASP pages, extracts just their records for MS SQL and exports to MS
Access, then packs into a zip file for download. no problem with any of the steps so far. what should happend next is the user runs my app which:

a. checks to see if PWS is installed on the machine and if so, is there a
domain set up to point to my pages. if not, install PWS and add the domain. b. copy my files to "c:\local_web_site"
c. adds a favourites pointing to the PWS server in IE
d. starts PWS, opens IE and goes to the directory.

is this possible? the big question is the business of sniffing for a PWS,
installing if necessary, and adding the domain info.

tks


Sounds a bit overkill to me, with trip ups
Restarts, configuration,etc..
A user not familiar with PWS
A large help desk - comes to mind.

I think a better option would be to
provide a download to install an AX.
(If Clients use only IE then AX docs sound good to me)

Also added to the favs and optionaly to the start menu:
When run (or browsed to) an option loads to go live
,download, or use offline
(page link option or intergrated into IE's Menu's)

(Download as data or database which ever you prefer)
Create and/or store the database locally.
Options then to update it.
(either viewed in IE (DLL,EXE) or in outside forms IE (EXE) -
like the way Windows update functions)

Admittedly it means you would need to re-write/convert
your server side scripts and client HTML/Scripts,
in to a VB compiled dll or exe.

Still, it would give you online calls to your server and be able to manage
the data locally all from within IE.
You would have the freedom when coding of knowing that your Server pages are
always clients online and your AX is local with options to go online.

To simplifiy things a separate web application on your side to provide the
download and manage the update capabillities.

Once tested a few links and its live with little change/upset to the stuff
you already have.

I am sure there are be plenty of people in here that can/will help with the
VB side of things if :
a) you decide to tackle it
b) you get stuck .

Geoff


Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: ALthePal | last post by:
Hi, I'm not sure if we are able to or even how to loop through the web forms in a VB.NET project during design time. In MSAccess we are able to go through the database -> forms collection and...
5
by: Carlo Marchesoni | last post by:
From an aspx page (A.aspx) I open another one (B.aspx - for table lookup). When the user selects an entry in B.aspx I would like to force a button's event in A.aspx to be fired. I guess the only...
6
by: Matt Frame | last post by:
I have a client that has asked us to get a digital signature certificate and start digitally signing all files we pass between each other. I have heard of the subject and know about the certs but...
3
by: Codex Twin | last post by:
Hello apologies if this is the wrong newsgroup to be sending this to. Basically, I have an ASP.NET application that I am trying to force to use a proxy server settings. This can be done by...
5
by: Brian McClellan | last post by:
Just wondering if anyone has a simple example of creating a gridview completely programmatically, i'm not doing anything terribly sophisticated. When creating the gridview declaratively evertying...
0
by: TB | last post by:
Hi All: I have this page where a rows / cells are programmatically added to to table by pushing a button. The rows contain a textbox and a associated button. What I want to is to be able to...
0
by: joey.powell | last post by:
We have a website with hundreds of users. The users have each registered with their email addresses and other information, and these are stored in a Microsoft SQL Server database. The user accounts...
1
by: Superfreak3 | last post by:
We have a web application that will be installed as a virtual directory. It will either default to the Default Web Site or allow the choice of the site to which the vir. dir. will be installed, if...
2
by: ChrisCicc | last post by:
Hi All, I got a real doozy here. I have read hundreds upon hundreds of forum posts and found numerous others who have replicated this problem, but have yet to find a solution. Through testing I have...
2
by: Orit | last post by:
Hello . Please find below my questions - I hope some of the ASP.NET experts of this forum will answer to those beginner's questions : My Web site should be able to work with either SQL Server...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.