Results 1 to 40 of 40

Thread: VB6 connect to SAP

  1. #1

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143

    VB6 connect to SAP

    anyone got a working example of a VB program which connects to SAP, allows you to view tables?, think SAP version is 3.0F

    Thanks inadvance
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

  2. #2
    Frenzied Member RudyL's Avatar
    Join Date
    Mar 2001
    Location
    Chicago
    Posts
    1,519
    Your gona have to get a newer version of SAP to do that (Almost positive). We have 4.6D here at work, any clients with an older front end would not work with our code..

    But anyway.. SAP has a "Code Generator" addon to their client. It is really nice and is what we used to get started.. It is called DCOMConnector. Do a search and you will find a bunch of links pointing to it.

    I can't find any of the source code right now, but hopefully I have helped you get started..
    10 different ways to skin a cat and amazingly enough each and every one has the same result, the cat gets skinned! The same can be applied to code, so be nice and accept each others "preferences".

  3. #3
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132
    Last time I had to do this was with version 3H (we had 4.6 already but wasn't implemented in the live environment yet) and as far as I remember there was a library of OCXs distributed along with client software. In any case you cannot read actual (SAP native tables) - only ABAP data dictionary based and not all of them. Secutrity was #1 priority in SAP since day one. It wouldn't be like walikng in the park but give it a shot.

    Although, if you need to build some sort of "query builder" for end users then you'll have to build your very own "data dictionary" to translate actual fields names to something that will make sense to your users.

    Good luck.

  4. #4
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Originally posted by RhinoBull
    Last time I had to do this was with version 3H (we had 4.6 already but wasn't implemented in the live environment yet) and as far as I remember there was a library of OCXs distributed along with client software. In any case you cannot read actual (SAP native tables) - only ABAP data dictionary based and not all of them. Secutrity was #1 priority in SAP since day one. It wouldn't be like walikng in the park but give it a shot.

    Although, if you need to build some sort of "query builder" for end users then you'll have to build your very own "data dictionary" to translate actual fields names to something that will make sense to your users.

    Good luck.
    SAP Sucks

  5. #5
    Frenzied Member RudyL's Avatar
    Join Date
    Mar 2001
    Location
    Chicago
    Posts
    1,519
    Originally posted by jhermiz
    SAP Sucks
    I will second that.. SAP is probably the worst program I have ever delt with!
    10 different ways to skin a cat and amazingly enough each and every one has the same result, the cat gets skinned! The same can be applied to code, so be nice and accept each others "preferences".

  6. #6
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Originally posted by RudyL
    I will second that.. SAP is probably the worst program I have ever delt with!
    Some attributes of SAP:

    *Customized POS
    *Horrific Reporting
    *So much security you cannot integrate a damn thing
    *German
    *German
    *German
    *Table names are fudged up
    *No documentation
    *Little support
    *Weak a** community
    *Dumps are ugly as medusa
    *Slower than molases
    *GUI is about as difficult as typing with your toes
    *Buttons (Too many)
    *No captions
    *Horrible streamlining or flow of application
    *Expensive as shi*
    *ERP system thinks companies can collaborate
    *Email functionality so horrid
    *Contractors cost an arm and leg
    *Little or no interaction with MS, I dont care what the SAP folks think, they are all talk
    *Go back to point 1

    JUNK!

  7. #7

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    ok,

    but have any of you got an example i can work on see if it connects, have the SAP Client running on my PC but as we all know the GUI isnt the best is it?,
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

  8. #8
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Originally posted by jhermiz
    SAP Sucks
    If you happened to run a massive international organization and needed a standardised ordering system etc. etc. then you wouldn't say the above.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  9. #9

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    any examples to connect would be very helpful, or links, or even a OCX or DLL, in limbo at the moe
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

  10. #10
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Originally posted by plenderj
    If you happened to run a massive international organization and needed a standardised ordering system etc. etc. then you wouldn't say the above.
    Yes I would, I work for an internation ortganization with sister companies around Japan, Tons in Europe (Germany), Mexico, South America, we are a huge corporation...

    and SAP Sucks...we have too many issues in every one of our parent and sister companies. We have spent billions of dollars on a worthless POS. If we had designed this in another RDBMS we would have reports that actually were readable and made sense.

    SAP blows

  11. #11

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    great however, the Post i orignally posted was to help with VB Code to connect to SAP, this isnt a discussion over pros and cons of SAP, i think most of us know them already, thanks
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

  12. #12
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Originally posted by Robbo
    great however, the Post i orignally posted was to help with VB Code to connect to SAP, this isnt a discussion over pros and cons of SAP, i think most of us know them already, thanks
    Ok,

    I have written a client to connect to a SAP system.
    Is that what you need ?

  13. #13
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132
    Originally posted by jhermiz
    SAP Sucks
    What does it have to with the subject ???

  14. #14
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Originally posted by RhinoBull
    What does it have to with the subject ???
    It doesn't but it still sucks!

  15. #15
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132
    As much as I did hate it when I had to work with it - I wouldn't agree with you. It depends on how you look at it - it's industry's one of the most powerfull enterprise software packages. It does require alot of learning and mostly in regards of "how in the hell it manages business" stuff. ABAP part is simple as long as you understand those milions of "HOW's ..."

    Cheers

  16. #16
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Connecting to SAP client:
    Attached Files Attached Files

  17. #17

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    im missing the OCX have you got that?
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

  18. #18
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Originally posted by Robbo
    im missing the OCX have you got that?
    If you've got SAP installed its in your references of your VB project.

    Jon

  19. #19

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    Originally posted by jhermiz
    If you've got SAP installed its in your references of your VB project.

    Jon
    SAP version is 3.0F

    says missing ocx,
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

  20. #20
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Originally posted by Robbo
    SAP version is 3.0F

    says missing ocx,
    Check your references and components...I did not build my own ocx.

  21. #21

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    missing wdtlog.ocx?

    have you got it on yours?, could you send?
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

  22. #22
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Sorry cannot distribute that file...if you have SAP you would have this file. I'd be breaking some law

  23. #23

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    are u real?

    check your version of SAP i bet its not the same version 3.0F
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

  24. #24
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Originally posted by Robbo
    are u real?

    check your version of SAP i bet its not the same version 3.0F
    I never said it was version 3.0F.

    I don't use sap much just connect to it..not sure on the version looks like R/3 ?

    Jon

  25. #25
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Here
    Attached Files Attached Files

  26. #26

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    here u go


    and i havent the ocx, ok, how much more
    Attached Images Attached Images  
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

  27. #27
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Originally posted by Robbo
    here u go


    and i havent the ocx, ok, how much more
    You guys have a real old version...the program prolly wont work..I reference SAP R/3.

    SAP Sucks btw

  28. #28

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    yep its an old version, unsure if it will work with the OCX however the program is no use without it?
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

  29. #29
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Originally posted by Robbo
    yep its an old version, unsure if it will work with the OCX however the program is no use without it?
    The program will not work on your implementation of SAP since it is R/3 specific...you may notice the reference which is missing on your end regarding this.

    Something neat I just figured out...Flash can be embedded into VB :-) makes nice graphics!!! Cool a GUIIIIIIIIIIIIIIIIIIIIIIIIIIIII

    Sorry kind of off topic

  30. #30

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    so do u know of a program i could use on this version then?
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

  31. #31
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Originally posted by Robbo
    so do u know of a program i could use on this version then?
    hmm

    I can prolly whip up something I'd have to do some researching, otherwise I am uncertain. You guys need an upgrade
    Maybe someone else on vbforums may have an example. I may look into querying out some SAP tables and build some forms to display the data now that I look at all the various components that come packaged with it.

    But I do not know of a program to fit your implementation needs.

    Sorry,
    Jon

  32. #32

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    the upgrade will probably cost thousands, if you give me any code or program to connect and be able to retrive data it would be appreiated
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

  33. #33
    Banned jhermiz's Avatar
    Join Date
    Jun 2002
    Location
    Antarctica
    Posts
    2,492
    Originally posted by Robbo
    the upgrade will probably cost thousands, if you give me any code or program to connect and be able to retrive data it would be appreiated
    Want to retreive data?

    www.solonde.com

  34. #34

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    without having to pay for a program??, VB code would be better
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

  35. #35
    Hyperactive Member
    Join Date
    Feb 2001
    Posts
    280
    hi,

    looking at the jpg of your logon pad U have the 3.1h gui?
    dunno how version specific my code is but might be worth a try

    I talk to sap - either thru the dcom connector from the gui disk or using the gui functions. I find the dcom connector a bit of a dog (but a collegue tells me the .net ver is sorted....)

    anyhow here is some very noddy code that calls a sap function using the gui objects - this is the simplest connection U are going to get - if this wont work then I think U are stuffed - needs to run on a machine that currently has the gui loaded ok.

    (code given a material number (text2) - calls the function Z_BAPI_ZMATDESC3_GET and returns data (into text1))

    (although the fuction is a bapi I am misusing it here - just calling in in a "toy" fassion!)

    VB Code:
    1. Option Explicit
    2.  
    3. Private Sub Command1_Click()
    4.  
    5. '--im going to live like an angel, die like a devil, there a place in hell reserved for me..
    6.  
    7. '--main r3 object
    8.    Dim ObjR3          As Object
    9.  
    10. '--parameter to abap (material number) object
    11.    Dim ObjPrm1        As Object
    12.  
    13. '--parameter from abap (return) object
    14.    Dim ObjParmin      As Object
    15.    
    16. '--abap function to use object
    17.    Dim ObjR3Func      As Object
    18.    
    19. '--return code for abap call
    20.    Dim result
    21.    
    22. '--abap table retruned (Materialdata) object
    23.    Dim ObjMaterialtab As Object
    24.    
    25. '--misc integer counter
    26.    Dim intidx  As Integer
    27.    
    28. '--turn off the button
    29.    Command1.Enabled = False
    30.  
    31. '--use the gui function..
    32.    Set ObjR3 = CreateObject("SAP.Functions")
    33.  
    34. '--logon as me!!
    35.    ObjR3.connection.System = ""
    36.    ObjR3.connection.client = "200"
    37.    ObjR3.connection.user = "myid"
    38.    ObjR3.connection.password = "mypass"
    39.    ObjR3.connection.language = "EN"
    40.    ObjR3.connection.System = "DEV"
    41.    ObjR3.connection.Applicationserver = "appserv"
    42.    ObjR3.connection.SystemNumber = "01"
    43.  
    44. '--if no logon then exit
    45.    If ObjR3.connection.logon(0, True) <> True Then
    46. '-----turn off the button
    47.       Command1.Enabled = True
    48.       Exit Sub
    49.    End If
    50.  
    51. '--set up the function to run
    52.    Set ObjR3Func = ObjR3.Add("Z_BAPI_ZMATDESC3_GET")
    53.    
    54. '--and the paramters we will send
    55.    Set ObjPrm1 = ObjR3Func.exports("MATERIALNO")
    56. '--and its value
    57.    ObjPrm1.Value = Text2.Text
    58.    
    59. '--do it
    60.    result = ObjR3Func.CALL
    61.    
    62. '--if ok then process - else exit
    63.    If result = True Then
    64.  
    65. '-----get the abap return code
    66.       Set ObjParmin = ObjR3Func.imports("RETURN")
    67.  
    68. '-----get the materialdata table
    69.       Set ObjMaterialtab = ObjR3Func.Tables("MATERIALDATA")
    70.    Else
    71.  
    72. '-----if it was stuffed the exit
    73.       MsgBox ObjR3Func.EXCEPTION
    74.       ObjR3.connection.LOGOFF
    75. '-----turn off the button
    76.       Command1.Enabled = True
    77.       Exit Sub
    78.    
    79.    End If
    80.    
    81. '--ok now spin thru the table and dump the data into the text field....
    82.    On Error Resume Next
    83.    intidx = 1
    84.    
    85.    Do
    86.       If ObjMaterialtab(intidx, 1) = "" Then
    87.          Exit Do
    88.       End If
    89.       Text1.Text = Text1.Text & ObjMaterialtab(intidx, 1) & " - " & ObjMaterialtab(intidx, 2)
    90.       intidx = intidx + 1
    91.    Loop
    92.  
    93. '--logoff sap
    94.    ObjR3.connection.LOGOFF
    95.    
    96. '--turn off the button
    97.    Command1.Enabled = True
    98.  
    99. End Sub

    ----
    ps just scanned the net - found this info - mentions similar code being developed on 3.1h (presume thats the gui ver numbers)

    prereqs for working are

    1- ms - MFC42.dll, MSVCIRT.dll, MSVCP60.dll
    2- sap- LIBRFC32.dll
    3- sap- load & register ocx'x WDTAOCX.ocx, WDTLOG.ocx,WDTFUNCS.ocx

    sap.functions is in wdtfuncs.ocx
    ----

    dunno worth a try - if no use sorry, cheers AJP

    ----

    might help http://ftp.mendelu.cz/windows/SAPklient/controls/ (just found - not sure though!)
    ----
    if u do get this to work _ can show U how to hijack some of the table browsing functions (se16) to read any sap table...
    ----
    otherwise try here http://www.sapfans.com/forums/viewforum.php?f=13
    warning - the people there are awfull - overpaid & stupid and will flame U at the first oppertunity as I have found out the hard way! - nice

    good luck!

  36. #36

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    1- ms - MFC42.dll, MSVCIRT.dll, MSVCP60.dll
    dont have the ocx, would you add in a program

    without the ocx the program will not work
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

  37. #37
    Hyperactive Member
    Join Date
    Feb 2001
    Posts
    280
    hi

    those dlls are the c runtime and MFC
    they are very very common and usually are packaged with most apps that has been build with visual c++ (which I presume is large persentage or "proper" sortware) its very hard not to have them loaded these days. - supprised!


    anyhow if missing....

    from the studio disks - (sorry if wrong I dont have them with me at the moment)

    mfc42.dll
    -found at \disk1\os\system
    MSVCIRT.dll
    -found at \disk1\os\system
    MSVCP60.dll
    -found at \disk1\vc98\redist

    I just load studio in full and am unfamilar with just vb alone or increadibly clean systems,

    loading them individually might me problematic because of dependancies -(will need to check a dependany walker),
    sorry, cheers AJP

  38. #38

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    sorry my fault its the ocx`s i havent got?
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

  39. #39
    Hyperactive Member
    Join Date
    Feb 2001
    Posts
    280
    hi,

    i probably not allow to propagate controls that arnt mine - sorry
    did U try the ftp site i mentioned..

  40. #40

    Thread Starter
    Frenzied Member Robbo's Avatar
    Join Date
    Jan 2001
    Location
    Bradford
    Posts
    1,143
    yeah had a quick look however couldnt use the control
    -----------------------------------------------
    "The hall is rented,"
    "the orchestra is engaged,"
    "its now time to see if you can dance!"
    Q, Q-Who, Star Trek The Next Generation
    -----------------------------------------------
    General Work day

    -----------------------------------------------
    DOS, Win 95, Win 98 SE, Win ME, Win NT 4.0 SP6a, Windows 2000 SP3, Window XP SP1, Windows 7, Windows 8/8.1, Windows 10, Office 97 Pro, Office 2000 Pro, Office 2010, Office 2013, Office 2016, Office 2019, Visual Basic 6 (SP5), SQL, Oracle

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width