Open A New Page Rather Then Existing
my coding knowledge is limited. How do I add the following..
target="_blank">
to this code...
ImageString = "<img src=""" & Banners("Image") & """ alt=""" & Banners("Hint") & """>"
All I want it to do is open a banner in a new page instead of the existing page.
View Replies
ADVERTISEMENT
have try to search from the MSDN, i found the namespace "System.Windows.Forms.HtmlWindow" has this function, but the my .NET Framework version 2.0 dont have the object. Moreover, i have try to download the .NET Framework version 2.0 from MSDN. But, it still dont have the "System.Windows.Forms.HtmlWindow".
View Replies
View Related
Using VS 2003, how can I open an existing (localhost) website so that all of the website files appear in Solution Explorer the way they do with VS 2005?
View Replies
View Related
I have an asp like this
<td width="49%" align="left" class="HD"><a onclick ="javascript:newwin('DNA.ppt','server/delivery/Documents/')">rs("Report")</a></td>
function newwin(docname,url){
location.target="new";
location.href="viewdoc.asp?docname=" & docname & "&url=" & url;
}
in the viewdoc.asp i need to check the file type and set the content type accordingly.also the viewdoc.asp must load in a new page and display the document passed.
can anybody help me with a piece of code???
View Replies
View Related
I have a network. Let's say the ASP pages are on computer 1. I try to open the pages from an other computer, let's say computer 2, in the network. How can I realize this?
I tried to make a drive (M:) on computer 2 which referes to the (shared) map on computer 1 where the ASP pages are. The pages are shown, but the asp-code isn't used in the displayed page. Only all the html-content is shown.
Is there any (other) way to show the ASP pages on computer 2?Computer 2 is not connected to the internet, so over the internet is not an option.
View Replies
View Related
I have a page where the user selects the product they want and from that selection a new page opens with a detailed look of the product. I would like this new page to open as a brand new window with a size I have choosen. Where do I set the size I would like to the page to open as?
View Replies
View Related
As long as I would like to show data from +/- 5 different records in a table, I do not have any problem and my page is running OK. As soon as I would like to show +/- 40 different records in my table the page doesn't open. I'll attach the code and maybe someone can tell me why it works with less records but not with all. Code:
View Replies
View Related
I've created a small ASP page. When I want to test it, Explorer does not open. The page is working fine on a other pc. When I rename the file with .html, then the page is opening.
I've VB6.0 (SP6), Visual Interdev 6.0 (SP5).
View Replies
View Related
I am storing times into Access and that works fine and it stores into access the way i want it, like so 12.30 but it is displaying in asp like so: 12.30.00. does any one know how to change this?
View Replies
View Related
how to open a mde file from a web page (asp,html,shtml,apsx) ? I know there is a security setting that don't allows web server to run/launch executable files but can it be turned off.
View Replies
View Related
I'm trying to find out how I can make a page to be restricted to open
between Saturdays 12:05 pm until Sundays10: pm... and that.. EVERY WEEK...
is there any way at all to do this or is it just simply impossible.???
View Replies
View Related
i'm trying to have excel open up a webpage which basically contains a
table.
in excel 2000 if i specify content type text/csv this works by
displaying an open/save dialog box and clicking open, launches excel
and displays data as a table (desired result ) however in machines with
excel 2002+ excel simply displays the html code.
trying to specify application/excel opens an excel plug-in inside the
browser which poses a problem becouse the excel has links to pdf file
that obscure the plug-in.
View Replies
View Related
how to auto load a exe file for user to download once the user enter the download pages.. how is the coding for that download page to auto pop up donwload windows for user to download the exe file???
View Replies
View Related
Is it possible to open a Outlook template from my webpage?The template is located on the web server.
View Replies
View Related
I have 2 .ascx files and one .htm file. One of the .ascx files is basically just a table with four rows. One of the rows has table for the other .ascx file, which is the menu, and the .htm file, which is the body content. Code:
View Replies
View Related
i want to do this. when users click Next button, a new page will appear in the iframe named content. i can open that page but in the new window.Code:
<input name="Next" type="button" id="Next" value="Next" onClick="window.open('software_mohon.asp')">
View Replies
View Related
I want to write a ASP page to open/download a file In fileview.jsp, I have the file browse, and when user click submit button, fileview2.asp should open the file.
fileview.asp
============
<FORM ACTION="fileview2.asp" method="POST">
<P><input type="FILE" name="filename">
<P><input type="submit">
fileview2.asp
============
<%
String filename = Request.Form("filename")
Response.Redirect = filename
%>
However, this is not working. any ideas?
View Replies
View Related
I have a table in a plain asp page. At the top I have
Response.Contentype = "application/vnd.ms-word"
When it opens in word, it opens in a funky view. Is there anyway to have it
open in Normal View mode?
View Replies
View Related
user clicks the link which brings him/her to a secure page (let's call it page "X") which requires login session. If user is not logged in, he/she is redirected to a login page. how can I make user get redirected back to that original page (names "X") which threw him/her to login form?
I tried something like getting url name of page X and redirect to login with that name variable. After login, it gets redirected back to the page that sent variable. But it did not always work.
View Replies
View Related
Is it possible to post the form data and open the page as a modal window?
Because when I do the following, it will open page2.asp in a new window, but
I still able to manipulate page1.asp. I want to make page2.asp as modal
window.
<form action="http://server2/page2.asp" method="post" target="_blank">
Any ideas?
View Replies
View Related
I'm need to open a popup window from an asp page that calculates a value. This value must be returned to the input box on the asp page. I have managed to get the popup window to open and display a value so far but I am not getting the value back into the asp page.
Popup Window code...
View Replies
View Related
i have 2 tables and i want the content of the one table where the second tables content doenst exist in the other table.
E.g.
Table 1
id1
1
2
3
4
Table 2
id1
1
4
so i would only get 2 and 3 in table 1.
View Replies
View Related
I have an Access database; e.g., mydb; with 10 Tables (e.g., tbl1, tbl2, ..., tble10) in my database directory; e.g., fpdb.
I need to be able to copy the entire database with tables to another directory, where the name of directory will be provided by the user (therefore I do not know the directory name in advance).
How can I make a copy of existing Access DB vis ASP programming.
View Replies
View Related
I'm a newbie to ASP coming from a PHP background and I wonder if there is - well I am sure there is - a command to check for the exists of a file which is on a ftp server (on the same as the file which tests it). Also is there a general site which explains all the asp commands in a logical form like php.net does for PHP
View Replies
View Related
is it possible to add a number in time? i created a code which is something like this
x=date
y=x+2
response.write(y)
but it doesnt work... for example the time is 08:32:05 AM and im going to add 2 minutes the result should be 08:34:05
View Replies
View Related
Is there a way to pass a URL parameter from a previous page to the next page (without clicking a hyperlink)?
There are 3 pages. user_edit.asp, user_delete.asp, user_delete2.asp. I want to pass the customer_id parameter from user_edit.asp via a hyperlink to user_delete.asp and then after some asp manipulation I want to pass the existing customer_id parameter to the user_delete2.asp page (or again to user_delete.asp) without the user doing anything (such as accessing a hyperlink).
View Replies
View Related
Within my site is a section for visitors to login. Once they have logged in they are directed to a page which uses frames.
existing code is below:
<frame name="leftFrame" src="computer_store_index.asp" scrolling="auto">
<frame name="mainFrame" src="computer_store.asp" scrolling="auto">
</frameset>
<noframes><body>
</body></noframes>
</html>
The problem is when the visitor logs out they are directed back to the login page. The login page and all subsequent pages which the visitor may click on within the site also displays the frames. Is there anyway to close the frames?
View Replies
View Related
I have MS Visual Studio 2003 on Windows XP Pro. I have IIS running on
this machine and I am trying to debug some existing code which has both
ASP and ASP.NET components.
When I try and launch the debugger from VS, I am told it can't because
the project is of output type class library. The error indicates I
should set the start action to start external program or start URL.
I tried both of these and cannot seem to get the debugger to attach to
the process. However, I can load the webpage and surf to an error
which causes another session of VS to come up. Unfortunatly, the error
is not one that I can debug because I can not get break points to work
and the debugger will only come up when it hits the error.
My start page is default.asp and I have tried setting a break point in
it to no avail. How can I debug this script?
View Replies
View Related
I have a site which has extensive database activity. What I do is for each procedure I open a connection to the database and close it as and when I leave the procedure. However, in long run I find that some connection to the database is not properly closed causing the site to hang. This has become a big headache for me.
Trying to find what is going wrong I logged opening /closing of connections to the database and found that at some points the connections are not closed resulting in large no. of active connections to the database.
But if I go through the script I cannot really understand why that connection was not closed since the script ensure that the connection is closed before exiting the procedure.
Is there any way where I can check the database may be during night time and close all existing connections to the database. I repeat all my connections to the database are done at the procedure level.
View Replies
View Related
Im trying to write to an existing xml document (changes.xml). If it already exists, which it should, it will just add some child nodes and save the file... if it doesnt exist i want to create it and add the nodes and save the file... problem is it never saves the file to the directory its supposed to. Code:
View Replies
View Related
I'm running into some trouble figuring out how to create a 'project'
from an existing asp application.
The ASP app was written entirely with plain text editors. I would
like to set up debugging for it, but it seems that in order to debug,
I must have a 'projec
I cannot figure out how one might go about this task. The project is
rather large (180K lines, and a few hundred files in many different
sub-dirs), and I have been playing & researching for about 4 hours
now, and I can't figure it out.
Can anyone make a suggestion as to what I must do to get something
going (preferably vs2003, but I have VID also)
View Replies
View Related
I wonder if anyone knows about how we can write text on some existing gif or jpg Image and then save them again in the same format.
View Replies
View Related
how to add an existing asp project into VSS? I have never done this before so am not sure even where to begin. Searched a few places online but have not found any suitable documention on this yet. My asp project uses SQL Server 2000.
View Replies
View Related