Hi
take a look at properties of below file, you'll see a "Custom" tab there.
Ok this is the question: How to add\remove or read data from this section in my form.
Test File
8 Replies - 889 Views - Last Post: 17 March 2013 - 12:06 AM
Replies To: Q: How to manipulate custom properties of a file?
#2
Re: Q: How to manipulate custom properties of a file?
Posted 16 March 2013 - 06:21 AM
aciforce, on 16 March 2013 - 12:23 AM, said:
take a look at properties of below file, you'll see a "Custom" tab there.
Ok this is the question: How to add\remove or read data from this section in my form.
Test File
Ok this is the question: How to add\remove or read data from this section in my form.
Test File
Is that a picture? If so, you might want to upload it here as an attachment, rather than posting a URL. A lot of folks are cautious these days, and won't trust an unfamiliar URL from someone who just joined.
This post has been edited by lar3ry: 16 March 2013 - 06:22 AM
#3
Re: Q: How to manipulate custom properties of a file?
Posted 16 March 2013 - 12:54 PM
mmm.... and what if its not a picture??
no matter if some one can't trust me. actually there's no other way for me.
Thanks
no matter if some one can't trust me. actually there's no other way for me.
Thanks
#4
Re: Q: How to manipulate custom properties of a file?
Posted 16 March 2013 - 01:19 PM
Hello aciforce,
Without us seeing some code for it, Knowing what kind of controle it actually is, or knowing anything else about it besides seeing a picture there is not much that anyone could tell you about how you need to do it.
Without us seeing some code for it, Knowing what kind of controle it actually is, or knowing anything else about it besides seeing a picture there is not much that anyone could tell you about how you need to do it.
#5
Re: Q: How to manipulate custom properties of a file?
Posted 16 March 2013 - 02:31 PM
Custom properties are (relatively) easily available for Microsoft Office documents, but more awkward for other document types. This link refers to a DSOFile class. The code sample is in C# but the linked, download, page apparently includes a VB.NET example.
#6
Re: Q: How to manipulate custom properties of a file?
Posted 16 March 2013 - 03:25 PM
aciforce, on 16 March 2013 - 01:54 PM, said:
mmm.... and what if its not a picture??
no matter if some one can't trust me. actually there's no other way for me.
no matter if some one can't trust me. actually there's no other way for me.
Well, it's hard to trust a web page when it's posted by someone I don't know, and from the HTML code for the page, it looks like it is nothing but a login page on some web hosting site in Iran. I'm not real good at Javascript, but I see nothin else of interest on that link. The only pictures I see are .png, and they are all buttons and logos. Most of the text on the page is not in any language I am able read, let alone understand. So, yes, I am distrustful. I've been bitten too many times, and my "sacrificial" computer is not running right now, so there's no way I'm going there. Can you not upload whatever it was supposed to be here?
#7
Re: Q: How to manipulate custom properties of a file?
Posted 16 March 2013 - 11:01 PM
lar3ry, on 16 March 2013 - 03:25 PM, said:
aciforce, on 16 March 2013 - 01:54 PM, said:
mmm.... and what if its not a picture??
no matter if some one can't trust me. actually there's no other way for me.
no matter if some one can't trust me. actually there's no other way for me.
Well, it's hard to trust a web page when it's posted by someone I don't know, and from the HTML code for the page, it looks like it is nothing but a login page on some web hosting site in Iran. I'm not real good at Javascript, but I see nothin else of interest on that link. The only pictures I see are .png, and they are all buttons and logos. Most of the text on the page is not in any language I am able read, let alone understand. So, yes, I am distrustful. I've been bitten too many times, and my "sacrificial" computer is not running right now, so there's no way I'm going there. Can you not upload whatever it was supposed to be here?
Well friend, you're right. that's my fault.
I wonder I couldn't find edit button of topic.
Anyway I'm sorry for that and this is the correct link:
http://www.fileconvo...a65d573bce2bfba
#8
Re: Q: How to manipulate custom properties of a file?
Posted 16 March 2013 - 11:46 PM
aciforce, on 17 March 2013 - 12:01 AM, said:
Well friend, you're right. that's my fault.
I wonder I couldn't find edit button of topic.
Anyway I'm sorry for that and this is the correct link:
http://www.fileconvo...a65d573bce2bfba
I wonder I couldn't find edit button of topic.
Anyway I'm sorry for that and this is the correct link:
http://www.fileconvo...a65d573bce2bfba
No problem. You don't get an edit button until you've posted a number of times, I think. I'm not sure how many though.
OK.. got the file, and had a look at it. Unfortunately, I don't have SolidWorks, so I can't do much testing with it. There are a lot of references in the SolidWorks forums about custom properties, and a lot about VB.Net code as macros. SolidWorks does have an API, but many of the refernces I saw seemed to say that a.SLDPRT file had to be loaded (preumably into SolidWorks) in order to manipulate it, which I gather is not what you want. The forums could be the best place to start looking.
Sorry I couldn't help more.
#9
Re: Q: How to manipulate custom properties of a file?
Posted 17 March 2013 - 12:06 AM
Ok I'll check forum.
As "andrewsw" sayes, I think DSOfile.dll is the key of this problem.
Anyway, thanks to all of you.
As "andrewsw" sayes, I think DSOfile.dll is the key of this problem.
Anyway, thanks to all of you.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote






|