OK, I figured it out! Just in case anyone wants to know: I checked the web.config in the root of the website (despite my ashx being in it's own application directory which was a sub directory off the root). In there was this bit of code:
<httpHandlers>
<add verb="*" path="*.*"...
Hi, thanks for the reply. I forgot to mention it's not compiled (in the dll sense of the word). The main contents of the actual .ashx file is below. I tried it on another website (again, on the same server), and it worked a treat. I think it might be a setting in IIS but I can't see anything...
Hi, I think you'll find the reason you cannot use the test form is that your web service functions are accepting a 'complex type' as a parameter (such as an array, or even a data set). Obviously you'll be unable to replicate the XML structure of a dataset by just using a text box on a form. If...
Hi All,
I have a web handler (.ashx) file I created to manipulate an image. It works perfectly in one directory, but when I move it somewhere else (on a different website by on the same server) it throws up a Parser Error with the message:
The directive 'WebHandler' is unknown.
The line it...
Hi, this is something we do quite a lot of as we do WAP sites so try to keep the lengths of URLs down. It's pretty quick to setup, however the following does depend on you being able to set custom errors in IIS. To do this we have a URL that looks similar to:
www.mysite.com/mycompany
The...
Thanks for the suggestion adamroof. I'm in 1.1, but if I'm able to move over to 2.0 I'll be sure to check it out. Any suggestions with 1.1 still greatly appreciated!
Hi All,
Hopefully this is a quickie!
A few of the web apps we've built are not compiled, but instead use the directive similar to:
<%@ Assembly src="MyLib.vb" %>
in the top of the ASPX page, which relates to a .vb file in the directory with a couple of classes in it. (more code at the bottom)...
Hi All,
A colleague and I have been asked to choose our own job titles by the two company directors. We're both technical (originally taken on as .net/sql server developers) and have been promoted to a level just below the directors, hence the need for more senior job titles. Problem is we're...
Hi, thanks for your replies. I've thoroughly searched the Hauppauge site and it doesn't have drivers for the remote, as they are by Microsoft and only included in Media Center. However, after a good deal of searching I found a solution. for anyone else interested: Put in your XP Pro CD, and...
Hi All,
I recently bought a Hauppauge WinTV-HVR-1300 TV card for my PC, running Win XP Pro. The TV card is the XP Media Center edition, though it runs very nicely on XP Pro. However, the remote control that comes with it is also compatible with Media Center and when plugged in is detected as...
Thanks Christiaan, that has helped tidy the code up. And while I was there I had one of those small "Ureka" moments and have managed to fix the problem! Basically my logic for adding and removing the items was totally screwed up (only three lines but it stumped me for ages!).
Basically, the...
Thanks for the pointer, Chip, I've taken the duplicate code out of the else, however it's not really every fired. InvokeRequired is always true (I'm only ever calling the routine on a different thread from the UI). Unfortunately I'm still having the same problem. Man, this is a pain!
Hi RobbieD,
Not sure if this helps, but hopefully it's near what you're after. Two listviews (Listview1 and Listview2) and a button (Button1) should get this running on a form. Clicking the button transfers the selected items from Listview1 to Listview2. (Switch the View properties of the...
Hi All,
I'm building an app that generates 5 threads which all go off and fetch data from a list of web pages. I have three listviews: pages to process, pages processing and pages processed. At different points the threads need to shift one of the list view items from one list view to...
Hi All,
I've put together a small VB.net app that streams MP3's across the Internet to a player like Winamp. It plays a specified list, streaming one track after another. This works fine but when a user connects the stream starts from the beginning of the MP3 at the head of the queue as I'm...
Hi all,
I've got an app that uses the Microsoft Web Browser Control to display some HTML pages. However a right click on the control produces a standard IE context menu, whereas I'd like to be able to either add soem more options to it or, better still, show an alternative context menu in its...
Hi,
If I understood your problem correctly, you could try using WebRequest from your app rather than opening IE. Something like this bit of code might help (I haven't tested the streamwriter bit so that might need tweaking):
Imports System.Net
Imports System.IO
Dim URL as String =...
Hi there,
This is really causing me a headache:
I have a table which looks a little like the following structure (field names have been changed to protect the innocent):
CREATE TABLE `demo_table` (
`ID` bigint(20) unsigned NOT NULL auto_increment,
`fieldOne` text,
`fieldTwo` text...
Hi,
I'm developing a WAP site and using .NETs wonderful(ish) Mobile controls to do it. It appears to work very well for most situations and renders wml or html etc depending on what the browser accepts. However I've come to a problem I can't seem to solve:
We have a page which lists a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.