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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by codeWarrior456

  1. codeWarrior456

    Select distinct attributes

    I have the following XML sample: <?xml version="1.0" encoding="utf-8" ?> <Sample> <Parent> <Child> <Key value="0"/> </Child> <Child> <Key value="1"/> </Child> </Parent> <Parent> <Child> <Key value="0"/>...
  2. codeWarrior456

    Cookie Counter Problem

    I am trying to use a cookie based counter on my website to keep my counter value from increasing if the user hits the refresh button. However, my setcookie function is not working properly and I can't figure out why. What I have determined is that it will work outside of my if block, but not...
  3. codeWarrior456

    Unsafe Attachments in Outlook 2000

    I found this link helpful for Office 2000; http://support.microsoft.com/default.aspx?scid=kb;EN-US;318515
  4. codeWarrior456

    Window.Open Question

    Can someone show me how to use the window.open function with VBscript and a hyperlink? I've read through the documentation on Microsoft's site, but for some reason I can't get it to work. Thanks for the help.
  5. codeWarrior456

    Style Question

    I am referring to using the style tag within the tag itself, though now I think I've got it figured out now. msgbox document.all.item(&quot;divTest&quot;).style.display For some reason this wasn't working earlier. I'm guessing there was a problem with one of my style tags or something.
  6. codeWarrior456

    Style Question

    How can I get a message box to display the style of an object on my page. For example, if I want to check the style of a div on the page and display it in a message box, how could this be done? Thanks in advance.
  7. codeWarrior456

    Return Column Names from a Table

    Is there a way to write a query that just returns the names of all the columns in a given table? If so, how can this be done? Thanks for your help in advance.
  8. codeWarrior456

    Force cell wrapping?

    Hey guys, thanks for all the suggestions. I finally figured out a way that I could get the word wrap to work. You can use the CSS style style=&quot;word-wrap:break-word&quot;. This worked really well for me. You can check out documentation on this at Microsoft's site. Here is the link...
  9. codeWarrior456

    Force cell wrapping?

    Dwarfthrower, Are you suggesting to examine every comment field and then chop it up accordingly, or do you have a better way in mind. There are several comments on this page/report and processing time would be slowed dramatically if I had to examine every comment field.
  10. codeWarrior456

    Get NT/2000 User Name?

    What language are you using? If you use ASP you could try <%=Request.ServerVariables(&quot;LOGON_USER&quot;)%>
  11. codeWarrior456

    Force cell wrapping?

    Greedyzebra, your suggestion didn't seem to work. Here is an example of the scenario I have: <%@ Language=VBScript %> <% Option Explicit %> <% Response.Buffer = True %> <HTML> <HEAD> <TITLE>Test Page</TITLE> </HEAD> <% Dim strComment strComment = &quot;AComment&quot; %> <BODY> <TABLE...
  12. codeWarrior456

    Distinguishing Weekends and Weekdays.

    You can use the Weekday() function to do this. It takes a date and returns a value between 1 and 7 to indicated the day of the week. Sunday = 1 and so forth.
  13. codeWarrior456

    How to do a Setfocus in ASP page

    VBScript does have SetFocus, but you can use object.Focus in place of this just like you can in JavaScript.
  14. codeWarrior456

    Force cell wrapping?

    Does anyone know how to force cell wrapping to occur? Here is the problem. I have an ASP page with a table on it. I need the cells in the table to be an exact width so that everything on the page lines up correctly. The problem that I am having though is that the table gets all of its values...

Part and Inventory Search

Back
Top