Get FingerPrint User ZKTEco Download and Upload Many Device - c#

I Have an Attendance Machine iFace302, I want to Download From 5 Device simultaneously and insert the data to my local database. After that Upload it back to 5 device simultaneously, Why I do this ? because inside the machine it has their own database and I want all data inside the machine is same. So anywhere they put the finger they can access / attendance.
for now I'm using 2 programming language VB.NET(WinForm) for main Program And ASP.NET to Get User Data with webservice, it's still local(For now). Can anyone help me how to make it ?

Go to this link ZK Software Standalone SDK. Select the SDK tab. Then download the correct SDK version for your development machine (32-bit or 64-bit). The programming reference manual is included in the RAR file.

Related

Is there a way I can access files from an Android app that is saved by another app on a different device?

What I am trying to achieve here is I want to use an android device as Accelerometer that calculate running hours of Truck . Basically I have created an app that detects device motion or vibration . The app calculates running hours in minutes if a certain threshold if met . I am saving the value in a text file in android . I need to know if is there Wait I can access this file / value from a different app installed in a different device?. I had a look on Content Providers but what am not sure of is if you can share app data between apps in different device.
Thank in Advance
Or you can just upload the data to a mysql database and access it from anywhere and any device. You just have to specify the userId and access the informations based on that
You can use
Firebase
Check out how to get Firebase on your app

How to use a Database from a Windows tablet UWP app?

I will soon be deciding on a project for my university course and I had one in mind which is going to be a windows tablet application, using the UWP tools in Visual Studio, as I want to develop skills in C# and the Mobile area.
However I will need to have a database behind my application to submit and retrieve data from. Is this a relatively "simple" and common task to do? I'm not looking for easy, I just want something that I can accomplish though without worrying too much over the basics.
My original thought was to have a database on my PC and then host it for my tablet to connect too, but that would require constant internet connection and for my PC to be hosting. After having done a little bit of research I came across something called SQLite, which people seem to think is a good local database to put into the device.
Having no experience with mobile applications though, I was curious as to how I would develop an application on my PC, and then put it onto the Windows Tablet, both using the same database? Would I need to duplicate the database between systems? Or would I write the code up on my PC and then test it on my Tablet?
Again this is an area i'm still new to, database 'hosting' and mobile applications. Maybe i'm just over thinking things, but just by asking the question I can already tell I sound clueless. My experience has been with small WPF applications, Console Applications and Websites.
I will need to have a database behind my application to submit and retrieve data from. Is this a relatively "simple" and common task to do?
I think the answer is yes. As you mentioned, SQLite is a good local database for you to use. Since there are guidance, samples, teach videos for SQlite with UWP, it should be simple and common task for you to do.
I was curious as to how I would develop an application on my PC, and then put it onto the Windows Tablet,
For this you need to Get started with Windows apps. After you finished developing the app on the PC, you can publish to windows store or Sideload your app package, then you can install the app on your tablet from store or through side loaded package.
Would I need to duplicate the database between systems?
The SQlite database is actually a database file with .db or other suffix saved on the local device. Whether need duplicate depend on where you put the database file on. Since UWP app is sandbox and have limitations for access the folder on the device. By default, all apps can access the following two locations, Application install directory and Application data locations. If you put the database file on Application install directory, once you install the app on one device, the database will exist on the install directory and you don't need copy. But this directory is read only means that if your database don't need update and read only you can use. For another location,Application data location there are LocalFolder,RoamingFolder and TemporaryFolder. If you put the database on LocalFolder it cannot be roamed and you need to manually copy or user a cloud server helper you save it for roaming.If you put the database on RoamingFolder it can roam pay attention it has some restrictions. More details please reference File access permissions. In my option, SQLite is a local database, which is using only for local data will be better, I don't recommend you to use it for roaming. If you need a roaming data base, a database on cloud or server side will be much better.
Having no experience with mobile applications though, I was curious as to how I would develop an application on my PC, and then put it onto the Windows Tablet, both using the same database?
You should get start from this document Intro to the Universal Windows Platform. I believe you'r familiar with C# language, you can use C# to develop UWP apps.
As you mentioned, you could use sqlite as local database in your app. You could use LiveSDk's APIs to synchronous database when you switch from PC to tablet.
Here's a sqlite sample in uwp for your reference.
The OneDrive Photo Browser sample shows you how to get data from cloud, it would be helpful to you.

Running Bartender on a single machine over network

I am using Bartender Enterprise Automation edition for Label Printing. As of now, Bartender is installed on machines on which we intended to print the labels from.
Now, I have an windows forms C# application, which invokes Bartender Engine and prints the labels.
If a machine does not have Bartender Install on it, my app can not print the labels.
So, is there a way to install Bartender on a single machine (let's say our production server which is up and running 24 X 7 and on local network connected to each and every machine ) and whenever "Print Label" button is pressed from my Windows Forms application, necessary data and Label Template file (.btw) will be sent to that machine and that remote machine will print the labels for me.
this way I won't require to install bartender each and every machine in my company. I did try looking for the solution online but there isn't much documentation for this online.
Please share some knowledge if someone have explored in this area.
Bartender do have support for Web Print Server , I am not sure if it is available for the version you mentioned.
It works like this : https://www.barcodesinc.com/news/?p=3203
http://www.seagullscientific.com/media/101387/web-based-barcode-and-label-printing.pdf
These are some helpful links related to this topic :
I have been working on this and seeking solution as you have asked but no luck. Unfortunately you have to install BarTender suite on each client. My organization has purchased enterprise license 2016 and I thought that Print Portal and Print Maestro might solve this problem but they both are developed for different purpose.
I haven't tried both of them yet. If you find anything, let me know. Thanks
You should be able to solve this with using BarTender Integration. Integration is used to automatically print labels without having a user see BarTender. If you can export your data to a csv file and drop it in a folder BarTender Integration will be able to pick it up and print it to the correct template. The integration will run from a server so you don't need to install it on every computer.
I have an idea, since you do not like to install Bartender all over the machines in your company. Then i suggest you to create another windows form c# application to communicate with the one you have originally to print labels.
You should be able to print labels to different printers through local network.
PC A
Installed Bartender and Have the windows form c# application to print labels
PC B
Do not have Bartender installed
Have another windows form c# application to send information to PC A

Access Database on server, installing an applicaiton that uses access database

1) I am developing a desktop application that connects to a access database to store some information. This access database is on a server. I can get to that server using FTP sequence. The server also has the capability to establish connection to access database. Right now, my application downloads the database file into a folder on the computer edits it and puts it back on the server. I would really love to know if its possible to connect to the access database, make changes to it all without downloading it so that I can save time.
2) If its not possible to do what I was asking for in question 1. Say, I share my application with my colleges and I want them to be able to do the same with the database editing. after I make an .exe file out of my project and send it to them. Do they need to install ACE.oledb.12 on every computer that I want to run it on?
As Access is a file based system rather than a dedicated database server, "remote connections" don't exactly exist as all data processing has to be done locally. However as long as you are able to setup either a VPN to the server where the Access file is stored, or even better map the path as a network drive then you should be able to access it without having to download the file first. If you only have FTP access though then it wouldn't be possible.
If all you are using is Jet/ACE, the database that Access normally uses, the other users will at least have to have the drivers, which are free, or if you are working within Access itself, you will need the runtime, also free.
Actually, your terminology you using is wrong. You don't connect to a word file. You don't connect to a power point file.
So you have to keep in mind here you are not really connecting to some text file or mdb file that just happens to be sitting on a hard drive.
You are thus simply opening a file.
I mean it is silly to say we connect to a word file, or we connect to a Power point file. So in the case of the office suite and those basic simple files that resides on the disk drive?
We are talking about plane Jane windows file.
A horse is a horse is a horse.
A file is a file is a file.
So you don't connect to the jpg file sitting on the hard drive, you OPEN the jpg file. So if you talking about your current setup it best to use the correct terminology here. You are not connecting to that Access accDB file, but are in fact opening a PLANE JANE windows file. If you look close at your connection string, it will ALWAYS have a fully qualified windows path name in it that resolves to a file sitting on a folder.
So if you place that file on some server, say web server, then then you still faced with having to open that windows file. This is NOT ANY different than wanting to open a power point file. That means if you going to connect over the internet then you need to EXTEND the windows file system (this means you will need some kind of VPN). At the end of the day, if you cannot use windows networking to browse and open the folder where that file resides, then you cannot open that file with Access (or more specific in your case the JET data engine).
So for example, if the server where the file resides is a non windows box, say Linux, then you need to "add or use" or "install" the windows file and networking system on that box. A common choice in Linux is to install and run Samba on that computer.
Keep in mind that in the case of using SQL server, then you are connecting to a SERVICE running ON THAT server. In this case then you not opening a file on the remote box, but are simply are using a socket (TCP/IP) connection to some service. So you not just opening a silly old windows file that happens to be an accdb file on that system in this case.
So as such when you use FTP or http, these are not real "windows" networking systems that allow you to open + use a plane Jane windows file.
FTP will require the WHOLE FILE to be downloaded local.
PROBLEM!
If the web site or web server has the accDB file open, then how are you going to have the web server CLOSE the file BEFORE you upload and OVERWRITE the file? In other words, if that file is open by the web server, then you should NOT be making a copy and even downloading a copy via FTP until the SERVER AND WEB SITE CLOSES THE FILE! This means you NEED permission to STOP the web server while you do this!
So as such, just keep in mind the concept here that you are NOT connecting to some file, but you are just going to OPEN the file. You need to be able to OPEN the file, and you need to be using the windows networking system to do this open file in the case of Access. I mean, you don't have to install Access(JET) on the target computer. You don't have to install Power Point on the target computer to open a power point file.
You don't have to install word on that system to open a word file.
You don't have to install Excel on that system to open an Excel file.
So you are ONLY opening a file that just happens to be on some other computer.
So the Access database engine and software MUST be installed on your computer (no .exe possible here). You can most certainly package up your application as an installable windows application that then can be installed on each computer. So a free edition of the Access runtime is available, but you still going to have to install that free version of Access on computers that use Access, even if it is the free runtime edition. However, these days, I not really aware of any popular development system that produces just .exe files without requiring a runtime of some kind, be it .net, VB6, Java, or in this case Access – so some kind of support and runtime files are quite much a common requirement in most systems in use today.
So, just keep in mind you are opening a plane Jane windows file.
As such, your path name of http, or FTP is not a allowed windows path name and is not a windows file/networking system. As such a path name has nothing to do with windows networking and opening of a simple file sitting on the hard disk. So HTTP or FTP etc. are not based on windows networking and file system.
I don’t think this basic concept is too hard to grasp, but at the end of the day the concept you need to grasp and learn is that when you open a windows file sitting in a folder on the hard drive, then then will you need the windows file system to open such files. The idea and concept of opening a file in a folder might be new to you, but it is a basic requirement and understanding you need to solve this issue.
As noted, you can consider a VPN, but I explain why such a setup is not going to work in this article:
Using a wan with ms-access? How fast, how far?
http://www.kallal.ca/Wan/Wans.html
(do read the above – as it explains that you CAN open such files over the internet, but ALSO explains that such connections are WAY TOO SLOW! – remember high speed internet is WAY TOO SLOW here for this use!).
I suppose another possibility would be to consider the new web publishing ability that Access has. In the following video note how I switch to running the Access application 100% in the browser. The resulting application does not need any ActiveX or Silverlight. So the web pages run + work fine on my smartphone and even my iPad.
http://www.youtube.com/watch?v=AU4mH0jPntI
So you can use the new web publishing feature, and that would allow one to use http: to use the application

Help for Windows Mobile Phone Application Update

hi
i wrote a script to copy a CAB file via FTP from the distant server to the Mobile. This is all working fine and the size matches.
Now my problem is when i am trying to install the file on the Mobile,
i receive the message "the install was unsuccessful" and when i copy directly from the server to the Mobile this is working
Can you help me with this :-(
Regards
You say the file size is the same, but what about contents? Are the files identical? How are you transferring the CAB to the device manually? Over ActiveSync/WMDC? BE aware that ActiveSync may modify a file during transfer - especially if the CAB is signed and the device doesn't require signed CABs.
See this SO question for some background/similar behavior.

Categories

Resources