I would like to add a snap in via vbscript and I have been having a problem getting the snap in to add to the console. It will be run in a Windows 7 environment. If someone could have a look see and direct me in the right direction I would be most grateful. Thanks.
'Elevated privileges start...
Hi I manage a fairly large school and I want to use Icacls to set permissions on quite a number of our machines that are running XP service pack 3. I would like to set the administrative tools folder that is in the start menu so the students cannot open the folder but only admins can. I am...
@jpadie
OK I went back and tried what you suggested. I fully copied your full code from above and replaced line 66 with elem.remove(i); I have tested both on a Mac with Safari and on Windows XP with IE. Both with mixed results. So far neither will reload the asset number for the room...
This is being run and tested in a IE environment. No other options.
That is why I am here.... 8-) Generally I don't program, I am a system admin.
Thanks again for your help though.
d
@jpadie try reselecting room 410 there should only be one asset number associated with that room. Try it you will find that it returns the same list of asset numbers no matter what room you select.
@Vacunita
It does but there is a trailing comma, not sure if that will be an issue.
Couple...
Opps... should have been this.
<?php
//database settings
require('db.php');
//Connect to MySQL Server
$connection = mysql_connect($dbhost, $dbuser, $dbpass);
//Select Database
$db = mysql_select_db($dbname) or die(mysql_error());
$value=$_GET['ddvalue'];
$sql="SELECT * FROM...
@ Vacunita and Jpadie Thanks so much for your help. And sorry for being slow on the uptake.
Jpadie I did also look at the w3schools example before coming here as well of many pre-made examples on the web which did not work. I tend to learn better when I have to "struggle" with a new concept...
OK it is clear to me I don't understand. I have placed the ajax code within the function populate_dropdwn2(dd1value) brackets in the Script section of the header. Also I have created a separate file called combo_look_up.php with the PHP code that was working in terms of populating a combo box...
as in the code bracketed below?
Not sure that I did this right but it works in php correctly it just is not activated from the change in the first combobox.
So this is stored in the header with the rest of the java script as in the code below?
<?PHP
//database settings...
OK I have been working on this and have the PHP an MySQL part of the script working and need some direction with the javascript. I have a temp variable in the second combobox for testing.
Are you talking about the AJAX code above or the PHP to load the second combobox when you are talking...
Wow! I did not realize how evolved this is. I do hope I get this far and will be working toward that end. Thanks SO MUCH for the lesson and very detailed reply!!. Will be working on this over the weekend and I will post any questions that come up in the process. Thanks again.
d
Hi how can I dynamically load a combo box from a mysql db? I need to load one combo box with room numbers and then when a room number is selected it will display asset numbers of items in that room in a second combo box. I have seen various AJAX code snippets but I have not found any examples...
Sorry for the newbie question but I am just learning how to script with vbscript. I have the need to delete/edit/andor add keys to the registry. I can seem to figure out how to do this. I am using the following as a test script.
Option Explicit
Dim WshShell, KEY1
Set WshShell =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.