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

  • Home
  • SEARCH
  • 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 223547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T19:13:53+00:00 2026-05-11T19:13:53+00:00

This is a probably a dumb question but here is what I’ve got. A

  • 0

This is a probably a dumb question but here is what I’ve got.

A web developer has a secure login page that after a user logs into it, a database reference is made and it grants rights to a particular PDF file on our network. There is desire to have a custom locally designed application used to present that PDF file to the user, which is fine as I have used cpp code from Adobe to generate a stripped down viewer, however the problem I’m faced with is integrating his web application into my windows application.

It would be easier for me to just create my own login/database query, but then I’d basically be removing his entire piece of the project. That in itself presents a problem, as really this entire thing is his project and he asked me for help. So that’s why I’m stuck with this situation where I”m attempting to insert a web applet in the application to present his login page. From that login page, after it authenticates, he can return a path to that particular file. He was previously just launching the associated PDF viewer (Acrobat), but what we need is a fully integrated solution. Make sense?

  • 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-11T19:13:54+00:00Added an answer on May 11, 2026 at 7:13 pm

    InvokeScript.

    http://msdn.microsoft.com/en-us/library/cc491132.aspx

    Have the webmaster write something like this:

    <script type="text/javascript">
    function getPdfPath() {
      return "/path/to/my.pdf";
    }
    </script>
    

    You should then be able to:

    var path = (string) oWebBrowser.InvokeScript("getPdfPath");
    

    Alternately, you could have him write you a web service.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This probably sounds like a really dumb question, but here goes....Web Services, what the
(This is probably a dumb question AND a WTF combined, but here goes nothing)
I have that this is a dumb question feeling, but here goes ... Can
This might be (read: probably is) a dumb question, but here goes... Is there
This is probably a silly question, but curiosity has gotten the better of me.
This is probably a really stupid newbie-sounding question to you developer type people, but
I'm very new to Java programming language so this is probably dumb question but
Ok so this may be a dumb question (probably some syntax) but Google didn't
This is probably a dumb question, but I can't find a definitive answer anywhere.
this is probably a dumb question, but I couldnt find the answer I was

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.