How to make a library management system? - vb.net

I am trying to create a library management system which is supposed to be used to store/keep info about the library and it's members (book title, author, name, borrower's picture and other stuffs).
The app has 6 buttons : delete, save, add, previsous, next and upload (to upload
pictures).
The app is working correctly on my computer which is a developing machine but when I try to install the app on another computer after packaging it, it fails to save the new record including the picture.
I am using Microsoft Access as datasource.
Here is the code for the save button.
Any help will be highly appreciated. Thanks in advance.

Related

App modeller, Identify button not showing up in blueprism spying

I am creating calculator VBO in blueprism object studio.
In application modeller I gave calc.exe path and able to launch calculator, but I am not getting identify option to spy on any element..
In Element, After clicking Launch buttion, identify is appearing for a split of sec and Launch button is coming back instead of Identify
PS- As mentioned in videos and links, I have launched calc via application modeller not directly via windows..
I am using windows 10, BluePrism V.5.0.11.0 versionenter image description here
Windows 10 calculator is complicated case, please consider using different application in your training. For example paint is much simpler to get started.
If you really need to get that going, then you may need to launch application first, using one object, and afterwards use second object to attach and interact with it.
can be two reasons
1. Either your application is not launched properly.
2. Sometimes we face problems with some versions of applications.
The best way to fix your problem is
Edit your settings remove the application path from the navigate stage.
Launch the application separately
Open Navigate stage > Action > Attach
Provide the window title within quotes (example: "Calculator")
Click OK then run the object
Now if you go to application modeller
You will be able to see the identify button under the element.
Hope this will help you.
I resolved this by unchecking "Disable invasive techniques (hooking)".
The Windows 10 calculator runs with process name win32calc which is also located under c:\windows\system32.
So when you launch the application please make you identify the applications process name and its location
I resolved this by circumventing to windows 7 calculator instead of a windows 10 calculator on windows 10.
Link to download win 7 calculator for win 10-
https://winaero.com/download.php?view.1795
This will be installed in the same place as your default calculator.
Inside-
C:\Windows\System32
The name of the app in my case was "calc1.exe" to avoid collisions with the default calculator.
I used this as my base reference app for spying and it worked.
Also note, the hover to highlight button seems to be a bit buggy, try a bit hit and trail to get you required button to be highlighted and mark using "Ctrl+LeftClick"

How to load a video permanently into a project

If you add a picture into a project, then remove the picture from it's original source, the picture is still in the project even though it doesn't exist in its original location.
I want to do the same thing with a video.
How can I add a video to a project in such a way that it can be deleted from its original location and it will still exist in the project?
I guess what you are looking for is dynamic ressources and not static(local) ones. You can input them by drag&drop into your solution explorer or if you double click on your project in the solution explorer the project properties open - there you have a tab called ressources where you can input any kind of ressources.
If you dont know how to play a movie within a VB Form - here is a tutorial on YouTube.

Add more one button on Attach menu of Whatsapp

I've an idea to develop a modification to WhatsApp, for example now when I click attachment symbol it shows only 6 I want to add one more option to it. If it's possible let me know. I want to add more one button on Attach menu.
It is not clear what exactly you are asking.
You have an option to launch other applications from your app.
If you want to change the way a certain app looks, or behaves you have to write something similar to it for people to use, but you cannot change the original app (no one will let you)
Here you go! it's possible, as #Jef said in comments.
using documentation interaction controller.
https://www.whatsapp.com/faq/iphone/23559013
you need to work on how to hook into attachment menu.
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDocumentInteractionController_class/
There is an assumption in your question that these other apps are put there by the whatsApp developers, or by a third party who was somehow able to modify their code. I suspect that what is happening is that they (whatsApp) simply export a document/file of a certain type (UTI) If your application supports that same UTI it should appear here. So there is six buttons for you, on your phone, but another user might see a different number, it depends entirely what they have installed on their device.
CONCEPTUAL.. if you double click on a file on your computer then the file browser (OS) opens that file with some application or other. Perhaps it is a .doc file and the OS pushes that file to word or pages. Or it may be a .psd file and it gets pushed to photoshop. How does this happen? The OS has a registry (database) of applications for each file type, applications sign up on this when they install/update. If you right click on a file you see an 'open in..' option that lists all your applications which can handle that file type, this is the menu that you are wanting to get onto (for whatsApp's file type) imho.
So you need to
1 ascertain what file type (UTI) WhatsApp is exporting
2 declare support for that file type in your application (this is the bit which will be platform specific solution) (iOS docs https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/DocumentInteraction_TopicsForIOS/Articles/RegisteringtheFileTypesYourAppSupports.html#//apple_ref/doc/uid/TP40010411-SW1 )
**edit/addition
3. add the code to actually handle the file when your app receives it. On iOs this is in the appDelegate in
-(void) application: openURL: sourceApplication:annotation:
If the Whatsapp people have published an API then thats where you want to look. Good luck

Windows 8 Set User Account Image

I'm trying to write a small CONSOLE (not metro style) app to quickly change the user account image of the current user to a select image for a setup scrip that I'm running on a bunch of laptops.
They're all Windows 8 and (since it hasn't been out terribly long) I can't find a ton of info on it. I did manage to figure out that you need to use the Windows.System.UserProfile object to do so, but I can't find any documentation on how to do so in a console app.
Thoughts? Suggestions?

Installation button using AS3.0 in Flash

I havent seen this question asked here yet, which makes me wonder if its a common question at all! But hopefully someone out there knows!
I'm creating a catelog for the business I work for and the index page has to be done in Flash (I have no acess to the old program used). Basically how the CD Cat works (at least the old ones I have) you put the disc in, it auto launches, and an index pops up. On that index there are 3 links, Install, View, and Website (pluss an exit button). The Install button when pressed launches InstalShield Wizard which begins to then download the PDF files for the Cat (right now the catelog is comprised of the index page, and PDF files. If you click the 'view' button it goes to a PDF index of all the companies products.) and a link to the website. Basically when the whole thing is done installing, there are 2 icons on the desktop: one brings you to the website and one opens a downloaded copy of the CD Cat. Just the PDF files though.
I have no idea what program was used in creating the origional catelog index, and I tried contacting the person who did it but he doesnt remember (this was several years ago and he left nothing for me to go on). I'm entirely new to Flash, only just learning, and so something like creating a download button is daunting to me. I dont even know where to begin! If anyone could spare some info or even where I could go to learn more about this, please let me know. Thank you!
This is basically an autorun CD with a flash projector on it. A Flash projector is a self contained flash executable.
Article on Autorun CD like that was made:
http://www.webwasp.co.uk/tutorials/a24-autorun-CD/index.php
You can make a regular windows autorun pretty easily but making a hybrid that runds on mac and windows is quite a bit tougher.
In order to copy over PDFs or do system type commands you will need to use 'fscommand' which can run executables and even windows batch files.
How to run executables is covered here:
http://www.wuup.co.uk/as3-how-to-run-applications-from-a-flash-projector-exe-with-actionscript-3-and-batch-files
The fscommand reference is covered here:
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/package.html?filter_flash=cs5&filter_flashplayer=10.2&filter_air=2.6
Hope this helps.