QUERY: Multiple Document Interface (MDI) In Webpages...
I am wondering if it's possible to simulate the Multiple Document Interface
in ASP/ASP.NET webpages? Maybe using DIV layers? I am trying to create the
little document windows in an application, but in a webpage. I need
dragging, overlap, focusing, resizing capabilites. Also must be able to
encapsulate another DIV layer within this DIV layer. Is this possible?
Does anyone know a library (already-made) div/layer MDI windows for
webpages?
On the second connection to a DB i get an error saying:
Microsoft JET Database Engine (0x80004005) Could not use ''; file already in use. /Contacts/ContactDetail.asp, line 157
In the same file I open a connection before this attempt successfully.
I bet that this is a permissions problem but I have given full control to the IUSR_Machine account as well as given it to the containing folder to be safe. The DB is access.
Still getting the error. It is relevant to opening a second connection in the same file. Here is line 131 through 165 I have enlarged and italisized the second connection where the break occurs .....
I have created a database request page (wahooo - new to asp and it works) and everything is great. Now I'm creating a second page and want to know if I'm able to make two different queries on one page. I want to be able to create one query that uses a Request.QueryString from a URL and then use one of the returned values from that query to create another query on the same page. I hope that make sense. Here is the database connection code:
What I have is multiple tables that I want to pull information from and display it on a html page. I want to select a name from a dropdown menu and then it will display the persons results. There are no foreign keys and I don't have access to modify the database so hopefully I can work out a way without needing to.
So I have a various tables say for example Monday, Tuesday, Wednesday etc then they all have fields for example Monday will have mon1, mon2, monUsername and Tuesday will have tue1, tue2, tueUsername. (hope that makes sense!) The MonUsername and TueUsername will always have the same name. Code:
I'm trying to get results from a number of areas via one command string.for example ?location=devon retrieves everything in devon but I've only got a link for the whole south west so I need to send ?location=devon or cornwall or dorset etc. altogether.Is there a way I can do this without changing the asp page or do I have to only search one field at a time.
I am creating ASP Pages linked to an Access 2003 database and Dreamweaver MX2004 I have several product pages two of which have detail pages when I create the record sets with a filter on the product type and test these they show the correct records from the database.
But when I try to view the webpages through my localhost server by calling the default page this page is ok then I have a dropdown menu to select the product pages I get the following error message This page cannot be displayed error Line 15 of the product page the error is [RSXXX.ActiveConnection = MM_XXXX_STRING] I also get the message that the database is already in use.
Can you link to the same database with several product pages by creating there own recordsets and filtering the records you want to appear on thet particular page and the respective detail page, or will this not work.
I have an ASP page where I want to display the 3 most recent records within a database using a SQL query. The problem is that my page which output the results is only showing the first most recent record and not the two past ones aswell.
Am I right in thinking that might be related to the 'loop' function? I know that my SQL code is fine as I have previewed the results from the code and they are correct. Code:
I have a website, of which i have a website of which i update now and again, however, i want to be able to insert data into a database and not the page it self, so when a visitor navigates my site, it will generate the page from the database. And also i want to use an Access Database Is this possible, if so, how.I can use ASP (of course) and Php however have little knowledge of either, little bit of HTML, and some VB programming.
I hv two seperate webpages that need to write to completely unrelated tables that reside in one database. The purpose for this is so that I can re-use old page code AND not have to create a new database to hold information from the second webpage. At the moment, I'm not sure if the error is in my code or in the database setup.
The first table and first webpage interact perfectly. Data can be written and retrieved. A new table was added to that database, then the webpage was copied and the code was changed to point to the new table. This forms the second page and table. Both tables are in the same db. The problem is, no data gets written to the new table nor reflects on the webpage.
I have taken over a website that was done in Frontpage and I am trying to move away from it. I am having problems with page 1 where I have a link that passes a single value to page 2 in the query string.
On page 2 I want to use that value in the query string to produce mulitple record sets. This actually works when using the fpblib.inc. Is there a way of doing this without having to use Frontpage coding.
The data for our bookings is held in an Access database and I can manipulate the date format as much as I like in Access but it doesn't make any difference to what appears in my webpage. Code:
I know VB5/VBA very well but have not used VB to create web pages but need to do so. Can someone explain the purposes and differences between VBScript and VB.NET to create web pages?
Also where do Visual Web Developer Express Edition and Microsoft Frontpage fit into the picture? It seems there are a bewildering array of choices in creating websites using Microsoft tools.
I am doing a research on a project for my website. there is a web page which runs on a server other then my own server and i want to get some(not all) of the contents of that page and show it on my own page. Is there a way to do it with asp or asp.net?
Is asp/asp.net able to interface with the PC's I/O ports? I'm currently doing a program on VB using the SDK from the vendor to interface my biometric scanner to my PC using usb port. Can this same thing be done using asp?
i have a website and i use do import data , but with diffrent types(*.xls,*.xml...) how can i concept a inteface to read all this files i now my question is not clear but iit's freindly to answer me
I made this little application-variable interface to help me see what application variables/values I currently have on the server and it lets me easily add or remove single variables, remove all the variables, or re-create the variables I declare in an ASP file called "CreateVariables.asp". Code:
i'm getting a bit cought up with the ASP for a poll creation page i am trying to do.
i am trying to get it so that it will display a varying number of boxes depending on how many options there will be - have it so that it displays the first 2 (the minimum options) and then the other input form elements will be added as needed i'm also having a bit of trouble trying to get the numbers to update with the onchange but that part doesnt feel like its the most challenging - heres what i have so far: Code:
how to access Outlook methods to generate an "add contact" event on the local user's machine. Most of the info I'm finding relates to Exchange server, not the local instance of OUtlook.
This event will be spawned from an intranet-based ASP page. The online contacts list will have a button to add the contact. On click, the default contact form will be displayed, with the primary fields pre-populated from the recordset selected. I'm sure this is a no-brainer, but haven't done this before.
Is it possible that my asp web application can interface with the hardware? like the PIC or the microcontroller? and if it is possible, what im gonna do?
I'm moving away from Access db's to MS SQL Server databases for storing form records. While the MS SQL Server provides all the tools I need to edit/delete/add records, I need to provide an interface for non-technical people for obvious reasons.
I have a halfway decent one for manipulating Access databases but it doesn't seem to translate over to SQL Server too well. Obviously I'm fairly new to ASP and SQL but I've tried everything to make this editor work for SQL server.
So, I would like to just start from scratch and ask if anyone has an asp script that acts as a front-end to edit/delete/add records - nothing too fancy.
We got two interface. Staff and member. When member login, they are brought to member's page. However, when staff login, they are also brought to member's page. This is because at Dreamweaver 8, we have specified that if login succeeds, go to member.asp.
So how do I make sure that when staff login, they go to their staff.asp.? Is it by command procedures or SQL or some kind of other function? Much help needed! Project deadline is just around the corner!!!
I'm having a problems when trying to make a DLL in VB6. The code is using ScriptingContext to access the Cookies-collection from the asp-pages, but when I try making the DLL I get the following error-message:
************** Compile error: Function of interface marked as restricted, or the function uses an Automation type not supported in Visual Basic. **************
When I click OK, ScriptingContext.Request.Cookies is marked. Could anyone please help me with this problem? I'm more of a .NET guy but some of the applications that I'm in charge of are still using ASP and COM+ so unfortunately I'm not too familiar with these techniques.
My code retrieves a username and a password from a form. Then this information is compared to some usernames and passwords that are stored in a database. The important thing here is that the comparison must be case sensitive meaning that "passWord" is not the same thing as "password"
I have this code, working fine in access 2003
SQL = "SELECT * FROM users WHERE StrComp(username_column,'" & entered_username_in_form & "',0) = 0 AND StrComp(password_column,'" & entered_password_in_form & "',0) = 0"
but get the following error when I run it against my sql 2005 database.
[Microsoft][SQL Native Client][SQL Server]'StrComp' is not a recognized built-in function name.
I don't know the corresponding t-sql for the query.
Just as the title says I am trying to do something impossible with a single SQL statement. I am doing an ASP webpage for internal use at the company I work for.
I want to know if there is a way to insert/update data into multiple tables in 1 SQL statement.
If it requires functions | views or anything else that is fine but I don't want to have 3-4 different SQL statements to update 2-3 different columns in different tables.
I have a search option on my website, which should perform a search on 4 fields, as follows:
tblNews headline content
tblDatabank filename description
It only needs to return matches which are an exact match of their search criteria. For instance, searching for "I am here" would return a record which contained "I am here", but not just "I" or "I am" etc.
I need to return all these records as part of one recordset preferably, as I want to be able to order them etc., though I imagine you may suggest I use an array somehow to merge two recordets etc., then reorder them?
I am running a querry on an access database and have set the number of records/page displayed at 20. if there are more than 20 records returned, then 1st page will show the first 20, the next page will show next 20 and so on....
The trouble:
the count of total records displayed is correct and the first page is displayed correctly. But when i click on *Next* to go to the next page, all the records of the database get displayed (not the 2nd page of records from the query).
First of all, yes we are still using classic ASP, lol. I have a XSL document that is reading in info from a XML file. I have to display serveral server side dates on the page. Is there anyway to use ASP code inside a XSL document.
I have tried the following.
<![CDATA[ <%=Date()%]]>
This does not work. In the view source the < and get changed to &ls; and >. Is this possible? Is there any other way to read a server side date from this xsl page? If not I will have to re design the hole page.
Is it possible to query the database using an ASP doc, then write the data to an XML document? The XML document is then going to pass the data as variables into a flash mx file, but the issue right now is just how to write to XML from an asp doc