Object Creation
The problem is that I cannot create an object at the Application level
using GLOBAL.ASA.
However, the aftfam object works perfectly well when created on an ASP page
using Server.createobject. It outputs "true556" which is expected.
The problems does not seem to be syntax since the reference to the
AUtils object seems to work just fine.
Is there some magic difference in my VB code that differs depending on how
I create the object?
View Replies
ADVERTISEMENT
I have an application I am working on that uses "compiled" asp pages. Once the asp pages are done, they are moved into a VB6 dll to be Response.Written from there. This work great, and results in keeping our code safe at client sites. Currently this works great here and at most client sites. I have one client who is having intermittent problems with this setup Code:
View Replies
View Related
I have the following code (part of a larger asp page) to create the user input form for creating user accounts in AD.
What would be nice is to have the radio control (in red) to be created as the result of interrogating AD to retrieve a list of containers (we have a container per office location) so that only relevant controls are available, and if a new office is opened or they shut one down, the form can stay the same. Is there a way to do this? Code:
View Replies
View Related
im new to the rss "movement" and would like to implement it on
one of my companies internal sites. we have a site that allows users to
leave messages for other users based on email address. so for example i can
visit the site and type in my email address and if any messages are waiting
they will be displayed. the page uses a GET to fetch the messages based on
email address so the URL looks like this:
http://mysite.com?emailaddress=my@address.com
since the address is passed in the URL i imagine ill need an rss feed that
does the same kind of thing... can anyone point me in the right direction or
get me started with an example? im ot even sure if this is something that
can be done simply with some ASP object, or if ill have to actually write
out some XML at some point.
View Replies
View Related
I would like to know how to create PDF file using ASP. Can someone help me for the same
View Replies
View Related
I'm creating a folder...no problem there:
dim fso
set fso = Server.CreateObject("Scripting.FileSystemObject")
fso.CreateFolder Server.mapPath("pictureskickoff")
but...how do I check if there allready is a folder there with the same name before creating one?
View Replies
View Related
Looking for code that can help me to create excel sheet in client side (java script)
View Replies
View Related
if it is possible to have a web page that can be created into a pdf via a click of a button, similar to the save as pdf option. Is this possible?
View Replies
View Related
Is it possible for an ASP script to create a subdomain or does the hosting server the only privilege in creating one?
View Replies
View Related
I've been developing a dynamic content management system that you can hook up to any database (with minimal changes) and manage any of it's data. Ultimately, I'm looking to compile the scripts then sell them compiled so nobody can take the source code. Anyway, I'm not sure how to go about making a component out of these scripts and if anybody is willing to do this for me, I can either compensate you with money or a free copy of the software. A link to a working version of it can be found at http://adminscreens.libdev.com/?cDB=dsnPredig. Use the demo login (demo/demo).
If nobody knows how to actually compile the scripts, I guess the next best thing would be to point me in a direction of a company or whatever that can get it done for me. I've tried using ASP2DLL and various other articles with little luck. All of the VB code is in a single include file.
View Replies
View Related
i want to create a page that will accept any rs of data and create a standard excell page. So i can have a bunch of report pages that any number of columns and and number of rows and submit that rs to my xls creation page? I hope i'm explaining this right.
my first question is how do i pass over an entire rs to my xls page? second how do i create a xls creation page that is open ended on the formatting side of it.
View Replies
View Related
Anyone know of a good tool to enable regular (non developers) to build simple forms which when built provide functionality to save the data from the form to a database and email user(s) with the results.
I'm looking for something flexible enough to allow users to build these forms without knowing anything about the underlying database being used.
View Replies
View Related
I am trying to generate ASP code on the fly as I want to be able to control the code from the database and am running a problem.
When I try this (simplified example of what I have but it conveys the problem):
<%
replacetext = "response.write ""blah"""
response.write "<%" & replacetext & "%>"
%>
I get an empty page with <%response.write "blah"%> in the source instead
of what I want: a page that has 'blah' on it.
Is there any trick behind this?
View Replies
View Related
i'm getting a bit cought up with the ASP for a poll creation page i am trying to do.
i am trying to get it so that it will display a varying number of boxes depending on how many options there will be - have it so that it displays the first 2 (the minimum options) and then the other input form elements will be added as needed i'm also having a bit of trouble trying to get the numbers to update with the onchange but that part doesnt feel like its the most challenging - heres what i have so far: Code:
View Replies
View Related
Can ASP VB create dynamic images of text? (ie. an image of a line of text)
If so does anyone have any examples I could take a look at please.
View Replies
View Related
I need to find a way to pull the file creation time from a file. I have a webcam FTP a file every 5 min. That pic does not have the time and date. I would like to find out how to pull the creation time from the file.
View Replies
View Related
I have 3 fields on a form, date, month, year. I need to add all these values into one full date field but reversed (20051031) - notice UK format.I've just got off the phone to a programmer friend who does not use ASP. He described possible using something like this:
substr(dbsearchdate,1,4 = Request.Form("txtsearchYear"))
substr(dbsearchdate,5,2 = Request.Form("txtsearchMonth"))
substr(dbsearchdate,7,2 = Request.Form("txtsearchDate"))
However this doesn't work.
View Replies
View Related
I would like to know what the comands/syntax is for creating a table with fields in an Access database using ASP? I've done this a few years ago with visual basic, but haven't been able to find anything for ASP on the internet.
View Replies
View Related
I am trying to build a dynamic form based on user input.
Here is the story i want a user to select how many times he/she wants to add a product and then depending on the number selected draw x number of input boxes for product name,price etc.
Then pass this to another page, store in an array and add all this to a database!
View Replies
View Related
how to create tables when the user submits the tablename in a form i know the create command.
but how to execute it in asp when the tablename is stored in a string using the string while creating tables is not happening for me.
also can i use the same way of using the string to add or drop column( drop column only after specifying all values in the column to be null ).
View Replies
View Related
I am developing a automated website creation process for our members. They are being walked through a series of pages that gather input and make template selections etc... The problem I have is when the scripts execute I get permission denied on the section of code that connects to IIS and creates the new site.
The only way around this so far is to set IIS directory security (on the folder that has the scripts) to log in automatically with a domain admin account. I of course do not want that to be the case. Here is the line of code that bombs out.
set objservice = getobject("IIS://venus/w3svc")
The script pages are located on the same server. I have tried using a local admin account (not good either) with no luck.
By the time this line is run the directory has been created the appropriate files copied over and database has been filled with appropriate info. This seems to be my last issue to overcome.
View Replies
View Related
Can anyone point me in the right direction for dealing with a dynamically created table of shopping cart items? Each row (or Item) has a column where the user can change the quantity. Is there an easy way to grab and use these changed values when they hit the form submit button?
Or, do I need to bite the bullet and write code that filters through the form fields named "quantity1," "quantity2," "quantity3," etc... And then determine which one goes with which cart item?
View Replies
View Related
Already have an asp page showing results from an access database table (supplies)
Need to know way select items from this list w/o the need of retyping to another form.
Also would like to be able to insert order_date automatically to another access table (orders).
View Replies
View Related
Is anyone having problems with formatting text using the ASPPDF component? I am having problems when it fills in the pdf form from data entered through a form. For some reason it doesn't allow me to format the text or resize it...
View Replies
View Related
I am trying to create a form where a user has to enter information such as username, password, last name, etc...
My current code is to look at the recordset to find any existing username, and if not found, it will add the new username.
At what part of the page do I validate the password so I can determine if the user enter the password correctly the second time (to determine the password was entered twice correctly)?
Here are my pseudo codes: ....
View Replies
View Related
I have recently been trying to setup a webserver running phpBB and an automatic forum creation script so that visitors to my site could signup for their own free forum hosted on my website.However, I HATE PHP! It just isn't working for me, despite the fact I need to configure PHP, Install several various files, change many many .ini files httpd config files etc.. oh yeah I forgot I needed to run it on Apache on Server 2003.
Anyway, basically I am looking for a way I can remotely host this on Server 2003 with IIS and ANY ASP forum software out there. I am not an experienced ASP programmer so would prefer a ready made script.I am desperate to get this working - I have barely left my computer for three days trying to play around with stupid PHP and now I determined. find / make an ASP Forum Creation Script.
View Replies
View Related
if there exists a query to erase/drop tables from an access table (on a asp script) older than X creation date.
View Replies
View Related
I have a chunk of code, where based on the user's selections, it goes through a database and selects all of the records from the database and writes them to a text file (the database contains nearly 600,000 records), currently, the file is written and the user would end up having to wait for it to be written, before continuing.
Is there a way that this file could be kind of.... tagged or something, so that the server creates it in the background, instead of while the user waits, so the user can continue doing other things, rather then having to wait for the text file to be created.
The files can be quite large, as they can end up being anywhere from 1 - about 600,000 records with between 4 - 10 fields each. Here is a sample of the code that creates the text file. Code:
View Replies
View Related
I'll admit my ASP skills are very rusty, and come seeking help.
I'm currently using a dictionary object to store a multi-dimensional array.
I want to pass this dictionary object to an object, which holds an array of dictionary objects.
However I'm finding that the array is not getting set, thus I'm having great issue with dynamically resizing the object's property for every new dictionary object I'm adding.
View Replies
View Related
I have a VC++ COM object which fires an event. I've written VB EXE apps against it and they receive the event notification.
I've now built a simple VB COM object which uses the VC++ COM object internally.
My question is, assuming the ASP page which loads the object does not immediately exit, will the VB COM object be able to receive the events from the internal object?
View Replies
View Related
We are using .net 1.1 on windows 2003 server. This is we are facing in our
production server.
When we are doing the load testing we are getting the bellow error. While
the load testing this error is not coming frequently. When we run 20 threads
for 3 mins we are getting this error message 2 or 3 times. But this line of
code is executed by all the threads. Code:
View Replies
View Related
I want to open a recordset object on an .asp page. When I open the recordset I would like to use a stored procedure that expects a parameter to be passed for the stored procedure. I will then use the recordset to loop thru the recordset, update values from the recordset and then update the database by passing parmeters to another stored procedure.
I would like to use the recordset object but can it be used to pass a parameter to a stored procedure? Do I need to use a command object to open the records instead in
order to pass the parameter to a stored procedure?
View Replies
View Related
I have a custom function for checking if a variable has been set or not to make the code easier to read, as well as to keep it shorter.
However, I'm getting errors that "Object Variable not Set", even after I've already checked for null and empty. Code:
View Replies
View Related