Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6937353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:21:08+00:00 2026-05-27T12:21:08+00:00

I am Using a Application server for calling Oracle Reports and i have url

  • 0

I am Using a Application server for calling Oracle Reports and i have url to call the report when report is called the server convert it into pdf but when report contain large data it got a lot of time to load.I want to do in asp.net that when i call the report url it open the pdf file and copies it into the root of my web folder and next time when i call the url it open the pdf file and on back end loads the

Sir I want to call function on hyerplink in new tab please tell me solution for that

Sir According to My question i want to use multithreading to call one file from root directory and other to download on backend

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T12:21:09+00:00Added an answer on May 27, 2026 at 12:21 pm

    You may use WebClient class.

     WebClient client = new WebClient();
     client.DownloadFile(Uri, fileName);
    

    VB

     Dim client As New WebClient
     client.DownloadFile(Uri, fileName)
    

    EDIT:

    The first argument specify the location of source file. The second argument is a path of destination file. Use Server.MapPath() method to get absolute path if you save it at root of web-app.

    Markup :

    <form id="form1" runat="server">
        <div>
            <asp:Button ID="Button1" runat="server" Text="Button" />
            <asp:HyperLink ID="HyperLink1" Visible="false" Target="_blank" runat="server">HyperLink</asp:HyperLink>
        </div>
    </form>
    

    Code:

    Protected Sub Button1_Click(sender As Object, e As System.EventArgs) Handles Button1.Click
            Dim client As New WebClient
            Dim muri As New Uri("http://your_url")
            Dim destPath = Server.MapPath("~/file.pdf")
            client.DownloadFile(muri, destPath)
            HyperLink1.Visible = True
            HyperLink1.NavigateUrl = "~/file.pdf"
            HyperLink1.Text = "Open"
        End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using an Application server for calling Oracle Reports and I have a
I'm using upstart v1.4 to start my application server, it's called unicorn . The
I'm using Weblogic application server and Apache web server in my J2EE environment and
I wrote an application server (using python & twisted) and I want to start
I built a client server application using posix shared memory and posix unnamed semaphores
I built a client server application using an IDL file for client server communication
I am developing a client-server application using .Net Remoting. From my server I want
I start to write a client - server application using .net (C#) for both
I'm trying to build a client server application using POSIX shared memory and POSIX
I am just getting started creating an AJAX application using server side push. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.