LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

shortcut menu won't work in executable

I attached a shortcut menu to a listbox and ran the program. It worked file. Then I created an executable. The shortcut menu would not pop up any more. What am I doing wrong?
0 Kudos
Message 1 of 6
(4,146 Views)
Attach your code so we can see.  If you are using the current VI path funciton, make sure that you strip the path twice if you are using an exe
0 Kudos
Message 2 of 6
(4,143 Views)
The problem with this example code is that, when I make an executable out of it, it still works. In my actual program, which is 1760Kb big, the popup menu does not pop up in the executable version. I was hoping that someone else had seen this problem and figured out how to solve it. I can't even think of something to try.
0 Kudos
Message 3 of 6
(4,120 Views)

hi there

i don't have LV around here, but have you tried to add the shortcut menu to the support files of your project?

i'm not sure about 8.x, but in version 7.1 and prior if you changed the extension from the executable to "llb" you were able to open the llb in explorer, then you could see all files contained, also the dynamic ones. try this out to make sure that the menu is part of the executable.

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 4 of 6
(4,114 Views)

Hi,

This issue has been reported to R&D (# 3T2E57V2) for further investigation. Checkout the following threads for possible workaround.

http://forums.ni.com/ni/board/message?board.id=170&message.id=166401

http://forums.ni.com/ni/board/message?board.id=170&message.id=209297

Tunde

Message 5 of 6
(4,097 Views)
I created the menu dynamically using the "Shortcut Menu Activation?" event. Everything works fine now and it wasn't that much work to code. Thanks for the help.
0 Kudos
Message 6 of 6
(4,062 Views)