Hi All,
This is for a Windows setup using AD.
I'm using VBscript in a HTA to write a small app that will allow admins a quick way to view a sites DHCP server, list all the scopes and edit the DNS servers issued out.
Its coming on quite well and I'm around 80% done. But I have this gut feeling I'm doing it the wrong and hard way.
The first screen shows a drop down list of all the sites. Taken direct from AD. Select a site and it will then grab the information needed to populate an HTML table showing all the scopes the sites DHCP server has. Including what DNS servers are currently issued out. Next to each scope is an edit button. When this is clicked a new window opens so you can then edit that scope. What I want to know is, how would you go about opening up a new window so that you can pass data back and forth? Also, how about a final window opened from the second window?
I have done it, but OMFG... my head hurts as its not pretty and formatting is a nightmare. But I'm now having problems passing data around and am writing it out to text files to read back in.
So, over to you guys and girls to show me the error of my ways. If you really want to see code, then please ask. I wont post it now as it really is a mess.
Thanks in advance.
This is for a Windows setup using AD.
I'm using VBscript in a HTA to write a small app that will allow admins a quick way to view a sites DHCP server, list all the scopes and edit the DNS servers issued out.
Its coming on quite well and I'm around 80% done. But I have this gut feeling I'm doing it the wrong and hard way.
The first screen shows a drop down list of all the sites. Taken direct from AD. Select a site and it will then grab the information needed to populate an HTML table showing all the scopes the sites DHCP server has. Including what DNS servers are currently issued out. Next to each scope is an edit button. When this is clicked a new window opens so you can then edit that scope. What I want to know is, how would you go about opening up a new window so that you can pass data back and forth? Also, how about a final window opened from the second window?
I have done it, but OMFG... my head hurts as its not pretty and formatting is a nightmare. But I'm now having problems passing data around and am writing it out to text files to read back in.
So, over to you guys and girls to show me the error of my ways. If you really want to see code, then please ask. I wont post it now as it really is a mess.
Thanks in advance.