vba from 32bit to 64bits (1 Viewer)

Ana12322

New member
Local time
Today, 06:46
Joined
Jul 12, 2023
Messages
21

Mike Krailo


Yes, it is that in access 32bits it works fine, but in 64bits it doesn't.

The button does not work when I go to search for a file
 

Mike Krailo

Well-known member
Local time
Today, 06:46
Joined
Mar 28, 2020
Messages
1,044
What do you mean it doesn't work in 64bit? Is there an error message? Please tell us exactly what the error is. If there is no error message, then describe in detail what is not working. I tried to open and use the form in your project, but this is just a front end application to many other databases that are on your local network so I cannot test anything here.
 

isladogs

MVP / VIP
Local time
Today, 11:46
Joined
Jan 14, 2017
Messages
18,225
I haven't gone through your file in detail as there are a lot of APIs to check.
However, whilst adding PtrSafe to each API will allow the code to compile in 64fbit, it doesn't mean it will work or indeed that there will be no errors.
As I said before, you need to go through each API and check they are all correct.
Nobody else can test the app for you as its use depends on the linked tables that aren't included
 

Ana12322

New member
Local time
Today, 06:46
Joined
Jul 12, 2023
Messages
21

Mike Krailo


Ok, I send you these videos. where i run on 64 bit windows with 32 bit access and the program works perfectly, if you see it opens to add the necessary files and work with them
 

Attachments

  • win64-access32.zip
    1.3 MB · Views: 40

Ana12322

New member
Local time
Today, 06:46
Joined
Jul 12, 2023
Messages
21

Mike Krailo


In this video I run it on 64bit windows with 64bit access, if you notice that it doesn't open to search for the files. This is what I mean when I say that in access 64bits it does not work
 

Attachments

  • win64-access64.zip
    4 MB · Views: 40

Mike Krailo

Well-known member
Local time
Today, 06:46
Joined
Mar 28, 2020
Messages
1,044
This is getting into an area that I'm not as familiar with so hopefully someone will chime in with and idea on how to get that Data Wizard to work properly.

I'm not getting any specific errors to point us in the right direction. This seems to be either missing references of some type or runtime issue. Those are a little harder to troubleshoot. As Colin said, this might need to be done from your end with access to all the linked tables.
 

Noson5434

New member
Local time
Today, 06:46
Joined
Jan 25, 2023
Messages
26
I made some changes.
See if you are still having issues.
 

Attachments

  • 1 PCS Cost Seg Prog 32bit3 (2).zip
    1.4 MB · Views: 58

Ana12322

New member
Local time
Today, 06:46
Joined
Jul 12, 2023
Messages
21

[USUARIO=162873]Noson5434[/USUARIO]​

Hello thank you very much!!!

It worked, now I only have a problem with the button when I go to search for the folders, I must add the address manually.

I send a video
 

Attachments

  • win64-access64_fCK1pURw.zip
    3.2 MB · Views: 42

Noson5434

New member
Local time
Today, 06:46
Joined
Jan 25, 2023
Messages
26

[USUARIO=162873]Noson5434[/USUARIO]​

Hello thank you very much!!!

It worked, now I only have a problem with the button when I go to search for the folders, I must add the address manually.

I send a video
I will review this tomorrow
 

Ana12322

New member
Local time
Today, 06:46
Joined
Jul 12, 2023
Messages
21

Noson5434

Hello!

It doesn't work for me, the other one that you sent me first does work in 64bits, but the browser button doesn't
 

moke123

AWF VIP
Local time
Today, 06:46
Joined
Jan 11, 2013
Messages
3,920
Wow, That code goes back to 1994?

Is all that (or most of it) just to get a file dialog and a print dialog?
 

moke123

AWF VIP
Local time
Today, 06:46
Joined
Jan 11, 2013
Messages
3,920

Hello,​

Yes, it was only for the open dialog, why didn't it open
only tried in 32 bit.
Just seemed overly complicated for a file dialog but I didn't look very hard at it.
 

Ana12322

New member
Local time
Today, 06:46
Joined
Jul 12, 2023
Messages
21

moke123


In Office 32bits it worked perfectly, the problem was in Office 64

Thanks to Noson5434 I was able to solve it
 
Last edited:

Users who are viewing this thread

Top Bottom