Run time Error 339 MSDATGRD.ocx missing

In VB6 Application when started short runtime error 339

Hello

The error 339 is related to missing or corrupted .dll or .ocx files. You should be able to re - register the MSDATGRD.ocx file to fix error 339 questions.

a. click Startand then click run.

(b) in the Open box, type cmdand then click OK.

c. at the command prompt, type the following lines, and press ENTER.

regsvr32 MSDATGRD. OCX

d. a confirmation message is displayed if the registration was successful.

e. restart your computer to ensure that the changes take effect.

Tags: Windows

Similar Questions

  • Run the run-time error '339': 'mscomct2.ocx' or one of its dependenceies component is not correctly registered: a file is missing or invalid

    As I upgraded fom Win 7Pro to Win 8 Pro I can't get one of my software programs work correctly, it worked fine on Win 7 Pro, I tried all sorts of internet remedys, but nothing works, I get the message following run-time error '339': 'mscomct2.ocx' or one of its dependenceies component is not properly registered : a file is missing or invalid.i have tried to get that it is running in compatibility mode, but the same error message keeps comeing. The software installs fine, can someone give me that any ideas how I can stop this error message and get my software to work, it's the only piece of software I use every day, but during the last three weeks, I have been unable to use frustrating it.very. Thanks You.Robert

    A quick and simple solution to this problem.

    Simply follow the instructions below, download the file, install it and bingo, you have sorted.

    This will save you having to reinstall interactive Raceform, but you can do before a new installation if you wish.

    Click on the link below (or copy and paste it into a browser address bar):

    http://download.Microsoft.com/download/vfoxodbcdriver/install/6.1/W9XNT4/en-us/Vfpodbc.msi

    If you do this in Google Chrome you will see this in the lower left corner of your screen-

    Double-click this and you should now see this-
    Choose to run
    Now, you will see this-
    And it should now be as easy as just after the other, agree questions etc after clicking this first suite.
    This will allow you to install drivers for Visual FoxPro that will hopefully Raceform Interactive must be installed after that he completed.
  • A VB6 application does not work under Windows 7 (32 bit). Run-time error '339'.

    Hello. I have a problem you're trying to start my program I wrote long ago on VB6. When it is run, it displays an error message: "run-time error '339': component ' COMCTL32." "OCX' is not correctly registered: a file is missing or invalid. I searched "comctl32.ocx", but it doesn't seem to be anywhere in C:\Windows (including subfolders). Using this installation - first http://www.microsoft.com/en-us/download/details.aspx?id=10019 , then System File Checker do not solve the problem - the program still does not work and ' COMCTL32. OCX' is not found. What should I do?

    Start here: http://msdn.microsoft.com/en-us/vstudio/ms788708

    This link to the download for the execution time extended to http://support.microsoft.com/kb/957924

    and

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=7030

  • Run Time Error '339' lack file comdlg32.ocx

    I get this error message "execution error '339' COMDLg32.ocx or one of its dependencies is not correctly registered: a file is missing or invalid" I tried various troubleshooting tips from online but none worked. Any idea? Thank you!

    (1) run the following command in administrative Mode

    regsvr32 comdlg32.ocx?

    You should see a message DllRegisterServer in successful comdlg32.ocx

    Run you method 2 in post Satish?

    (2) define the properties of the executable file of the Application, run as administrator

    Right click on the .exe file

    Select Properties

    Click on the Compatibility tab

    Under privilege level, click on run this program as an administrator

    Click on apply, Ok

    If the problem persists, look for errors in Event Viewer

    See the solutions proposed in this thread:

    http://social.technet.Microsoft.com/forums/en-us/w7itproinstall/thread/8bb8f428-3c43-4B01-A909-480e265dacf2

  • Run-time error '339': component of the ' GRAPH32. OCX' or one of its dependencies is not properly registered; a file is missing or invalid

    When I try to go in a part of a program, I get this error.  How can I solve this problem?

    Hello

    Graph32.ocx is running VB file to display the chart control in a VB application. If the provider of the program does not provide this file to runtime, you can get it from Microsoft. Simply reinstall the VB runtime library should solve the problem.

    VB runtimes:

    http://support.Microsoft.com/GP/VBRuntime

  • Run-Time Error 339; Componene MSCOMCTL. OCX or one of its dependencies not correctly registered, a file is missing or invalid

    Opening application TecBasic V for the second time and received this error.  Why does this happen?

    Umesh,

    I did it.  The MSCOMCTL. OCX file is in the SysWOW64 folder and not in the system32 folder.

    Why this app would work one day and not the other?

    That's what I have on my Windows 7 64-bit machine.

    MSCOMCTL. OCX C:\Windows\System32 1 069 376 2009-12-19 14:28:16 2009-12-19 14:28:16 11/12/2010 09:52:54 an OCX
    MSCOMCTL. OCX C:\Windows\SysWOW64 1 069 376 2009-12-19 14:28:16 2009-12-19 14:28:16 11/12/2010 09:52:54 an OCX

    Why don't you try copying the file from one place to the other?

    Some general things to try.

    See if the system restore will go back you to a restore point before your problem with Explorer, OR try the System File Checker.

    How to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista (or 7)
    http://support.Microsoft.com/kb/936212/#appliesTo

  • runtime error 339 comdlg32.ocx

    I use Win XP, make error 339 comdlg32.ocx

    I want the solution for this

    Hello

    1 how long have you been faced with this problem?
    2. don't you make changes on the computer before this problem?
    3. What is the exact error message?
    4. when exactly you get this error message?

    Reregister the file comdlg32.ocx from an elevated command prompt and verify.

    1. open an administrator command prompt. To do this, click Start, click programs, accessories principally made, right-click Guest, and then click Run as administrator.

    If you are prompted for an administrator password or for confirmation, type the password or provide confirmation.

    2 type each of the following commands at the command prompt and press ENTER after each command:

    regsvr32 /u Comdlg32.ocx

    regsvr32 /i Comdlg32.ocx

  • I get a Run time Error, whenever I connect to internet explore

    ... Error message whenever I connect to internet explorer, an error message appears "Run time Error and stops, I tried to solve the problem I even called my internet provider Verizon... Please help!

    Hello

    Internet Explorer freezes or crashes
    http://support.Microsoft.com/GP/ie_freezes_or_crashes

    Tips for solving problems with Internet Explorer
    http://Windows.Microsoft.com/en-us/Windows7/tips-for-solving-problems-with-Internet-Explorer

    When you start Internet Explorer, it opens, flashes and then closes immediately
    http://support.Microsoft.com/kb/967896

    ------------------------------------------

    Several troubleshooting methods:

    What antivirus/antispyware/security products do you have on the machine? Be one you have
    EVER had on this machine, including those you have uninstalled (they leave leftovers behind which)
    may cause strange problems).

    If no joy there's something blocking perhaps.

    Start - All Programs - Accessories - System Tools - IE with no Addons - what works best?

    IE - Tools - Internet Options - Advanced - tab click on restore, and then click Reset - apply / OK

    IE - Tools - Internet Options - Security tab - click on reset all default areas - apply / OK

    Close and restart IE or IE with no addons

    not better?

    IE - tools - manage Addons (for sure disable SSV2 if she's here, it is no longer necessary but Java
    installs and it causes more questions - have you never update Java to go back in and turn it off again.) Search
    other possible problems.

    Windows Defender - tools - software explore - look for problems with programs that do not look
    right. Allowed are usually OK and "unauthorized" are not always bad. If doubt about a program
    ask about it here.

    Could not be a free - SpyBHOremover - BHO - standalone program, needs no installation, download.
    unzip and run - all are not bad, but some can cause your question (toolbars are BHO).
    http://securityxploded.com/bhoremover.php

    How to change, add or remove startup programs in Windows 7
    http://www.SevenForums.com/tutorials/1401-startup-programs-change.html

    Also get Malwarebytes - free - use as scanner only.

    http://www.Malwarebytes.org/

    --------------------------------

    Try these to erase corruption and missing/damaged file system repair or replacement.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • After updating to iTunes, I couldn't open TI-kept saying: run-time error.

    After updating to iTunes, I couldn't open TI-kept saying: run-time error. Help please

    C:/program files (x 86)

    R6034

    An application has made an attempt to load the C runtime incorrectly library.

    For more information, contact the application support team.

    I uninstalled iTunes, tried to reinstall, it never leaves me. Always giving this error.

    Original title: Microsoft C ++ Runtime error

    Hello

    Uninstall everything according to the instructions from Apple:

    «Remove and reinstall iTunes, QuickTime, and other software components for Windows Vista or Windows 7»

    http://support.Apple.com/kb/HT1923

    It is also the same list of what to remove what is in the link above from Apple:

    http://pcsupport.about.com/od/findbyerrormessage/a/MSVCR80-DLL-not-found-missing-error.htm

    Or try this program to remove it:

    http://www.revouninstaller.com/revo_uninstaller_free_download.html

    Then, download and save the iTunes on the desktop > then right click > select run as administrator to install.

    "Resolution of problems with iTunes for Windows Update"

    https://discussions.Apple.com/docs/doc-6562

    If the advice already given does not, please contact Apple for assistance.

    "Not to install iTunes or QuickTime for Windows"

    http://support.Apple.com/kb/HT1926

    "iTunes support-how to use iTunes.

    http://www.Apple.com/support/iTunes/

    "Contact iTunes Support.

    http://www.Apple.com/support/iTunes/contact/

    Or ask in the community Apple iTunes:

    https://discussions.Apple.com/community/iTunes

    See you soon.

  • Satellite X 200 - 25 G: problem of Flash Cards - Run time error file TCrdMain.exe

    Hello world!

    I don't know how, but I have a problem when my windows Vista from (running)
    The problem is with these file TCrdMain.exe this file is for Flash cards, end running every time when I put my PC on (with windows startup). But I see this problem: "Run time error file TCrdMain.exe ' and I should click Close.
    I don't know where can I uninstall this program and when I find that driver (Software) (if I uninstall and then install this driver, maybe that everything will be OK). This is the main problem.

    And another question...
    There are so many programs with this computer (laptop), and if I want to install Windows XP for example, where can I find everything (each programs) there may be 10 or 15 pograms.

    It will be a big problem if I change my OS. Y at - there a site where I can download, everything...
    Thanks for the replies, nd sorry about my English :-) skills
    Best wishes from the Bulgaria and have a nice day!

    Post edited by: me

    null

    Hello

    I'm not very well why the executable Run TCrdMain.exe error, but it is certainly up to Toshiba FlashCard software and the FlashCard belongs to the package Toshiba Vista added value m.

    Kody is good. Reinstall the VAP and check if this helps solve this problem.

    With regard to the question of the other;
    You are right; the notebooks are preinstalled with many different applications. But it is necessary because the laptop supports many different features.
    However, if you want to install XP OS on the X 200 PSPB9E series, you will need drivers Toshiba XP and all need Toshiba XP drivers are available on the European driver Toshiba page

    You must install all the drivers available if you want to use all the features of the laptop.

    Concerning

  • CVI 2013 ' FATAL RUN - TIME ERROR: pointer to free memory passed to the function of library "when you access a struct of struct

    #include 
    #include 
    #include 
    
    typedef struct StringsStruct
    {
      char A[10];
      char AA[10];
    
      char B[10];
      char BB[10];
    
      char C[10];
      char CC[10];
    } StringsStructType;
    
    StringsStructType Strings = {0};
    
    char *const SelectedStrings[3] =
    {
      Strings.A,
      Strings.B,
      Strings.C
    };
    
    int __stdcall WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
                           LPSTR lpszCmdLine, int nCmdShow)
    {
      if (InitCVIRTE (hInstance, 0, 0) == 0)
        return -1;    /* out of memory */
    
      strcpy( SelectedStrings[1], "TEXT" );
      /*** FATAL RUN-TIME ERROR:   "main.c", line 32, col 11, thread id 0xXXXXXXXX:   Pointer to free memory passed to library function. ***/
    
      Breakpoint();
    
      return 0;
    }
    

    Any chance to get this working in 2013 CVI?

    "& Strings.A [0]" does not work either.

    Hello CVI - User!

    Thank you for reporting the issue. I filed the bug report # 423491.

    I did have a chance to get rid of the error by changing the definition of the structure, but I was able to get the program running by disabling execution checking when the fields in the structure are initialized:

    strcpy( (char*)(uintptr_t)SelectedStrings[1], "TEXT" );
    

    Or perhaps a more descriptive workaround solution:

    #define UNCHECKED(x) ((void*)(uintptr_t)(x))
    strcpy( UNCHECKED(SelectedStrings[1]), "TEXT" );
    

    Thank you

    Peter

  • A run-time-error, how to fix

    "I write a function to return a pointer of type float64 and assign the pointer to my defined Pionter 'newdata' in my StartCallBack, there is no error, but when I USE"

    DAQmxWriteAnalogF64 (gtaskhandle0, leng [0])<=leng[1]?2*leng[0]:2*leng[1], 0,="" 10.0,="" daqmx_val_groupbyscannumber,="" newdata,="" &written,="">

    I receive a run-time-error like this: "work.c", line 231, col 121, id thread 0x00007FB4: Array too small argument (40000000 bytes).  Argument must contain at least 80000000 bytes (10000000 items). Why does this happen?

    My part code:

    DAQmxCreateTask ("", & gtaskhandle0 ");
    DAQmxCreateAOVoltageChan (gtaskhandle0, ' Dev1 / ao0:1 ', ' ',-10,0, 10.0, DAQmx_Val_Volts, "");
    DAQmxSetTimingAttribute (gtaskhandle0, DAQmx_SampClk_Rate, 1000/looptime);
    DAQmxCfgSampClkTiming(gtaskhandle0,"",1000/looptime,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,leng[0]+leng[1]);
    DAQmxRegisterDoneEvent(gtaskhandle0,0,DoneCallback,);
    DAQmxWriteAnalogF64 (gtaskhandle0, leng [0])<=leng[1]?2*leng[0]:2*leng[1], 0,="" 10.0,="" daqmx_val_groupbychannel,="" newdata,="" &written,="">
    SetCtrlAttribute (panelHandle, PANEL_REALWRITE, ATTR_CTRL_VAL, (double) written);
    DAQmxStartTask (gtaskhandle0);

    From the code, we cannot see how many samples do you expect to write but there are two aspects to consider.

    DAQmxWriteAnalogF64 expects to receive the number of samples per channel to write; in other words, your "2 *" in the function call is probably wrong. See here for the function. This can cause the error you receive, because the length of the array does not match the settings (you probably want to write 5 million samples per channel).

    Second aspect, it seems to me that your function is the production of the final table with samples interleaved (i.e. array1 [0], array2 [0], array array1 [1], array2 [1]... [n-1] array1, array2 [n-1]). If this is true, you must pass the DAQmx_Val_GroupByScanNumber in the function call.

  • Run-time error '91'; Variable object or with block variable not set "

    Help, please... I had "run-time error '91'; Variable object or with block variable not set "for kawai2004 game.  Please help how to fix this error.  Thank you very much.

    Hello

    See the following article
    http://support.Microsoft.com/default.aspx/KB/822521

  • ActiveX error message: "run-time error '429': ActiveX component can't create object" when running FSX 2004

    Hello, I hope someone can help. I use Windows 7 64-bit. on a high spec pc. When you run FS2004 (Flight Sim program) I get the error message "" run-time error '429': ActiveX component can't create object ". " That seems to relate to the flight or the CMF management computer program. This error seems to inhibit access to the CMF. I tried to load the latest ATI driver, but that makes things worse. Has anyone encountered this problem before? Hope it

    Thanks in advance

    Ianzee

    Hello Diana

    Unfortunately, none of the above worked. However, I downloaded a file recommended by Flight1 (the creators of one of the 2 games I had problems with) surprisingly, thisinstantly solved the problem it is called http://www.flight1.com/dx7vb.exe.

    Perhaps in the future someone else have this same problem with Vista 64-bit where the game, they could also try this "correction". Of course, it worked for me!

    Thank you very much for your help & trouble in front of me, it is appreciated.

    Cordially Ianzee

  • What is this dialog box? "Run-time error '380': invalid property value."

    I'm trying to load a registration program and I get a dialog box that indicates that following.

    "Run-time error '380': invalid property value."

    What it means. How can I solve this problem?

    Pescatore

    Hi arthur rossi.

    See the FAQ of the Roemer software that has exactly the problem mentioned.

    Refer to the Question I get an error message that says: one of the following values: "Runtime error 380 invalid property value", "Runtime Error 52" or "Invalid file name" in the following article. "

    Roemer Software FAQ (frequently asked Questions)

Maybe you are looking for