I have downloaded the nfcomm - but I have a problem with it.
The PC is running NT4.
I seems like, that when NT4 boots, the settings are deleted?
Does anyone knows annother ocx I can use, I would be very interested..
Regards
Henrik Helgesen
Kind Regards
Henrik Helgesen,
President | Helgesen Consulting about.me | LinkedIN0
Comments
After changing values you must call SaveParam() method for settings saving.
Before starting communication call LoadParam() method. It loads settings from registry.
good luck
On the setup-form I have a botton, wich calls the SetupDisplay - As of now, The client has to change the settings every morning, after logging on.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code:</font><HR><pre>
ShowDisplay(Display : ARRAY [2] OF Text[20])
NFComm.LoadParam;
NFComm.OpenPort();
FOR i := 1 TO ARRAYLEN(Display) DO BEGIN
Display := ANSIASCII.Display(Display);
NFComm.SendStr(FORMAT(Display,MAXSTRLEN(Display[1])));
END;
NFComm.ClosePort();
Function - SetupComport()
NFComm.AboutBox;
NFComm.LoadParam;
NFComm.ShowParam;
NFComm.SaveParam;
</pre><HR></BLOCKQUOTE>
Ideas anyone?
Kind Regards
Henrik Helgesen,
Navision Solution Developer
Henrik Helgesen,
President | Helgesen Consulting
about.me | LinkedIN
I havn't been tested it on NT, maybe there are problems with registry ?
Try to check:
Did are stored settings in registry after SaveParam()?
After a few days, it was OK - By then, alle different users loggin on to this PC, had done the settings.
Sorry for the inconvenience.
Mod: You can close this topic.
Kind Regards
Henrik Helgesen,
Navision Solution Developer
Henrik Helgesen,
President | Helgesen Consulting
about.me | LinkedIN