Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Property not found error
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01132430
Message ID:
01132590
Views:
13
>>hey ,
>>I put the foll piece of code behind :
>>SET CLASSLIB TO MSM ADDI
>>oClass = CreateObject("MSM")
>>oClass.localdatasource="G:\...\c_d.dbc"
>>oClass.sync()
>>
>>Now i get the foll error.
>>
>>class definition msm not found..
>>
>>i have the class definition in main.prg
>>
>>DEFINE CLASS msm as Session OLEPUBLIC
>
>You should then do
>
>set procedure to main.prg additive

Thanks a lot, Naomi. I'll be sure to give this a try. BTW,
Sameer posted the original question. He didn't have access
to his own personal account, but that issue should now be
resolved.

Also, Sameer and I are both VFP neophytes. Currently, we're
both reading "The Fundementals: Building Visual Studio Applications
on a Visual Fox Pro Foundation" by Whil Hentzen and trying to fix
-- AHEM -- someone elses code on the fly. In other words, a lot of
pressure, but we can handle it.

Anywho, please bare with our beginner questions, if you don't mind :)

Sameer has another question:

I'm having some problems with a connection string. It says,"
Error at connecting
Data source name not found and no default driver specified

The connection string is:
lcConnStr = "driver={mysql odbc 3.51 driver};server="+ALLTRIM(settings.server)+";uid=sbcpro_"+ALLTRIM(settings.user)+";pwd="+ALLTRIM(settings.pass)+";option=3;database="+tDatabase
--
Randall Jouett
Amateur/Ham Radio: AB5NI
I eat spaghetti code out of a bit bucket while sitting at a hash table! Someone
asked me if I needed salt, and I said, "I'm not into encryption." :^)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform