Greetings all, first post (I hope I don't make too big a fool of myself).
I have created a Windows Form application, which pulls in information from a couple of Excel spreadsheets. In order for the application to know where the spreadsheets are, it refers to a ini file.
Initially, during development, I was deploying to c:\temp, where also the ini file was placed. The location of the ini file was hard coded into the application. Every thing worked as expected.
I am at a point now that I want to make the installation process available to other users of a network, this has raised a few questions:
The Publishing Location Folder is set to c:\temp\publish - I can see the files appear there and include my ini file in the resource folder - so that bit appears to work.
I then set the Installation Folder URL to \\localhost\wpw\ but after installation (from c:\temp\publish) I can't locate the c:\wpw folder
The applications icon appears in the Windows start menu, and runs as expected - but, the application does not appear to know where the ini file is.
So, to summarise:
1 Where is my application installed to ? (How do I determine this?)
2 What code phrase should I use in the application to access the ini file ?
I hope the above is understandable - and I appologise if my terminology is a little strange. I cust my teeth on VB3 a long time ago - each time I have a new project, there seems to me a new version available.
VB.Net 2010 Express on Windows 7 Ultimate