If you using Visual Studio just add a reference to the dll that was created in the first project. Otherwise just place the dll in the bin directory in your web project and you will be able to access the classes.
User 642242
Posts
-
using class file from another project in asp.net project -
Basic-like authenticationhttp://www.freevbcode.com/ShowCode.asp?ID=5248 This should do the trick.
-
prevent download source file from the websiteI've found getting the handlers working is a bit fiddly. I would suggest you use the second version, as I have not yet worked out how the paths actually work. You need to put the configuration in the web.config of the asp.net application.
-
Basic-like authentication.Net provides a class to do that for you. Try looking under System.Text
-
How to handle multiple submit button clicks?Add an onsubmit handler to the form that checks a variable to see if the form has been submitted before. If it has, just cancel the submit event buy setting the event.returnValue = false in IE, for Netscape - I thinkyou just return false within the event handler.
-
Basic-like authenticationHi, AUTH_USER and AUTH_PASSWORD are populated by IIS if it requested the authentication itself. You need to check the HTTP_AUTHORIZATION variable. This will be Base64 encoded and will encompass both the username and password. See the specification I posted earlier to figure out how it is put together.
-
prevent download source file from the websiteYou will need to register the .mdb file extension to be handled by the asp.net ISAPI extension within IIS. At the moment IIS will just serve the file.
-
Basic-like authenticationAlso, I think the header needs to have a realm. WWW-Authenticate: Basic realm="WallyWorld" http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html#WWW-Authenticate Gives more details.
-
Newbie XML/XSL questionI'm assuming that you are trying to write out a html table. If you are then you need to output a table tag as well as the rows and cells.
-
IMG tag, xml xsl newbie questionWhat have you tried so far? How about posting examples of the xml and xsl that you are using.
-
A simple question about MSXMLWhen you create the "element" node you need so specify that it is part of the same namspace as the Schema element. Otherwise what you are saying is that the element node does not belong to any namespace, hence the empty xmlns attribute. Something like : pXMLDom->createElement("element",","http://www.w3.org/2001/XMLSchema");
-
Strange Behaviour with dynamic controls and postback processingI'm not 100% sure on this, but it might help you out. I believe that : are used by the .Net Runtime when a control implements the INaming interface to ensure that all child controls have a unique id within the web page. Such as in the data grid control. The child control's uniqueId becomes ParentId:ChildId. When you use the : in your id, you may be confusing the .net runtime to try and look for a parent control that does not exist, so it never finds your control. HTH
-
XML Compliant QueryStringThe use of ampersands within the querystring is part of th http specification. If you want to use ; instead you will have to abandon the use of the Querystring collection object and grab the raw url and parse the information yourself. Are you trying to store a URL into an xml document? If that is the problem, why not just encode the url correctly eg. http://www.myweb.co.uk/somepage.aspx?arg1=2&arg2=3