Hello:
I am writing custom features in C#. I would like to be able to write files to the folder where the current gct file resides.
Does anyone know how to determine that folder from C#?
so... i'm a bit of a n00b when it comes to this c# stuff. and i was wondering if anyone knew how to pass a 2d (or n d) array back to GC. this currently passes a 1d array and then I have to re construct it with GCscript, even though when it gets passed…
Those errors are all GC specific, it looks like you haven't got the right assemblies loaded.
from my very n00b expereince, I think you'll have to load them manually
go to the solution explorer ,
right click references ,
click add…
I don't think there is, but i've put one into the NP toolkit to play with ( attatched here )
Is is to test if an excel file exists before trying to write data to it?
I don't really understand the second question i'm afraid.
I can't find the generic C# solutions for V8i, are they in a funny place, or have a funny name or something?
Could someone post a copy anyway, in case i'm just an anomaly
ta
Hi, this is what it outputs, i have 9.9.5.50 running on this machine too, and it compiled it just fine.
I'm pretty sure that the API has changed, and it'd be really useful to be told how!
C:\Windows\system32> "C:\Windows\Microsoft.NET\Framework…
Thanks for your help. I was finally able to do what I want with the following:
{
GraphDomain domain = GCTools.UserGraphDomain.SelectedGraph.Domain;
string gctFileDir = domain.CurrentDirectory;
}
I am interested to use a C# function…
Hi, I'm trying to recompile my CS functions, and my references look like this at the moment:
using System; using System.Collections.Generic; //using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Media; using System…
I understand the GC is based on the C Sharp Scripting language, and that it is a good idea to get one of the "for dummies" books to get a basic background on scripting.
To avoid going way over and above what is required which release of C Sharp is…
It is such a drag having to migrate all my CS files to the new folder every time there is a new version. Can you change it back to the way it was once upon a time when we could put our hand written .cs files anywhere we liked please.