|
is it possible to instantiate a .NET type within
Internet Explorer ?
For example I would like to write some component (using c#) that would expose interface with a single method calculating something, and I would like to use it within a web page (interpreted in IExplore) just like i used to make use of ActiveX components from within JScript code.
Is it possible ?
Thanx for any info
Michal Januszczyk
|
|
|
|
|
How about creating a web service and calling the web service method(s) from within JavaScript?
|
|
|
|
|
Hi,
I'm mainly a C++ Developher but i am creating a simple Wemsite at the moment.
To get to a certain part of the Website and download a Demo of my App it will require a User Name and Password to be entered,the ID and Password will be E_mailed by me to the user.
I have been browsing the Site this morning but still not clear how this shall be done. I would like to do this as simply as possible as i have no Perl, ASP or PHP experience.
Can any of you recommend away to do this and possible some tutorials..
Thanks
Brian
Kind Regards,
Brian.
|
|
|
|
|
A relatively simple way to do this is to construct a form that requests the user information, then post the form contents to a script that does the mailing for you. A decent site for learning about server scripting (and a lot of other goodies) is W3schools.com[^], and you can find a free email component at ASPEmail[^]. Using the ASPEmail component requires a web host that supports it, but there are a number of other approaches, including CDO for Windows.
"Ask not for whom the bell tolls; It tolls for thee..."
|
|
|
|
|
I use the CDONTS dll and have had no problems at all. I know it comes with Windows 2000 but not XP, but I think it's easy to get hold of. Here is a really simple e-mail script and here is a password tutorial.
Hope this helps.
Anthony
|
|
|
|
|
I didn't know that CDO isn't included in XP! There must be some equivalent, though - the Collaboration Data Objects are fundamental parts of Office.
"Ask not for whom the bell tolls; It tolls for thee..."
|
|
|
|
|
They have replaced CDONTS.dll with something called CDOSYS.dll, which I think is an updated version. There are various code samples from Google for using it.
|
|
|
|
|
Web Crawler or Web Spider Books
I am looking for any books on writing web crawlers or web spiders and maybe someone knows the difference between the 2. If you know of any good books please let me know also if possible I am looking for books with c++. This seemed like the place to post this message because it is internet related. Thanks for your time.
|
|
|
|
|
Dont repeat ur questions with different user names
I was born intelligent Education ruined me!.
|
|
|
|
|
I am looking for any books on writing web crawlers or web spiders and maybe someone knows the difference between the 2. If you know of any good books please let me know also if possible I am looking for books with c++. This seemed like the place to post this message because it is internet related. Thanks for your time.
|
|
|
|
|
Hi
I use ASP , ADO
I have an access file in a password protected directory.. when I use the connection string :
strCon="Data source=" & server.MapPath("FilePath/FileName.mdb") & "; Provider=Microsoft.jet.oledb.4.0;Jet OLEDB:Database Password=MYPASS;"
I get the error :
Microsoft JET Database Engine error '80004005'
The Microsoft Jet database engine cannot open the file 'FilePath/FileName.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
How can I include the Directory username and password in the connection string ?
|
|
|
|
|
Hi,
I have a form, with different fields. It happens that the form fields have same name repeating for 5 times (fields generated from function) like this
textfield1 txtf
submitbutton
textfield2 txtf
submitbutton
textfield3 txtf
submitbutton
textfield4 txtf
submitbutton.
Now the problem is, when I try to retrive the value as Request.Form ("txtf"), it gives values like this.....
, , , txtval
I mean the text values are appended by , between them. Is there a method to remove it, by maintaining same field names??
I was born intelligent Education ruined me!.
|
|
|
|
|
Are all these in the same FORM tag?
try and split them up into different forms maybe...
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
theJazzyBrain wrote:
Are all these in the same FORM tag
Yes
theJazzyBrain wrote:
try and split them up into different forms maybe
I did in a different way.... by combing the fields in a mnner that it serves the same purpose.. and made them acceptale by the PM
Thanks
I was born intelligent Education ruined me!.
|
|
|
|
|
Do you use Macromedia Dreamweaver MX to develop the web?
|
|
|
|
|
NO
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
We don't develop the whole web using Dreamweaver -- but we do use it for much of our stuff at work in static HTML and classic ASP.
|
|
|
|
|
Just design and template pages are designed with Macromedia Dreamweaver and from then on, the IDEs like Visual Studio etc take over for ASP etc.
Deepak Kumar Vasudevan
http://deepak.portland.co.uk/
|
|
|
|
|
Yep, but from watching other people using it my main difference is that I know how to.
David Wulff
"Without hopes and dreams we're directionless" - Anna
|
|
|
|
|
No I use a program called html kit from chami it can be customized to anythig you like to use to develop. it has a lot of plugins and it lets you develop the code unlike frontpage.
|
|
|
|
|
Hi,
I have a web site, written in ASP, where a page needs to be updated regularly by a non-technical person. I want to end up with a system whereby the user will complete the information in a text file and upload it to the web server, where the ASP file reads it and outputs the information.
After reading various tutorials on doing this I can see that the process and scripting is quite basic. I have tried using the following script created by Chris Maunder on this site:-
<% Option Explicit
Const Filename = "/readme.txt" ' file to read
Const ForReading = 1, ForWriting = 2, ForAppending = 3
Const TristateUseDefault = -2, TristateTrue = -1, TristateFalse = 0
' Create a filesystem object
Dim FSO
set FSO = server.createObject("Scripting.FileSystemObject")
' Map the logical path to the physical system path
Dim Filepath
Filepath = Server.MapPath(Filename)
if FSO.FileExists(Filepath) Then
' Get a handle to the file
Dim file
set file = FSO.GetFile(Filepath)
' Get some info about the file
Dim FileSize
FileSize = file.Size
Response.Write "File: " & Filename & " (size " & FileSize &_
" bytes)"
' Open the file
Dim TextStream
Set TextStream = file.OpenAsTextStream(ForReading, _
TristateUseDefault)
' Read the file line by line
Do While Not TextStream.AtEndOfStream
Dim Line
Line = TextStream.readline
' Do something with "Line"
Line = Line & vbCRLF
Response.write Line
Loop
Set TextStream = nothing
Else
Response.Write "File " & Filename &_
" does not exist"
End If
Set FSO = nothing
%>
As far as I can tell, this script should work. However, when I try to open the ASP document (hosted on IIS on my laptop, which is running Win XP Professional), the browser just hangs ? The status bar message say's it is opening test.asp, but it just sit's there and nothing happens ?
I have tested other ASP files on my version of IIS to ensure ASP is installed and working, and every file that doesn't try to access a text file works fine. I have also tested various aspects of the FileSystemObject to make sure it wasn't that, FileExists, FolderExists, GetFolder all work fine so it can't be the FileSystemObject. The only thing I can think of it being is the file permissions in IIS, but I have tried changing them but that doesn't seem to help either, am I doing it right ?
Any help you can give on this situation would be greatly appreciated.
Thanks in advance
Chris
"Inside, alway's tryin to get back inside" ~ Lane Staley
|
|
|
|
|
Just a couple of thoughts...
Before you set TextStream = Nothing, you really should call TextStream.Close. Another thing to try might be to call Response.Flush after each line is read to send the text to the browser, rather than waiting until the entire file is loaded to output the text. That would let you see the process as it progresses, rather than waiting for the end, and might give you some insight as to where the process is failing. Alternatively you could use Response.Buffer= False as the first line following the language declaration on the page to disable buffering completely and send output immediately.
"Ask not for whom the bell tolls; It tolls for thee..."
|
|
|
|
|
Touson wrote:
the user will complete the information in a text file and upload it to the web server, where the ASP file reads it and outputs the information
My answer may not solve/fix the browser hanging problem. May b, I can suggest another method to invoke the sit updation.
Make a ASp script which opens as a list of input fields, and make the data entry person to enter the data and let the submit @ the asp page update the site??
Sorry for drifting from ur existing code/idea!
I was born intelligent Education ruined me!.
|
|
|
|
|
Ha, i'm facing the same problem too
But funny, it works in my prof's server but not in my own computer
I'm looking for it now but if you can solve it, pls let me know
Thanks
|
|
|
|
|
Hello everyone,
I have a question about vb + assess + asp.
If i write a code in vb in the access database is there a way to run this code from server side
asp.
What i want to do is add a function to assess database that searches the access table to find out if this person has already been on the site.
Does anyone knows if this possible?
And y is there a vb editor in access???
Thank you
Ilya
|
|
|
|