I'm building a 'spot the ball' gaming site where people choose a point on an image closest to where the ball should be. This works in Flash by assigning co-ordinates to that point.
However, I need to do a database look-up when the competition is over, to see who has the closest point. I'm hoping to build an ASP application that will enable the administrator to enter the correct co-ordinates, then click a button to find the closest entry in the database. I can't think of an accurate automated way to do this. Has anyone built anything similar? What would be the best way to achieve this?
I have a database of UK postcodes with corresponding OS Grid references (easting and northing) but I need to convert these to longitude and latitude so that I can plot my postcodes on a Google Map.Does anyone know of a function which can do this?
I need to find out the number of connections for ASP application and who is using it (i have it in Session(username))and need to broadcast a message whenever there is some maintenance work done on the applciation.
i've made a calendar that uses newsitems from an access database. Every newsitem is a record (newsID, date, title, fact). When the page is loaded for the first time a visitor looks at that page, I want to set the calendar to the newsitem that is closest to the present, but lying in the past. So, today we are the 13th of October. In the database, i've got two items with date "the 2nd of October" and "the 25th of September". The query should return me the 2nd of October. Of course, when that newsitem did not exist, then the query should return me the 25th of September.
I have created an ASP.NET page that allows the user to page through a result set. I need to expand on this. On that same page I a filed where the user can type in a search string. When they click a button ALL the results will be returned and the closest match to the search string will be highlighted. The approach I am taking to page the data is to put the keys/indexes into an array then create another data reader based on those results to display the actual data. There may be a better way, if there are any suggestions.
Bottom line I need to find what page the search string is on so I can highlight it. I guess I would have to calculate what page that record is on, but I can’t wrap my head around it. Here is some code that I use for the paging: Code:
need to enter many entries at a time related to my production. Like operatorID,operationNO,qty,nohours bla bla I already designed page. But its used to enter one record at a time. I want to allow user to enter all operators details for a specific date at a time. I tried using ADO Connection and ADO recordset. When set the properties, its displaying error. Its not connecting to database. How can i use this? or is there any tool having this feature for free? I am using access database. I want to use this in my LAN only.
i have this event sign-up program that displays events from access databases and allows a user to click on a sign-up button to sign up for these events. currently when viewing an individual summary, the users see a listing of events they've signed up for, but it's been suggested to create a grid schedule for a better visual.
these events cover a 9 day period (Friday through Saturday) and i was wondering if there's a relatively easy way to create a grid schedule for the users?
I need to display data from a sql server 2000 db on an asp web page and I need a vertical split. Does anyone have any solutions? I really can't afford to spend much/any money so freeware/shareware or coding suggestions is what I am interested in.
I have an ASP page which hosts a VS flexgrid control. I use a Menu.js file which will dispay the menu on each page of the application.
But in some of the pages the sub menu goes inside the flexgrid. I tried putting the z-index property for the div which holds the Flexgrid but it didn't work. Is there any workaround for this.
I'd like to know whether its possible to hide the pagerstyle of a grid.In a webpage i hav a grid with paging that is supposed to be printed,so in a button click i'm calling a javascript to extract the grid <divto open it in a new window..in the same button click the pagerstyle should be set to false..Is there any way to do that?..
I have spent the past several weeks building an ASP.NET 2.0 Application that has a Users.xml file where all user information is stored. I am now designing the administrator tools and want to be able to sort through the records in the XML file. Essentially, I want to be able to build this:
It seems that every example i hit is a sqlserver example and there doesn't seem to be very good sorting capabilities for XML. is this true? how do i acheive the above link? I would really appreciate any code examples or code links if you know/have them.
I have created a website using dreamweaver mx 2004 and access 2000 for the database. i want to display the results of a recordset in a grid with a different record in each grid. the grid will be fixed in width and the cells will be fixed in width and height but if more cells are required (eg more records to display) then they will be added to the bottom of the grid. at the minute its not working. This is a screenshot of what im sort of after.
Using ADO/ASP, I want to retrieve a list of pics from my db (which will be dynamic number of pics as a user will be uploading anything from 1 to 12 pics) and put them in a grid (table) of say 3 x 4 cells.
I think this is easy to do if the user has uploaded 12 pics, as the recordset's recursive loop will create the table for me, but my problem is that what if they only upload 4, 5 or 7. How do I list these pics in my grid, but get the ASP to neatly finish off the 3 x 4 grid? If I just leave it to my recordset of say 7 recs then my 3 x 4 table is going to disjointed and unfinished.
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?
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.
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?
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.
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.
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?
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?
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:
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?
<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?