Looking for a way to add a background layer to existing photoshop files with c# code?
Any ideas?
Thanks
-c
Photoshop has a COM interface and here is a document on how to access it via C#.
The specifics of what you want to do will require a bit more digging into Photoshops actual documentation, but this will get you started.
For greater details, check out Adobes scripting guide and SDK information.
You should not have a problem today if you still searching a way to automate Photoshop:
https://helpx.adobe.com/photoshop/using/creating-actions.html
Related
I need to be able to check who has a file open using C#. I found a few people asked this question before but they were all a long time ago with the latest being in 2012. I was wondering if, in the last 5 years, has Microsoft added this ability to .net or maybe someone came out with a nuget package that is capable.
Here is the latest answer I found
You can use windows internal function NTQuerySystemInformation with undocumented parameter SystemHandleInformation for it. I don't know about c# implementation, but I know delphy code for it, and vb6 code. Check this links, it will help you to make your c# implementation.
Delphi - get what files are opened by an application
https://forum.sysinternals.com/topic14546.html
As far as I know, the standard library still does not have suitable functions for this. There is a popular question about this: https://stackoverflow.com/a/937558/5665527.
Also, if you want to know who opened the file remotely - net file function may be useful (which is accessible via cmd). I believe that there are similar WinAPI functions on MSDN that could be implemented in a similar way.
i searched for the topic but didn't find exactly that kind of problem.
I want to create a C# WinForms software which should run only in intranet. If i change the software afterwards i would like to have the application to look automatically in the network for a newer version. Is a newer version available it should replace the old one. Maybe there is some tool or library to achieve that?
Further Information: The software does not use a database and consists only out of one .exe file. No other stuff or files needed.
I don't want to setup a server or something like that for this task. I want it as simple and clean as possible.
Thanks in advance.
Joe
I think clickonce may help you. see http://msdn.microsoft.com/en-us/library/t71a733d(v=vs.80).aspx for more details
I really like the updateSystem.NET-lib, but which is only available in german. If you can understand the easy API, this is exactly what you are searching for.
Here, you can find a little tutorial, also in german.
I need to open DjVu files in my program, so I'm looking for some library. It must be free library, opensource would be better. When I tried to google it, I found only links to some books about .Net in *djvu format :D
This is an old question, but I wanted to include that I just uploaded a fully managed Djvu reader written in C#. If you make improvements please share. https://github.com/Telavian/DjvuNet
The following techniques may be useful.
First technique:
1) http://javadjvu.foxtrottechnologies.com/ djvu support for java
2) use ikvm.net to convert java code in dot net
it is tedious but can be tried and i think best method
Second technique:
http://twit88.com/blog/2009/02/28/open-source-windows-djvu-viewer/
a viewer to open djvu files
for more detail go through
sourceforge djvu
you can get basic details from here
I made a browser program for a archive type with the .mpq extension, which is highly used in Blizzard games.
It is like an explorer but only explores files inside MPQ archives.
Now, we all know how Windows Explorer browses .zip archives and I'd love to make it open the .MPQ files with so many rich features.
Is this even possible? So it is possible...
If so, then how? Shell Folder...
Can someone please point me to an example? (C#) I can't just translate C++ to C#...
This is done via extending the shell classes. You'll need to implement the Basic Folder Object Interfaces to accomplish this.
Although it is a C++ framework, there is a framework that implements exactly what you want, and that I have adapted with success for a similar file format:
TarFolder (by the guy who developed GMail Drive).
You may also be interested in EZNamespaceExtension.Net, even if they do not support extension-based rooting (a workaround is to use URLs with specific protocols).
Finally, check out WindowsShell: it might be exactly what you are looking for !
Sorry for coming so late after the storm...
I've searched through the internet, but haven't found any solution in c#. Does anybody know how to give user right to log on as a Service in c#?
EDIT: I found an article on CodeProject with sample code that shows exactly how to do this!
I assume you've already found this KB that shows how to do it with native code. I'm looking for a C# way as well.
I tried in vain to find this. The way I did it in the end was to package the NTRights executable with my application and then launch it as a separate process.
NTRights can be found on the server 2003 resource kti and its usage is documented here:
http://support.microsoft.com/kb/315276