Hello,
I'm trying to get the screen resolution and position (display two on the left or right of display one) of all the connected displays (normaly two). My idea was to take the .net class "system.windows.forms.screen" but it does not have a public constructor.
Can anybody help me?
regards,
Nicolas
QUOTE (jdunham @ Mar 19 2009, 10:49 AM)
Hi jdunham,
thanks for the explanation. With this knowledge it makes sense and could be a useful functionality!
regards,
Nicolas
I created a queue somewhere in my code and in a subvi somewhere else in my code I want to access this queue by its name (obtain queue.vi with Create if not found = False).
This proceeding causes a memory leak.
I know, that it's better programming style to wire the queue reference but the parameter Create if not found indicates that it should work.
Attached is a small example which demonstrates the problem:
Run both the AppWired.exe and the AppCreateIfNotFoundEqFalse.exe and control the memory usage in the task manager.
Nicolas
QUOTE (star @ Feb 23 2009, 10:02 AM)
Just a 5 minute example of your code with an event structure. Without error handling etc.
1. open file
2. press write?
Nicolas
QUOTE (star @ Feb 23 2009, 12:30 AM)
The code will be faster if you open the file once and work with the reference.
Look at the event structure to realize the user interaction.
regards,
nicolas
if you want to write to the next line, write a end of line Constant to the file or concatanate it with the string you're writing.
You can also use the write to spread sheet file.vi. It offers the parameters append and tronspose which could be useful for you.
QUOTE (jim85 @ Feb 19 2009, 11:25 AM)
Hey Jim,
sorry, I think it could be very easy to help you if you'd explain what you're trying to do.
Please discribe your problem more precisely.
regards,
nicolas
Hello,
I've created a variable manager in a functional global which generates a user event for each changed rsp set variable.
The attached code is an example reduced to the minimum.
It works fine but my question is if any of you see a possibility to get different names for the user events.
Like you can see in the "MyVar1 and 2 Indicator.vi" both user events in the event structure have the same name and this is very inconvinient when the number variables/events increases.
regards,
nicolas
Hi at all,
this looks very interesting but I tried to make this run under LV 8.5 and LV8.2.1 and it doesn't work. Even the "OS Open Document"-Event isn't available in these versions.
Have you made the same experiences?
Nicolas