[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 392
  • Last Modified:

program Ms-dos and Win95

My name is Gemma, I'm independent programmer and have a problem with a
program that some years ago I wrote for a customer.

The program is written in QuickBasic 3.0 and files indexed Fabs Plus. There
haven't been any problems for years till now. The reason is that the
customer has began to work under a network with 2 posts of work. If the
network is Windows'95 or Windows 3'11 for workgroups, the program doesn't
work; only one post can work, the other one busts. I've tested with Novell
network and it works perfectly all right till version 3.12, but from
version 4.1 or with Netware Lite is doesn't work.
I think that I've tried all existing protocols in all versions, and I don't
know where the problem can be.
I requiere the help of anybody that may had the same problem or have the
time to test it. I attach a small program to be able to do the mentioned
tests.

e-mail: intersoft@readysoft.es



0
intersoft
Asked:
intersoft
  • 2
  • 2
1 Solution
 
garyhCommented:
Are you handling record locks or file locks in QB 3.0 or are you using a LIB to handle them? If your using QB 3.0 to handle locks you will need to recompile using QB 4.5 or use a LIB that is network aware. Other wise the only thing you can do is have the second user open the file read only, see your QB 3.0 book on how to do this.
0
 
intersoftAuthor Commented:
Thanks, I recompile using QB 7.1 with other LIB, and I have the same problem. I think the problem is in index files, them are type FABS PLUS and the second user in the moment open index files do error the program.

0
 
garyhCommented:
Flag the indexes and the data files as shareable and see if that helps.
0
 
intersoftAuthor Commented:
I do it, flag the indexes and data files, with Netware 3.11 or
Netware 3.12 ok, but not ok in Win95 or Win 3.11
Thanks.

0
 
robc042497Commented:
hi

try beefing up your file handles in win311. i came across a similar problem when running a Clipper app under W311.

the error you are getting isnt very clear. if there are actual memory faults, try adding the switch NOVCPI to your emm386 statement.

lastly, netware 4.1 has a +- 10 minute timeout on connections. this causes untold grief when it comes to indexes. if you have some way of disabling caching of indexes within QB, then use it.

good luck. this type of thing is really frustrating, i know :)

0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now