473,405 Members | 2,185 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,405 software developers and data experts.

A2K - how to detect Vista?

My Access 2000 app doesn't work correctly under Vista for lord knows what
reason.

Any code for detected Vista when I start the database? Nothing shows up in
a search of this group, though feel free to correct me.
Jan 22 '08 #1
8 1355
Deano wrote:
My Access 2000 app doesn't work correctly under Vista for lord knows what
reason.

Any code for detected Vista when I start the database? Nothing shows up in
a search of this group, though feel free to correct me.

Maybe this link has the info you need.
http://www.mvps.org/access/api/api0055.htm

Help
http://www.youtube.com/watch?v=9ibX3TejlZE
Jan 22 '08 #2
"Salad" <oi*@vinegar.comschreef in bericht news:13*************@corp.supernews.com...
Deano wrote:
>My Access 2000 app doesn't work correctly under Vista for lord knows what
reason.

Any code for detected Vista when I start the database? Nothing shows up in
a search of this group, though feel free to correct me.

Maybe this link has the info you need.
http://www.mvps.org/access/api/api0055.htm
Also look here
http://www.vbforums.com/showthread.php?t=434149

Arno R
Jan 22 '08 #3
"Deano" <de***@mailinator.comwrote
Any code for detected Vista when I start the database?
I know some who'd say, "Make handsigns to ward off evil spirits, and watch
the reaction. If that causes a response, call a qualified exorcist."
Jan 23 '08 #4
Salad <oi*@vinegar.comwrote:
>Any code for detected Vista when I start the database? Nothing shows up in
a search of this group, though feel free to correct me.
>Maybe this link has the info you need.
http://www.mvps.org/access/api/api0055.htm
It's a bit out of date. I'm sure there's something newer somewhere at vbnet.mvps.org

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Jan 24 '08 #5

"Tony Toews [MVP]" <tt****@telusplanet.netwrote in message
news:li********************************@4ax.com...
Salad <oi*@vinegar.comwrote:
Any code for detected Vista when I start the database? Nothing shows
up in
a search of this group, though feel free to correct me.
Maybe this link has the info you need.
http://www.mvps.org/access/api/api0055.htm

It's a bit out of date. I'm sure there's something newer somewhere at
vbnet.mvps.org

Problem is I'm not sure I can convert vb.net code into VBA, certainly not
this sort of thing. If anyone has then please post.
Jan 24 '08 #6
On Jan 24, 4:43 am, "Deano" <de...@mailinator.comwrote:
"Tony Toews [MVP]" <tto...@telusplanet.netwrote in messagenews:li********************************@4ax .com...Salad <o...@vinegar.comwrote:
>Any code for detected Vista when I start the database? Nothing shows
up in
>a search of this group, though feel free to correct me.
>Maybe this link has the info you need.
>http://www.mvps.org/access/api/api0055.htm
It's a bit out of date. I'm sure there's something newer somewhere at

vbnet.mvps.org

Problem is I'm not sure I can convert vb.net code into VBA, certainly not
this sort of thing. If anyone has then please post.
Does this help?

Private Declare Function GetFileVersionInfo& Lib "Version" _
Alias "GetFileVersionInfoA" (ByVal FileName$, ByVal lptr&, _
ByVal lSize&, lpvData As Any)

Public Function Version$(ByVal FullPath$)
'2003/02/26 attribution to David Epson
Dim iBuf%(0 To 99)
GetFileVersionInfo FullPath, 0&, 200, iBuf(0)
Version = iBuf(25) & "." & iBuf(24) & "." & iBuf(27) & "." &
iBuf(26)
End Function

Sub test()
Debug.Print Version(Environ$("WINDIR") & "\Explorer.Exe")
End Sub
Jan 24 '08 #7
"Deano" <de***@mailinator.comwrote:
>Maybe this link has the info you need.
http://www.mvps.org/access/api/api0055.htm

It's a bit out of date. I'm sure there's something newer somewhere at
vbnet.mvps.org

Problem is I'm not sure I can convert vb.net code into VBA, certainly not
this sort of thing.
That website was named vbnet long before vb.net was a gleam in someone's eye at
Microsoft. That website is specifically for VB6.0 API calls almost all of which are
copy and paste into Access (and others) VBA.

Tony

--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Jan 24 '08 #8
"Deano" <de***@mailinator.comwrote in message
news:5v*************@mid.individual.net...
>
"Tony Toews [MVP]" <tt****@telusplanet.netwrote in message
news:li********************************@4ax.com...
>Salad <oi*@vinegar.comwrote:
>Any code for detected Vista when I start the database? Nothing shows
up in
>a search of this group, though feel free to correct me.
>Maybe this link has the info you need.
http://www.mvps.org/access/api/api0055.htm

It's a bit out of date. I'm sure there's something newer somewhere at
vbnet.mvps.org

Problem is I'm not sure I can convert vb.net code into VBA, certainly not
this sort of thing. If anyone has then please post.
You could try checking the registry at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

My XP SP2 shows as 5.1. Vista will most likely be 6.x (no vista here, so I'm
unable to test).
Jan 24 '08 #9

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

Similar topics

7
by: Jeroen | last post by:
Hi, I need to create a small app that will detect if a virusscanner is installed and if it's up-to-date. Just like the Windows Security Center does. This will be used for remote monitoring using...
1
by: Dan | last post by:
I need to be able to detect whether a Vista user has UAC turned on. Does anyone know how to do this? Thanks!
56
by: Squishy | last post by:
I tried installing my VS2005 Pro on Vista Ultimate 32 bit RTM today and got errors stating that VS2005 was not compatible with Vista. Microsoft......please pull your finger out of my ass and tell...
6
by: j2ee.singh | last post by:
Hi, I'm looking to buy a new laptop primarily to learn & practice .NET and C#. My Question is: Is there any requirement for .NET and C# in terms of the following Operating Systems: -...
3
by: =?Utf-8?B?Um9iS2lubmV5MQ==?= | last post by:
Hello, This could be REAL simple, but I cannot find any info on it anywhere after 2 hours of searching. How can I programmatically determine if the UAC is turned in Vista using C#? I need...
2
by: 13Rockes | last post by:
I am in the process of writing programs using VB6 in XP Pro. However, I am thinking about starting over using VB2005 as my company is migrating to Vista. Two questions... What kinds of...
8
by: =?Utf-8?B?S2Vsdmlu?= | last post by:
Hi all, I am writing an application to detect the dead pixel of LCD panel by using visual C++ (MFC). My flow is follow: 1. Display a dialog with a start button. When the user press the start...
35
by: nobody | last post by:
I need to pop up a modal JS-based dialog (for some reason can't use popup window, much less so showModalDialog()), and I'd like to imitate the system popup titlebar according to user's desktop...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.