Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: dcNiko Vujke
  Where is dcNiko Vujke?
 Belgrade
 Serbia
 dcNiko Vujke
 To: Ugur YILMAZ
  Where is Ugur YILMAZ?
 Istanbul
 Turkey
 Ugur YILMAZ
 Tags
Subject: RE: Error message 1001
Thread ID: 288726 Message ID: 288813 # Views: 40 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Errors & Debugging
Date: Friday, December 24, 2010 11:14:51 AM         
   


> > Hi fox(f)i(gh)ters,
> >
> > I have one problem. When I run my fox exe file I get error message 1001 "Feature is not available. Foxcode table is not found, is not correct version or is incompatible." This happens in line of code :
> >
> >
_screen.AddProperty('pConn',lnConnNum,1)
> > 

> > Anyone has idea why is this happening.
> >
> > Regards,
> > Nikola.
>
> Folowing example working for me well :
>
> * Public code from foxpro forums. I did not take the note author.
> 
> IF NOT PEMSTATUS(_screen, "loSpeak", 5)
>    _screen.AddProperty("loSpeak")
>    _screen.loSpeak       = CREATEOBJECT("SAPI.SPVoice")
>    _screen.loSpeak.Voice = _screen.loSpeak.GetVoices().Item(0)  && set the voice
> ENDIF
> _screen.loSpeak.SPEAK("Hello World",1)

>
> **/ Mistake information **/ And Nikola; probably pConn class is not defined in your program or your VFP environment.
>
> Ugur
> Amateur Programmer
> VFP 9 SP2, Win7 64 Bit

Hi Ugur,

I didn't understand you. pConn is the name of the new property, lnConnNum is its numeric value and 1 means that it has public visibility.

Regards,
Nikola.

ENTIRE THREAD

Error message 1001 Posted by dcNiko Vujke @ 12/23/2010 1:28:33 PM
RE: Error message 1001 Posted by Ugur YILMAZ @ 12/23/2010 3:16:08 PM
RE: Error message 1001 Posted by dcNiko Vujke @ 12/24/2010 11:14:51 AM
RE: Error message 1001 Posted by Mustapha Bihmouten @ 12/23/2010 3:23:14 PM
RE: Error message 1001 Posted by dcNiko Vujke @ 12/24/2010 11:31:45 AM
RE: Error message 1001 Posted by dcNiko Vujke @ 2/9/2011 9:48:52 AM
RE: Error message 1001 Posted by Cetin Basoz @ 2/9/2011 9:56:17 AM
RE: Error message 1001 Posted by Martin Krivka @ 2/9/2011 10:11:12 AM
RE: Error message 1001 Posted by dcNiko Vujke @ 2/9/2011 3:34:05 PM
RE: Error message 1001 Posted by Martin Krivka @ 2/10/2011 8:14:38 AM
RE: Error message 1001 Posted by dcNiko Vujke @ 2/10/2011 12:11:30 PM
RE: Error message 1001 Posted by Martin Krivka @ 2/9/2011 10:02:41 AM