Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    JRodko is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Oct 2018
    Posts
    127

    Can't import frx file.

    I have a macro that I can't seem to bring into Access, though I suspect it's more of a generic error I'm still hoping someone can assist.



    When I try to import an frx file I get the error is simply that it "Could not be loaded" and nothing else.

    Log files shows this

    Line 2: Class {C62A69F0-16DC-11CE-9E98-00AA00574A4F} of control OrientedDiskPlot_Ver4 was not a loaded control class.
    Line 0: The file C:...\OrientedDiskPlot_Ver4.frm could not be loaded.

    Any help would be appreciated.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,722
    Can you tell us more about frx file -- the who, what, where, how sort of stuff?

  3. #3
    JRodko is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Oct 2018
    Posts
    127
    Should I be able to view the contents in notepad? Because when I try to view the text it's totally scrambled.

  4. #4
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,778
    I think the file in question is for VB not VBA. Seems it's like .dll files that store multiple icons that can only be retrieved via code or an application interface.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  5. #5
    JRodko is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Oct 2018
    Posts
    127
    Micron,

    This is a VB3.0 program. Thank you for pointing out the difference! That is new to me.

    Is it possible my issue is most V3.0 programs cannot run on 64 bit windows? I have no idea how to fix that. VB3.0 can't even import the frx.

    Cheers

  6. #6
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,973
    VB 3.0 was released in 1993 for use on Windows 3.1 https://winworldpc.com/product/microsoft-visual-bas/30.
    Is my memory correct in thinking Win 3.1 was 16-bit?
    There is I would suggest ZERO chance of it running in 64-bit Windows. It may not even run in 32-bit

    Its so long since I've used VB, I can't remember what the frx file does
    According to this: https://whatis.techtarget.com/filefo...e-Visual-Basic it was also a FoxPro report file

    If is really that important to you, suggest you download a powerful text editor like Notepad++ and try and view it in that.
    If you succeed, try and save as a standard text file .txt
    Then try and import that into Access if the format is structured in a way that looks viable.
    However I very much doubt it will work

    If that fails, consider installing a 32-bit virtual machine running Win 3.1 and an old version of VB!
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  7. #7
    JRodko is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Oct 2018
    Posts
    127
    Thanks isladogs. I just tried to open it in notepad++ with the VB language selected. This is what comes up. I can't make sense of it.

    LB  | # ࡱ >        nal Inc.n X  5  €  Tahoma1  ,  €  €Viewž {  u  €  Tahoma1 (  € 4   cboWorkspaceO " (   € 2 H   Label12  { $   € 4   cboTableO D (   € 2 D   Label13e  ,   € 4   cboFldLocationr:O g (   € 2 P   Label14e
    , 
    € 4   cboFldAzimuthnr:O ‰ (   €
    2 P   Label15e  (  € 4  cboFldDipmutO  (   € 2 L
     Label16e  (   €
    2 p  Label17e ' ,   € <  txtNumberOfSide:O  (   € 2 h
     Label18e I (  € <   txtRadiusOfSO  (   € 2 d   Label20e k $   € #    Frame10eO ! $   €^ 8   cmdOK10e 5 (  €_ H  €dlgDialogOfS  ,  €` 2 ,   lblStatusOfSO 5 (  €b <   cmdCancelOfSu 5 ,  €c 2 \   lblCopyright : $   €d 8   cmdVieweu
    9      
    i*ž˜ WJO Microsoft Forms 2.0 Form  Embedded Object
    Forms.Form.1 9q ( H  d @ " } # \< R ‘ KQ  H Tahoma < k 3 کV€ „€ „€ „  — (   € 2 x  Label11 X ( F €Specify the following to calculate the coordinates of a given surface: "   5  €  Tahoma  @€  4  5  €  Tahoma ( (  €1 - Select a workspace:    5  €  Tahoma  @€  4  5  €  Tahoma $ (  €2 - Select a table:a   5  €  Tahoma  @€  4  5  €  Tahoma 0 (  €3 - Select the Location field    5  €  Tahoma  @€  4  5  €  Tahoma 0 (  €4 - Select the Azimuth field:    5  €  Tahoma  @€  4  5  €  Tahoma , (  €5 - Select the Dip field:    5  €  Tahoma P ( ? €6 - Enter the number of side of the surface you want to create: ?   5  €  Tahoma  @€ H€, € 4 4 r  5  €  Tahoma H ( 7 €7 - Enter the radius of the surface you want to create: I   5  €  Tahoma  @€ H€, € 4 10ho  5  €  Tahoma D ( 1 €8 - Please select the option you want to perform:reaI   5  €  Tahoma R o o t E n t r y    i*ž˜ WJO 0  f    o     $ i 1 8    n`› `Ž M u   
     f    u o     X  C o m p O b j    p  C o m p O b j   : n   *     

            $        ! " # % & ' ( ) + , - . / 0 1 2 3 4 5 6 7 8 9 ; ?   5  €  Tahoma  @€ H€, € 4 4 r  5  €  Tahoma H ( 7 €7 - Enter the radius of the surface you want to create: I   5  €  Tahoma  @€ H€, € 4 10ho  5  €  Tahoma D ( 1 €8 - Please select the option you want to perform:reaI   5  €  Tahoma  ,  €  €OKbež  
    n`› `Ž Microsoft Forms 2.0 Frame  Embedded Object  Forms.Frame.1 9q 4 F€  € €  € €S 4 1 r All records  5  €  Tahoma 8 F€  € €  € €S 4 0 r Specific record:  5  €  Tahoma  (  €Field to filter:q   5  €  Tahoma  @€ ] 4  5  €  Tahoma  `#€     5  €  Tahoma L H  ]    € }   Select records to process R ‘ KQ  H Tahoma …l , 
    €Y T  optAllRecords  0   €Z X   optSpecificRecord l  O (   €[ 2 @   Label21 O  (  €\ 4   cboFldFilter
     ( 
    €] 8   lstRecordserO E     {  u  €  Tahoma1 “ H   WG _ e x t e n t x O  
    WG_ e x t e n t y O   {  5  €  Tahoma1  ,  €  €Cancel1 ž {  u  €  Tahoma1 < <  €$ €  Gemcom Software Internatio

  8. #8
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,973
    I can read things within that like cbo (combo), label, opt (option group) and other form components/font info etc.
    The rest is 'padding' needed for that file format to work in its original environment

    You would see similar info if you looked at an ACCDB/MDB file in Notepad
    There is also reference to Microsoft Forms 2.0 Frame which is an ActiveX form control you can use in Access
    Have you tried converting the encoding type from ANSI to Unicode or UTF-8?
    There may be a REMOTE chance of importing this into Access as text in order to convert to an Access form but I don't have the knowledge to tell you how to do so. Someone else may know more than I do

    For info I managed to copy what you posted, save it as a text file and import it into Access as a table (with errors) - see attached
    Whether that will help you at all is another matter
    What does it contain that is so important some 20 years on?
    Attached Files Attached Files
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  9. #9
    JRodko is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Oct 2018
    Posts
    127
    Hi Isladogs,

    Sorry I have no replied. I am pretty stonewalled with this and have been trying to find time to come back to work on it.

    I have spent about 30 minutes trying to decipher it in Notepad ++ several different ways with no luck. Thank you for the info on the 'padding'. That makes sense to me.

    It works with an access database and modelling software to generate something called a 'diskplot' which would be quite boring for you if I were to explain it.

    I will be sure to update this thread if I find a solution, but I fear the age of VB3.0 means I will be SOL. The strange thing is that it occasionally runs on an earlier version of the modelling program (that runs on an Access DB) however there is nothing to suggest that the issue is with the program since I can't even import it to VB.

  10. #10
    Gicu's Avatar
    Gicu is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,111

  11. #11
    JRodko is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Oct 2018
    Posts
    127
    Thanks Vlad.

    I have been trying to get through these although they're far above my head. I don't even know how to run a program in VB.

    Cheers

  12. #12
    Gicu's Avatar
    Gicu is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,111
    It is a VB form, you will need to re-create it in Access. To open it in VB you can try any (older) versions of Visual Studio.

  13. #13
    JRodko is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Oct 2018
    Posts
    127
    I have downloaded VB 2008 (it's supposed to work with my original frx file but does not).

    When I open the provided string editor project, cls, and form, they just open in different tabs and I have no idea how to actually run it. Completely a fish out of water with this stuff.

  14. #14
    JRodko is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Oct 2018
    Posts
    127
    I have found this thread which looks like it has code that's ready to go?

    https://forum.powerbasic.com/forum/u...resource-files

    What do I import this into and how do I actually run it. Should it appear as an application when complete?

  15. #15
    Gicu's Avatar
    Gicu is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,111
    It looks like is a script in powerbasic, not familiar with that. I think you best bet is still VB 2008. Did you get any errors?
    http://www.profsr.com/vbnet/vbn1.html

    Is that project something that you can upload here to see if anyone can help you?

    Cheers,
    Vlad

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 11-21-2018, 05:53 AM
  2. Replies: 34
    Last Post: 08-09-2017, 09:57 AM
  3. Replies: 2
    Last Post: 02-28-2017, 01:34 AM
  4. File Selector And Import Selected File
    By jo15765 in forum Programming
    Replies: 7
    Last Post: 12-15-2016, 12:28 PM
  5. Import Excel file based on a date and time in file name
    By nhylan in forum Import/Export Data
    Replies: 4
    Last Post: 04-16-2013, 03:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums