VEE 7 vrf'ers? - Here's one for you....
Having trouble with .NET stuff...
If someone who knows could try this out and see what's going wrong, I would
be extremely grateful....
1. Open the DotNet example 'Selectfolder.VEE'
2.Copy the important stuff, (The Declare Variable, the Set
FolderBrowserDialog=....... box and the Formula box which hangs off the
'Select a Folder' button
3. Copy these into a new VEE program and try to run it. - It won't.
Ok, so then I realised you had to reference the 'System.Windows.Forms'
namespace and it worked - but the 'Environment' variable now causes
trouble. If you rem that out it works as a whole, but I need to specify a
starting point.
does anyone know how to invoke this environment stuff? - I can't find it
anywhere!!!
As a side note to Agilent people, the example 'readme' files are too
difficult to understand, especially these dotnet ones. They tell you how
they work, but only in a language that someone who already knows about
dotnet would understand!! - Let's face it, if you already understand all
this you wouldn't need to look at the example!!
The readme file for the function above says..."Note that
System.Windows.Forms namespace is imported" - Well, yes... so?? - Is that
important? How do I do that? WHY do I need to do that??
I understand what's happenng here.. it's the same when you write some test
software and you fall into the trap of writing the instructions in a way
that the writer would understand - not the user, so next time, perhaps in
VEE 8 or dare I say it in a VEE7.x release, could we have the examples with
a little more explanation which non programming Gurus like me can
understand??
Thanks.
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Having trouble with .NET stuff...
If someone who knows could try this out and see what's going wrong, I would
be extremely grateful....
1. Open the DotNet example 'Selectfolder.VEE'
2.Copy the important stuff, (The Declare Variable, the Set
FolderBrowserDialog=....... box and the Formula box which hangs off the
'Select a Folder' button
3. Copy these into a new VEE program and try to run it. - It won't.
Ok, so then I realised you had to reference the 'System.Windows.Forms'
namespace and it worked - but the 'Environment' variable now causes
trouble. If you rem that out it works as a whole, but I need to specify a
starting point.
does anyone know how to invoke this environment stuff? - I can't find it
anywhere!!!
As a side note to Agilent people, the example 'readme' files are too
difficult to understand, especially these dotnet ones. They tell you how
they work, but only in a language that someone who already knows about
dotnet would understand!! - Let's face it, if you already understand all
this you wouldn't need to look at the example!!
The readme file for the function above says..."Note that
System.Windows.Forms namespace is imported" - Well, yes... so?? - Is that
important? How do I do that? WHY do I need to do that??
I understand what's happenng here.. it's the same when you write some test
software and you fall into the trap of writing the instructions in a way
that the writer would understand - not the user, so next time, perhaps in
VEE 8 or dare I say it in a VEE7.x release, could we have the examples with
a little more explanation which non programming Gurus like me can
understand??
Thanks.
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
> dotnet would understand!
Yeah I get yelled at for doing that all the time. Let's see, who was it?
Godel? "No system can be fully described in terms of itself". Or something
like that. A closed system can't be fully described in it's own terms...?
> does anyone know how to invoke this environment stuff?
No problem - mscorlib.System.
So how did I know? Well, I basically guessed because I didn't see
Environment anywhere but it's used as if it were an enumeration, so I
figured it would be in the System namespace somewhere.
Advice: doing .NET without the .NET Framework SDK Documentation is like
trying to find Navy Pier from Union Station with a blind fold on. IOW you
can probably figure out the right direction but you'll most likely wind up
in the lake.
I opened up the dox and typed "Environment.S and like magic the hilight
jumped directly down to Environment.SpecialFolder enumeration". And low and
behold, there it is. All the information you ever wanted and then some.
The .NET Framework SDK can be had for free from:
http://www.microsoft.com/downloads/details.aspx?familyid=9B3A2CA6-3647-4070-
9F41-A333C6B9181D&displaylang=en
(all one line)
-SHAWN-
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".