WebControl() Access 2010 - save url in database

ringjensen

New member
Local time
Today, 07:35
Joined
Jul 29, 2010
Messages
6
WebControl() Access 2010 - save url/document in database or as localfile

Hi

I have a form with a webcontrol where I need to save the url/document ex. a pdf-file in my database as an attachment..

When I ex. make a google search and find a pdf document - I can open it inside the control - no problem.. and the PDF reader save functions opens too...

But I need to save the document in my database og local ex. pdf-file

Please help

Thanx in advance

Flemming
 
Last edited:
Thanks for not replying with help or suggestions ;-)

Learned a lot reading several articles etc..

Instead of using the new webcontrol - I used the Microsoft Web Browser ActiveX component..

I'm complete newbie on ActiveX but it seems like

Code:
WebBrowser1.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_DODEFAULT

did the job for filesaving... hope I won't get into trouble when I distribute the database with runtime only...

Seems like the ActiveX Component gives me several more options.. like print commands...progress bar etc..

I wonder why I can't find a complete list of vba commands for the new native webcontrol in Access 2010. hmm...

/Flemming
 
Hi welcome to the forum.

Not getting an answer to your question is annoying, right. But hey its free.

I had a look for an access 2010 "webcontrol" and nothing popped out for me. First I use MSDN for references but I could not find the 2010 stuff for access. I could only download some .exe which i did not want to do.

So are you sure there is a "new" webcontrol. I would really be surprised if there was. I have recently been playing with .NET and there there was a "new" webcontrol which was really the old Webbrowser control wrapped in shiny new paper. So nothing new there and I bet there is nothing new in Access either.

In any case it looks like you have got it all working with the webbrowse control.
 
I am certain that it's the old webbrowser wrapped in shiny new paper :-)

But anyway frustrating not to find any documentation because the handling is so different from the ActiveX component..

I got my filesaving functionality from the ActiveX component but... quickly found out that all mouse events etc. have to be programmed.. hmm.. mouse events are essentiel to me so I can follow user navigation etc..

So the "new" webbrowser control in 2010 is born with a complete set of event properties... perhaps I should go with down that path anyway :-)

/Flemming
 

Users who are viewing this thread

Back
Top Bottom