Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
799 views

Using NetBeans(java) I created a JDialog with a JFileChooser and when I try to open a lnk folder using the ComboBox (in other ways works fine) an exception is thrown and the folder is not opened. I ...
Andrea Bale's user avatar
0 votes
1 answer
2k views

I need following function (from C++ dll) available in C++/CLI extern "C" _declspec(dllexport) void __stdcall DestroyInstance(CKeyManagerServerApp *ptr); My try: [DllImport("KeyManagerServer.dll", ...
leon22's user avatar
  • 5,749
-3 votes
2 answers
2k views

The problem with the problem is, I don't know where the problem exists, so I can't paste all my source codes here. The error is a LNK error, LNK 1152 to be exact. I get 3 warnings brought with it: ...
Miracle's user avatar
  • 11
2 votes
2 answers
3k views

I found this code: Public Shared Function GetLnkTarget(ByVal lnkPath As String) As String Dim shl = New Shell32.Shell() ' Move this to class scope lnkPath = System.IO.Path.GetFullPath(...
user670186's user avatar
  • 2,890
5 votes
3 answers
2k views

I'm trying to access the target path from a shortcut(.lnk) file on a 64bit machine using my 32 bit application. To get the path, I was using the following code. WshShell shell = new WshShell(); ...
Jimesh's user avatar
  • 113
0 votes
3 answers
72 views

I have made a small application without setup. Just copy from A to B. Now I wanted to copy also a shortcut (lnk) file in the Windows system to have the application visible as uninstall-able. But when ...
Nasenbaer's user avatar
  • 4,910
1 vote
3 answers
2k views

I have 4 files, 2 headers and 2 cpp files. Header file one: #ifndef complex_2 #define complex_2 #include<iostream> #include<cmath> using namespace std; namespace comp { class ...
Ryuu's user avatar
  • 606
1 vote
2 answers
44k views

Greetings. I have searched for a solution, but I think this problem is personal code specific, hence my posting here. I'll get straight to the point. In my main I have two objects. Computer *...
Joey Roosing's user avatar
  • 2,155
3 votes
4 answers
7k views

Several frameworks and languages seem to have lnk file parsers (C#, Java, Python, certainly countless others), to get to their targets, properties, etc. I'd like to know what is the general approach ...
MPelletier's user avatar
  • 16.8k
3 votes
1 answer
797 views

Following a previous discussion on lnk files parsing in java ( Windows shortcut (.lnk) parser in Java? ). I've tested all solutions proposed. But no one works with my lnk files created by cygwin,...
Eddy's user avatar
  • 31
1 vote
1 answer
1k views

The usual way to resolve lnk involve using WShell.WshShortcut or IShellLink that way : var WshShell = WScript.CreateObject("WScript.Shell"); var oShellLink = WshShell.CreateShortcut(strDesktop + "\\...
Emmanuel Caradec's user avatar
0 votes
1 answer
815 views

Problem: I have to support users who need to edit web pages. Some of these web pages exist only as textarea controls. Fortunately, there is a firefox plugin that allows the user to open the textarea ...
dreftymac's user avatar
  • 32.6k
4 votes
5 answers
2k views

Our 32-Bit application launches Windows LNK files (Shell Links) via ShellExecute. When it tries to "launch" a link to a 64-Bit binary (such as the "Internet Explorer (64-Bit)" shortcut in Start Menu) ...
user avatar
27 votes
10 answers
29k views

I'm currently using Win32ShellFolderManager2 and ShellFolder.getLinkLocation to resolve windows shortcuts in Java. Unfortunately, if the Java program is running as a service under Vista, ...
Zarkonnen's user avatar
  • 22.6k

1 2
3