get the property name of custom folder
-
How to get the custom folder location in c3 winforms setup . am creating setup for my project, i added a custom folder named as ABC, default location:tempdir\UPLOAD property:hi so the folder(UPLOAD)is created in programfiles\companyname\manufacturer how to get the location of that folder in c# program.
-
How to get the custom folder location in c3 winforms setup . am creating setup for my project, i added a custom folder named as ABC, default location:tempdir\UPLOAD property:hi so the folder(UPLOAD)is created in programfiles\companyname\manufacturer how to get the location of that folder in c# program.
Member 10263519 wrote:
property:hi
Folder don't have a propertybag; what property are you referring to?
Member 10263519 wrote:
how to get the location of that folder in c# program.
By getting the "current directory"; that's the location from which your executable launches. Or ask the assembly where it's located. Your "upload" folder is a subfolder thereof.
System.IO.Path.GetDirectoryName(
System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase);You'd Path.Combine the "upload" part to that path, and then you have the complete path to that specific folder.
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]