Droopy's Lib

Developed or developing a new product in PureBasic? Tell the world about it.
sam99
New User
New User
Posts: 3
Joined: Mon Jul 04, 2005 5:42 am

Post by sam99 »

thanks I got your email
Ziltch
User
User
Posts: 59
Joined: Sun Aug 03, 2003 12:05 am
Location: Australia

Post by Ziltch »

Thank you for a great set of extra commands.
You have helped make alot of tricky jobs into simple ones!
:D :D :D
porfirio
Enthusiast
Enthusiast
Posts: 111
Joined: Mon Nov 15, 2004 11:00 pm
Location: portugal

Post by porfirio »

I get a small problem

Code: Select all

Debug RegValueExists("HKEY_CLASSES_ROOT\batfile\DefaultIcon","",".")
Debug RegGetValue("HKEY_CLASSES_ROOT\batfile\DefaultIcon","",".")
I put a empty string for get the default value but it work on RegValueExists but it returns a empty string in RegGetValue

Btw nice lib
Forgive-me for my english, i'm portuguese!
User avatar
oryaaaaa
Addict
Addict
Posts: 825
Joined: Mon Jan 12, 2004 11:40 pm
Location: Okazaki, JAPAN

Post by oryaaaaa »

Great Library :D
Thankyou
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Post by Droopy »

With

Code: Select all

Debug RegValueExists("HKEY_CLASSES_ROOT\batfile\DefaultIcon","",".") 
Debug RegGetValue("HKEY_CLASSES_ROOT\batfile\DefaultIcon","",".")
You don't specify a value name ! You must specify a value
Gansta93
Enthusiast
Enthusiast
Posts: 238
Joined: Wed Oct 20, 2004 7:16 pm
Location: The Village
Contact:

Post by Gansta93 »

In this case, debug routines would be nice.
Be seeing you! :-)

Gansta93
If you speak french, you can visite Le Monde de Gansta93 (Gansta93's World)
porfirio
Enthusiast
Enthusiast
Posts: 111
Joined: Mon Nov 15, 2004 11:00 pm
Location: portugal

Post by porfirio »

Droopy wrote:With

Code: Select all

Debug RegValueExists("HKEY_CLASSES_ROOT\batfile\DefaultIcon","",".") 
Debug RegGetValue("HKEY_CLASSES_ROOT\batfile\DefaultIcon","",".")
You don't specify a value name ! You must specify a value
yes but how do i read the default value??
the default value dont have any value :?

O well.. :cry: :roll:
Forgive-me for my english, i'm portuguese!
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

i agree with porfirio, there is something wrong. The first command works, the second does not. And if he doesnt want it to return anything if it cant find the value, what else can he do than specify "" as default value?
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Post by Droopy »

Because HKEY_CLASSES_ROOT\batfile\DefaultIcon
have the type : REG_EXPAND_SZ

The Lib Function can only Read / Write #REG_SZ / #REG_DWORD key type
porfirio
Enthusiast
Enthusiast
Posts: 111
Joined: Mon Nov 15, 2004 11:00 pm
Location: portugal

Post by porfirio »

Droopy wrote:Because HKEY_CLASSES_ROOT\batfile\DefaultIcon
have the type : REG_EXPAND_SZ

The Lib Function can only Read / Write #REG_SZ / #REG_DWORD key type
oh i see!

Thank's any way
Forgive-me for my english, i'm portuguese!
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Post by Droopy »

Version 1.24 is out
  • BlockInputW98
    FormatDisk
    GetGadgetIdentifier
    GetPixelColor
    GetUserLanguage
    GuidAPI
    MonitorPower
    RealDriveType
    RunOnlyOneInstance
    RunProgramAtStartup
    URLDownloadToFile
    WMI

    LDB ( DATABASE FUNCTIONS )
    LdbGetPointer
    LdbSetPointer
    LdbCountField
    LdbOpen
    LdbCreate
    LdbCountRecord
    LdbRead
    LdbWrite
    LdbAddRecord
    LdbDeleteRecord
    LdbSaveDatabase
    LdbCloseDatabase
    LDBSetFieldName
    LdbGetFieldName
    LdbPreviousRecord
    LdbNextRecord
    LdbInsertRecord
    LdbAddField
    LdbDeleteField
    LdbSearchInit
    LdbSearch
    LdbSortNum
    LdbSortAlpha

    TOOLTIP FUNCTIONS
    ToolTipAdd
    ToolTipRemove
    ToolTipChange
    ToolTipShow
    ToolTipHide
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Does the new version replace the ldb? I get a conflict when I run the compiler after installing this latest version. It conflicts with the ldb.
btw, the helpfile doesn't have the database commands listed here
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
okasvi
Enthusiast
Enthusiast
Posts: 150
Joined: Wed Apr 27, 2005 9:41 pm
Location: Finland

Post by okasvi »

Been expecting for next version :D

what keys does startup use?
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Post by Droopy »

@okasvi :
  • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
@GeoTrail :
The Droopy Lib now include the Ldb Library, you should remove the Ldb Library from \PureBasic\PureLibraries\UserLibraries to avoid conflict

The Database function is include, but the autocompletition appears with JapBe only after the 4° Chr
User avatar
GeoTrail
Addict
Addict
Posts: 2794
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Just downloaded the helpfile again and there are the database commands. Fantastic lib Droopy, thanks for that and your help.
Btw, each time I re-install Windows and after I've installed PB, Droopy's lib is the first one to get installed ;) Congrats on that fantastic library :)
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Post Reply