473,386 Members | 1,795 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,386 software developers and data experts.

WinXP 64-bit, VB2005 & a 32-bit App, Reading the Registry...

Hi all,

My little application is in VB2005 Pro.
I'm doing my development on WinXP 64-bit.

I was having a problem reading a registry key under HKLM and thought it was
a permission issue.

Now, I believe that it's the fact my App is using the .Net 2.0 32-bit
assemblies and consequently is not able to read the registry under WinXP
64-bit.

I'm assuming the above based on the following...

1. My App doesn't read the key.
2. When I run '\Windows\regedit.exe' or
'\Windows\system32\regedt32.exe' I cannot see the key let alone the value.

3. When I run '\Windows\syswow64\regedit.exe' or 'regedt32.exe' I can
see the key and the value.
================================================== ===
So, My question is...

A. How do I identify at runtime whether my App is running under 32-bit
or 64-bit?

B. Do I need to include the 'appropriate' 64-bit version assemblies as
references in my App?

My desired result from this post is to have my App be able to 'read' a value
out of a HKLM key irrespective of whether the App is running on 32-bit
Windows or 64-bit Windows.

Thanking you in advance from any help you can provide...

Cheers, Simon.
May 11 '06 #1
0 1271

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

Similar topics

2
by: Ivan Van Laningham | last post by:
Hi All-- I've been using PySol-4.40 for years, because that was the last Windows installer version I could find. My wife's been using it for almost the same length of time. That version's worked...
3
by: Matthew P. Seltzer | last post by:
All- This is a bit 'out there,' but, here goes. I have copied the WinSxS folder from a WinXP box to my Win2K box. I would like to be able to apply XP control styles to my Win2K VB.NET apps. Given...
4
by: Anonymous | last post by:
I have written a series of applications in different languages to compare them. In my first one, I am testing console output. On my first test OS (Mandrake Linux), C++ came in second, just behind...
3
by: n3mtkj3mzsir0cy | last post by:
I have created web pages that do client-side form validation using the onclick directive. E.g., <form action=other_page.cgi method=post> Enter your age: <input name=age> <input type="submit"...
2
by: Don Leverton | last post by:
Hi Folks, I'm experiencing a problem that seems to be unique to running Access97 on Windows XP, and seems to be worse on WinXP SP2. It appears when I'm trying to import a text file. I'm...
3
by: Frank Jiao | last post by:
I can get my local IPv6 address in Win2003 use the source code as below: string localName = Dns.GetHostName(); string address = ""; string scopeId = ""; IPHostEntry hostEntry = Dns.Resolve(...
1
by: Kevin | last post by:
My app was built with VC++ and run on WinXP, I found the controls style of my app is different from controls in those apps coming with WinXP, like button, check box, listctrl, etc, those controls...
4
by: | last post by:
I have earlier used an HttpModule that did URL rewrites on the BeginRequest event. Now I am trying to use the same module in a different application on a new and upgraded machine (winxp sp2). ...
1
by: jerry.levan | last post by:
Hi, I have a python app that runs fine on MacOS X and Fedora Core 5. This evening I dragged the folder over to my windows partition and tried to run the rascal. The program starts up fine but...
1
by: Chris Mullins | last post by:
I'm trying to install the Service Pack 1 to Visual Studio, and I keep getting: "The installation source for this product is not available.Verify that the source exists and that you can accesss...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...

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.