-
-
p_conFirst.Open()
'error 4060
I was trying different connectionStrings,reinstall
Sql server and Visual Basic but have the same massage:"Cannot open database.Login failed".Maybe somebody has answer
Thanks,Boris
">I've just downloaded VB 2005 Express and SQL server 2005 express.Built database and tryingto connect and open DB.My code is:Public p_conFirst As New SqlConnection() p_conFirst.ConnectionString = "Server=bk;Database=First;Trusted_Connection=True;"p_conFirst.Open() 'error 4060I was trying different connectionStrings,reinstallSql server and Visual Basic but have the same massage:"Cannot open database.Login failed".Maybe somebody has answerThanks,Boris
-
-
-
-
The VB code files will have the extension
A) .vbB) .modC) .config
-
-
-
-
Explain about Assemblies, native assemblies, and the Global Assembly Cache ">
Explain about Assemblies, native assemblies, and the Global Assembly Cache
The primary unit of deployment is the assembly. The assembly is used by the .NET CLR as the smallest unit of deployment; version control; security; type grouping and code reuse. An assembly will consist of a manifest and one or more modules or files.
It can be defined as a logical DLL that contains a manifest, type metadata, MSIL and resources. Assemblies can be application private... -
-
-
-
-
How do you make a windows Form transparent in VB.NET
A) With the help of Opacity property of the formB) By setting the background color to whiteC) It is not possible to make a windows form transparentExplanation: If you set the Opacity property of the form to 0% the form will be fully transparent.
-
-
-
-
-
VB.NET Interview Questions
Ans