I'm working on deploying our application written in VB
2008. Our app's backend is a SQL Server Express 2005 DB.
I have found a white paper titled: "Embedding SQL Server Express into Custom Applications", written by Robert Walters for MS SQL Server 2005.
In this white paper, they have included sample code for writing a wrapper to deploy SQL Server Express 2005. However, the sample code is written in C#. I have not used C# until now. I was able to get the code compiled, but with the exception of one last error. The error is in one part of the code where we want to instantiate a new system process. The line of code below:
Process myProcess = new Process();
It looks perfectly fine to me. However, the compiler is saying:
"Error 1 The type or namespace name 'Process' could not be found (are you missing a using directive or an assembly reference?)..."
I have spent over an hour googling the web and also checking out MSDN. All code examples provided seem to be using the System.Diagnostic namespace. I tried to put in the same reference at the beginning of the block of code, but the compiler is still not happy.
Apologies if this thread is a repeat, but I could not seem to be able to find an answer to the problem yet.
Thank you very much for all your help.