Events Listing
I'm listing events held on an Access database displaying the forthcoming events using a For Next loop (is there any easier way?).
Some of the events are considered important and to be listed if they have a value of "y" against them in a field called "important".
How would I list say the forthcoming 4 events plus ALL of those where important = "y"?
View Replies
ADVERTISEMENT
Is there a command within ASP similar to the Do Events command in VB6. The
problem I have is that an asp page that I have written outputs many lines
after extracting data from WMI. In total there are about 1000 lines
generated which are displayed within the browser and saved to a database.
The browser displays the correct results and they are saved into the
database. But the browser only displays the results after it has completed
the entire script. Is it possible to get it to output lines before
continuing with the rest of the script so I can display a section at a time.
View Replies
View Related
I have ASP which uses a stored Query in a Access 2000 database mdb to update a table. I am only adding records. No changing information in the records of the database. Just adding records. I also have a form that looks like this form:
http://support.microsoft.com/?scid=kb;en-us;198466
So I have my Query and I have my form. All the necessary information for the form comes from the ASP page. What I need to do is provide the information from ASP to the form so that it's code can populate the table. Any suggestions how this might be accomplished with the above example? Events? Or a discussion somewhere on the Net to bind a form to data submitted from an ASP?
View Replies
View Related
I know I have seen some free ASP calendars before, and even did a search of
this NG, but couldn't find any references to any. I went to 4guysfromrolla
and asp101, but they only .NET calendars as far as I could see.
I'm specifically looking for something that's free and has a page for
editing or adding events.
View Replies
View Related
I build a ATL object that is used in an ASP page.
Can I insert events inside this ATL object?
ATL is builded in C++
View Replies
View Related
I have a list box that has a list of names, and i want when the user selects the name to bring some information from the database and put it below the drop down box. I think i need to use an onchase event but how do i get the page to refresh to show the new data, suggestions or examples woudl be great.
View Replies
View Related
I am downloading a stream which contains XML in my ASP page. I want to have MSXML XMLDocument load this in async mode, and call events as it would in VB. I am new to ASP, is there a way of hooking into the events using ASP? Code:
View Replies
View Related
beeing from swedeni´ve the text in swedish. But I hope u understand.
I´ve a calendar
http://www45.brinkster.com/ovaasp/cal.asp
Now I want to list events, so each event gets to the correct date (i.e in the correct
table-cel)
I´ve managed to list in the wat I want
http://www45.brinkster.com/ovaasp/list.asp
But when I trying to put the events in the calendar, I can´t get the repeating events
correct . U can see for yourselfs http://www45.brinkster.com/ovaasp/error_jun.asp
if you check next month + button "forward"
Eken Cup, i Solna should be writen to 3 - 7th jun
View Replies
View Related
The project i am working on just now requires me to provide users with a link to download articles stored on the sites FTP server.This is not a problem to do, however, i also need to keep a record of who downloads what and when. I therefore have a downloads tablein my DB for storingthis info. The problem is, when the user clicks on the download link i need the document to be downloaded, AND a query to be executed to record the info into the DB table. I effectivley need the link to action these 2 eventssimultaneously!! Not sure if this is possible.
View Replies
View Related
How to disable DHTML events in HTML/JavaScript. I am using one DIV tag. THis is displaying one menu. I wanted to diable the menu for some time.
View Replies
View Related
I recently had to build an FTP server for all of our clients to send us files. I am now asked to do something I have never done, I need to be able to alert via email any other useable method everytime new files are ftp'd into client folders on the ftp server. Can this be done?
View Replies
View Related
This page is going to be a menu system and is dynamic so that the user can add items to their own menu.
I have it working but would like it not to show sub menu until the main item has been clicked by the user?? Code:
View Replies
View Related
I have added a calendar into my site, I have a new table in my access database called: Cal
I want to ADD AN EVENT
The records I have in that table are:
eventID
eventTitle
eventDesc
eventDate
so I designed my ADD NEW EVENT form
my problem is:
what do I put in the form for eventDate (3 select form fields? Day/Month/Year?) it doesn't work??!
View Replies
View Related
does anyone know how to create an events calendar with a database?? or has a tutorial for this??
View Replies
View Related
Trying to implement a list of online users in my application. I have SQL Server database, table Users with a column called Status, that is set to 1 if the user is online or to 0 if the user is offline.
I wrote a VBScript sub for database update, but the problem is when I try to execute it on page onLoad event or onUnload event, the onUnload event overwrites the onLoad one right away. I suspect it has something to do with server-side vs. client-side scripting.
This is the BODY tag: Code:
View Replies
View Related
I have some checkboxes that are generated from the results of a database search. The ASP for creating the checkboxes is as follows...
<td><input type = "checkbox" name = "chk<%= rstSearch("Product_Group") %>+<%= rstSearch("Depth_Flag") %>" > Select </td>
As you can see, it's part of a table making up a form. At the moment, the users are going through the form, clicking the boxes and saving to the database at the end with the 'Submit' command button.
Is it possible to save the changes as the checkboxes are clicked? I suppose I'd need to write some dynamic ASP event handling, 1 event for each of the checkboxes that are created by the above?? Code:
View Replies
View Related
I have a usercontrol which contains ajax toolkit controls which I am using in a SharePoint siite. When the user clicks one of the buttons on the page it fires a series of events server side (creates a new project in project server, creates an new SharePoint site ... ) each of which take quite some time. I would like to display the successful completion of each event in the control to so the user can see what progress has been made.
I am struggling to understand how I can engineer the page to perform each task in turn, post the page back after each task has occurred (to update the UI that the task has been done) then fire the next server side event. It's easy to update a control with the status changes but the updated control is only displayed to the user when all of the server side events have completed.
View Replies
View Related
I'd like to trap ADO Recordset object events in my ASP script (either VBS or JS, no preference). I've tried (in VBS) writing a Sub rs_RecordChangeComplete( adReason, cRecords, pError, adStatus, pRecordset ) - rs being a server-side ADODB.Recordset object - but it doesn't get called whenever rs is moved (I browse it in a loop). Is there a way to catch those events from ASP?
View Replies
View Related
Can any one give an example for handling a tree view
web control event, inside an asp.net application?
I am able to build a tree view using this control on an asp.net web form (on
page load) but can not handle its events later on
html tag includes the reference to the event handler and looks like this:
<iewc:treeview1 id="treeview1" runat="server" Expand = "treeview1_expand">
then the aspx.vb file includes the treeview1_expand() code:
Public Sub TreeView1_Expand(ByVal sender As Object, ByVal e As
Microsoft.Web.UI.WebControls.TreeViewClickEventArg s) Handles
TreeView1.Expand
this file also includes a withevents declaration for treeview1.
View Replies
View Related
I´ve problem with the following:
With a form a try entering recurrent events in a access db. I´ve an event = > tournament. This this takes place during 3 days (day 1, day 2 and day 3)My questions are:
- What would the > INSERT look like?
- witch code would give a printout like >[color=blue]
> day1 Tournamet
> day 2 tournament
> day 3 tournament
>[/color]
View Replies
View Related
I've decided after several failed attempts this is too difficult to do
on my own. I know it's been done before and a tutorial or code must
by lying around somewhere.
I have a Weekly Calendar
It's in a table with 7 columns and 22 rows
Across the top I have Monday thru Sunday
Down the side I have half-hour time increments - 8:00am - 10:00pm
I would like to display my events on the table, corresponding to their
day and time. If it spans several hours I would like the event to
span several rows.
Basically look like an Outlook Calendar.
I've tried this myself with five dozen if/then statments and embedded
loops but it's a huge mess.
I'd like to find out how to simply do this in asp (not ready for .net yet), any
ideas?
View Replies
View Related
I need to develop a web application in asp.net which can detect a USB device and capture its
events...
For example when a person access the web page and connects the device to his machine he shld be
able to detect the device and shld be able to read or write into it.
I wrote a java program using jusb and called that in an applet..though it worked it needed lot
of client side configurations.
My requirement is that there should not be any configurations in client side and things shld
work smoothly.
I know some one had done this in asp and javascript. but i don't know how its done.
View Replies
View Related
Until now I've only seen VBScript to handle application and session events (e.g.
Application_OnStart, Session_OnStart). Is it possible to do this directly in
JavaScript or do I have to write VBScript proxies?
View Replies
View Related
I entered a whole year's worth of events. I want to display a range of events which change according to the date, so only 2 weeks later and one week earlier are displayed on the main page.
How did other people deal with similar issues? I know I can set a range mathematically speaking (date + 14 AND date -7). But did other people encounter other issues? How did you solve them?
View Replies
View Related
I am displaying a list of data from a sql database. I have hyperlinked each field as i want the user to be able to click on this link, the page refreshes and all entries that are the same as the user clicked on are at the top of the list. I am using a query string as the link.
View Replies
View Related
I'll get right to the point. I'm displaying an alphabetical listing of names from a recordset in the following manner:
A
abe
alex
...
B
barb
bob
...
C
craig
etc...
Presently, I'm using a for..next statement to cycle through the alphabet, and displaying the matching names for each letter via a loop. Here is the code:
View Replies
View Related
display just a listing of files in this manner.For example.If i select D: drive it should give me all files in root directory and sub folders and sub sub folders.
The operation is like a dos command
dir /s/o/b
I am using this for sitmap for one of my client, who has more than 100 folders and 50 sub folder and 10 sub sub folders
that he has more than 7000 html pages
View Replies
View Related
I am tring to build a registration online form that participants will be
able to choose from about 75 diferent courses divided into various sessions
and choosing a course per session.The problem I have is that I cant figure out the best way to do this:
1. either to make them static pages and then submit the values the
participant chooses into a database and use the values for billing etc. Like
this i will be able to validate / control what the users chooses e.g they
dont choose overlapping courses.
2 my second option is to list them in a database and then list them on my
page , which is easier but how do I validate what the participant chooses
and how do I move the values to the next page and making sure the right
course goes to the right session.
View Replies
View Related
Is it possible to list directories of different computers in a network?
For instance, I have the script on "server 1", "server 2" is another computer in its network places under the same domain. I want to have a asp or asp.net script list the contents of "server 2" from "server 1".
Is this possible? all the asp scripts Ive seen so far can only list files from the computer/server its on.
View Replies
View Related
I've managed to get file listings, do textstreams, move around in the file system a bit, just wondering how I get folder listings as I would file listings...
Here's what I've tried, but it's not quite working:
[vbs]
strPathInfo=Request.ServerVariables("SCRIPT_NAME")
strPhysicalPath=Server.MapPath(strPathInfo)
Set objFile=objFSO.GetFile(strPhysicalPath)
Set objFolder=objFile.ParentFolder
Set objFolderFolders=objFolder.Folders
For Each objFolderItem in objFolderFolders
mess=mess & "<tr><td><a href=""" & objFileItem.Name & """>" & objFolderItem.Name & "</td><td></td><td></td><td></td><td></td></tr>"
Next
[/vbs]
View Replies
View Related
I want to display a list of businesses from a database but break on each new letter eg
A
Andrews Carpets
Arthurs
B
Browns Bakery
etc etc
I haven't a clue how to do this, can anyone help please?
View Replies
View Related
If I'm displaying records from a db as a comma seperated list with a full stop at the end what do I need to do?
Example: item1, item2, item3, lastitem.
I have a do until rs.eof loop which which displays each record like so:
<ul>
<% do until rs.eof %>
<li><%= rs("item") %>,</li>
<% rs.movenext %>
<% loop %>
</ul>
View Replies
View Related
I have been searching google and other search engines and have not come up with anything for this question of mine. Maybe I'm not typing in the right stuff.
I am writing a couple of scripts that require me to display a list of information from a database from one catagory. I have never needed to do this before and am trying to find out how I should go about doing it
View Replies
View Related