Меню

Ошибка инициализации объекта application foxpro

  • Remove From My Forums
  • Question

  • How to disaapear this error in my executable i’m using vista and vfp5? «Error initializing Application object».


    princess

Answers

  • Hi Honey / Princess,

    >> How to disaapear this error in my executable i’m using vista and vfp5? «Error initializing Application object». <<

    You need to run VFP5 once in Administrator mode so that it has the rights to add some keys to the registry. After that you can continue to work as regular user.

    To register VFP5 properly, you can open up a cmd-prompt with admin rights, and then navigate to your VFP directory and start VFP.exe with the additional commandline «-regserver» , i.e.:

    c:developvfp5vfp.exe -regserver


    wOOdy
    Microsoft
    Visual FoxPro Technology Advisor
    Microsoft «Most Valuable Professional» from 1996 to 2009

    Visit my XING profile!
    Don’t know what XING is?

    *´¨)
    ¸.·´¸.·*´¨) ¸.·*¨)
    (¸.·´. (¸.·` *
    .·`.Visual FoxPro: It’s magic !
    (¸.·«··*

    • Marked as answer by

      Tuesday, May 4, 2010 6:24 AM

  • Remove From My Forums
  • Question

  • I get this message whenever I open Visual Foxpro (V5) or any application.  I just click ‘ok’, and everything runs normally.  I would just like to know what this message means and how I can get rid of it.

    I tried the suggestion of opening a cmd window and starting vfp with «vfp.exe -regserver».  The VFP flash screen comes up and shows it is doing something, but it never finishes.  When I try clicking on anything it says ‘vfp is not responding’.
     So I close it — and nothing has happened.

    • Edited by

      Tuesday, April 19, 2016 9:41 PM

Answers

  • Well, VFP9 is the last version of VFP and it’s much better, but I’m not sure where you can still get it 🙁 Since VFP is no longer supported, there is no way to buy it now, I think. At least I remember recent threads about it here with no good answers.

    Check what do you have as default command to execute when you start VFP. It must be part of your config.fpw file. Try commenting out the _COMMAND there.


    • Marked as answer by
      Herro wongMicrosoft contingent staff
      Thursday, April 28, 2016 2:26 AM

  • Remove From My Forums
  • Question

  • I get this message whenever I open Visual Foxpro (V5) or any application.  I just click ‘ok’, and everything runs normally.  I would just like to know what this message means and how I can get rid of it.

    I tried the suggestion of opening a cmd window and starting vfp with «vfp.exe -regserver».  The VFP flash screen comes up and shows it is doing something, but it never finishes.  When I try clicking on anything it says ‘vfp is not responding’.
     So I close it — and nothing has happened.

    • Edited by

      Tuesday, April 19, 2016 9:41 PM

Answers

  • Well, VFP9 is the last version of VFP and it’s much better, but I’m not sure where you can still get it 🙁 Since VFP is no longer supported, there is no way to buy it now, I think. At least I remember recent threads about it here with no good answers.

    Check what do you have as default command to execute when you start VFP. It must be part of your config.fpw file. Try commenting out the _COMMAND there.


    • Marked as answer by
      Herro wongMicrosoft contingent staff
      Thursday, April 28, 2016 2:26 AM

  • Remove From My Forums
  • Question

  • I’ve run Woody’s recommendation as below:

    «To register VFP5 properly, you can open up a cmd-prompt with admin rights, and then navigate to your VFP directory and start VFP.exe with the additional commandline «-regserver» , i.e.:

    c:developvfp5vfp.exe -regserver»

    the VFP flash screen comes up and stays there  with the cursor flashing (suggesting something is happening — but 10 minutes later it’s still the same.  What do you recommend??

    the system is Windows 7, Compilation 7600;  logged in with FULL Administration rights.

Answers

  • According to this page: http://en.wikipedia.org/wiki/Visual_FoxPro VFP 5 is not compatible to W7 but I did not test it yet. If you check different Wikipedia language then you may observe opposite
    info (e.g. http://cs.wikipedia.org/wiki/Visual_FoxPro)…

    What is the result of following three lines executed in your VFP 5 Command window?

    ? VERSION()
    aa = createobj("visualfoxpro.application") ? aa.version

    Also is your Windows 7 64 bit or 32 bit?

    Comparing to the latest version VFP 5 is rather unstable. I would recommend an upgrade to VFP 9. It still allows to use your existing code and the license covers all old VFP versions.

    Another possibility is to install some older OS under Virtual PC or similar emulation software in your W7 envirionment.

    • Proposed as answer by

      Tuesday, May 8, 2012 5:38 PM

    • Marked as answer by
      Mark Liu-lxf
      Wednesday, May 16, 2012 8:05 AM

  • Remove From My Forums
  • Question

  • I’ve run Woody’s recommendation as below:

    «To register VFP5 properly, you can open up a cmd-prompt with admin rights, and then navigate to your VFP directory and start VFP.exe with the additional commandline «-regserver» , i.e.:

    c:developvfp5vfp.exe -regserver»

    the VFP flash screen comes up and stays there  with the cursor flashing (suggesting something is happening — but 10 minutes later it’s still the same.  What do you recommend??

    the system is Windows 7, Compilation 7600;  logged in with FULL Administration rights.

Answers

  • According to this page: http://en.wikipedia.org/wiki/Visual_FoxPro VFP 5 is not compatible to W7 but I did not test it yet. If you check different Wikipedia language then you may observe opposite
    info (e.g. http://cs.wikipedia.org/wiki/Visual_FoxPro)…

    What is the result of following three lines executed in your VFP 5 Command window?

    ? VERSION()
    aa = createobj("visualfoxpro.application") ? aa.version

    Also is your Windows 7 64 bit or 32 bit?

    Comparing to the latest version VFP 5 is rather unstable. I would recommend an upgrade to VFP 9. It still allows to use your existing code and the license covers all old VFP versions.

    Another possibility is to install some older OS under Virtual PC or similar emulation software in your W7 envirionment.

    • Proposed as answer by

      Tuesday, May 8, 2012 5:38 PM

    • Marked as answer by
      Mark Liu-lxf
      Wednesday, May 16, 2012 8:05 AM

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Ошибка исполнения функции при подписании эцп 0x8007065b
  • Ошибка инициализации невозможно загрузить clr 2147467263 mapinfo