bugs >> Access vs Vista - 2 major problems

by ZGliYnk0NA » Sat, 24 Mar 2007 00:28:03 GMT

On my pc and laptop I have MS Access 2.0, 97, 2000 and 2003, because I never
know which version my customers might be using. They all work well together
up to now but when I switched from Windows 2000 Pro to Vista Home Premium, I
get 2 recurring nightmare problems.
1 - Under Vista, Access keeps stopping without apparent reason. It says it
will find a solution but always reports back that it can't find one. Among
other times, I noticed this happening when copying a form design using Save
As. The same database will still work OK on the laptop under 2000 Pro.

2 - When my pc and laptop were networked [both using 2000 Pro] I now can't
do so, and databases on the pc get error messages "Can not access the data -
Network connection may be lost", and they are virtually useless because of
this.

Will someone with more hair than me PLEASE provide solutions to these ?
Many thanks in advance
Dave B.



bugs >> Access vs Vista - 2 major problems

by MikeD » Sun, 25 Mar 2007 00:47:17 GMT






I've no idea why you're asking this in a VB newsgroup. Try either an Access
or Vista newsgroup.

--
Mike
Microsoft MVP Visual Basic





bugs >> Access vs Vista - 2 major problems

by Jim Carlock » Sun, 25 Mar 2007 21:08:58 GMT

"dibby44" asked...

Scroll down to the section here. Access 2.0 seems to be a
16-bit application.
http://msdn.microsoft.com/archive/en-us/dnarvb4/html/msdn_apiole.asp

So perhaps Vista no longer supports 16-bit applications? Can
anyone here check to see if there is a command.com file with
Vista. The following link indicates to "kiss goodbye to 16-bit
legacy code." The link describes 64-bit Vista and there might
be a difference between that and 32-bit Vista?

http://msdn.microsoft.com/msdnmag/issues/06/05/x64/

So perhaps there's some sort of problem involved with 16-bit
Access.

Don't know if this helps or not, but if not, my next guess leans
into that UAC thing causing some sort of problem.

Like MikeD suggested, the microsoft.public.access group is
probably more appropriate for the question, so the message
is getting cross posted there too.

--
Jim Carlock
Post replies to group.




Similar Threads

1. Major problem with VS 2008 - VB.Net

2. VS 2005 form designer major problem

I made a code change to a form , then saved it and tried to go to design 
mode in the form. I get an error message (there seems to be a dataset 
defintion that can no longer be initialled apparently because I did not 
first remove or modify a UI element that was bound to a datalibrary and I 
had made some field changes in the datalibrary).Changing the line of code I 
just wrote does not  allow me to go in the designer any more. The errors 
(there are several) are in the autogenerated code.

Does anyone know how to undo that damage? The only way I can seem to do this 
is to create a new form and restart from scratch, but I've been working on 
this one for a week. I'd like to be able to retrieve my work.

Thanks for any help

Bob



3. problems of VS 2005 running on VISTA Ultimate - VB.Net

4. SafeArray with VB and C++, row major/column major order questi

Igor,

That is exactly what I see when I put the array in a watch window in VB. So
if one were to use this array from a VB client the array needs to be loaded in
column major order and when used by a C++ client it needs to be in row 
major order?

I havn't worked with VB very much, nor do I ever want to. But when
an array is accessed in vb is it column major order for instance;

Dim i as Integer
i = integer_array[column, row]

or is it

t = integer_array[row, column]

Thanks


"Igor Tandetnik" wrote:

> John < XXXX@XXXXX.COM > wrote:
> > Do I have to worry about the column major / row major ordering when
> > populating an array from C/C++ for VB?
> 
> No need to worry, but you do need to take it into account. SAFEARRAY 
> data is always in the order that's opposite of what a C/C++ programmer 
> is used to (I keep forgetting which one is called row- or column-major) 
> ..
> 
> > Say for instance I create the following 2 x 3 array;
> >
> > SafeArrayAccessData(psa, (void**)&pshort);
> > for (i=0; i<2; i++)                           // populate the array
> >  for (j=0; j < 3; j++)
> >    pshort[i * 3 + j] = k++;
> > SafeArrayUnaccessData(psa);
> >
> > Now when I complete this in C/C++ the memory would appear as follows
> >
> > 0 1 2
> > 3 4 5
> >
> > Would VB translate this array properly?
> 
> VB will see
> 
>     0 2 4
>     1 3 5
> 
> -- 
> With best wishes,
>     Igor Tandetnik
> 
> With sufficient thrust, pigs fly just fine. However, this is not 
> necessarily a good idea. It is hard to be sure where they are going to 
> land, and it could be dangerous sitting under them as they fly 
> overhead. -- RFC 1925
> 
> 
> 

5. SafeArray with VB and C++, row major/column major order question

6. Access problem on Vista during FileSystem.MoveDirectory operation

I am so confused and PO'ed at Vista.  I have full access rights to the 
folders or is it Directories (MS please use just one term for one object). 
So if I run the program and thru code attempt the FileSystem.MoveDirectory 
it will ask me for permission (which I give) and then seemingly ignore my 
Ok.

I can do the same using Explorer without a prompt or a problem.  If I run 
the program as Admin again no problem.  Is there a way to do that thru VS 
2008?  I guess I need to know what userid is being used when I run either 
thru VS 2008 or the executable created by VS 2008.  If I run as Admin I can 
then not do drag and drop to the app.

Thanks
Lloyd Sheen

MS WHY WHY WHY????
ITS MY SYSTEM, MY FILES, MY OK


7. Vista problem accessing HKEY_LOCAL_MACHINE in registry - Visual Basic/VB

8. Problem with Vista: "Run-Time error '75': Path/File access error"

Hello,
            I am not sure what I am doing wrong.
The fact is that I cannot recreate the problem on my computer, one of my 
users is struggling with.
The problem is that on his computer app crashes with:
"Run-Time error '75': Path/File access error" message.
I have traced this problem to the point app wants to create folder in:
C:\ProgramData\<my app title>
That path is obtained using  GetSpecialfolder(CSIDL_COMMON_APPDATA)

Interestingly, I cannot recreate that crash on my computer.

User has Vista Business (32 bit), with Administrator privilages and UAC is 
on.

I have also noticed another strange thing about that Vista.
 It returns False to IsWinNT4Plus function:
============================
Function IsWinNT4Plus() As Boolean
   Const VER_PLATFORM_WIN32_NT As Long = 2
   Dim osv As OSVERSIONINFO

   osv.OSVSize = Len(osv)
   If GetVersionEx(osv) = 1 Then
      IsWinNT4Plus = (osv.PlatformID = VER_PLATFORM_WIN32_NT) And 
(osv.dwVerMajor >= 4)
   End If
End Function
============================

Any comments and your help appreciated,
Claire