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 TouchToneTommy 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: edpatterson
  • Content: Threads
  • Order by date
  1. edpatterson

    Order of interpretation (couldn't spell presidence)

    I am learning/trying to learn CSS from a book, Beginning CSS Web Development ... It eludes to the following /* I saved this as container.css */ /* Define styling of our reusable box */ .box { margin: 10px; padding: 20px; border: 1px solid #000; } /* Make text red only for paragraphs...
  2. edpatterson

    How do I get timezone and/or UTC offset

    Short version I need to be able to get the current UTC offset from Windows XP machines. Long version I am parsing Unix log files which of course use the Unix Epoch and UTC. 1241639502.989 - ( 60 * 60 * 5) = 5/6/2009 2:51:42 PM via dateadd() unless of course it is daylight savings time, then it...
  3. edpatterson

    logrotate not working for me

    Ubuntu Server 8.10 I am trying to get the log files from the 2nd instance of squid to rotate. More on that later. When it failed I decided to test my config files so I did the following, as root. Created a log file ls /bin > /tmp/log/bin.log Created a config file, rotate /tmp/log/*,log {...
  4. edpatterson

    embed a link in a select field

    I am trying to duplicate the Nutrition Facts label using HTML. I have the basic layout covered and now want to be able to add a new unit of measure of it is not listed. I have <tr><td>Serving Size</td> <td><input type='text' name='servingCount'></td> <td> <select name='servingName'>...
  5. edpatterson

    Vista will not return after screen saver

    Sigh, what an incredible piece of crap. HP Pavilion db6000 2 gig ram 160 gig hdd Windows Vista Home Premium The screen goes black after moving the mouse if any of the stock screen savers come up for more than 1 minute. As in all I get is a black screen with a white pointer. Power settings are...
  6. edpatterson

    RDP refuses to work

    Dell System 116B Desktop, Vista Home Premium, Wired HP Pavilion Laptop, Vista Home Premium, Wireless Compaq Presario Laptop, Vista Home Premium, Wireless Compaq Presario Desktop, Vista Home Basic, Wired Dell Latitude, XP Pro, Wireless D-Link DGL-4300 I have turned off the firewall & antivirus...
  7. edpatterson

    embed a query in a query?

    I have these tables, sorry, old joke. Is something like the following possible: update table requests set listid = {output of "select listid from lists where listname = 'blacklisted'") and requestid = 89; or do I have to make 2 separate queries? Ed
  8. edpatterson

    update database based upon html table

    The more I search, the more confused I get... I would like to present a user with data laid out in a HTML table. The original data is in a MySQL database. Each row in the table contains: (urlID)(listName)(urlName)(urlDesc) The user will only be able to change (listName) field and there could...
  9. edpatterson

    Forest trust, administrative rights?

    I need to establish a two way forest trust so users in one forest can access resources in the other and vice versa. I do not want administrators from the other forest to have administrative rights across the trust. Is this possible? I assume an enterprise admin for each forest will be needed...
  10. edpatterson

    Connect to Access from Ubuntu

    Greetings, I have BGInfo saving user information to an Access database on a Windows server and Squid running on a Ubuntu server. I would like to pull user names from the Access database based upon the IP Address used to access Squid. All of the ODBC examples I can find are for either Unix to...
  11. edpatterson

    vb.net 2008 express will not compile under vista

    Sigh, I replaced a hard drive, reinstalled vb.net 2008 express and now nothing will compile. I have uninstalled and reinstalled. Error while trying to run project: Could not load file "Hello World" or one of its dependencies. The given assemble name or codebase was invalid. (Exception from...
  12. edpatterson

    Limiting software install via GPO and WMI Filter

    I am looking for a way to keep a GPO from being applied to machines with a certain software package installed. So far I am only able to target machines with a specific product installed but not the other way around. Targets with Adobe Acrobat Root\cimv2;Select * from Win32_Product where name =...
  13. edpatterson

    Recovering from an exception from within a loop

    This was not copied from the IDE but entered directly into the form. It should be close enough to get the point across. :source.txt: machine1 machine2 machine3 machine4 machine3 is not in DNS dim sr as StreamReader = New StreamReader("c:\source.txt") dim strComputer as Sting = sting.empty...
  14. edpatterson

    Easiest way to add local administrators

    Sigh, now that I have the log file working... :-) I need to add a local administrator to about 400 machines. I want to do this with out adding a login script for the machines via GPO. PsTools immediately came to mind. I am reading the list of machines from a text file; Using...
  15. edpatterson

    day(now).tostring.padleft(2,&quot;0&quot;) not working

    vb.net 2008 express I am getting: 'day' is a type and can not be used as an expression. month() works as expected. I swear this worked in previous versions. I would like it for naming log files strFileName = year(now).tostring & _ month(now).tostring.padleft(2,"0") & _...
  16. edpatterson

    table design suggestions

    I would like to create a simple database to track administrators of local machines. So far I have a collection of text files which contains the administrators. Example: Machine1.txt Administrator Helpdesk Imaging Machine2.txt Administrator Helpdesk Smith-John Each text file is...
  17. edpatterson

    CheckBoxList - How to select all

    How would I check all items in a checkboxlist? For each <what> in checkboxlist.items ? Next Nothing I have tried works... Thanks, Ed
  18. edpatterson

    share friendly replacement for io.directory.move

    Is there a functionally equivalent for directory.move using share names? directory.move(\\server\source\folder, \\server\destination\folder) throws a 'Source and destination path must have identical roots. Move will not work across volumes.' The shares are on the same volume but the app has no...
  19. edpatterson

    Deploying apps from vb.ner 2008 express

    What is involved in deploying an application written to vb.net 2008 express to some place other than %userprofile%\local settings\apps\2.0\random-name\... I would like them to end up in the Program Files directory :-) (where did the preview post button go?) DING, found it... Thanks, Ed
  20. edpatterson

    OleDBReader and count(*) - No data exists for the row/column.

    Database for testing consists of table1 with 20 records. I figured since dr.hasrows returned true that dr.item(0) would contain the count. Just for grins I tried dr.item(1) as well thinking that (0) might contain a null column name. No combination of []'s or '''s makes any difference. Ideas...

Part and Inventory Search

Back
Top