I am working on an application and I have SQL server 2008 running on my local machine when I start the application everything works fine, but when I moved my application to my laptop the program connects to sql server, but it cannot find any of my stored procedures when connecting remotely. I am not sure if it is something in may code or SQL server. Any way to fix this?
It sounds like you're connecting to the wrong database on the server or you're using a different schema. Try to do "exec dbo.sproc" on your laptop as you're probably an admin on your desktop and thus it was created under the dbo schema. If you're already calling the sproc with dbo then it must be something else.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...