Named CDO Constants
I've been searching for a complete listing of the CDO constants, but have
come up empty. Where can I find a listing of all the CDO named constants
that can be referenced directly with the CDO metadata typelib, i.e.,
<!--
METADATA
TYPE="typelib"
UUID="CD000000-8B95-11D1-82DB-00C04FB1625D"
NAME="CDO for Windows 2000 Library"
-->
View Replies
ADVERTISEMENT
Can you use named anchors in ASP links?
I am using an <IFRAME> on one of my pages and want to jump to one part of the page that is loaded, but I'm also passing querystring variables in the link. It doesn't seem to recognise the #now anchor that I want to jump to.
View Replies
View Related
I'm trying to transfer an intranet app from one server to another. I'm
having a problem with the ADO constants on the destination server.
Our intranet site runs on the server.
In a virtual directory, I have a seperate application that is accessible
from the intranet.
I have the following in the global.asa in the virtual directory:
<!--METADATA TYPE="typelib"
UUID="2A75196C-D9EB-4129-B803-931327F72D5C"
NAME="Microsoft ActiveX Data Objects 2.8 Library"-->
This usually allows me to refer to the ADO constants, e.g.
Set rsLoc = oConn.Execute (sSQL, iAffected, adCmdText)
However, in this case, IIS is complaining... Variable is undefined:
'adCmdText'
This is a new (clean) server, so I'm wondering if there is some kind of
confirguration issue..
View Replies
View Related
I'm relatively new to coding activex and I have a problem. I've written an activex component in c++ and I am now using asp/vb pages to access the object. Is it possible to access constants that I've defined in the activex object? For example, can I do something like the following:
Dim constantValue
Set activeX = CreateObject("MyObject.MyClass.1")
constantValue = activeX.MY_CONSTANT_VALUE
View Replies
View Related
Is it possible that both adUseClient and adLockOptimistic does not really work with ASP ?When I use 3 for both - it does.
View Replies
View Related
I realize that this isn't a VBS newsgroup, but it's the only Microsoft newsgroup I read regularly so I hope that you'll be gentle with me. Where is the constant "vbCrLf" defined? My computer has been searching its hard drive for about three hours, now, looking for a definition and it still hasn't found anything.
The reason I'd like to find vbCrLf is because I wonder what else is in there. Is there a vbTab? vbBackspace?
View Replies
View Related
Can I name my array index rather than number?I am reading a RS into an array and rather than reference the fields in each elements using a number, i would lke to use the column headers from the table:
myArray(13,6)
would become
my array(name,6).
The reason is that i am worried about a query being added to in the table and throwing the column numbers out.
View Replies
View Related
Let's say I have a form like this:
<form action="handler.asp"> ... </form>
Within handler.asp, I output a number of named anchors:
<a name="important1">Important 1</a> ...
<a name="important2">Important 2</a> ...
<a name="important3">Important 3</a> ...
In my form processing code, I want the returned page to jump to one of these anchors depending on the result of the processing.
How can I do this?I don't want to use a redirection because then I would have to
re-process the same page.
View Replies
View Related
I've been trying to create read-only global variables by creating constants (Const) in my global.asa, but I can't seem to reference them. Sticking them in an include works fine, but it seems more structurally sound to use Application_OnStart. Am I attempting the impossible, and if so, why?
View Replies
View Related
I am trying to passing some variables via the url and also a named anchor appended to the end. unfortunetely the named anchor is been read in as part of the last variable.
threads.asp?t=96&f=15&j=y#288
I use request.queryString("j") to retrieve the value but the value returned is y#288 and no y as expected.
Is there anyway to fix this problem.
I can't pass the value via a form.
here is the code I use to create the url
Code:
View Replies
View Related
All of these fail :
response.redirect("page.asp?Param=Param#Anchor")
response.redirect("page.asp#Anchor?Param=Param")
This one works fine :
location.href = "page.asp?Param=Param#Anchor"
I have a solution i dont like :
i can replace #Anchor by &Anchor=Anchor
Does someone has an other idea ?
View Replies
View Related
Basically, I would like to create a folder on my server for each user that comes to my site based on their last name which they enter. The code I have below is incomplete as I don't know how to incorporate the lastname into the CreateFolder method.
dim lastname, objFSO
lastname = Request.Form("lastname")
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
folder = Server.mapPath("/test/")
objFSO.CreateFolder(folder)
Set objFSO = Nothing
View Replies
View Related
I know it's possible to extract data from a named range on an excel sheet. What I want to know is can I dynamically generate a named range with X columns and Y rows with VBScript.
View Replies
View Related
I know the basic 8, how do i find any others besides those 8? do you use hex codes? should also note that i need to be able to match the vbcolor to a hex color.
View Replies
View Related
Is it possible to server.execute a file that has a list of constants and then use those constants? I've tried, but the asp tells me the the variable is undeclared when I try to <%=const_name%>
View Replies
View Related
In an Oracle 8.1.7. Database there's a package like this:
PACKAGE CONSTANTS
C1 CONSTANT NUMBER := -1;
END PACKAGE;
How do I reach CONSTANTS.C1 from ASP?
I have tried
SELECT CONSTANTS.C1 FROM DUAL;
but it didn't work even when run in the database console.
View Replies
View Related
I have developed an extranet system, that is not recognizing any named anchors in IE. The top drop down on the page should be jumping the user to each section. It works beautifully in Firefox, but not in IE. Has anyone encountered this before? Any insights?
View Replies
View Related
Here is what I am trying to accomplish.
Language: .asp vbscript
Building a searchable real estate property database (MS Access)
Search page submits form variables to result page.
Works great but I have seen other web sites where the results page is a custom named page. for example.
If you search for homes with the following criteria.
Criteria: Buford, GA 30519
Your results page is named something like the following.
MLS-Buford-GA-30519-10-Distancea-0.aspx
Is this only doable in .aspx or can I accomplish this task in .asp?
View Replies
View Related
Can I use server.execute to get constant values ?
View Replies
View Related
I have the following problem.
I'm building a site with a db backbone.
In an "include file" I set a constant like:
Const partners = 22
and on some other page, I want to pass the word partners using the query string.
Meaning: I want to make such a link:
href="mypage.asp?module=partners"
When my page reads the querystring - I want it to be able to understand the value of the constant "partners".
when I read from the db using the following kind of Query, I get a "no value specified for one of more..." Code:
View Replies
View Related
Getting this error:
The name 'squibble' is not permitted in this context. Only constants, expressions, or variables allowed here. Column names are not permitted.
/squibble/incFunc.asp, line 13
when trying the following:
Code: ....
View Replies
View Related
I need to process a string to do some data insertion into a database table.
However, this string contains some constant variables (set in the include file) and it depends on the value of intDataCtr as below : Code:
View Replies
View Related
I am trying to solve the following exception. The exception occurs when my
ASP.NET code behind code attemtps to access a remore site using SSL. Please
note that all certificates are valid and the remote site is trusted. Also, my
web site uses a custom HTTPModule implemented in a DLL named Security.dll.
Unable to find an entry point named EnumerateSecurityPackagesW in DLL
security.dll.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.EntryPointNotFoundException: Unable to find an
entry point named EnumerateSecurityPackagesW in DLL security.dll.
View Replies
View Related
I am unsure how to process the results of a form where the name of the <input> is generated dynamically i.e.
<input name="X<%=counter%>">
or similar.
How is each input then referred to in the page the form is posted to? I can't see any way to dynamically create variable names in ASP?
View Replies
View Related
I've created a web application with Visual Interdev and I've added Microsoft
XML, version 4 in project's references. A META tag has been successfully added
in global.asa:
<!--METADATA TYPE="TypeLib" NAME="Microsoft XML, v4.0"
UUID="{F5078F18-C551-11D3-89B9-0000F81FE221}" VERSION="4.0"-->
But when I write the following code in an ASP server-side javascript:
<p>Value: <% = SOMITEM_ELEMENT %></p>
I get a Microsoft VBScript error '800a01f4'. Undefined variable:
'SOMITEM_ELEMENT'
I don't get such an error with ADO constants (even though I didn't include
ADOJS.inc). Can someone tell me what's wrong?
View Replies
View Related