How To Call C Lang. Program Through ASP And Show Output In Html.

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


ADVERTISEMENT

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 View Related

Call Another Program

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

Call A Dos Program

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

Call As400 CL Program

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

Output HTML

This is really puzzling me; I am developing a site for a client and have uploaded it to a remote server with ASP enabled; I and my friends do not have a problem diplaying the output HTML from my ASP statements however, my client is unable to see it. He says he can see all the other page (CSS layout) but is unable to view the content (output HTML) from my ASP statement.
Now I am clever enough to know that ASP is server side, so I cannot understand why he can't see it- and he has tried this with two of his computers.
The only possible explanation that I can come up with is that he may have Javascript disabled in his browser as my pages contain a small amount of Javascript.

View Replies View Related

Can Output As HTML But Not As XLS

I haven't being doing that much in ASP, but I have to create this:
It has to read out data from some DB to excel.

The following (corrected) code works if just it outputs as html, once
the Response.ContentType is excel. then it offers to open/save the
file, and stops - file not found - what do I do wrong? Code:

View Replies View Related

Difference Between ASP-output And Regular HTML

If I'm correct, an ASp-page output is plain HTML to the browser? Is this correct ?

So if this is the case then the browser should see no difference between a normal HTML-page and an ASP-page which has a HTML-output?

The reason why I'm asking this, is because of a problem that I'm having with a script which is working fine on a htmlpage but not on a asp-page although I can't see the difference between the normal html-page and the asp-page output in formatting.

View Replies View Related

Getting Html Output Of A Asp Page To A String

I wish to catch the output of an asp page after it is executed into a
string I.e.

Dim htmlOutput
htmlOutput = someobject.execute("nameoffile.asp")

View Replies View Related

Html Tags Don't Show Right

In my website I've created an admin login with some ASP pages, so I can edit and update stories.I use an acces database and installed HTMLarea for WYSIWYG editing. When I update text, all the HTML tags show als plain text in my website.For example: I make a headline bold in my wysiwig editor and I update my text, it just shows: <B> here's a new story </B>If I look in my database I have a field 'text' wich is a memofield and I can see the html tags have been stored into my database. <B>here's a new story</B>

It looks like it doesnt recognize the html tags as HTML, but just as plain text...
The same problem occurs when I try to use html-tags in my database... so I don't think the editor is the problem... it's just the way my asp-pages retrieve the data from my database..Can I use HTML-tags in an acces database and how do I get them to show up right in my website? So I can make text bold and use breaks and paragraphs?

View Replies View Related

Call From A HTML File

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

Call Javascript Functions From Inside Html Body

Is there a way i can call a javascript function from within the body of some html? Code:

View Replies View Related

Making A Query Show Up Properly In A HTML String Email

I am attempting to send an HTML email which a hyperlink that will change based on the user's session ID. I need the hyperlink to display as:

http://www.synergeticsusa.net/admin/shop_cart/detail.asp?id=

WHERE the id = Session("MM_UserID")

However I cannot seem to code this into the html string in the correct syntax, to where id=1 or id=2, etc. Does anyone know the anwser to this problem?The basic code I am using can be found below.

html = html & "<a href=""http://www.synergeticsusa.net/admin/shop_cart/detail.asp?id="">"
html = html & Session("MM_UserID")
html = html & "<IMG SRC=""myImage2.gif""></A><BR><BR>"
html = html & "</br>"

View Replies View Related

How Do I Call A Function Defined In Html Script Tags From Asp Page?

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

Run Program

I am trying to run a program with a command line switch from vbscript.This is the code im trying:Code:

ReturnCode = WshShell.Run("C:Program FilesNorton AntiVirusNAVW32.exe c:", 1, True)

I guess Im just after the formatting like where to put the quotes.

View Replies View Related

Getting Name From Program.asp

I talked to my instructor and he was not sure but lets say I have URL - I know about Request.QueryString("name") for have URL and you get bob as the info past - but what if it is only ?andthename and do not use name=bob like in have URL and what I want is name = Request.QueryString("first entry") that is bob. That is all you get - how does that work - I have seen it before on pages but not sure they are asp - I think php can do it and I know it can be done with cgi.

View Replies View Related

Upload Program

Currently I'm developing upload program using vbscripts. I want to log all the upload actvity to the DB.

So I insert form and other input field in the upload form. My problem is, my upload program cannot accept Request.Form tag. But the upload activity success but I still cannot achive my target to log the upload activity in DB. Any solution to avoid this happened? Is there any input tag other than request.form? Pls guys really need your help in this.

Here the error code :

Request object, ASP 0206 (0x80004005)
Cannot call BinaryRead after using Request.Form collection.

View Replies View Related

Asp Forum Program

if its using access for db its even better.recommend a free one.

View Replies View Related

Chat Program In ASP

I would like a free Live Support script for my site...writtent in ASP. I found some, but they refresh the page to update the contents...I would like it to use a better, more-efficient way. Some features that would be nice, but not needed would be visitor monitoring and operator initiated chats, and the ability to push the user to pages. If there is any such script...could someone please tell me where I can find it?

View Replies View Related

Accounting Program

I am looking for an "Accounting Program" (even perhaps a CashBook) written in asp. There is gnuCash written in PHP -is there any equivalent in ASP ? I have searched most of the opensource webs, and cant see anything along these lines - does one exist

View Replies View Related

Calling A Dll In Asp Program

I have a vb program which initiates a powerpoint when run (with a click of a button). i made a dll for that program by opening the .vbproj in a textdoc and changing some values. I was wondering can we call this dll from an asp program so that the power point gets initiated from asp.

View Replies View Related

Classified Ad Program

simple, easy to implement Classified Ads program I could add to my Web? I can use Access pretty well but don't know much about ASP yet.

View Replies View Related

Run Program On Web Server

how to run a program on our webserver after a file has been uploaded? This is all server based. We have a requirement that an end user uploads a file to our web server. after the file has been uploaded the next line of code needs to call a program installed on the webserver that runs a remote command on our AS/400.

View Replies View Related

End Task Program

I need an end task program in VB6.0 (the source code). I have searched planet-source-code.com inside out and can't find just 1 regular end task program that works on my system. Is it because I am running on XP and they only work on ME and younger systems?

Anyways I need an XP, source, compatible version of the software. I am writing an interesting program, which once complete will tell you what its for (dont worry this one is totally legal ). It should list and then allow users to click END/close. I think its done through an API.

View Replies View Related

ASP Program Recommendations

I have tried two so far, ASP Runner and Iron Speed. Iron Speed has so many more features than ASP Runner, however, seems setup for use with SQL. I am simply using Access Databases, and not SQL. Does anyone have any recommendations on ASP Code Generating programs like ASP Runner, that do not require you to be using SQL Server and has more features?

View Replies View Related

Run Program On Server

I need to run a program on the Web Server from an ASP page. The program requires two arguments. What is the solution for this. I am not very experienced with this.

View Replies View Related

How To Sent An Email From VBScript Program Under ASP/PWS?

I am learning ASP/VBScript using PWS under Win98SE. To send an email I need CDO object. In a book I am reading (very old one) it says that there are no CDO objects for PWS. Is there a Microsoft solution to sent an email in PWS?

View Replies View Related

Reeading .XML File In ASP Program

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

Program To Edit .adb File

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

Calling A Program From A Link

My web application with to have a chat room or instant messaging features.
But doing that is not worth as there are a lot of instant messaging software
out there such as MSN Messenger, Yahoo Messenger and ICQ.

So I plan to make a link in the page, so that when click on the link, the
appropriate messenger software will be executed.

Eg: click on the link "MSN", then it will call out the MSN Messenger
program.

View Replies View Related

CreateTextFile Halts Program

I got the following code from various ASP help sites:

dim filesys, filetxt, getname, path
Set filesys = CreateObject("Scripting.FileSystemObject")
Set filetxt = filesys.CreateTextFile("c:somefile.txt")

The third line causes the program to halt. I am on localhost. (I tried it without "c: too.) What is the problem?

View Replies View Related

Wscript.Shell Run Program

I am trying to use the Run method of WScript.Shell to run a program that creates image files on the server. When I run the program through the command line it creates a text file and a bmp file which is what it is supposed to do.

If I run it from an asp page it doesnt do anything, it also doesnt give me any error messages. I can run the same vbscript code in a standalone vbs file on the server and it works right. Code:

View Replies View Related

About Date And Automatic Run Program...

my problem is i want to retrieve/get the date 3 day early using asp code, for example this date 12/10/2004 and i want to know 3 day early from that date which is 9/10/2004, do u guys have any idea....

and i more question which is how to make a page automatically run a program when the time or date is set, after the time/date has expire then a program is run, i have no idea also.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved