-
WSDrew
AskWoody LoungerCan you do me a favor, and put the attached file (unzipped) into your root web directory? Same place as sitemap.asp. Then link it and try it. Does it show your site’s navigation (listed, not like sitemap.asp is supposed to do. I decided to learn PHP today
, so I am going to make a php version that should work on your site. But I want to make sure what I wrote works on another php enabled server, since it took me an hour to set mine IIS up with php extensions.
-
WSDrew
AskWoody LoungerWhen I did a whois search, it brought up Verio. Wierd, your hosting must lease their IP’s from them.
Anywho, I looked at the UK Space 4 U site, and it doesn’t allow for ASP. ASP is Active Server Pages. It is a server side script. What you see in Front Page is the ASP code. But when it is run on an ASP enabled web, you won’t see anything that is between the flags. Anything between those flags is ‘read’ by the server, and not sent to the user. That allows for ‘dynamic’ pages. Your site allows for PHP, which is the PERL version of ASP. I may see if I can write that thing in PERL. Who knows. If I do, I’ll post it here.
-
WSDrew
AskWoody LoungerOkay, under Verio’s packages, you’d need at least the Bronze Windows 2000 package, which will let you run ASP code.
Drew
-
WSDrew
AskWoody LoungerOkay, already figured out your hosted by Verio….I’m looking at their site now…
-
WSDrew
AskWoody LoungerYou’re right, it’s not doing anything. The problem is, the webserver isn’t reading the ASP as ASP, it’s reading it all as HTML, because you get the ASP code when you view the source, instead of what the ASP code is supposed to kick out.
Does your hosting service support ASP? (What’s you’re hosting service?)
-
WSDrew
AskWoody LoungerWow, the first response to my ‘Star Post’ I posted weeks ago!
I feel all giddy now.
As to your question, you don’t have to do anything with it. Just save/upload it to your website. Then put a link on a page so you can get to it. (Or get to it manually http://mysite/sitemap.asp). You can put the .asp file anywhere on your site, it doesn’t matter, and it will display the sitemap of your site (based on your Frontpages Navigation.)
It does allow three different ways to display. Once you have uploaded it, and viewed it, you can change the hyperlink that directs you to it to have ?View=AllBullets or ?View=ChildBullets these are called ‘QueryString’s. The ASP file reads it. If it doesn’t see any, it defaults to just using Indentions (?View=Indented does that too), if it does see a value for ‘View’, it uses the method requested.
Let me know if this doesn’t answer you question.
-
WSDrew
AskWoody LoungerMaybe we should startup a new retail chain….How about ‘Hogs and Hard Drives’. Everything that one needs to hit the open road, or surf the information highway!
-
WSDrew
AskWoody LoungerHey no problem. It’s a danger with technology lately. They start making all of these ‘smart’ components, so it seems to be as simple as plugging in your mouse, but their documentation usually gets into the technical stuff at a high ‘techie’ level, so if you need to customize anything, if you don’t have a PhD in networking, you’re up a creek!
Did you try pluggin in Lan to Lan?
-
WSDrew
AskWoody LoungerI had the same problem. I was just guessing that it would work like that. My sample should work fine though. What I did in my sample, is on the OnClick Event of the first combobox, where you refresh the second one, after you refresh it, set it to 0. 0 should not be a Department ID (unless you get into Billions of Departments, then it can roll over to 0). Then, in the query, instead of using IsNull, just check if it equals 0. (Take a look at the sample I posted, it all works in there.)
Glad to help. A little warning on the tutorial, the grammar gets pretty bad sometimes, I just haven’t had time to go back and edit it.
-
WSDrew
AskWoody LoungerHey, just saw your profile says you live in Dallas. I work in Dallas, near Garland. Next time you need an IDE cable, give me a holler….I’ll give you one for free!
-
WSDrew
AskWoody LoungerHere’s an example of how to do this:
Dim strTemp as String
Dim f as Long
Dim strData as String
strTemp=Dir(“C:MyFolder*.txt”)
Do until strTemp=””
f=FreeFile
Open “C:MyFolder” & strTemp For Binary Access Read As f
strData=Space(LOF(f))
Get f,,strData
ProcessTextFileData strData
Close f
Kill “C:MyFolder” & strTemp
strTemp=Dir
LoopIn my example above, ProcessTextFileData would be a function you write, with an string argument that this example would feed it. This example will run through every .txt file within the folder a folder on the C: drive root called ‘MyFolder’. It also deletes the file once it is processed (the Kill statement), of course you may want your ‘processing’ function to return true or false as to whether it worked or not, before you delete the file.
Hope this helps.
-
WSDrew
AskWoody LoungerIf you need it run regardless of whether or not someone is logged in, I recommend the NTSRV.OCX, which is an activeX control that let’s you turn your VB program into an NT Service.
-
WSDrew
AskWoody LoungerDoes your server boot up at least? If so, I recommend trying Windows Update to install the latest updates. I say this because the method I use whenever I install an OS on a machine, I install everything from the CD, and then go to Windows Update and download all applicable updates. I have only had one issue with using Windows Update, and that was an oddball video driver problem, on a Multi-monitor system.
Drew
-
WSDrew
AskWoody LoungerOkay, let’s say your first router is 192.168.0.1, with a subnet of 255.255.255.0. And then let’s say you have two pc’s on there, 192.168.0.2 and .3. Both of those IP Addresses have a gateway of 192.168.0.1. If you remove the gateway setting, both PC’s on that subnet will still be able to see each other. Why? Because the gateway is only used when an IP Address can’t be found on their subnet. Thus removing the gateway will prevent them from seeing the internet, since they don’t know where to go, to find IP Addresses off of their subnet.
Now, let’s take the second router, you said it’s 192.168.2.2 with a subnet of 255.255.255.0. Let’s put two PC’s on it’s LAN ports, with 192.168.2.3 and .4. Everything above applies, except their gateway is 192.168.2.2. Now plug the second router’s WAN into the first router’s LAN. Nothing will see each other, right? Well, sort of. When 192.168.2.3 is asked to find 192.168.0.2, it goes to it’s gateway (the second router) at 192.168.2.2 and the router takes a look at what is on the other end. IT SEES 192.168.0.2, so it should send the packets to that machine. However, that machine is getting packets with a return address of 192.168.2.3, which it doesn’t see on it’s subnet. So when it goes to return the packets, it is going to send them to 192.168.0.1, which is IT’S Gateway (router). 192.168.0.1 is not going to see 192.168.2.3 on it’s WAN, because it’s WAN is connected to the internet, not the other side of the 192.168.2.2 router.
That means you may be getting communication one way, but not the other. If you have a sniffer, or are running Windows 2000 or XP, you should be able to tell if packets are at least coming from router number 2’s subnet into the first routers subnet.
Now, in theory, all of your computers should be able to see the internet, however, the computers behind the second router may have the same return route issue, that 192.168.0.1 doesn’t know that 192.168.2.2 is a router.
Now, if you don’t use the router as a router, and instead connect one of it’s Lan ports to the first router’s LAN ports, you should be able to get everything to communicate. However, you may have to use a crossover cable to get this to work.
I don’t know your routers personally, but you may be able to tell the first router that it has a router on it’s LAN side. That would get everything working too, but to be honest, I don’t know how to do that on any router at the moment.
-
WSDrew
AskWoody LoungerYou too.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Upgrade from Windows 10 to 11
by
Holdsworth8
1 hour, 32 minutes ago -
Microsoft : AI-powered deception: Emerging fraud threats and countermeasures
by
Alex5723
4 hours, 22 minutes ago -
0patch
by
WSjcgc50
50 minutes ago -
Devices might encounter blue screen exception with the recent Windows updates
by
Susan Bradley
1 hour, 28 minutes ago -
Windows 11 Insider Preview Build 22631.5261 (23H2) released to Release Preview
by
joep517
7 hours, 21 minutes ago -
Problem opening image attachments
by
RobertG
8 hours, 56 minutes ago -
advice for setting up a new windows computer
by
routtco1001
23 hours, 41 minutes ago -
It’s Identity Theft Day!
by
Susan Bradley
3 hours, 58 minutes ago -
Android 15 require minimum 32GB of storage
by
Alex5723
1 day, 4 hours ago -
Mac Mini 2018, iPhone 6s 2015 Are Now Vintage
by
Alex5723
1 day, 4 hours ago -
Hertz says hackers stole customer credit card and driver’s license data
by
Alex5723
1 day, 5 hours ago -
Firefox became sluggish
by
Rick Corbett
1 day, 2 hours ago -
Windows 10 Build 19045.5794 (22H2) to Release Preview Channel
by
joep517
1 day, 9 hours ago -
Windows 11 Insider Preview Build 22635.5235 (23H2) released to BETA
by
joep517
1 day, 9 hours ago -
A Funny Thing Happened on the Way to the Forum
by
bbearren
6 hours, 48 minutes ago -
Download speeds only 0.3Mbps after 24H2 upgrade on WiFi and Ethernet
by
John
1 hour, 22 minutes ago -
T-Mobile 5G Wireless Internet
by
WSmmi16
7 hours, 29 minutes ago -
Clock missing above calendar in Windows 10
by
WSCape Sand
8 hours, 41 minutes ago -
Formula to Calculate Q1, Q2, Q3, or Q4 of the Year?
by
WSJon5
2 days ago -
The time has come for AI-generated art
by
Catherine Barrett
1 day, 4 hours ago -
Hackers are using two-factor authentication to infect you
by
B. Livingston
1 day, 14 hours ago -
23 and you
by
Max Stul Oppenheimer
1 day, 21 hours ago -
April’s deluge of patches
by
Susan Bradley
1 hour, 14 minutes ago -
Windows 11 Windows Updater question
by
Tex265
1 hour, 36 minutes ago -
Key, Key, my kingdom for a Key!
by
RetiredGeek
3 days, 6 hours ago -
Registry Patches for Windows 10
by
Drcard:))
3 days, 10 hours ago -
Cannot get line length to NOT wrap in Outlining in Word 365
by
CWBillow
2 days, 17 hours ago -
DDU (Display Driver Uninstaller) updates
by
Alex5723
2 days, 2 hours ago -
Align objects on a OneNote page
by
CWBillow
3 days, 16 hours ago -
OneNote Send To button?
by
CWBillow
3 days, 16 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.