Currently I have a program and sql database both residing on the same PC and all is working fine.
My current connection string is PubConnString = "Data Source=mikespc\sqlexpress; Initial Catalog=db_PigginGifts; Integrated Security=True"
I now wish to use the same program but with the database on a different PC eventually connecting over the internet using a static IP Address. To test this I have tried connecting to my own PC rather than connecting remotely and used the following connection string but although I do not get any errors I do not access the data in my database either.
C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter
There's just no reason to use garbage like InputBox. -jmcilhinney
The opening form of the program has a combobox where the user can select a name before entering their password. This screen opens up OK and does not display any errors but the drop down box for the combobox is empty. The drop down list is meant to have a list of names retreived from a table associated with the database I am now trying to connect to.
C++ programmers will dismiss you as a cretinous simpleton for your inability to keep track of pointers chained 6 levels deep and Java programmers will pillory you for buying into the evils of Microsoft. Meanwhile C# programmers will get paid just a little bit more than you for writing exactly the same code and VB6 programmers will continue to whitter on about "footprints". - FunkyDexter
There's just no reason to use garbage like InputBox. -jmcilhinney