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 Mike Lewis 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: *

  1. moron3

    SqlConnection error

    When I use the Visual Studio 2010 Datasource designer to connect to my SQL server remotely everything works fine. However, if I try to connect programatically from the same project using this code (sensitive info X'd out): SqlConnection conn = new SqlConnection()...
  2. moron3

    some issues with File IO in VB.NET compared to VB6

    I'm moving to VB.NET after using VB6 for quite a few years. File operations in VB.NET seem to have some drawbacks. In VB6 you can use an array of anything- bytes or structures for a buffer Buffer = String(10000," ") Get #1, Buffer and if the array is larger than the file it will just read...
  3. moron3

    redirect to another page if page cannot be displayed in iframe

    BillyRay, I tried what you said but if the page cannot be displayed such as if the page is not found it triggers the onload event immediately. But if I could check the locationName at the onload event and it was blank, I'd know the page hadn't loaded. Do you know how to check the locationName...
  4. moron3

    redirect to another page if page cannot be displayed in iframe

    If the target url that the iframe is directed to is unavailable, i'd like to point it to a different page. I think you could give the page time to load(and in this case I could wait 10 seconds or more because the iframe is far down on a very long page) then check the locationName of that...
  5. moron3

    redirect to another page if page cannot be displayed in iframe

    Is it possible to write a script that will redirect to a different page(or go back to the same page) if the intended forwarded to page cannot be displayed, such as if the server is down or the page is not there anymore? The script will be in a page that will be displayed in an iframe.
  6. moron3

    pictures don't show up on back button press

    The below code is used to load pictures on a webpage in the desired order. It works great except when you hit the Back button in internet explorer 8 to go back to that page only the first image is still displayed, the rest of the images just show that little box you see when a picture hasn't...
  7. moron3

    pre-load YouTube player

    I have a site where I'm preloading some images and then redirecting to the main site. I also need to preload a YouTube movie, not the whole movie, just preload the player with the screenshot and the reader can hit play to watch it. couldn't find much for tutorials on this...
  8. moron3

    VB program won't terminate after uploading by FTP

    Like I said it happens whatever method of FTP I use, here is one example. It's the ALLApi Guide example. The FTP calls return values saying they were successful. I close the connection, and close the program, but it's still there when you CTRL-ALT-DEL. I've tried running the compiled version of...
  9. moron3

    VB program won't terminate after uploading by FTP

    No matter how I try to FTP from a VB program - either by using the Internet Transfer Control or by calling Win32 functions like FTPPutFile, the upload works fine but the program won't terminate. I can close the program fine but it's still running in the background and I have to CTRL-ALT-DEL to...
  10. moron3

    Form won't allow other forms to change properties of its objects

    I created a single document interface project using the VB application wizard. The main form it created- frmMain, doesn't let other forms change the properties of its objects. Other forms in the project can change the properties of each other's objects. I don't see any Form properties that...
  11. moron3

    Mozilla div overlap problem

    I have this problem a lot: my footers will overlap up into the main div of my website in Mozilla but work fine in IE. example: It looks like something like this in IE (the correct way): text at bottom of main div text of first line of footer But like this in Mozilla: text of first line of...
  12. moron3

    stretch a background image to fit a div

    i see... i've tried a few examples of this i found on the web but it's not working can you write me an example?
  13. moron3

    stretch a background image to fit a div

    how do you stretch a background image to fit a div?
  14. moron3

    multi-line hyperlink mouseover

    I have a list of links to blog entries with line breaks between them in the sidebar of my website like this: BlogEntry1 BlogEntry2 BlogEntry3 etc... But the blog entries are chronological so I want the list to be all one link to BlogEntry1 I'm trying to make the whole list underline when...
  15. moron3

    vertically aligned table problem

    ok I got. I had a headache and didn't see the height/width values below it. *duh*
  16. moron3

    vertically aligned table problem

    that looks good and works good but I don't see how to make the container bigger. If I try to put a bigger picture in there it throws it all off. looks like there's absolute height/width values like this margin-bottom:-13.75em; /* half of container's height */ which I don't understand that you...
  17. moron3

    vertically aligned table problem

    The code below aligns a table exactly how I want and works in all browsers. The problem is when I open a link from that page to another page that uses the exact same method, the top of the table on that page will be at the very top of the page, not vertically aligned. If you hit the brower's...

Part and Inventory Search

Back
Top