dBASE Programming - Using Funcky

This is Interesting: Free IT Magazines  
Home > Archive > dBASE Programming > January 2007 > Using Funcky





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Using Funcky
4m

2007-01-12, 7:19 am

Hi,

dBasePLUS 2.01
I use FUNCky.cc sending .ZIP file with FTP protocol to my web site
FUNCky.cc is include in the project.
It run fine in my development work station
The customer work station is getting this error: "Classname not in registry
FUNCky"
Do I forget something?

Thanks
Etienne


Robert Bravery

2007-01-12, 1:14 pm

Hi,

Have you registered funky on the client machine.

Robert

"4m" <contact@c-4m.com> wrote in message news:XC5TMOjNHHA.796@news-server...
> Hi,
>
> dBasePLUS 2.01
> I use FUNCky.cc sending .ZIP file with FTP protocol to my web site
> FUNCky.cc is include in the project.
> It run fine in my development work station
> The customer work station is getting this error: "Classname not in
> registry FUNCky"
> Do I forget something?
>
> Thanks
> Etienne
>



4m

2007-01-12, 1:14 pm

How to "register funcky" on the client machine, please?

Etienne


"Robert Bravery" <me@u.com> a écrit dans le message de news:
tr$HEVlNHHA.1876@news-server...
> Hi,
>
> Have you registered funky on the client machine.
>
> Robert
>
> "4m" <contact@c-4m.com> wrote in message
> news:XC5TMOjNHHA.796@news-server...
>
>



bigMike

2007-01-12, 1:14 pm

On my computer it's done t his way...

regsvr32.4exe "C:\WINNT\funcky60.dll"

I believe you have your choice of Windows directories here.

bigMike

"4m" <contact@c-4m.com> wrote in message
news:OCsa5ZlNHHA.1216@news-server...
> How to "register funcky" on the client machine, please?
>
> Etienne
>
>
> "Robert Bravery" <me@u.com> a écrit dans le message de news:
> tr$HEVlNHHA.1876@news-server...
>
>



bigMike

2007-01-12, 1:14 pm

Sorry - fat fingers syndrome - let me repeat,,,
regsvr32.exe "C:\WINNT\funcky60.dll"
bigMike

"bigMike" <bigmikeaa@hotmail.com> wrote in message
news:xA7rM6mNHHA.1864@news-server...
> On my computer it's done t his way...
>
> regsvr32.4exe "C:\WINNT\funcky60.dll"
>
> I believe you have your choice of Windows directories here.
>
> bigMike
>
> "4m" <contact@c-4m.com> wrote in message
> news:OCsa5ZlNHHA.1216@news-server...
>
>



4m

2007-01-12, 1:14 pm

Thank you "bigMike"
But in France we should say "I am like a chicken with a knife", I don't
know what to do with your answer !!

Etienne



"bigMike" <bigmikeaa@hotmail.com> a écrit dans le message de news:
yTWku6mNHHA.1472@news-server...
> Sorry - fat fingers syndrome - let me repeat,,,
> regsvr32.exe "C:\WINNT\funcky60.dll"
> bigMike
>
> "bigMike" <bigmikeaa@hotmail.com> wrote in message
> news:xA7rM6mNHHA.1864@news-server...
>
>



Robert Bravery

2007-01-12, 1:14 pm

HI,

On the Taskbar, select Start > Run.
In the Open field, type regsvr32 "<path>\NameOfFile.extension", where <path>
is the directory where the file is located on your computer and
NameOfFile.extension is the name of the file. For example:

regsvr32 "C:\Windows\System32\Mydll.dll"
Press Enter.
If the file registers successfully, a succeeded dialog box will appear

Robert

"4m" <contact@c-4m.com> wrote in message
news:0gM5mMnNHHA.1064@news-server...
> Thank you "bigMike"
> But in France we should say "I am like a chicken with a knife", I don't
> know what to do with your answer !!
>
> Etienne
>
>
>
> "bigMike" <bigmikeaa@hotmail.com> a écrit dans le message de news:
> yTWku6mNHHA.1472@news-server...
>
>



4m

2007-01-12, 1:14 pm

Thank you for all

Etienne


"Robert Bravery" <me@u.com> a écrit dans le message de news:
LAsyuhnNHHA.1064@news-server...
> HI,
>
> On the Taskbar, select Start > Run.
> In the Open field, type regsvr32 "<path>\NameOfFile.extension", where
> <path>
> is the directory where the file is located on your computer and
> NameOfFile.extension is the name of the file. For example:
>
> regsvr32 "C:\Windows\System32\Mydll.dll"
> Press Enter.
> If the file registers successfully, a succeeded dialog box will appear
>
> Robert
>
> "4m" <contact@c-4m.com> wrote in message
> news:0gM5mMnNHHA.1064@news-server...
>
>



Geoff Wass [dBVIPS]

2007-01-13, 1:25 am

In article <9ut8lqnNHHA.1064@news-server>, contact@c-4m.com says...
> Thank you for all
>=20
> Etienne



Etienne,

Another thing to keep in mind... you can include Mike's DOS code in your=20
program so your program can register the program when it runs and has an=20
error using like you encountered. You can use RUN() or put it into a=20
..bat file and RUN() that. Sometimes, for some reason, you need to=20
register some controls twice. They don't seem to get understood 100% of=20
the time on the first attempt.

--=20
Geoff Wass [dBVIPS]
Montr=E9al, Qu=E9bec, Canada

..|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
..|.|.| ---------------------------------------------------------- |.|.|.
..|.|.| IT Consultant http://Geoff_Wass.com |.|.|.
4m

2007-01-13, 1:14 pm

Is this code right?

lgo = false
try
set procedure to FUNCky.cc additive
lgo = true
catch(exception e)
if e.code = 371 // OLE class name not in registry
try
run(true,'regsvr32 "c:\windows\system\funcky60.dll"')
lgo = true
catch(exception e)
try
run(true,'regsvr32 "c:\windows\system32\funcky60.dll"')
lgo = true
catch(exception e)
try
run(true,'regsvr32 "c:\winnt\funcky60.dll"')
lgo = true
catch(exception e)
lgo = false
endtry
endtry
endtry
if lgo
try
set procedure to FUNCky.cc additive
lgo = true
catch(exception e)
msgbox(e.message+str(e.lineno),"error",16)
lgo = false
endtry
endif
else
msgbox(e.message+str(e.lineno),"error",16)
lgo = false
endif
endtry
if lgo
..........

Etienne



"Geoff Wass [dBVIPS]" <gswassREMOVE_ME@attglobal.net> a écrit dans le
message de news: MPG.201249ce620886a39896e3@news.dbase.com...
In article <9ut8lqnNHHA.1064@news-server>, contact@c-4m.com says...
> Thank you for all
>
> Etienne



Etienne,

Another thing to keep in mind... you can include Mike's DOS code in your
program so your program can register the program when it runs and has an
error using like you encountered. You can use RUN() or put it into a
..bat file and RUN() that. Sometimes, for some reason, you need to
register some controls twice. They don't seem to get understood 100% of
the time on the first attempt.

--
Geoff Wass [dBVIPS]
Montréal, Québec, Canada

..|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
..|.|.| ---------------------------------------------------------- |.|.|.
..|.|.| IT Consultant http://Geoff_Wass.com |.|.|.


Geoff Wass [dBVIPS]

2007-01-13, 1:14 pm

In article <PlYNpcyNHHA.1056@news-server>, contact@c-4m.com says...

Etienne,

I would suggest the following small change because I am not certain that=20
run() will return any error if the program does not register properly.=20
If I recall correctly, people have complained that it seemed to be fine=20
at the time it was run but realized it was not when they tried to load=20
the procedure and had to repeat registering the program.


> Is this code right?
>=20
> lgo =3D false
> try
> set procedure to FUNCky.cc additive
> lgo =3D true
> catch(exception e)
> if e.code =3D 371 // OLE class name not in registry
> try
> run(true,'regsvr32 "c:\windows\system\funcky60.dll"')

set procedure to FUNCky.cc additive
> lgo =3D true
> catch(exception e)
> try
> run(true,'regsvr32 "c:\windows\system32\funcky60.dll"')

set procedure to FUNCky.cc additive
> lgo =3D true
> catch(exception e)
> try
> run(true,'regsvr32 "c:\winnt\funcky60.dll"')

set procedure to FUNCky.cc additive
> lgo =3D true
> catch(exception e)
> lgo =3D false
> endtry
> endtry
> endtry


> if lgo
> try
> set procedure to FUNCky.cc additive
> lgo =3D true
> catch(exception e)
> msgbox(e.message+str(e.lineno),"error",16)
> lgo =3D false
> endtry
> endif
> else
> msgbox(e.message+str(e.lineno),"error",16)
> lgo =3D false
> endif
> endtry
> if lgo
> ..........
>=20
> Etienne


--=20
Geoff Wass [dBVIPS]
Montr=E9al, Qu=E9bec, Canada

..|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
..|.|.| ---------------------------------------------------------- |.|.|.
..|.|.| IT Consultant http://Geoff_Wass.com |.|.|.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com