I'm trying to connect to a remote sql server, using C# and I'm having the below error, I tried to connect to a local server and it worked, please see the error and try to help:
System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) at System.Data.SqlClient.SqlInternalConnect...
Visual Studio 2005 And SQL server 2000, PLEASE HELP?
Try the following page as this has many troubleshooting tips for SQL Server http://blogs.msdn.com/sql_protocols/arch...
Sunday, August 2, 2009
Visual Studio 2005?
I am a new user of VS 2005, and wanted to develop under asp.net 2.0 using VB or C#.
I am just thinking, whats the big difference of using vb 2005 and vb.net ?
I really like VB 2005, but do I need to study VB.net before using VS 2005?
Pls. compare VB.NET and VB 2005, and what are their strong and weak part. Please help.. thanks
Visual Studio 2005?
There's no big difference between VB 2005 and VB.NET.
VB 2005 has a lot of new functions, flexibility that will lead you to robust application development and integration to other Microsoft products like ASP.NET.
Also, before installing VB 2005 read the "FAQ, README and WHATS NEW" this will help you a lot.
And use .NET Framework version 2.x for VB 2005 instead of version 1.0.
community survey
I am just thinking, whats the big difference of using vb 2005 and vb.net ?
I really like VB 2005, but do I need to study VB.net before using VS 2005?
Pls. compare VB.NET and VB 2005, and what are their strong and weak part. Please help.. thanks
Visual Studio 2005?
There's no big difference between VB 2005 and VB.NET.
VB 2005 has a lot of new functions, flexibility that will lead you to robust application development and integration to other Microsoft products like ASP.NET.
Also, before installing VB 2005 read the "FAQ, README and WHATS NEW" this will help you a lot.
And use .NET Framework version 2.x for VB 2005 instead of version 1.0.
community survey
Visual Studio 2005? The error list.?
at school the build errors are listed and organized, but at home it is just one big sentence. How do I change it to work like school. Same version both pro version. Using C++.
Visual Studio 2005? The error list.?
I've never looked into this but there should be a way to do this in your config file. Google it and you should be able to find something about it. Search for Stack trace in VS 2005
Visual Studio 2005? The error list.?
I've never looked into this but there should be a way to do this in your config file. Google it and you should be able to find something about it. Search for Stack trace in VS 2005
Visual Studio .NET supports????
a. XML viewing in both tabular and text format
b. Multiplatform database access
c. Web service creation
d. all of above
e. none
Visual Studio .NET supports????
d. all of the above
Reply:D
b. Multiplatform database access
c. Web service creation
d. all of above
e. none
Visual Studio .NET supports????
d. all of the above
Reply:D
Visual Studio Epress help?
ok where can i get a free copy of it or a similar program I wish to learn C++ for homebrew DS games. i already checked the microsoft website and it wont download
Visual Studio Epress help?
You should be able to get it from Visual Studio Express from the Microsoft download site. I've downloaded it before.
If you haven't developed before, I would recommend starting with the KPL - Kids programming language. Even if you are an adult, this is a good place to start.
Go to this web site for downloading VS Express 2005
http://msdn.microsoft.com/vstudio/expres...
Visual Studio Epress help?
You should be able to get it from Visual Studio Express from the Microsoft download site. I've downloaded it before.
If you haven't developed before, I would recommend starting with the KPL - Kids programming language. Even if you are an adult, this is a good place to start.
Go to this web site for downloading VS Express 2005
http://msdn.microsoft.com/vstudio/expres...
Problem with Microsoft Visual Studio 2005. I'm not able to get all of the languages that I paid for. Help!
I need to know how to get all of the languages in this suite to function? They are C#, C++, VisualBasic, J# and the SQL database. The only one that I could ever use was C++. I was told by Microsoft that the .Net 2.0 framework is crippled, and they can't repair or replace the suite of software. Now that I'm out of all that money what can I do?
Problem with Microsoft Visual Studio 2005. I'm not able to get all of the languages that I paid for. Help!
Are you making this up? Seriously, if you paid for VS 2005 (or if you had the money to pay for it), you would have to know how to click on file-%26gt;new project or solution or whatever it's called, and browse the list on the left hand side.
And what's this about Microsoft telling you 2.0 is crippled?
order flowers
Problem with Microsoft Visual Studio 2005. I'm not able to get all of the languages that I paid for. Help!
Are you making this up? Seriously, if you paid for VS 2005 (or if you had the money to pay for it), you would have to know how to click on file-%26gt;new project or solution or whatever it's called, and browse the list on the left hand side.
And what's this about Microsoft telling you 2.0 is crippled?
order flowers
Application.StartupPath (VB--Visual Studio 2005)?
I have a program (my first where I made up all the code instead of copying it out of a learn-to-program book!) that needs to use a .txt file as input. I've been using the line:
FileOpen(1, "C:\Folder Name\FileName.txt", OpenMode.Input)
but I wanted to change the hard coded path to use Application.StartupPath instead so that if people put it somewhere other than the C drive it would still work. So I used the line:
FileOpen(1, Application.StartupPath %26amp; "\Folder Name\FileName.txt", OpenMode.Input)
but then my code wouldn't debug properly.
I get an error message when I try to debug that says:
Could not find a part of the path 'C:\Folder Name\Folder Name\Folder Name\bin\Release\Folder Name\FileName.txt'.
What am I doing wrong?
Thanks!
Application.StartupPath (VB--Visual Studio 2005)?
Not a simple problem. You do nothing wrong. Windows (more exactly - VB) does some unclear things.
"Working directory", as Microsoft thinks, is sometimes directory of "current user home directory", sometimes "c:\", depending on what buggy Windows version you use.
You need to use GetModuleFileName funcrion from Win32 API to obtain full pathname of your executable. Then you need to strip filename (after last backslash) - and you will get current directory where your program is placed.
Reply:Make a button n write this lil code....
Dim ofd As New OpenFileDialog()
Dim dia_result As DialogResult = ofd.ShowDialog()
If dia_result %26lt;%26gt; DialogResult.Cancel Then
Dim fstream As New FileStream(ofd.FileName, FileMode.OpenOrCreate, FileAccess.ReadWrite)
Dim sw As StreamReader = New StreamReader(fstream)
Dim temp As String = sw.ReadToEnd()
'write the file to a TextBox1
TextBox1.Text=temp
end if
FileOpen(1, "C:\Folder Name\FileName.txt", OpenMode.Input)
but I wanted to change the hard coded path to use Application.StartupPath instead so that if people put it somewhere other than the C drive it would still work. So I used the line:
FileOpen(1, Application.StartupPath %26amp; "\Folder Name\FileName.txt", OpenMode.Input)
but then my code wouldn't debug properly.
I get an error message when I try to debug that says:
Could not find a part of the path 'C:\Folder Name\Folder Name\Folder Name\bin\Release\Folder Name\FileName.txt'.
What am I doing wrong?
Thanks!
Application.StartupPath (VB--Visual Studio 2005)?
Not a simple problem. You do nothing wrong. Windows (more exactly - VB) does some unclear things.
"Working directory", as Microsoft thinks, is sometimes directory of "current user home directory", sometimes "c:\", depending on what buggy Windows version you use.
You need to use GetModuleFileName funcrion from Win32 API to obtain full pathname of your executable. Then you need to strip filename (after last backslash) - and you will get current directory where your program is placed.
Reply:Make a button n write this lil code....
Dim ofd As New OpenFileDialog()
Dim dia_result As DialogResult = ofd.ShowDialog()
If dia_result %26lt;%26gt; DialogResult.Cancel Then
Dim fstream As New FileStream(ofd.FileName, FileMode.OpenOrCreate, FileAccess.ReadWrite)
Dim sw As StreamReader = New StreamReader(fstream)
Dim temp As String = sw.ReadToEnd()
'write the file to a TextBox1
TextBox1.Text=temp
end if
Subscribe to:
Posts (Atom)