COMatePLUS version 1.2

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
Falko
Enthusiast
Enthusiast
Posts: 271
Joined: Sat Oct 04, 2003 12:57 pm
Location: Germany
Contact:

Re: COMatePLUS version 1.2

Post by Falko »

http://www.nxsoftware.com/ ---> No input file specified. :?: :?:

No COMate Plus downloads ?
www.falko-pure.de
Win11 Pro 64-Bit, PB_6.11b1
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: COMatePLUS version 1.2

Post by netmaestro »

COMatePLUS is a free open-source program, so I don't believe srod would mind my mirroring it here:

http://lloydsplace.com/COMatePLUS-PB4-50.zip

If he does, I guess I'll hear from him soon.
BERESHEIT
User avatar
Falko
Enthusiast
Enthusiast
Posts: 271
Joined: Sat Oct 04, 2003 12:57 pm
Location: Germany
Contact:

Re: COMatePLUS version 1.2

Post by Falko »

Thank you for this link :D
www.falko-pure.de
Win11 Pro 64-Bit, PB_6.11b1
User avatar
Bisonte
Addict
Addict
Posts: 1305
Joined: Tue Oct 09, 2007 2:15 am

Re: COMatePLUS version 1.2

Post by Bisonte »

netmaestro wrote:COMatePLUS is a free open-source program, so I don't believe srod would mind my mirroring it here:

http://lloydsplace.com/COMatePLUS-PB4-50.zip

If he does, I guess I'll hear from him soon.
Sorry, but this link don't work ....
PureBasic 6.21 (Windows x64) | Windows 11 Pro | AsRock B850 Steel Legend Wifi | R7 9800x3D | 64GB RAM | RTX 5080 | ThermaltakeView 270 TG ARGB | build by vannicom​​
English is not my native language... (I often use DeepL.)
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: COMatePLUS version 1.2

Post by DoubleDutch »

Has anyone got this, plus AdoMate?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Little John
Addict
Addict
Posts: 4777
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: COMatePLUS version 1.2

Post by Little John »

COMate Plus -- and other interesting stuff -- can be downloaded from RSBasic's backup page.
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: COMatePLUS version 1.2

Post by DoubleDutch »

Thanks.... :)

I didn't spot AdoMate - do you know if it's there?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: COMatePLUS version 1.2

Post by DoubleDutch »

Update: Don't worry - I've dloaded it now. :)
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
kenmo
Addict
Addict
Posts: 2033
Joined: Tue Dec 23, 2003 3:54 am

Re: COMatePLUS version 1.2

Post by kenmo »

@srod
Maybe I am a few years behind... today is the first time I've ever needed COM automation through PureBasic... but thank you for this COM package, it is extremely handy!
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: COMatePLUS version 1.2

Post by srod »

You're welcome Kenmo.
I may look like a mule, but I'm not a complete ass.
zapman*
Enthusiast
Enthusiast
Posts: 115
Joined: Wed Jun 02, 2004 10:17 pm
Location: New Caledonia (South Pacific)
Contact:

Re: COMatePLUS version 1.2

Post by zapman* »

I've posted a tip to convert .doc, .docx and .odt documents to HTML and PDF using COMatePLUS and OpenOffice.
You can find it here : http://www.purebasic.fr/english/viewtop ... 12&t=50137
Don't try - DO it !
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: COMatePLUS version 1.2

Post by DoubleDutch »

I've been looking at reading the sensors that are in nextgen Windows 7 and Windows 8 laptops/tablets...

http://software.intel.com/en-us/article ... ent-guide/

Reading them should be possible using COMatePlus - anyone tried this yet or have any examples?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: COMatePLUS version 1.2

Post by Kwai chang caine »

Hello

I try since 6 hours to convert a VB code who works fine in PB, without succes :(
If someone can help me

PB Code

Code: Select all

Protected Sess.COMateObject ;Dim Sess As Object
    Protected DB.COMateObject ;Dim DB As Object
    Protected Flag.i ;Dim flag As Boolean
    Protected Item.VARIANT ;Dim item As Variant
  
    Define.COMateEnumObject Dc
    Define.COMateObject NodeObject
      
    Sess = COMate_CreateObject("Notes.NotesSession") ; Set Sess = CreateObject("Notes.NotesSession")
    DB = Sess\GetObjectProperty("GetDatabase('', '')") ; Set DB = Sess.GetDatabase("", "")
    DB\Invoke("OPENMAIL") ; DB.OpenMail
    flag = #True
     
    If Not DB\GetIntegerProperty("IsOpen") ; If Not (DB.IsOpen) Then
     Flag = DB\Invoke("Open('', '')") ; flag = DB.Open("", "")
    EndIf 
      
    ;Debug COMate_GetLastErrorDescription()
    If Flag
     
     Dc = DB\CreateEnumeration("AllDocuments")
     ;Doc = Dc\CreateEnumeration("GetFirstDocument")
     
     If Dc
      
      NodeObject = Dc\GetNextObject()
      
      While NodeObject
       
       Debug NodeObject\GetStringProperty("GetItemValue('Subject')(0)") 
           
       NodeObject\Release()
       NodeObject = Dc\GetNextObject()
        
      Wend
       
      Dc\Release()
       
     EndIf
                   
     Sess\Release()
     DB\Release()
       
    EndIf
VB Code

Code: Select all

Dim Sess As Object
 Dim DB As Object
 Dim flag As Boolean
 
 Dim dc As Object
 Dim Doc As Object
 Dim item As Variant
 
 Set Sess = CreateObject("Notes.NotesSession")
 Set DB = Sess.GetDatabase("", "")
 DB.OpenMail
 flag = True
 
 If Not (DB.IsOpen) Then flag = DB.Open("", "")

 If flag Then
 
  Set dc = DB.AllDocuments
  Set Doc = dc.GetFirstDocument
  
  Do While Not (Doc Is Nothing)
 
   Debug.Print Doc.GetItemValue("Subject")(0)
   Set Doc = dc.GetNextDocument(Doc)
  
  Loop
 
 End If
 
 Set Sess = Nothing
 Set DB = Nothing
ImageThe happiness is a road...
Not a destination
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: COMatePLUS version 1.2

Post by Kwai chang caine »

Nobody can help me ?? :(
ImageThe happiness is a road...
Not a destination
User avatar
falsam
Enthusiast
Enthusiast
Posts: 632
Joined: Wed Sep 21, 2011 9:11 am
Location: France
Contact:

Re: COMatePLUS version 1.2

Post by falsam »

Kwaï chang caïne wrote:Nobody can help me ?? :(
I do not use Lotus note. sorry :)

➽ Windows 11 64-bit - PB 6.21 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti

Sorry for my bad english and the Dunning–Kruger effect 🤪
Post Reply