AjaxFileBrowser applet informations - applet

I'm using ajaxfilebrowser on my webapp to browse a webdav folder for each user.
When i use the online update fonctionality, ItHit lunch an applet like this:
I want to remove the name and the editor of the applet and set my custom parameters.
Is this possible?

This dialog provides information about the Java applet, so the user can clearly identify the vendor, name of the applet and where it comes from. It is displayed by the Java machine, you can not modify it freely.
However you can change the applet name and the publisher. To do this you will need to resign the applet with your own Java code signing certificate.

Related

how to show a file chooser dialog in GWT with server-side file system?

I have a GWT application, which needs to be configured before it can be used by clients.
I want to show some "perform initial configuration" page and let user select some folder to keep the data in.
now, how do I show a file chooser in the GWT client side which would contain the file system of the server?
I could theoretically implement such a widget myself - read all the files server-side, provide a list to the client, etc, etc. but this looks like a pretty common requirement, so I suspect such a widget should already exist...
GWT does not have an out-of-the-box widget+servlet doing that, and I dont know any 3party library doing that (but maybe you have some success searching in the web).
So you have to create a service in server side to provide the info (folders and files list). In client side I would use a CellTree which is very appropriate to display a filesystem structure.

Openoffice Writer macro that uploads current file to a web service on save

I want to know if this is doable and get some hints about how to achieve this.
I guess at least it would need a confirmation dialog to run the (possibly evil) macro.
I want to produce an OpenOffice document that will upload itself on save to a hardcoded URL.
Is it possible?
What are the rough steps to achieve this?
My guess is:
bind a macro to the save event
have that macro get the current file binary data
have it post this data to a URL
but before researching about how to do this I need to know if this can be done in the first place.
I don't believe you need a macro to do this, instead depending on your OS you can map a FTP or other type of protocol remotely.
For example in windows you can "Map" a FTP as a drive and this would do exactly the same thing as your describing, you open the file from the FTP and upon saving it will then be written to the remote server. FTP is just an example here, there are other platforms you can use.
If you are at all interested in this method then following the instructions below, otherwise disregard.
Mapping a Network Drive in Windows Vista and 7.
Click on Windows start orb and then click on "computer".
Click on map a network drive.
Map a network drive will then open a new dialog box where you can click "connect to a website"
Simply follow that easy to use wizard and click add a new network location (Choose a custom network location)
Type in your FTP address, including username and password.
Finally name your network location to whatever you want.
Just a suggestion, I really don't think you need any macro unless you plan on distributing these files to other people then yes, but they would need to install that macro/plugin on their open office since there is no way to encode the document itself with such features as far as I know.

Whic file of my C# project i wll give to a user for just use my software but they cant modified it

im making a software using C#.net ..and want to give it to users
Which file of my C# project i should give to a user for just use my software but they cant modified it.....how i make that type of file?
Which file of my C# project i should
give to a user
You should give none of the files that are part of your C# project. Provide only the compiled assemblies or if you already have a setup project that generates a deployment package such as an MSI, provide the resulting MSI.
You must create setup file and provide that much only.And your set up must contains serial key.If you dont know how to create serial key during setup creation then click here

Office integration (Word) - intercepting save

I am planning to implement a small in-house document management system. It must have a web GUI for managing a remote folder structure stored in a database. In these folders are word documents stored (physically as blob in a database). Whenever a user clicks on a document link, a word binary is downloaded via browser and (hopefully) opened in Word on the user's PC.
This is the easy part ;)
Now the user hits "Save" or Ctrl-S. I want to have a functionality programmed inside Word that calls a custom function (maybe in a .NET DLL) that uploads the saved file back to the server (HTTP). The hard part seems to me:
How to intercept the Save process to call the extension functionality
How to deploy this to multiple users
Mike's link to the question I answered should do it for intercepting the file save. The specific button idMso for File->Save is "FileSave"
To deploy it to several users machine you can either
Create a setup project that will create an msi that you can run on all the users machines
if it's an intranet scenario, you can keep the assemblies on a network location and just add the neceassary registry settings to all the users machines. This article should describe the settings that you need to include. You would just need to change the path setting to point to the network location.
AFAIK, this is what Alfresco is doing with its Microsoft Office Add-ins (never tested myself though). As Alfresco is open-source, it must be possible to look at what they are doing. Or just ask your questions on Alfresco's forums.
You can try to override "save" from the ribbon or build your own ribbon tab with the behavior you want. It may be trickier overriding "Ctrl-S".
Overriding the ribbon: StackOverflow Question
Video on altering a standard ribbon button: Office Developer Center

Storing files on client\harddrive from browser\java applet

(How) is it possible to let the user store a file (via save file dialog) on the local harddrive via a java applet?
Is there any workarounds for this or do I have to apply for some sort of certificate somewhere?
For example, when printing from a Java Applet the user gets a dialog asking for permission, is it possible to do something similair in this case?
You have to signe your applet http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html, or you can use the WebStart technology.