Hello,
I am trying to figure out whether one of the printers from the print server had been mapped already using code below, but I am not having too much luck. Can you help?
NOTE: I don’t want to use “For Each objPrinter in colPrinters” statement because I don’t want to iterate through every...
I have a database with two tables (Table 1 called: "DealDocs" and Table 2 called: "TRInvestmentListing"). There are several fields that match in each table, but most of them are not (ex: field "Entity, InvestID, description" exist in both tables, field "Cusip" only exiists in...
Hello,
I know that by default in MS Exchange 2003 Domain Admins and Enterprise Admins are exchange 2003 explicitly denied access to "Full mailbox access" My question is where is this explicit setting set?
I know how to overwrite it on server, information store and mailbox levels, but I want...
Hello,
We have about 200 computers that get their IP addresses via DHCP. All computers have rendomly assighned names during initial installation. I recently noticed that one of the computers on the network is hogging several DHCP IP addresses. How can I find that computer? Can I make network...
I am letting users add some information into MySQL database via forms. I have set one of the fields in the database as"unique" to prevent duplicate records. What I want to do is to display message to the user when he/she tries to add the same record twice(i.e submit ethe same form with the same...
I am creating a web site for the company that I work for. We have a Windows 2000 Server running with AD and Exchange 2000. Now I want to give some of the people that are not part of our company access to our web site. How can I do it? How can I set them up? I tried set those people as contacts...
Hello,
I have a form that I am submiting. What I want is to call "window.location.replace" when form is submited to prevent users from going back to the form by pressing back button. Below is the code I use, however when I submit the form I can still use back button to go the form...
I am using the following code to search throught the "user's names" in the dropdown box. In other words when I start typing user name it automatically bring it up. Everything works fine, but if I press on the up or down arrow on the keyboard while dropdown box selected, the script...
I am collecting data from the form. Before I put collected data That I got from $_POST['array']) into a MySQL database I want to convert one of the values (let's say value 1 in the array) in the array to upper case. How can it be done?
Below is the snippet of my code that I use to put data into...
I am designing an Intranet application. In my application I need the focus always be on input text field. I also need to disable the context menu. I am able to achieve all that with the code below. However, when I right click anywhere on the page I loose focus on my input field. The only way I...
My backups run every day and generate a folder(directory) with *.sql files in it. How can I go through a spesific directory and delete all folders (with contents) contained in this directory that are older then 10 days (for example) from today's date.
Thanks.
Is it possible to get value of the "document.lastModified" function from a file located in the same directory that the original? In other words let's say I have 3 files: index.htm, one.htm, two.htm. all in the same directory on the server. When I open my index.htm file is it possible...
Hello,
I am retrieving data from the database and displaying it inside HTML table. What I want to do is insert a page break every after every sixth row of the table (i.e. page break after row 6, 12, 18, etc.) by doing something like this: <tr style="page-break-after: always;">. Is it...
I am retreaving my data from the MySQL database and display it inside HTML table. What I need to do is display every sixth row of the table on the new page (when user prints it). I know that it is possible with CSS if I do something like this: <tr style=\"page-break-after: always;\">...
Hello,
I know that I can use the following function to initiate a "Print Preview" function in IE6, but is it posible to use the same function on the frameset. In other words when this function is used on the pages with frames it shows the whole frameset. Is it possible to "Print...
How can I access function located inside an iFrame. In other words, I have a page with an iframe in it. the iframe has a function. the main page has a button. What I want to do is when user presses on the button the function inside an iframe should execute.
I tried to accesess an iframe the...
On my site I have a form that is generated automatically from database. What I want is when user submits the form to take users results and display them inside the table.
I know I can get all results from the form from $_POSt but how can I loop through them to insert the info into a table. Can...
I am generating data from database and displaying it inside input text boxes (for users to make some changes). What I need to do is when user presses "submit" button display all of the results inside the table on the new opened page. How can I do it?
Here is the example of what I am...
Let's say I have a database that has an "ID" field and "Image" field. When I display an image on the page instead of showing <img src="myimage.jpg"> I want to show something like <img src="image.php?ID=1234>, where "1234" corresponds to the id of an...
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.