Including A Library
I am trying to use the example located here: http://www.asp101.com/articles/jacob/scriptupload.asp
If I have vbscript v5.0 do i still need to include a library inorder to create a new FileUploader object?
I am trying to use the example located here: http://www.asp101.com/articles/jacob/scriptupload.asp
If I have vbscript v5.0 do i still need to include a library inorder to create a new FileUploader object?
i have developed a library in vb6 to import an excel file ftom client to a
sql 2000 table on the server.This object must run at server.
How can i create this object on a web asp page?
Does it run if the oject use Excel library but on the server Excel is not
installed?
Does somebody know a cool library like gd for php which helps me to create images in my script?
View Replies View Relatedi am not sure that this subject can be discussed here. i have many photos. they are stored according to the name of the EVENT and YEAR. i will set up a database (sql or access) to store information of the photo and set up a folder to store the "PHOTOs". and design a web page to show.
My question is how to put the photo on the web page:
i prefer the simplest and effortless method. Once the user takes the photos (5m pixel photo) and upload them and input the event name & year. then it is finished.
any tools can be used? which programming language is most suitable. i noted many web sites have this feature but i don't know how many effort at the back end?
I am getting "A dynamic link library (DLL) initialization routine failed" error
in IIS 6.0 on Windows 2003 server.
I have this same code working on WiN-NT.
Does anyone have an idea how to fix this?
I seem to have a very good library for PHP, XML, Cold Fusion, Flash, JavaScript, and Java..but Im wanting to begin building some helpful references for ASP.net. I got one book called "Designing ASP.net Applications" from Microsoft, but it, sadly, wasnt very good for someone like me thats starting out.
Can we use this thread to possibly suggest good books on ASP.net, VB.net, C#, etc that have helped you, and perhaps others can benefit from it, as well as me?
Does anybody has a Sample of books library systemin ASP? I looked for in aspfaq.com, asp101.com, but untill now I could find anything else.
View Replies View Relatedi thought some of you might be interested because as far as i know there arent any Ajax Libraries for classic ASP...
i have developed a free Ajax Library called ajaxed. With this you are able to call server side procedures directly from client side ...
My company is finally making the move to program in ASP.NET for our web application stuff. We need to purchase a suite of components. Can anyne recommend a very good component library. We are looking for things like GRID, CHARTS, VALIDATION TOOLS, etc.
View Replies View RelatedWe've had a recurring problem where all of a sudden we get a DBMSSOCN General Network Error on any page that connects to SQL Server. Then we have to reboot the server and everything works fine again, for a few more hours and then we have the same problem. Someone suggested adding ";Network Library=DBMSSOCN" to our connection strings. I've tried to figure out exactly what this does and why not having it would be a problem.
View Replies View RelatedI found a posting for below error in the forum but could not found any solutions.
I am also facing the same error, though most of my ASP pages are working fine
I get this error on a page where in I am trying to create an excel file out of the resultset fetched on the page. Page has a button, on click of which i get this error:
<LI>Error Type:
Server object, ASP 0177 (0x80029C4A)
Error loading type library/DLL.
/ami/includes/lib_offload_to_Excel.asp, line 86Has it something to do with the permissions of the logged in user?
I am trying to include a file in an ASP page. But the problem is that the file is in a different folder. When i put the file in the same folder then it works fine. Is there any way to include a file from different folder. For Example I am using a file for database connection and including it in each ASP page as follows--
<!--#include file="Connection.asp"-->
So i have to put this file in each folder of my web application. But i want to keep it only at one place.
I have also done it with ../ and /(root) but both the methods are not working. These methods work properly on localhost but not on the hosted website
So far I have not been able to import a HTML-page in ASP like I can with PHP. In php you may import a page, and just get the output of the file (not the entire HTML-code, wtih tags like <body> <title and such). Is it possible to do this with ASP?
View Replies View RelatedI have the following file structure:
/
header.asp
test.asp
/subDir
testpage.asp
/images
I would like to have header.asp to be usable from all directories. Header.asp will have images and URLs. When I try to #include the file in test.asp, it works fine. However, if I #include it in testpage.asp, the images in header do not work - testpage.asp thinks the images are in subDir, when they are in the images directory. I have tried a variety of combinations of MapPath, Server.Execute, but I have not gotten the image to appear correctly. What is the correct syntax for what I am trying to accomplish?
I'm after some coding that will allow me to include another url (website) on my page.
What I basically want to do is keep my header and footer and use the information off their site so that when they update it mine will be too. I have their permission to do this.
What include statement would I use.
I know I can do it with frames but I would perfer to use a simple include statement.
I have included all the db scripts in asp above the <head> tag and <html> opener tag.When i submit a page, to add a record that record just get doubled and i dont know why that is happening.It dont happen always but now and then. The problem is not with cliking the submit button twice. So all i want to know is if it may be a problem with including the asp codes above the html tag or not?
View Replies View RelatedIn ASP, is there a way to use a page to mask the identity of another page? So that say I had a page named google.asp, and I wanted to include all of what is actually on google.com, is there a function similar to the the include option that allows you to mimic a page, rather than include a file?
View Replies View RelatedI am trying to include several files in an ASP script. I have a common file that does the database handling, and that common file will include common functions and classes used throught the script. Although I've checked each of the files for errors, none seem to have any, but when I call a class included from another file, I get this:
Error Type:
Microsoft VBScript runtime (0x800A01FA)
Class not defined: 'ASPTemplate'
/test/test.asp, line 7
Any ideas?
how can we include one vbs file into other vbs file?
View Replies View RelatedHow would I go about including a .txt file in an If-Then statement? Basically what I want is to have a certain file included depending on what the value of Request.QueryString("type") is equal to. Any ideas?
View Replies View RelatedHow would I go about displaying a plain text page that is located on a
website that is not my own? For example... my site is www.x.com and
www.y.com has a news article at http://www.y.com/article1.asp and i want to
"include" this file on a page located on my site (www.x.com).
I wanna just include a .php in a .asp page,I mean,I use PHP Code:
<?php
include('etn.php');
?>
to include and execute the etn.php in test.php file, but now I need only to include etn.php in .asp file in a linux server. Is there any hint , or coding , or server side codes ?
I am having trouble trying to get a line of my script to work. I want to include the variable "name" in a hyperlink. The line of code I am working with is below:
Response.Write ("<a href=""band_news.asp?ID=" & rsCTD("ID") & """> Read more about & rsCTD("name") & </a>")
This code is throwing up errors every since I tried to add the variable for the output of the hyperlink.
I'm including a template on all pages in a site. In the template I have a menu. What I'd like is to have a different menu displayed if I'm in a different directory. Something along the lines of:
If path is /mainsite Then
Regular Menu
If path is /admin Then
Admin Menu
Just not sure about how to go about getting there. My first thought was to use the PATH_INFO server variable, but that returns the page name too. Any suggestions?
Am trying to include a txt file from another site...This is the code I am using:
<table width="540" border="1" cellspacing="1" cellpadding="5" align="center" bordercolor="#DCDCDC" style="BORDER-COLLAPSE: collapse">
<tr class="text" align="center">
<td width="250">
Name</td>
<td width="250">Type</td>
<td width="40">Info</td>
</tr>
<!--#include virtual="http://www.anothersite.com/MyFile.txt" -->
</table>
The contents of the txt file are all arranged with appropriate html so am hoping the output will be displayed appropriately on this ASP page.
Does anyone know if its possible to include perl files in my CGI-BIN folder within an asp page?
I've written a forum program in perl (which is all run through the same file /cgi-bin/forum.pl) and I would like to include it within an ASP page.
Is it possible? If so how? Just using the Include Virtual string? By the way I'm on UNIX with ChilliASP installed.
why doesnt including files in an output work? or is there just a different way to do it, the below did nothing at all? Code:
View Replies View RelatedMy page to place orders is password protected.What ASP script can I use to have the login name of person placing an order pass to database, something like the date which currently I pass using a hidden field <%=date%>.
View Replies View RelatedIs there a way to include a part of an ASP file? Like if I want preformatted text, but don't want to have separate include files for the title, subtitle, and body text? Or including specific variables from a separate page?
I know there are various workarounds for something like this, but I figured I'd ask if for nothing more than an insight into the language (I just started with ASP recently).
The reason I ask is that I want the page to be editable later without risking changing the stylesheets. Since the people who will be doing the updates are not web designers, I want to make the process as risk-free as possible.
is it possible to include php script into .asp page ?
View Replies View RelatedI have a combo box bulit by taking in values from database. some of the values have spaces in between them
e.g
<select name="place">
<option value="Presidents Office">President's Office</option>
</select>
So when i use this code to read
Response.write(Request.Form("place"))
Its only returns me President's
HOw can make it include whole string including spaces..?
conaito VoIP ActiveX library for developers of VoIP audio applications,
such as voice chat, conference, VoIP, providing real-time low latency
multi-client audio streaming over UDP/IP networks. Includes efficient
components for sound recording, playback, encoding, decoding, mixing,
resampling, reading, and writing wave files, mixer volume controls
access.
Provides UDP/IP server and client components for peer-to-peer,
multi-user, and broadcast audio communications. Really easy to use!
Working with Firewall and NAT! conaito VoIP SDK is the best way to add
voice conference and text conference into your application and web
pages. conaito VoIP SDK includes voip activex, voip ocx, voip com, voip
dll, voip lib and voip cab, so you can use the one you like the most.
Does anyone know of a form to email ASP script that allows the user to
attach an image file from their computer to be sent as an attachment to the
email, along with other data collected from the form?
I've seen this on sites particularly for recruitment allowing resumes to be
attached along with personal info.