Question: I am trying to make a webpage which scrolls content, and when it reaches the bottom of the content continue to scroll the bottom off the page, while scrolling the top back on - so the bottom and the top will be on screen at the same time. Like the `<marquee>` tag, but vertically.

Only stuff I've managed to think up so far is (on load I use `setInterval()` to run this every 75ms)

```
function doScroll() {

window.scrollBy(0,1);

if($(window).scrollTop() + $(window).height() == $(document).height()) {
    window.scrollTo(0,0);   
}

}

```

Answer: 
ah vb6 :) it's been a long time....

basically, you can't debug .NET code within VB6 IDE.

However, nothing stops you from creating a .NET test project to unit test the .NET dll. *And that's what you should have done prior to reference it in VB6.*

If you need to track down a specific issue, another way you can use is to write debugging infos to a file/database/event view/... when the dll is in debug mode, like which functions were called, parameters, stack trace...
This might not be correct, but I believe VB 2010 uses what? .NET 4.0, right? VB6 was created in like...1994 I believe, so it would be <= .NET 1.0. The binaries would more than likely be incompatible.