Call An Asp Program From An Html File-
I want to have a default html page as my first page in a website I'm playing with. How do I call my asp programs from the html file? I never did that before and don't know how to do it. I tried using <a href..etc but it's not doing anything.
View Replies
ADVERTISEMENT
I have front end in ASP and I need to call C Language prog. for matrix search program. I have used this code(which I got here)
<SCRIPT language="VBScript" type="text/vbscript">
Function popC
dim wsh
set wsh = CreateObject("wscript.shell")
wsh.run("D:TC
ew.exe")
set wsh = nothing
End Function
</script>
This code works fine but I need to show the output in html (so people can see over the net). .Exe is for command line argument. As I know that command line argument can not be shown to the client.
Is that mean that C prog. needs to create instance and instead of 'void main' write 'string function' which which will have return values and this 'class' I will call in ASP program.
View Replies
View Related
I want to execute an ASP file from a HTML file, when the HTML file is executed, the ASP will run automatically.
View Replies
View Related
With .asp,how do I call another program?I would like to have my .asp script make a call to a PERL script, wait for the PERL script to finish, and then continue with what is/isn't returned from PERL.
I know in PERL this is simply done: system(theASPprog.asp). No fork is created, so the PERL prog waits for the .asp to finish.How do I do this with ASP?
View Replies
View Related
I was wondering if its possible to call a program thru' asp pages. If yes, then how? For eg. I want to call abc.exe how can I do so? What if abc.exe is standalone program?
View Replies
View Related
Has anybody tried to call AS400 cl program from ASP. I have check the net but have nit found a working example.
View Replies
View Related
The XML file I am reading in my ASP program doesn't appear to have carriage returns. For example:
The XML file looks like this:
-<animal>
<name>Dog</name>
</animal>
but when I read it it looks like this:
<animal><name>Dog</name></animal>
I am opening the file with OpenTextFile.
I am trying to parse the file in my code so I really want it to look like this:
-<animal>
<name>Dog</name>
</animal>
Can anyone offer suggestions.
View Replies
View Related
I've taken on a website, which seems to use an '.adb' as it's database source. It connects to this using the microsoft Access driver, as it would an Access database.
I've Googled, and can't seem to find out how to open the .adb file and edit it.
View Replies
View Related
Can any body give me a perfect link or program for file uploading program. Actually i have to write a program for mail attachment. And for attaching mail I have to give the virtual path of the attachment
file and it is possible only when file will be upload within a directory that is under virtual directory from physical path.
View Replies
View Related
I want a program for file uploading in a folder in asp, and also wants a mail attachemnt program in asp.
View Replies
View Related
HI can any body give me a program for delete a online file in asp.
Actually I have created a program for mail attachment. For attaching
the file first of all I have to upload the file in a directory but
after sending attach file the file should be remove from directory.
View Replies
View Related
I will develop a program to enroll a group of people on-line. Since we don't have number limitation for the people in the group. I am wondering if there is any company allow people to upload an excel sheet which contains data about the people in the group and the asp program can import the data into the program direclty, so the customer don't have to type each person's info individual sin it's error prone and time consuming for a group having many people.
I believe there are some securities concerns there and almost think isn't dorable, but just want to get some experts' opinions.
View Replies
View Related
Is there a way i can call a javascript function from within the body of some html? Code:
View Replies
View Related
i have this.asp page:
<script type="text/vbscript">
Function myFunc(val1ok, val2ok)
' do something ok
myFunc = " return something ok"
End Function
</script>
<html>
<body>
<%
val1ok = something1
val2ok = something2
thenewVal = myFunc((val1ok), (val2ok))
%>
</body>
</html>
i want to call and use the returned value of Function myFunc(val1ok,
val2ok) ,without omitting the html script tags and replacing them in <% %>,
(My Question is:) How do i call a function defined in html script tags from asp page?
View Replies
View Related
i am using vbscript in ASP and i wanted to call a COM executable file from that ASP file.
i would like to know the ways how to approach this problem.
i have read the articles given in
http://support.microsoft.com/defaul...kb;en-us;299714 and
http://msdn.microsoft.com/library/d...comtutorial.asp
i found those 2 pages were not 100% helpful for me as i am not using Visual Basic to create COM executable. i would like to see some examples or some other tutorials explaining the above question.
View Replies
View Related
how to call a batch (.bat) file from an asp file
View Replies
View Related
Is there an easy way to call OutputDebugString from and ASA and/or ASP file?
View Replies
View Related
I was reading on a few forums and googling all morning trying to find code for using one include file to call multiple include files for various asp pages. For example, we have created nav bars for several regions in the US.
As such, each region needs a unique top and right nav to include geographic specific information. I've created 6 include files, but I would like to put all the nav include files in one main include file and call the unique include files as needed.
I started doing a select case or If then functions. Now once that's done, (being a newbie) I don't understand how to write the asp code that calls the unique include file on the page where it applies. Code:
View Replies
View Related
I'm looping through the source code of an HTML page, looking for links, grabbing the source of those links and saving each one in turn to an HTML page on disk.
This is working fine about 70% of the time, but sometimes it falls over when I try to write the source code as a text file to disk: Code:
View Replies
View Related
I am just curious as to when it is better to use straight HTML or ASP
(response.write) to put out HTML code on an ASP page.
For example, if I have an ASP page that is including another ASP page,
but the rest of the code is just HTML, which is the better way to do it.
Here is my example: Code:
View Replies
View Related
I have a website that takes a long time to generate/load, so I'm looking for a way to have the ASP update hourly and save that to an HTML file, which is the actual file viewed by users. I could go through and have everything written via writing to text file, but this seems like more work than needs to be done. Is there any way I can have the ASP page loaded once an hour and have the output saved as a seperate HTML file?
View Replies
View Related
I'm working on a project where there are just under 1300 course files, these
are HTML files - my problem is that I need to do more with the content of
these pages - and the thought of writing 1300 asp pages to deal with this
doesn't thrill me.
The HTML pages are provided by a training company. They seem to be
"structured" to some degree, but I'm not sure how easy its going to be to
parse the page. Code:
View Replies
View Related
I've written a few HTML/javascript web sites that push with ASP into SQL databases.
The one thing I've never had to do is create a file upload, and now I'm having a heck of a time figuring out how to do that. I've got an input type=file and I have a preview if it's a picture that updates as it's changed, but how do I send the file to the server?
I found one PHP example, but I'm not very familiar with PHP and would rather not have to learn it just for this (though it is on my to-do list anyway)
Has anyone done this? Can you enlighten me as to what the next step is?
View Replies
View Related
I have developed a HTML page containing form and table having some fields, Now What I want is that when I Click on Submit Button then all of the Form Fields should be email to a particular email address just like as they r on the form. So my problem is that i have created an ASP page containing code about to pick data form form fields n send it to email address i mentioned, But i dun know how to request an ASP page in a html page, Iam using
<Form name=MailForm action=MailForm.Asp method=post onsubmit="return Validateform()"/>
<Input type=hidden value=junaid@easterntextiles.com name=recipient/>
Just after the table creation but it doens;t work because when i click on submit it ask me to save or open MailForm.asp.
So is there anyone who can explain me how to run this file directly with in html page or how to use asp code in html page.
View Replies
View Related
I want to know, How to extract the content of an html file to Tab Delimited text file by ASP
(I want the code that do this)
View Replies
View Related
how to convert a database table into an html
file via FSO and whether more seasoned asp programmers recommned this route.
The main reason I am attempting to do this is becuase we are constantly
being told by so-called marketing gurus that 'html' pages are more search
engine friendly. Code:
View Replies
View Related
I am using the FilesystemObjects to get a directory and file listing and generating a web page of that listing, but I need to filter out files with the SYSTEM tag, so it wont show files I dont want it to, Below is my full code for the ASP page, I have Commented where I need to change the listing structure Code:
View Replies
View Related
How to convert XML or HTML to pdf file ? Where can I find free pdf generator ?
View Replies
View Related
I was wondering if anyone could help me out with extracting/stip an HTML file. I was thinking of using RegExp object in VBScript, but I'm not sure what is the correct pattern.
I would like to stip the HTML so I only get the content inside the <BODY> tag (<BODY> </BODY>) ...
View Replies
View Related
Showing an HTML file in part of a Webform.I have a Webform with some buttons on the left side of the form. What I want when clicking one of the buttons is to show an HTML document in a part of the Webform (as if it was a Frame page).
View Replies
View Related
I'm running a Win2k server with FP 2002 Extensions using discussion boards.There is a time delay in the posted content and the way our moderators are managing it now involves logging into the server,copying the TOC file,deleting the public TOC file and renaming the copy to the new public
version. --Copy and paste Tocprivate.htm -> delete TocPublic.htm -> rename copy of Tocprivate.htm to TocPublic.
Is it possible to script something that would allow this to happen with a single click of a button through their web browser?
View Replies
View Related
I need to be able to generate/create a html file. I know that probably the best way to do it would be to use PHP or CGI, but my server doesn't support either. Is there a way (and can you point me in the direction of some help) of doing it using ASP?
View Replies
View Related
how to create (generate) .html file by using asp. I am not sure if this possibility even exists... if not, is there any other way I could generate .html files? The thing is that I have to retrieve info from database and the generate .html file.
I know I could have it as .asp, but this woudl my index page and I would like to use it for search engine, which are not very happy with other extensions than .html.
View Replies
View Related