Open An Asp Page?
Jan 7, 2009how would i open an asp page?is there a way to pass values to this page from my program?
View 4 Replieshow would i open an asp page?is there a way to pass values to this page from my program?
View 4 RepliesI write this code that myMacro open pdf file:
Sub myMacro()
Dim myShell As Object
Set myShell = CreateObject("WScript.Shell")
myShell.Run "C:myfile.pdf"
End Sub
I want open the file in page 3. How am I do it?
I have made a button that I use to open a picture and add it to a new tab page that will have a picturebox on:
Dim p As New PictureBox()
Dim Str As String = 0
Dim open As New OpenFileDialog
open.ShowDialog()
Str = Str + 1
[Code]...
I have a simple ASP.NET GridView.. Using ASP.NET 2.0. For some reason you cant right click on a item in a grieview and say Open in NEW tab or page.
View 1 RepliesSo, when someone makes a website, they decide if they want their link opened in a new tab,window, or in the same window. How do I make it by default that it opens in the same window, no matter what its set to on the website? I just don't like internet explorer taking over on those links.
View 1 RepliesI have a project i am working on, I want to be able to make a choice in say a Treeview control, and in the code behind Click event i would like it to open a dynamic page in a new browser tab, My difficulty is that the Response.Redirect("http:xxx") opens it in the same browser tab that has focus i have tried to add Target=_blank but not certain if this is usable attribute of the response object, and i also believe if it did work it would be more like a pop-up than a new tab. i have searched for more than a week now and have found nothing that works.
Response.Redirect("~\PM\HTMLSched.htm")
(opens the page in the same tab)
'Dim url = "~\PM\HTMLSched.htm"
[Code].....
I'm trying to open a PDF document from a hyperlink to a certain page. So I set the link to this:I can type the #Page=14 to the end and press enter and it will work but for some reason it will not work the first way.
View 2 Replieshow I could open to PDF document from a link field in a table. Also, is it possible to perfrorm this using VBA?
View 2 RepliesHow do I open a pdf file to a specific page within the pdf.
Below is a link to some of the open parameters when using command line:
PDF Open Parameters
when I click on a link in the webbrowser control, it opens up internet explorer and goes to that page. How can I prevent this, and go to the page via the webbrowser control?
View 8 RepliesThis code makes the the download dialogue open for the file I want downloaded .
Response.ContentType = "application/octet-stream"
Response.AppendHeader("Content-Disposition", "attachment; filename=" & FileName)
Response.TransmitFile(Server.MapPath("~/Admin/EmailLists/" & FileName))
Response.End()
After the download dialogue opens I need a series of changes to happen on the page, but I have noticed all the code after this code will not run. Anyone know how I can make the page changes occur AND get the download dialogue to pop up?
I'm doing my project and I design including many tab control in vb.net.
Example: I have 3 tab pages like tab1,tab2,tab3. And I have menu bar to open tab1,tab2,tab3.
My Question is: How can you use code to open each tab page?
how can i design a region in vb.net form(windows application), such that when i click any point inside a region a new page opens. my problem is that the region which i want to define through it is very complex. its a combination of a rectangle and another shape.
View 6 RepliesI have used JavaScript on body onload event I used this code:
function timeMsg()
{
var t=setTimeout("mywindow()",1000);
}
function mywindow()
[Code]...
when the page load a pdf file open and also popup window,problem is that when i reresh the page which is callong pdf the popup window dnt open.I want to open every time when page is loaded each time
I have a main page. How can I open a new web page (Url assigned in code) and get the return URL back in VB event when the page is closed.I have used a regular Button control to open the page with desired url: Button1.Attributes.Add "onclick", "window. showModal Dialog('" & url & "')")but I don't know how to get the REtURN URL from this page.
View 1 RepliesI've been trying this for 2 days.In ASP.NET and VB.NET I've page1.aspx and page2.aspI would like when I press button1 in page1.aspx to trigger button1.click event and open a page2.aspx in a new window and send to it data.All this can easly be done if no new window, by Server.Transfer or Response.Redirect.But unfortunately they don't have an option to open a new window.[code]....
View 2 RepliesHow was the code when press one button to open website page?
View 2 Replieshow I can get a new page to open in the same form when I click a button?
View 1 RepliesI can't figure out how to make my web browser open links in a new page or tab instead of IE. I've tired at least a dozen different sets of code. None of them can be manipulated to fit my browser. When my browser first starts, there's an empty tab control. I put a new webbrowser in it at runtime and set it's dock to fill. I create new instances of the browser for new tabs as well. I just can't find how to make it open links in new windows.
View 3 RepliesI want to ask how to i do this :
1. Make my application to go to a webpage .
2. Open a certain link .
3. Find & Select an element(mostly element ID or div ID) on a web page like buttons etc.
4. Then extract data from a webpage . Like there's a word for example "Yellow" word in the web page . I need it to find it and copy it then paste into a textbox in my application.
Extra details : I am using Visual Basic 2008.
When starting the default browser like this: Dim trgt1 As String = [URL]
[Code]...
I'd like to be able to to login to a secure website directly from within my VB.Net 2005 app.
I can use the following to open the page in the user's default web browser
System.Diagnostics.Process.Start("http://www.xxx.com/login") When you visit this webpage you're prompted for a username and password (using the .htaccess/.htpasswd method).
I'd like to be able to bypass the login popup and go straight to the logged in form (I have username and password stored in my.settings
I need to open a new instance of IE and direct it to a web page when a user takes a specific action.Used are random so setting anything on their machine is not an option.This works great on my local machine in developent but when deployed to my server it fails with no error.I must be missing a permission or something simple understanding that on the server things are run under the ASPNET account.My code is in a code class, myCode.We are in VS 2008 and IIS 6.Tried a couple of different things, they all fail silently.
Imports System.Diagnostics
Imports System.ComponentModel
Dim sWebPath as Sting = "https://mySecure.com/Page.htm"[code].....
How do I open a particular html page in a chm file when the user clicks on a menu item.
View 2 RepliesI want to open the url in new tab when clicking on the link button that is generated dynamically in grid view.
I am using VB.response.redirect(url as string) opens the url in same window. what should i write in on click event?
I am making my site compatible to all browsers.For that on one page i am selecting the name from dropdownlist and on click of VIEW(button),i want to open a new window .i also want to send the value and text of ddl on new window. all of this i want to do on onClientClick or onClick of button...
for getting the value i hv tried this code:-
input name="button1" type="button" id="btnview" style="cursor:hand" class="Buttons" title="View" value="View" onclick="alert(document.all('<%=ddlScheme.ClientID%>').value);"
[Code]....
I have a text input in textbox1 in tab page 1 and i want that text from textbox1 will be displayed in textbox2 in tab page 2.
View 3 RepliesI wrote a page Page method in my aspx page. in web service method I need to call FindControl method return textbox and get text box value. But my findControl will take MasterPage object to iterate.
see my code
<script type = "text/javascript">
function ShowCurrentDateTime() {
$.ajax({
[Code]....
How to pass Master Page object or Page to Page method?. So I can use in Sared method.
Is there any way I can access Textbox value directly in Page method? I need access couple of controls in Page Method.
HOW TO RUN THE JAVASCRIPT FUNCTION ON PAGE ONLOAD EVENT IN CONTENT PAGE OF MASTER PAGE.? means i have masterpage and the content page of master page namely default.aspx in vb.net.i wanna run javascript function in Default.aspx and i have called the function body onload in master page.when i run my website it shows the error "" Microsoft JScript Runtime Error : Object Expected ""
View 4 RepliesI need sample vb.net code to save single windows form as many page and reload the page whenever i call that page...
View 1 Replies