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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Named Pipes Problem

Status
Not open for further replies.

Peppi

Programmer
Apr 9, 2001
205
0
0
CA
Hi,

I have a VB6 application that allows a user to display an ASP.NET page in a WebBrowser control. When a user clicks on a link in the web page, I need to retrieve the text displayed in that link and send it back to my main VB6 app. I thought that named pipes would be the best way to implement this?

If I click on a link through the WebBrowser control in my VB application, the call to CreateNamedPipe in my ASP.NET page returns -1 with an error code of 231 (ERROR_PIPE_BUSY). However, if I run just the web page by itself outside of the application, CreateNamedPipe executes correctly and I can pass information down the pipe.

I'm also confused as to why I am getting the ERROR_PIPE_BUSY message on the call to CreateNamedPipe. Doesn't the pipe have to be created first before this error code gets returned?

Thx for any and all help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top