How to implement spotlight like search in Windows? - windows

I need to enable the users to do a livesearch of the contents of a folder from my app. On OS X, I can do it by using the Spotlight APIs which have been exposed. Is there a way in which I can do it on Windows? Does Windows Search SDK help me accomplish this? As far as I know, Windows doesn't index the files until the user explicitly gives permission. So does that mean I've to index the files myself? Are there any open source libraries which do this? How can I go about implementing my own library? Too many questions, I know. I appreciate answers to any of them.

Search SDK is good, but can be switched off by user.
Also try Googel Desktop - do the same thing, but also expects user action on installing it.

Ok. I decided to go with CLucene because I found it more reliable, easier to use and to have a much more active community than Windows Search. And of course I can use it on both Windows and Mac.

Take a look at Xapain. CLucene development seems to have stagnated.

Related

Where can you find the control panel for xampp in mac?

This seems like a very basic question, but I can't seem to find a straightforward answer online after searching for very long.
I am using xampp, but can't seem to find the control panel.
The only application I have is manager-osx
Is there something missing in my download? Or is there a procedure to run the control panel?
Thank you very much!
Yeah, thanks #Jon's answer helped me out in the end, indirectly.
They should make a cross platform with Electron, it's 2018 already! :).
But you can pick the Manage Servers tab and have similar functionality on MAC:
I find it most annoying that the Xampp manager doesn't have XAMPP in the name, but is vaguely called 'manager-osx'. This way you can't quickly find it through OS X's Spotlight search. The names comes across as a bit of egocentric of the developers thinking they've made only manager application. But yeah; it's freeware...
I looked up the question on the apache forum for mac and it appears there the interface you're looking for is only available on Windows.
MANAGER-OSX LAUNCH THE CONTROL PANEL IN MAC OSX
XAMPP V7.2.0-0
ROUTE: aplications/XAMMP/xampfiles/manager-osx
Please refer to the screenshot below
There is no Control panel as much as Windows. you have to go to the route. usually its Finder > Applications > (find your Xampp Folder) > Expand the folder. that's the current way and its helped me with android studios

How to detect the presence of app in universal Windows plateform

I try to find a way to detect dynamically if an app is installed on a computer inside of another UWP. Is there a way to access user app list or is there a workaround ?
You can use the other app's URI to detect it.
Here's an article I found from 2015 that discusses it.
http://www.c-sharpcorner.com/UploadFile/6f0898/inter-app-communications-in-windows-10-uwp535/
Let me know if that doesn't work for some reason or if you need newer info, then I do some more digging to provide more info.
All the best!

NSIS automatic and silent update

I am currently building an application and want to have an installer and automatic silent updates for it.
Dropbox, Spotify and Chrome all are amazing at updating without anyone noticing. So I took a look at the Dropbox Roaming Folder in AppData and found a file named DropboxUpdateHelper.exe with an NSIS Icon. In the Spotify folder I could only find a SpotifyHelper.exe and a mentioning of NSIS in the Terms.
Is there a tutorial of how to install an application inside the Roaming Folder and have a silent auto updater? I am not fixed on NSIS but would prefer an open source and free installer.
NSIS has the INetC plugin that can be used to download things from the internet but I don't know if there is an auto update tutorial out there. You might also want to take a look at the VPatch plugin...
There are many variables to think about here:
Should your main application look for updates or just run the updater on application (or windows) startup so it can check?
Are the files on the server signed or do you have other ways to detect invalid/corrupted/MitM updates?
Do you require access control/DRM before downloading/applying updates?
How will you handle major version number updates? Will you support more than one major version or force upgrades?
Do you require administrator rights to update? UAC handling?
How are you going to support upgrading from 1.0 to 1.2? Update to 1.1 first or support every possible minor version upgrade path?
I'm sure there are many other issues you also have to think about. You should probably try to answer all these questions before you start coding. During development you might find other questions or that you have to change the design completely.
IMHO, this is not a simple question and I don't think you will be able to find a drop-in solution that fits your exact design/requirements...
It is easy to download files from internet using NSIS (there are several plug-ins for this purpose: NSISdl, InetC, ...) but such functionality is more about coding.
There is no exact solution for this - as Anders said you need to specify every detail to achieve required behaviour.

Create a windows service in vb6

Is it possible to create a windows service in vb6? if yes, how?
I've never tried it, but Desaware offer a commercial package, the NT Service Toolkit that claims to allow you to host a VB6 DLL inside a Windows Service. Desaware was founded (and I think is still owned by) VB6 guru Dan Appleman, which is a good recommendation.
Microsoft created a control to allow you to create services in VB6.
http://support.microsoft.com/default.aspx/kb/170883
http://support.microsoft.com/kb/175948/EN-US/
Yes, it works, is it the best way to create a service, no, but if VB6 is a requirement (you have a bunch of code you have to re-use), then I can state from experience that it works. We have the original control from the January 1997 MSDN, however you can easily find it on the net if need be ( http://www.google.ca/search?q=ntsvc.ocx+download )
Like gouging your own eyes out with a spoon, it is technically possible but I wouldn't recommend it.
Yes, you can. Just follow the directions in this tutorial:
http://www.vbrad.com/article.aspx?id=92
To answer your question, yes it is possible to create a Windows service with VB6. To offer you advice, there are much better tools to use. I did it once as a proof of concept project, but never liked it well enough to try to use it for anything that we used in the company. A co-worker did do this for a production app and it was error prone. After he left we found out just how hard he was working to keep his service running and ended up replacing his app without reviewing his code. So my advice is, if you want to do it as an exercise go ahead, but if you are looking at this for a workable solution you should consider other tools. Here is a link to one way to do it.

Windows Mobile app copy file to desktop?

Is it possible to write a WinMo app that copies files from the device to the attached desktop? I know RAPI works from the desktop to the mobile, but I'd like to turn that around if I can.
There was a download called CERApi which is a Managed wrapper around the RAPI calls, it was on WintoolZone.com, here's an example on the blog on how to use it. Unfortunately, the WinToolZone's CERapi cannot be found, I am still searching for the DLL as download...
I will edit this answer again accordingly once I find the download link
Hope this helps,
Best regards,
Tom.

Resources