English
Units

dbHelper DSN OnTheFly etc.

 
- Page 1 -


dbHelper.pcu

These Unit is for >= XProfan 10
Namensräume go supported (z.B: db.) and should uses go!

The Hauptaufgabe this Unit is the create and Remove of/ one DSN
circa OnTheFly by ODBC on Databases grab to, without these
by the user arrange To let.

Desweiteren is it possible a vain Access-data base to create, circa
these moreover To benefit (DSN becomes automatically laid out)

Examples and further functions go follow!

a couple standard-coachman names find itself in the dbHelper.ph

Funktionsbeschreibung: (take db. as Namensraum in the Description)
bracket clinging mark optionale Parameter
Defaultwerte:
User$ =
Password$ =
coachman$ = Microsoft Access coachman (*.mdb)

DSN$ = Db.AddDSN (DataBaseName$, [User$, [Password$, [coachman$]]])
Fügt a DSN-Sign in whom Benutzerdatenquellen one
DSN$ is in the Fehlerfalle one Leerstring, otherwise can this String for further
command the XProfan ODBC-interface uses go!

Result% = db.RemoveDSN(DSN$, [coachman$])
removes DSN-entry from whom Benutzerdatenquellen
Result% is 1 in the erfolgsfalle, otherwise 0

DSN$ = db.CreateMDB(DataBaseName$, [User$, [Password$]])
prepares a vain Acces-Database and fügt a DSN-entry hinzu

PS: The DSN-names go prepares from XPRF + Datenbankname without way and Extension

Feedback, Bugmeldungen etc. erwünscht

If the a or others another couple Examples create would, would very nice

26 kB
Kurzbeschreibung: Beta 0.6
Hochgeladen:10/09/06
Downloadcounter251
Download
 
09/30/06  
 



 
- Page 1 -



Michael
Wodrich
Access to Access works, but How I get Access to a MySQL-File?
 
Programmieren, das spannendste Detektivspiel der Welt.
10/01/06  
 



[quote:817fe34677=Michael Wodrich]Access to Access works, but How I get Access to a MySQL-File?[/quote:817fe34677]
MyODBC must installs his, as address then z.B. whom localhost indicate. (127.0.0.1) and coachman = MySQL ODBC 3.51 coachman
Habs but not yet tested, ought to but weg, if MySQL pub runs
 
10/01/06  
 



Update Beta 0.5

any 3 function having now a additional optionalen Parameter. If this on 1 staid is, becomes the DSN-Sign in whom Systemdatenquellen prepares, or. deleted. there having too others User the Systems grabbed on The DB

PS: who some nice Examples post could, the sustain of me by PM whom Source, the but not relayed go must. means dive in
 
10/03/06  
 




Michael
Wodrich
XAMPP has whom MyODBC well not used. The driver is by me not at all installs, fetch I straight to.

white someone where with XP Home The hosts. and lmhosts. very hingehören so tappt im dunkeln correctly ausgewertet go? I have on my system difficulty with the localhost indicated - The lead constantly in that vain. I help me with 127.0.0.1.

The Templates lying under WindowsSystem32Driveretc
hosts.sam and lmhosts.sam.

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
10/04/06  
 



After system32/Drivers/etc
only rename, means extension lane

MySQL goes too without ODBC, because one The DLL libmysql.dll directly uses. but for ODBC is MyODBC necessary!
 
10/04/06  
 




Michael
Wodrich
I schaff it simply not. Access-Files no trouble but MySql will not. or have I with *.myd The incorrect File on the roll.

there are *.myd, *.myi, *.frm to selection.
d=datenbank, i=index ?!!

prepares have I The data base How always: with phpMyAdmin - so work I really only. but one Programmzugriff via XProfan would naturally well...

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
10/04/06  
 



 
- Page 2 -


Have time MySQL tested, can but not plenty make, Have none Localen Webserver installs

Have the StandardAttribut APServer with MySQL time on localhost staid. somehow are missing me yet Info The right data base anzugeben, it forbid me whom grabbed.

can Yes time a morsel of with the modified PCU play, Perhaps findeste yet suitable Info. I work really longer SQLite3.

to that testing Have I subesquent Source uses:
 $H dbHelper.ph
 $u dbHelper.pcu = db.
Declare DSN$
cls
DSN$ = db.AddDSN(mysql, ODBC, , ~DRIVER_MYSQL, 1)
Print DSN$
WaitKey
Print db.RemoveDSN(DSN $)
WaitKey

becomes too everything correctly. registered, except for The data base, or. any fehlender rights. before You a Button press simply time into Sytemsteuerung: Datenverwaltung-ODBC / SystemDSN look over.
The Test-PCU in the attachment.
Perhaps kannste me Yes yet whom right hint give

PS: If you everything so there einträgst ought to The data base too functions, solely The Unit kanns for MySQL not yet.

23 kB
Kurzbeschreibung: testversion
Hochgeladen:10/05/06
Downloadcounter178
Download
 
10/05/06  
 



Have in Version 0.6 time a *.def added

deference: in the momentum go only The ODBC-driver of M$ supported, means *.mdb, *.xls etc.
On the work I yet, can but nothing promise.
 
10/09/06  
 



have You, the .def manually machine?
 
10/09/06  
 



[quote:52b3572166=iF]have You, the .def manually machine?[/quote:52b3572166]
No, wieso? is tappt im dunkeln not so How tappt im dunkeln his ought to? white Yes not wozu the well is, be only Your piece of advice followed. only The Unit Have I subsequently again without XPSE prepares, circa 1 KB size To save
 
10/09/06  
 



Hm ok then Have I yourself something overlooking ^^
 
10/09/06  
 



everything in bester Order!

the DefFile is for there the withal Unitbenutzung one Syntaxcheck functions!
 
10/09/06  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

21.099 Views

Untitledvor 0 min.
Erhard Wirth06/14/24
H.Brill04/20/23
Manfred Barei10/21/20
Christof Neuß10/30/16
More...

Themeninformationen

this Topic has 3 subscriber:

unbekannt (11x)
Michael Wodrich (4x)
iF (3x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie