Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: sharapov
  • Content: Threads
  • Order by date
  1. sharapov

    Checking existance of printer in a collection/array

    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...
  2. sharapov

    Update Records in a table from another table

    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...
  3. sharapov

    Where in Exchange 2003 does "Allow Full Mailbox Access" is set?

    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...
  4. sharapov

    Finding particular computer on the network

    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...
  5. sharapov

    Display error message when user tries to add duplicate record into db

    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...
  6. sharapov

    Let Users that are not in domain access secure website

    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...
  7. sharapov

    window.location.replace doesn't work?

    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...
  8. sharapov

    Sarching through names inside dropdown box.

    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...
  9. sharapov

    Opening modal window and passing variable to it to use in php code

    Let's say I'm generating a modal window with the following code: function doit(){ window.showModalDialog("index.php","","dialogHeight: 300px; dialogWidth: 300px; dialogTop: px; dialogLeft: px; edge: Raised; center: Yes; help: No; resizable: No; status: No;"); }...
  10. sharapov

    Converting one value in array to UPPER case

    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...
  11. sharapov

    Keep input element focused after right click.

    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...
  12. sharapov

    Deleting folders that are older then X Days

    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.
  13. sharapov

    Getting value of "lastModified" function from remote file

    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...
  14. sharapov

    Page Break and Dynamic Table

    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=&quot;page-break-after: always;&quot;>. Is it...
  15. sharapov

    Page Break, Table and MySQL

    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=\&quot;page-break-after: always;\&quot;>...
  16. sharapov

    Print Preview function and frames

    Hello, I know that I can use the following function to initiate a &quot;Print Preview&quot; 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 &quot;Print...
  17. sharapov

    Access function inside an iFrame

    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...
  18. sharapov

    Getting values from $_POST and putting them into table

    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...
  19. sharapov

    Display values of the form inside the table on the new page

    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 &quot;submit&quot; 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...
  20. sharapov

    Displaying images without showing actual image file name?

    Let's say I have a database that has an &quot;ID&quot; field and &quot;Image&quot; field. When I display an image on the page instead of showing <img src=&quot;myimage.jpg&quot;> I want to show something like <img src=&quot;image.php?ID=1234>, where &quot;1234&quot; corresponds to the id of an...

Part and Inventory Search

Back
Top