How Do I Reference To An Acces Dtabase Out Side My WWW Folder?

on my hosting acount I have 3 folders that were set up by default:
DB
LOGS
WWW
now I understand what each if for obviously, but can i reference back to the
databases location outside the www folder from a file using
..../DB/database_name.mdb ? {asssuming of course the file I am referenceing
from is in the main WWW folder)

View Replies


ADVERTISEMENT

Acces The Files In A Folder

can anyone tell me how to access all the files inside a folder in asp

View Replies View Related

Relative Reference To Parent Folder

I have a rather large classic ASP application that uses relative references like

...commonconnection.asp

all over the place in about 60 pages. The application works OK on my XP Pro machine but does not work on a Windows 2003 Server. Is there a way to set the server to accept the reference to the Parent folder? Does it have something to do with IIS lockdown? Or IIS Version 5 instead of 6?

View Replies View Related

Saving Files To Acces DB

I have created an access DB with a few BLOBs in it to upload files to, all good and well this is working fine.

However found out I can not write the data directly to the BLOB as I have to upload the file first to the server and than read it with the ADODB.Stream object.

This is like a double action:
first I have to write the file to the server and only then I can read it to the DB...

Is there anyway to do this all at once, I.E. read a file from the client and as I am reading it to actually write it to the DB???

View Replies View Related

Relations MS Acces 2000 With Insert Into

I am trying to insert a new record into the table Medewerker(MS Access 2000)

none of the fields are marked as required in access 2000 by the way.

the following code: ....

View Replies View Related

Opening Server-side Excel File Then Modifying It Client Side Using Vbscript

is it possible to open an excel file (used as a template) from server using server-side vbscript; then modify it or add values from client using client-side vbscript?

View Replies View Related

Passing Client-side Array Index To Server Side Script

Following is a vbscript code extract triggered by a combobox OnChange event. arrVendorA and arrdefpack are server side arrays and i need the intCounter parameter to be the array index. Code:

<script>
sub getstdPackByVendor(strPartNo, intCounter)
dim selVendor
selvendor= colSelect("cboVendor", intCounter).value

if selvendor= "<%=arrvendorA(intCounter)%>" then
if "<%=arrdefpack(intCounter)%>" = 2 then
colTD("txtStdPack" & intcounter+1 ).innertext = cstr("<%=arrVAStdPAckL2(intCounter)%>")
end if
end if
end sub
</script>

View Replies View Related

Server-side Array, Client-side Index Problem

The following code is giving me a type mismatch error at the 'if' statements... any ideas, anyone ?

sub getstdPackByVendor(strPartNo, intCounter)
dim selVendor
selvendor= colSelect("cboVendor", intCounter).value

if selvendor= "<%=arrvendorA(" & intCounter & ")%>" then
if "<%=arrdefpack(" & intCounter & ")%>" = 2 then
colTD("txtStdPack" & intcounter+1 ).innertext =
cstr("<%=arrVAStdPAckL2(" & intCounter & ")%>")
end if
end if
end sub

View Replies View Related

Server-side Vbscript Call With Javascript Client-side

How do I go about calling a server-side vbscript within a client-side
javascript function? What I have is a page heavy on the javascript that has
a number of functions, one of which is to begin a visual countdown with an
onclick and also open an asp page containing the server-side vbscript, which
initiates a wake-on-lan call. I had no idea how to call the vbscript within
the javascript function, so this is why I opted for the vbscript asp page
"pop-up" via window.open. Code:

View Replies View Related

Client-side Confirm() Needs To Run Before Server-side Code

I check to see if a certain submission button is asking for removal. If the removal is true, I update a recordset's delete column. This has been tested and it works. However, now I'd like to prompt the user to make sure that he/she wants to remove the record. Here's the code: ....

View Replies View Related

Can Client Side Scripts See Server Side Form?

I have a Client Side Java Script which is supposed to re-load the options on my serverside ASP form.

I have been trying to get the syntax right to assign the Select box on the ASP form to a variable in my JavaScript so I can update the options. Can anyone either tell me if this is not possible or what the syntax should be. Here is some information.

Form Name = AddProdForm
Select Box name = subprodline
JavaScript Variable = form1

Here is one of the many versions of this line I have tried.

var form1=document.forms(""AddProdform"");

View Replies View Related

Executing Server Side .exe File From Client Side

I m writing one code to invoke remote desktop service for given IP address. For that i m using mstsc.exe file to invoke RDP.

I have a no of links to be displayed on the page and on click of link, RDP for that IP should be called. Currently i m using one button to invoke RDP. Code:

View Replies View Related

Tables - Server-side Vs. Client-side?

I am starting to build quite a few pages that will have
tables of data from an SQL database.

I have been building the table rows on the server side
in VBScript, but I have been thinking about having the
VBScript code just build array variables in the <head>
section (or as local variables), and then have JavaScript
functions on the client side actually populate the tables
when the page loads.

I do plan to do other things like being able to sort the
tables in JavaScript code on the client, limit the tables
height and be able to scroll the rows, and click on a row
in the table, and have the values populate a form. I will
also need to be able to export/download/? some tables into
Excel.

View Replies View Related

2 Divs Side-by-side Causing Me Grief

I wanted to just use standard INPUT buttons and colourise them, but user's
of my web app want to continue creating their own buttons and using these in
css. Before I used straightforward images, but creating an image for each
button was a mare. You see this is all to do with giving people the ability
to change the look of the web app, in other words a skin, using nothing more
than pics and css files.

My theory was that I create a div, span or whatever for the left hand side
of the button and ref the image (in css) to be a 2px wide img that can have
the curved left hand edge of the button.

I would then put a div, span or whatever next to this and the reference
image would be a really long image (horizontally speaking) so that if the
button text was long then this would keep moving to the right and
accommodate basically any text length. Code:

View Replies View Related

Client Side And Server Side Validation

I am doing login page . (login.asp)As usual it has username , password textbox and a login button .i need to do client side validation for mandatory fields and I need to do server side validations to check for the hardcoded username and password .if it matches i have to redirect to another page(content.asp)

View Replies View Related

Client Side Asp Within Server Side Asp

im trying to use the following code to log whenever a user clicks through
this particlular message box - however, this currently logs regardless of
whether or not the message box was clicked - im assuming this is because the
server-side code can't see the client side if condition. but how can i set
the varMsgBox variable as a server-side variable? Code:

View Replies View Related

Need Reference

I want to build a website with a members only section using ASP and an access database, can anyone tell me a website or recommend a book to help me do this?

View Replies View Related

Reference

Where I can find an ASP reference (objects, methods and properties) like the one that PHP offers in his site?(downloadable and .chm format preferable)
Please don't tell me microsoft.com, be more detailed please because I've been searching for on microsoft.com ...but nothing found.

View Replies View Related

When Is Reference To DLL Released

I'm writing a custom COM object used by certain pages on a site. During
development, I need to replace this dll periodically, but have found that is
in use and can't be replaced. This is true even after all browsers have
been closed, and sufficient time allowed for a session to expire. The only
thing I have found that works is to restart IIS thru the IIS mgmt console.

The object is used like this:

var vObject = Server.CreateObject('MyObject');
//do something with it
vObject = null;

Is there another way to replace this dll short of taking the entire site
down?

View Replies View Related

Need Ebooks And Reference

i need to download some good free ebooks of ASP, links please.

View Replies View Related

Function Reference On The Web

I'm trying to convert some ASP pages to PHP, but I don't know ASP very well (as in: at all ), and there are calls ASP is making whose purpose and function is unknown to me. I tried looking for a reference on the web where I can search any function name and get a reference to what it does, but I have been unable to find it.

Is it somewhere really obvious and I just missed it like an idiot? Is there such a site out there at all? I need to translate ASP to PHP and as such need to read it, not write it, so a index/reference sort of site would be better than a learning ASP sort of site.

View Replies View Related

Path Reference

As my site and folder structure are becoming larger and larger - I am not quite sure how to reference files in a very different part of the folder structure. Is there certain syntax I should be adhearing to?

I see a lot of " ./ " stuff - but I am not quite sure what it means. Is there any other sort of things like ./ ? If you have any advice or have a link that explains this.

View Replies View Related

Fopen And Reference

the equivalent of fopen(PHP) in ASP and if so where can I read more about it? Also does anyone know a good reference for ASp where you can read about functions and so on?

View Replies View Related

Reference Site

suggest me a complete ASP reference site with all the featurz and fungtions of ASP clearly mentioned.

View Replies View Related

How To Reference A Form Name In A For Loop

I've been struggleing with this chunk of code:

for j = 1 to totalManagers2
Response.Write("# in J loop:" & j & "<br/>")
If Request.Form("j") = "on" Then
myToField = myToField + recipiant(j)
Response.Write("recipiant's email is :" & recipiant(j) & "<br/>")
validRecipiant = true
End if
next


My problem lies with line ' "If Request.Form("j") = "on" Then '...

Now on the first page, I have a form, which I dynamically populate a table, and for each row, I output an HTML checkbox. I assign the name of that check box to a # that is incremented within the for-loop that is outputting all the HTML table rows.

So I have check boxes with name attributes such as "1", "2", "3", "4" and so on.

My question is, on the next page, how do I tell if those check boxes are checked? I use the Request.Form("1"), Request.Form("2"), Request.Form("3"), Request.Form("4") and so on.

But as you can see, in my For-Loop, I'm just checking this...
Request.Form(1), Request.Form(2)...and so on ....

So I am ignoring the quotation marks...how can I include them so the code knows to look at the form for the name attribute of "1" and not just 1?

View Replies View Related

Invalid Or Unqualified Reference

I�m getting the error with the code below [ line 179 is just after the �then�]. The code is supposed to complete an�a href to an image if it exists. Code:

View Replies View Related

String Function Reference In ASP And ASP.net

I wanna know all String function reference in ASP and ASP.net. Is any website provide this information?

and Is string function in ASP and ASP.net has same.?

View Replies View Related

Local Path Reference

I took over an ASP site and am having trouble uploading pics through the user interface. I get the following message:

Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object: 'SoftArtisans.FileUp'
/admin/UPLImage.asp, line 15

The line refered to by the message states:

upl.Path = "d:htmlusersusernamewebsite.comImagespages"

View Replies View Related

Select Where No Reference Is Made

is there an sql command that allows me to select all rows where a specific field isn't called by other rows? To be more specific: I have this table for my categories. I want to be able to choose all the categories that don't have subcategories. The fields are

CaName
CaId
CaParent

So a category has a parent, so caParent = the CaId of it's parent. So is there a way to call all the categories that don't have children categories in my sql?

View Replies View Related

Reference VBScript Variable

This is my VBScript function:

<script language="JavaScript" type="text/JavaScript">
Dim UN
Set objNet = CreateObject("WScript.NetWork")
Set objUser = GetObject("WinNT://my domain/" & objNet.UserName )
UN = objNet.UserName & " (" & objUser.FullName & ")"
</script>

How can I reference the VBScript Variable UN in my ASP code? <%=UN%> won't work because VBScript is on the client side and ASP is on the server side. If I have to post it on one page and read it on another, how do I do that?

View Replies View Related

Reference An Include Page

I have different database connections that I use for DEV and PROD versions of our web app. I want to put the database connection string in one location so I only have to change it once when we push live.

So I put it in an include file and reference it in all my asp pages as:

<!--#include file="includes/db_conn.inc"-->

But this will not work with the global.asa page. How can I reference an include page from global.asa?

View Replies View Related

Server Side Script Inside Client Side Script Allowed?

I have a sub routine called when I click on a button. It is inside VBScript tags (client side). Can I do server-side scripting inside that?

<script language="vbscript">
sub cmdButton_Click
code

'can I do this
<% strValid = "Update" %>

End Sub
</script>

Would be nice but don't think it works. Anyone know for sure?

View Replies View Related

ASP Code Reference Guide/glossary

Is there a place online that that provides a glossary of ASP syntax?

I need a place that will briefly explain the meaning of ASP code such as:
DIM, IF, ELSE, sub, Response.Write, etc.

View Replies View Related







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