How to allow "Interact with desktop" in a service - asp.net

I have created a simple VB.NET windows service. I have created a setup package and added the installer using design view -> add installer. I would like to allow this service to interact with the desktop. I am aware that you can go to "services" and allow interaction with the desktop but I would like to do it at install time. I have read many online articles but they refer to c# and the ones I have tried did not work. The way that I assume to do it is to edit the registry entry for the service.I have no real idea of what to do.
Any help appreciated.

Related

How do I create an .exe (or similar) for a VS15 VB.net website?

I was asked by my client to build a basic website in Visual Studios 2015 that allows them to view mapping relationships between data. The entire thing is fully functional and tested. It is connected to a local MS Access database since it only needs to be a basic intro product.
The issue I am having is that the client requested the application as a .exe file so they can take it throughout the company and raise more funding for the project. I can't seem to find any options to build the program as an .exe or anything similar to that. VS15 seems to only want me to use Azure, which we do not have the funding to purchase. The solution to this does not need to be pretty, but it does need to be functional and portable. I developed the program on a PC, but the client has a Mac and wants to use that for the demos.
What do I need to do in order to give the client what they want without having to purchase something else or as for a server to run the website on? Is there any way I can allow the client to use the application without needing to run the entire program?
Please feel free to ask for any additional detail, as needed.
Thanks for your help!
-WS
The comments are correct - that's not exactly how this works. When you're hitting "play" in Visual Studio, it's using IIS Express by default: https://msdn.microsoft.com/en-us/library/58wxa9w5(v=vs.120).aspx
Your best bet will be to use that: https://learn.microsoft.com/en-us/iis/extensions/introduction-to-iis-express/iis-express-overview
However that is only for the "web server" part - you'll still need to deploy your application like you would another asp.net project - it will not be an executable though, it'll be served up as compiled html / js files and vb, etc
Once you have IIS express setup and running, you'll be able to hit that website like you do when debugging (http://localhost:SOMEPORT)

Is source code off an app avilble for the user?

If i write an desktop app in tidesdk or tide kit will it be possible for users to read my source code, just like from ordinary web page or not ?
Yes, if the user knows where to look. It's not viewable by right clicking the window and selecting source, but if they browse to the install directory, all the HTML / related files are there in broad daylight.
You could come up with some strategies to protect them, either using encryption or just providing a bootstrapper application which downloads the rest of the source from a server on startup or something like that...but if it's a huge concern of yours you're probably better off using a different platform.

Alfresco Community 4.2 Document Management

Currently I have a task of exploring Alfresco Community 4.2.
What I need to do is to build a workflow that allows users to upload document, an admin to verify it, and other higher level users to allow the document to be released, how it is released is not my concern. e-mail notifications will also be sent to higher level users or admin when the document is about to expire.
I have downloaded the Alfresco Community 4.2 exe from their website, and install it in a Windows 7 32-bit laptop. But I cannot access to /alfresco and /share, I learnt that I need MySQL for this, so I'm currently installing this one, http://dev.mysql.com/downloads/windows/installer/ , am I correct?
And do I have to do all this separately, for example, first I need to set up users, then configure their restrictions, then move on to documents?
I'm really really new in this. I've searched Google but so far everything seems complicated to me.
Thanks in advance!
First of all if you are using installer which you seems to be you do not need to install anything separately. Alfresco installer comes with everything bundled into it's installation.
Unless you have specific requirement where you want to use MySQL instead of bundled postgres database.
Now For workflow one everything is up and running you can check various existing out of box workflows available with alfresco if any of that meet your requirement you can use that directly no other efforts required.
In case you feel none of those workflow meetup your requirement then you need to create your advance workflow.
http://wiki.alfresco.com/wiki/Workflow
This link contains all you need to know regarding alfresco workflows.

How to make entry in systems registry in flex?

I have a desktop application and developing an installer script. I need to check for previous installations whenever this script run. I have no idea how to access registry in flex. any help or reference will be extremely helpful.
Flex, or more specifically AIR/AS3, does not provide access to the Windows Registry. You'll have to build you're own Native Extension to expose this functionality.
Since I was asked for some resource links...
Here are some blogs posts on creating a Native Extension in Windows.
Here are some generic information on building Native Extensions.
And finally, Google should tell you how to access the Windows Registry from C; which is what you want to do inside your Native Extension.

Build an Offline website - Burn it on a CD

I need to build a website that can be downloaded to a CD.
I'd like to use some CMS (wordpress,Kentico, MojoPortal) to setup my site, and then download it to a cd.
There are many program that know how to download a website to a local drive, but how to make the search work is beyond my understanding.
Any idea???
The project is supposed to be an index of Local community services, for communities without proper internet connection.
If you need to make something that can be viewed from a CD, the best approach is to use only HTML.
WordPress, for example, needs Apache and MySQL to run. And although somebody can "install" the website on his own computer if you supply the content via a CD, most of your users will not be knowledgeable enough to do this task.
Assuming you are just after the content of the site .. in general you should be able to find a tool to "crawl" or mirror most sites and create an offline version that can be burned on a CD (for example, using wget).
This will not produce offline versions of application functionality like search or login, so you would need to design your site with those limitations in mind.
For example:
Make sure your site can be fully navigated without JavaScript (most "crawl" tools will discover pages by following links in the html and will have limited or no JavaScript support).
Include some pages which are directory listings of resources on the site (rather than relying on a search).
Possibly implement your search using a client-side technology like JavaScript that would work offline as well.
Use relative html links for images/javascript, and between pages. The tool you use to create the offline version of the site should ideally be able to rewrite/correct internal links for the site, but it would be best to minimise any need to do so.
Another approach you could consider is distributing using a clientside wiki format, such as TiddlyWiki.
Blurb from the TiddlyWiki site:
TiddlyWiki allows anyone to create personal SelfContained hypertext
documents that can be published to a WebServer, sent by email,
stored in a DropBox or kept on a USB thumb drive to make a WikiOnAStick.
I think you need to clarify what you would like be downloaded to the CD. As Stennie said, you could download the content and anything else you would need to create the site either with a "crawler" or TiddlyWiki, but otherwise I think what you're wanting to develop is actually an application, in which case you would need to do more development than what standard CMS packages would provide. I'm not happy to, but would suggest you look into something like the SalesForce platform. Its a cloud based platform that may facilitate what you're really working towards.
You could create the working CMS on a small web/db server image using VirtualBox and put the virtual disk in a downloadable place. The end user would need the VirtualBox client (free!) and the downloaded virtual disk, but you could configure it to run with minimal effort for the creation, deployment and running phases.

Resources