PAD File ActiveX

PAD ActiveX is a free ActiveX component for developers and software authors, with this component you will have the ability to create, write and read XML pad files.

Here is an example of reading XML PAD file using the PAD ActiveX component under Visual Basic 6:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
'Declare the pad type:
Dim Pad_XML As PadXML
 
'Read the xml pad file:
cPad1.GetPadXML Pad_XML, txtSourcePadFile.Text
 
'Write the pad file information
'to the debug:

'Get the product name:
Debug.Print Pad_XML.Program_Info.Program_Name
 
'Get the product version:
Debug.Print Pad_XML.Program_Info.Program_Version
 
'Get the company info:
Debug.Print Pad_XML.Company_Info.Company_Name
 
'-------------------------------
'   Set the rest of
'   of the pad file...
'-------------------------------

'Display the 'Done.' message:
MsgBox "Done.", vbInformation



This is an example of creating XML PAD file using the PAD ActiveX component under Visual Basic 6:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
Dim Pad_XML As PadXML
 
'Set the version:
Pad_XML.MASTER_PAD_VERSION_INFO.MASTER_PAD_VERSION = "2.02"
Pad_XML.MASTER_PAD_VERSION_INFO.MASTER_PAD_EDITOR = "PADGen 2.0.2.30 http://www.padgen.org"
Pad_XML.MASTER_PAD_VERSION_INFO.MASTER_PAD_INFO = "Portable Application Description, or PAD for short, is a data set that is used by shareware authors to disseminate information to anyone interested in their software products. To find out more go to http://www.asp-shareware.org/pad"
 
'Set the product name:
Pad_XML.Program_Info.Program_Name = "Your product name"
 
'Set the product version:
Pad_XML.Program_Info.Program_Version = "Your product version"
 
'-------------------------------
'   Set the rest of
'   of the pad file...
'-------------------------------
 
'Save the valuse to a an xml pad file:
cPad1.SetPadXML Pad_XML, txtDestinationPadFile.Text
 
'Display the 'Done.' message:
MsgBox "Done.", vbInformation

Dwonload

The installation program of this component contains samples of using this component with Visual Basic 6 and Visual Basic 2008.

Click here to download the PAD ActiveX Component.





read the original story ...
comments: Closed

7 Responses to “PAD File ActiveX”

  1. generika cialis says:

    Strange this post is totaly unrelated to what I was searching google for, but it was listed on the first page. I guess your doing something right if Google likes you enough to put you on the first page of a non related search.

  2. potenzmittel kaufen says:

    Hallo
    Toller Blog, aber leider sehe ich nur die hälfte.Ist Euch das bekannt?
    Liegt das an meinem Safari?

    Schöne Grüße aus Essen

  3. tagesgeld vergleich says:

    In searching for websites related to web hosting and particularly comparison hosting linux plan internet,
    your website came up.
    You really are a really sensible Individual!

  4. burning calories fast says:

    interestingly column I am thankful to have read

  5. levitra kaufen says:

    Hello there, I discovered your weblog via Google while searching for very first aid for a heart attack along with your post
    looks really fascinating for me.

  6. viagra says:

    Hey, I attempted to e-mail you pertaining to this publish but aren?t able to attain you. Please e-mail me when get a moment. Thanks.

  7. Doofmann says:

    Every single time I see blogs as great as this because I need to quit bludging and begin operating on mine.Thanks



Pings responses to this post