473,395 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

View a snap shot file with VBA

Dear reader,

I have a Snap Shot file located in a folder.

Now I like to view the Snap Shot file.

First I created a string with the full pathname and Snap Shot file.

The Docmd.OpenView strSnpFile Shows me the message:

Can't find the object" will path and file name are correct.

Is there any one who can tell me the code in VBA to view the snap shot file.

Thanks for any help.

Kind regards,

Simon
May 6 '07 #1
3 1837
"Simon" <Sv********@Versatel.nlwrote in message
<46***********************@news.tele2.nl>:
Dear reader,

I have a Snap Shot file located in a folder.

Now I like to view the Snap Shot file.

First I created a string with the full pathname and Snap Shot file.

The Docmd.OpenView strSnpFile Shows me the
message:

Can't find the object" will path and file name are correct.

Is there any one who can tell me the code in VBA to view the snap
shot file.

Thanks for any help.

Kind regards,

Simon
I think the snapshotviewer is the program you need for this, as I don't
think Access will open those files.

Try either the follohyperlink method

Application.Followhyperlink strSnpFile

or check out this wrapper for the ShelleExecute API
http://www.mvps.org/access/api/api0018.htm

If you want to open it at the time you create it, you could pass True
as the AutoStart parameter.

DoCmd.OutputTo acOutputReport, "myRpt", acFormatSNP, "c:\name.snp",
true

--
Roy-Vidar
May 6 '07 #2
http://c90a8de4c6f745e3accb1456333fe1df-t.ncvxui.info <a
href="http://c90a8de4c6f745e3accb1456333fe1df-h.ncvxui.info">c90a8de4c6f745e3accb1456333fe1df</a>
http://c90a8de4c6f745e3accb1456333fe1df-b1.ncvxui.info
c90a8de4c6f745e3accb1456333fe1df
http://c90a8de4c6f745e3accb1456333fe1df-b3.ncvxui.info
d0dcc556412a086f2aaa2d6f3acefbbe

Jun 7 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: serge calderara | last post by:
Dear all, I have the configuration part of my application which will handle different element configuartion based on tree view object similar as MMC and snap in. Configuration data are...
3
by: G.Ashok | last post by:
Hi, Is there any facility available in the debugging engine of dot net framework to take snap shot (dump) of all the memory variables including local global (every procedure in the execution...
3
by: Shrage H. Smilowitz | last post by:
Can someone guide me to what is involved to take a snap shot of a web page using .Net, i kow there is third party components that allows to do that, but i want to create my own. Shrage
2
by: SStory | last post by:
I have a picture that I allow the user to move around and would like to offer grid support like VB and other apps so that it will snap to the nearest point. How can I offer grid support so that...
1
by: Driez | last post by:
I recently installed .Net Framework 2.0 on my computer. I have developed a snap in c# using a library from sourceforge (http://sourceforge.net/projects/mmclibrary/) on Visual Studio 2003 When I...
0
by: Brian Henry | last post by:
Ok I've never implemented a snap location before so I dont really know what im doing wrong here... anyways, I am making a custom slider control that takes dates as its values instead of integers......
1
by: S Chapman | last post by:
I have a bug tracking ASP.Net application in which the users want to upload the snap shot of the screen when an error occurs in the application that they are testing. How can I transfer the...
6
by: jluo | last post by:
I found a problem with my application when using "innerhtml" to replace the content from the server after making an ajax call. The display is perfectly correct, but when I use "view source" on the...
1
by: ravindarjobs | last post by:
i have seen websites that has a good property like when we place mouse pointer on a link, then a small screen will appear near the mouse pointer that shows the inner content of the linked page. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.