Visual Basic and samba

reniers at natlab.research.philips.com reniers at natlab.research.philips.com
Wed Oct 1 08:14:43 GMT 1997


We are running samba on SGI/SUN/HP file-servers.
We have about 600 concurrent clients.

We have a simple Visual Basic program which happens to crash on a samba
drive and not on a real NT serverdisk. We are using samba-1.9.17p1.
( The problem was also there on earlier versions ).
     
When it crashes it displays a messagebox with the error:
   Run-time eroor '48':
   Error in loading DLL

The programma was created in Visual Basic 4.0

A description of the program:

Create a form (Form1) with
- a TextBox named Text1
- a Commandbutton named Command1

Implement the button click like:
   Private Sub Command1_Click()
      DisplayText Me
   End Sub

Create a module called Module1:

Put in Module1 the routine:
   Sub DisplayText(F As Form)
      MsgBox F.Text1
   End Sub

To reproduce the error:
Run the program and press the commandbutton.
---

Our smb.conf file :

   workgroup = cos
   os level = 0
   preferred master = no
   server string = file-server natlab ( sgifs3 )
   browse list = no
   domain master = no
   wins support = no
   wins server = ntfile4
   guest account = ntguest
   security = server
   password server = ntfile4,ntprint1
   preserve case = yes
   short preserve case = no
   guest ok = no
   read only = no
   create mask = 750
   debug level = 1
   socket options = TCP_NODELAY
   alternate permissions = yes

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

Can somebody help us with this problem ???
Are there any others users which have the same problem??

Eddy Reniers
-- 
    Reniers, ing. C.M.E.             

    Philips Research Laboratories

    E-mail: reniers at natlab.research.philips.com


More information about the samba mailing list