Advanced Forum Search Results
-
Well, since I couldn't figure out how to pass a parameter to a vbscript function directly with c# I ended up passing it to a javascript function which then passed it to the vbscript. Not sure if this is ideal but it works!
-
Thanks for getting back to me. My VBscript is working fine, I'm just not sure how to pass in a parameter from C#.
HtmlPage.Window.Invoke("OpenFile", new object[0]); will invoke the function, but not pass in a parameter.
So what I really need to know is how do I invoke and then pass a string parameter to a VBscript ...
-
I'm making a Silverlight app that lives on a DVD. For reasons I won't get into I have to use VBscript to open files. This is the first VBscript I've ever written so I could use a little help.
Here's the code:
Sub OpenZip ...
-
I'm making a SL resource kit, which is basically a bunch of links to files (pdf, docx, ppt, etc). One version lives on a server and one lives on a dvd. The server version is fine but the dvd version is having a lot of problems.
What I'm doing to get around the fact that SL is pretty much useless if it's not on a server is to just use ...
-
Ok - I see what causes it to happen. If the user scrolls down the page clicks a button and the result isn't long enough to have a scrollbar, the next time it is long enough the scrollbar will not return to top position. So, if you scroll down click, there's a scrollbar correctly in it's top position. If you scroll down, click and ...
-
I have a ListBox that is in a ScrollViewer. The ListBox is constantly having it's ItemSource changed so it always varies in length. Initially I was using the default scrollbar from the listbox, but I didn't know how to make it return to the top when the itemsource changed (so if the user was scrolled all the way to the bottom and changed ...
-
Cast the sender as a menuList? I'm not sure how that's done.
When I set the breakpoint it says: Message="Object reference not set to an instance of an object." I don't know, instance of what object? What has to be instantiated here?
The strange thing is that everything seems to be working properly. If it weren't for the ...
-
I have an app that uses several listboxes, I call them 'menuList0, menuList1, etc' to set the ItemSource on a main ListBox which I call 'resultList'. In other words there are several 'menus' and when you click an item in one of the menus resultList is populated with data based on the menuList. So far so good up to this ...
-
I'm building an app that uses an accordion with listboxes - each accordion item drops down to reveal a list. The issue I was having is that when you select an item in a list, move to a different accordion item and select from that list, then move back to the original accordion item and the previous selection is still selected. What I'm ...
-
Thanks!