473,804 Members | 2,190 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

can i programmaticall y 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_s ite"
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 3026


"Steven" <ss***@hotmail. com> wrote in message
news:m9******** ************@ro gers.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_s ite"
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,e tc..
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
2873
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 loop through all the forms in a database and pull information about the form (controls and properties). We would need to do the same in our VB.NET project; loop through the project and get the web form's control and property information...
5
6832
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 way is using javascript - does anybody have a sample for this ? Thanks
6
11566
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 I have no idea how to do something like this with VB.Net. Has anyone done something like this or know where I can find out information how to perform the process of signing a document when sending it then checking one on receipt? Your help is...
3
9182
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 accessing machine.config, but I do not have access to the client machine.config machine. Therefore every request made from this application must have these proxy server settings. But I am having problems writing the code for this.
5
15345
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 works fine, however programmatically, while the grid will display data that exsists in the database, any operation on the data ( editing/updating/deleting ) seems to cause a rowdeleting/updating etc error. Or is this simply not meant to be done?
0
1184
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 add the content of any textbox to a global variable (and a related session variable) when pushing the associate button. However whenever I push the button(s) apparently the session variable is not
0
1543
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 in the website are not in Active Directory, as the website uses Forms Authentication. We need to be able to query the MS SQL server database for all email addresses and then programmatically (C#) create a distribution list entry in our...
1
6386
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 more than one sites exist on the server. Now, what I would like to do is set the ASP.NET version to 2.0 if it defaults to an earlier version (more than one instance of the Framework is installed). I would like to be able to do this...
2
15077
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 been able to find the cause of the problem, and will describe it here first textually and then through a code example. The purpose of what I am trying to do is to create a postback-free web application through the use of ASP.net AJAX UpdatePanels...
2
3270
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 or Access database as following : It will connect first to the Master database (SQL or Access, connection String of this database should be read from the C:\WINDOWS
1
10351
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10096
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9174
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7638
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5534
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4311
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3834
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3002
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.