Create Fixed Section
I am a C#-Coder and now I have the duty to rewrite a ASP-Website and add some functionality. The problem is that I have never seen ASP before and I don't have the time to learn everything necessary to complete my work.
It's a very simple problem and would be really great if someone could tell me what to do or show me a small code-example. I think "learning by reading code" is the best way to get new information
I have an ASP-Website with a very long list (out of a SQL-Query). If I scroll down the page I can't see the list-header any more <- THATs my problem. What I need is an ASP-Website with a fixed section that can't be moved and below a common, scrollable website.
The header of my SQL-Query should be in this fixed section and the datasets should be in the scrollable section.
View Replies
ADVERTISEMENT
So I am working with my IT department on a project. They have a large ASP/MSSQL db system for tracking multiple locations/projects, etc. The site has been an internal device for some time. We are trying to massage the system into a product to lease out.
As a results, we are now having to develop manuals for setup, configuration, and most importatly - use. I need to develop a users manual for the system. I can fill in the blanks, but I don't want to make Word documents. I want the help to be online, seearchable, etc.
I'd love to be able to tag sections as being for certain security levels so someone with high security would see ALL the stuff, someone with low security would only see the peices associated with what they have access to, etc. Is there anything out in the ASP (or even PHP) world that does this?
View Replies
View Related
How do I show a double with 2 decimal places in vbscript? Also is there a way to show a string that is holding a number with two decimal places or does it need to be converted to doulbe first and then converted back to string after manipulating the double?
View Replies
View Related
I have variable, say "total". It can be an integer or floating number.
No matter what value it stores (5 or 5.1 or 5.24), when I display it, is
there a way I can make it display it with fixed 2 decimal digits, like 5.00?
View Replies
View Related
I posted a similar problem a while ago but never found a solution. I am passing an integer value (called NoElements)from a html form (which gets created using javascript) to an asp page. The value of NoElements is used to create an asp array of that size. At first I was confronted with the following error:
Expected integer constant
I then was advised to initialise the array (to say 100) and then do a ReDim Preserve. I now get this error message:
This array is fixed or temporarily locked? What should (or at least I thought) be a simple porcedure is making my life a nightmare.
View Replies
View Related
i'm getting an instance of a form field value being cut off when input into a MS SQL db. i can't figure out where it's doing it. the field datatype is set to VARCHAR with a size of 100. the data is being cut at 30 characters. here is the form field: Code:
View Replies
View Related
I have an access database on my website.Its tied in to an asp calendar page where people can click on a date and send me an email wanting to book that date. Could i sent a text message from my mobile to add a new date into my access database to book that date instead of having to go onto my admin section and add it in?what i trying to explain. Is this possible or impossible.
View Replies
View Related
I have implemented a subscription section which just inserts the fname, lname and email in the database which works fine and in the UnSubscribe section Which i have used the delete statement, but my problem is that i need to know how i can make it so when the subscriber types in the fname, lnam and email all three have to match the database fileds in order to delete. I am using access database.
View Replies
View Related
i have two layers which i show and hide as per the users requirement...how do i give a link to print the contents of the layer only?
View Replies
View Related
I have an articles_tbl . How do i create a select statement which only brings back the latest 3 records added to this table (the database has a field called 'date_added') so the information of when they were added is present.
I was just wondering how to bring back only THREE records and showing them, instead of bringing back the entire table content and then showing three out of them..
View Replies
View Related
i got this error when trying to looping through an array
Quote: Microsoft VBScript runtime error '800a000a'
This array is fixed or temporarily locked
Here are my code:
View Replies
View Related
i know how to create text files using ASP, but is there any way to create fixed width text file using ASP? i need to have the data lined up in the same location at each row.
View Replies
View Related
i am designing a search engine, you select the search options from five choices in a drop down box, each option reveals a table, but the tables have fixed positions on the html page.
i need it so that if only one option is picked to search and it is the last option on the drop down list, that it will appear at the top of the page? i dont have a clue what type of function to write to do this or what techniques will be involved!
View Replies
View Related
How would one extract the number of (days) from (today) and a (future fixed
date)- eg: February 12, 2003. ....where today will always be Date().
Thus:
02/12/04 - Date(now) = 27 days.
Can anyone help me here?
View Replies
View Related
This code highlights words entirely. I look for the word nation it highlights words like abomination. So I only want the function to highlight whatever I'm looking for. Code:
View Replies
View Related
I'm trying to merge two separate RTF files (created in Word) into one Word document. I'd like to put a "next page" section break between each document so that headers and footers can differ between sections. I've got the documents merging, but I can't seem to figure out how to insert the section break. Can anyone help?
View Replies
View Related
I have a question regarding opening and closing a particular section in a web page. I have done that in .net using panels, but, I dont know how to do it in ASP (using VBScripting, JavaScripting).
I have a table with long list of users and every user has some info attached under them. My table looks too long. I wanna give my users a functionality in design so that they can close and open each section. Is there a way to do it in ASP?
View Replies
View Related
i need to login to a member section of a website and get authenticate at the index.asp before i can reach tools.asp, another page i will use. I see that the member section do not use cookie. It used session.
I had tried reaching tools.asp directly (with all the variable pass in together in a url example: URL). However, it will redirect me back to index.asp ,asking me to authenticate first. Is there a way to skip index.asp and go directly to tools.asp?
View Replies
View Related
I have a newsletter form with 8 article sections. The resulting newsletter displays the sections in a specific format. However, if the user only has 6 articles, how can I prevent section 7 and 8 from being dispalyed as blank sections?
View Replies
View Related
I can't work out how to add a path section to a sqlstring, at least i think that what i need to do.
The image url in the database, is set a directory in from where the page sits, and displays for a shop. i.e. images/thumbs/you.gif
However I would like to display this image on the homepage, i.e latest album from the shop, and have had it working but by adding 'store/' to the path in the database i.e. store/images/thumbs/you.gif, obviously problem with this is it knocks out the image in the store.
So therefore I thought ok add the path needed manually to the homepage code, but I don't know how to put it in, or if to put it in the sql statement or add it to the variable where the image appears Code:
View Replies
View Related
On allot of professional web sites, i have notised that When you are looking for something on the site and it needs you to login first
before you can see the content, when you do login it knows exactly where to take you before you loged in, how do they do this???
what type of code do they use??? i would love to apply it to my site.
View Replies
View Related
While debugging why a web.config section replacement was not happening in the real web application, I tried a simplified case, no replacement is enabled and the connection string is not showing up? Code:
View Replies
View Related
Here's what my code looks like...
View Replies
View Related
Is there anyway to generate a PDF using ASP Scripting(VB Script).
View Replies
View Related
Does anybody knows a way (free of cost, code or dll) to generate pdf?
View Replies
View Related
I use a website in asp for which I have to type a username and
password everytime I want to login.
On the form are two fields for typing the username and password and
one button LOGIN.
I want to create an standard url for the website which includes my
username and password so I don't have to type it in everytime.
I looked at the page source but I can't find the right string.
I thought maybe http://.........aspx?username=me&password=it
but that doesn't work.
View Replies
View Related
Is there a (simple) way to create a PDF file from ASP?
View Replies
View Related
I have 2 developper machine running visual studio 2003 and Windows 2000. On the first machine (Machine A) I may create a new asp project without problem. On the second (Machine B) I cannot create a new project.Visual Studo create the project but not the initial files and freezes.
But I may create a new project from Machine A using the web server of machine B.I have checked the access rights of both servers, the access rights on directory wwwroot and inetpub.Everything seems the same.
View Replies
View Related
Has anyone seen or know if anyone has done this? I think that ASP would be a great tool to do this with but I am curious if anyone has tried it and found it to be too hard or too burdensome to follow through with?
View Replies
View Related
I'm running IIS5 on a Win2K server, and I want to have an ASP page that
creates new users. I have some simple code to test this, but am getting
a "500" error when I run it. The ASP looks like:
<%
strDomain ="Foo.com"
strUser ="Foo1"
' Create new user with password
Set oDomain = GetObject("WinNT://" & strDomain)
Set oUser = oDomain.Create ("User", strUser)
oUser.SetPassword = "password"
oUser.SetInfo
%>
Just for this testing, I've added IUSR_machinename to the Administrators
group, but am still getting the 500 error.
View Replies
View Related
how to create dao.tabledef object in asp:
I need to convert the following code into asp:
Dim tdf As DAO.TableDef
Dim db As DAO.Database
Dim fld As DAO.Field
Set db = OpenDatabase("C:Mydb.mdb")
Set tdf = db.TableDefs("Table1")
Set fld = tdf.CreateField("Field2", dbText, 10)
tdf.Fields.Append fld
View Replies
View Related
Is there a way to create a host header in IIS with an ASP?
View Replies
View Related
I want to create a web page for my friends.(I have a subdomain and my server supports ASP scripts) It will contain a small basic guestbook.It must write the entries to a text file on the server.And i must be able to view the guestbook.
View Replies
View Related