Comments (10)
Did you try a restart of Access and/or the whole computer?
from zxing.net.
Yes I did. It did not help.
from zxing.net.
which version of access do you use?
if it works it should like the following screenshot:
from zxing.net.
I had to install VisualStudio2017, run it as administrator, and build zxing.interop. After this it is visible in VBA.
Now the question is, how can this be done without installing visual studio and building it on every computer. The register.com if run from c:\Windows dir does not work (run as Administrator) It is registered successfully but not visible in VBA. I really don't know what is wrong. I checked the registry and it seems to be ok. What is the difference when running it with regasm vs building it from Visual Studio? I am on Windows 10 PRO 64 bit and am using a 32 bit office, so there should not be a problem.
I found this, http://edndoc.esri.com/arcobjects/9.2/NET/9826f81b-278c-49cc-a912-ab8d86f5e91e.htm
and it seems an installer has to be made for it to work. Any ideas?
from zxing.net.
I checked the registry and when run form VS2017 as described above it looks like this:
What I will try next is to put the dll somewhere else, not in c:\windows and run register.cmd on a computer which does not have visual studio installed, to see if it shows up in VBA (it does register no matter what, but does not show up in the VBA)
from zxing.net.
I also noticed that building in VS there is the tlb file created. Can this be the problem? Should I use regasm /tlb ?
from zxing.net.
It seems tlb is needed:
https://www.red-gate.com/simple-talk/dotnet/visual-studio/build-and-deploy-a-.net-com-assembly/
from zxing.net.
I thought the TLB file would be created because of the /tlb parameter:
"%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\regasm.exe" /codebase %~dp0zxing.interop.dll /tlb %~dp0zxing.interop.tlb
I have to check it again.
from zxing.net.
It looks to me that there is an issue if the register.cmd is executed on 64bit windows.
Please try it manually with the following command:
"%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\regasm.exe" /codebase C:\Windows\System32\zxing.interop.dll /tlb C:\Windows\System32\zxing.interop.tlb
from zxing.net.
I found that running register.cmd DID work OK (as long as the full path to the zxing.interop files did NOT contain spaces).
It did then appear as an available reference in my VB6 projects, but was listed just as
port of the java based barcode scanning library for .net (java zxing 29.07.2019 21:30:35)
and NOT as
ZXing.NET: port of the java based barcode scanning library for .net (java zxing 29.07.2019 21:30:35)
Before trying to rebuild the project in Visual Studio (as suggested above) try looking for this entry.
Hope this helps.
from zxing.net.
Related Issues (20)
- Upgrade SkiaSharp - current version had Vulnerabilities HOT 5
- zxing.net is missing NuGet package README file
- Can't encode € symbol to Qr. HOT 3
- Unable to parse this QR code, I don't know why HOT 1
- QRCODE type error parsing to UPC-E type HOT 1
- UPC/EAN Extension 2/5 does not read the 2/5 digit extension
- Can someone finally fix the example usage in README?
- Don't decode QR_CODE HOT 3
- ZXing.Net doesn't seem to be able scan more complicated PDF417 barcodes HOT 12
- EPC QR Code (European Payments Council) Not Decoded HOT 3
- Support for Latin-1 in BARCODE-128 HOT 4
- Upgrade SixLabors.ImageSharp - current version has vulnerabilities HOT 1
- UPC_A's error message is wrong.
- The image for PLESSEY is vertically tiny. HOT 4
- The sides of UPC_A's image could be slightly cut out. HOT 1
- Centering PDF_417 Barcodes and Unstable Width/Height HOT 1
- Barcode as small part of image HOT 1
- Barcode generator: unpredictable whitespace padding around it depending on requested Width
- Upgrading to Magick.Net 13.7.0 breaks ZXing.Magick HOT 1
- ZXing for WinUI-3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zxing.net.