;) Hi
Is it possible to access a machine on a LAN via a *.ini file??
Thanks
Holly :p
Printable View
;) Hi
Is it possible to access a machine on a LAN via a *.ini file??
Thanks
Holly :p
Access how?
What would an .ini file contain? The machine name or something?
We have just implemented a new system at work and I have to integrate an old VB labelling system with this new system...The main HMI system will sit on our network and allocated a machine number.......the machine in question will contain a SQL DB with certain information that I need to obtain.....the SQL DB has a UN and PWD so I think instead of using a INI file to access the server would I just use the Machine name... i.e
[DataBase Parameters]
SERVER= this would be replaced with [Machine Name]
DataBaseName=
USERNAME=
PASSWORD=
or am I totally wrong....?? :confused:
thanks
:blush:
So you need to access an SQL Server database, right?
You should be able to just use a connection string which contains the UserName and Password, and do the entire thing through code without the need for an ini file. These files are nothing but text files and as such, probably shouldn't contain information such as passwords anyway as they would be so very easy to open with any standard text editor (like Notepad).
Cheers Hack !!!
:thumb: