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 waytech2003

  1. waytech2003

    Combining RewriteRules

    After working with the many examples that you gave me, I found that this works... RewriteRule ^(.+)\.html?$ /$1.php [R=301,NC] RewriteRule ^NTrak/(.+)$ /$1 [R=301,NC] Thanks Olaf for your help.
  2. waytech2003

    Combining RewriteRules

    Thanks, I will try this later today. One question I still have. Can I run two rules one after the other. Would this be the best way? These would say in all requests that have "/NTrak/" I want it gone. This would be every url, be it for an htm, pdf, jpg, etc. Then the next rule would just...
  3. waytech2003

    Combining RewriteRules

    sorry it's www.domain.com/NTrak/sub1/index.htm becomes www.domain.com/index.php
  4. waytech2003

    Combining RewriteRules

    RewriteRule ^.+\/(.*)\.htm$ /$1.php [R=301,NC] This is stripping all subdirectories. so www.domain.com/NTrak/sub1/index.htm becomes www.domain.com/index.htm getting close... This is on a hosting service that I do not have access to apache logs. One other thing, can HTML and HTM both be in...
  5. waytech2003

    Combining RewriteRules

    I now have this... Options +FollowSymlinks RewriteEngine on RewriteRule ^[.+/](.*)\.htm$ http://domain.com/$1.php [R=301,NC] This does not do anything to url, including not stripping "NTrak
  6. waytech2003

    Combining RewriteRules

    I now have this Options +FollowSymlinks RewriteEngine on RewriteRule ^NTrak/(.*)$ /$1 [R=301,NC] RewriteRule ^[.+/](.*)\.htm$ http://www.domain.com$1.php [R=301,NC] This strips the "NTrak" from the url, but does nothing with the htm to php part. I think the problem is running two rules, but I...
  7. waytech2003

    Combining RewriteRules

    Let me start by saying I know next to nothing about servers and htaccess. I am trying to combine two major site changes by using htaccess. This is so all old bookmarks and Search engine links don't break. First off all the htm and html files have been changed to php. Secondly the website was...
  8. waytech2003

    Detect if scrollbar is visible on multicolumn listbox

    That works great, thank you
  9. waytech2003

    Detect if scrollbar is visible on multicolumn listbox

    I have a listbox on a form and have the multicolumn set to true. I would like to know if and when the horizontal scrollbar becomes visible when I am adding items to it in code. I can not seem to find an answer to this. Seems to me that there would be property, ScrollbarVisible, to test. Dim...
  10. waytech2003

    JavaScript in your web browser

    I don't know the reason, but I have IE11 and when I tell it to run as IE8 I get that same message. Must be something they are testing for that fails to pass in IE8
  11. waytech2003

    Referencing a projects Connection Object

    You can get the info you need from using MY.SETTINGS Example Dim CN as string CN = My.Settings."YourConnectionStringHere
  12. waytech2003

    Single dim array: Remove empty element

    Would this work for you? Dim N As Integer = ItemToRemove 'assumes N is the position In Array to remove For i As Integer = N To UBound(YourArray) - 1 YourArray(i) = YourArray(i + 1) Next ReDim Preserve YourArray(UBound(YourArray) - 1)
  13. waytech2003

    BringToFront equivalent when using DrawPath

    jebenson Your idea seems to do what I need at this time. Thanks again
  14. waytech2003

    BringToFront equivalent when using DrawPath

    Thanks jebenson, I will look into that idea.
  15. waytech2003

    BringToFront equivalent when using DrawPath

    Just learning VB2010 after many years in VB6. I was wondering if there is a way to move a System.Drawing.Graphic on top of another after they have been drawn. All I can conclude at this time is that they stay in the order that they are created. I have an array of graphics. My drawing is done...

Part and Inventory Search

Back
Top