Bill Neal's Q&A profile
SQL Server Error while registering a new sql server
TITLE: New Server Registration ------------------------------ Testing the registered server failed. Verify the server name, login credentials, and database, and then click Test again. ------------------------------ ADDITIONAL INFORMATION: 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) (Microsoft SQL Server, Error: 53) When I try to regiter a sql server, I take this error message. I a ...Show All
Visual Studio 2008 (Pre-release) LINQ functionality for C# 2.0 (...and others)
So far I'm encouraged with all the help I've received on this forum, so here is another problem. What is the best way of providing ad-hoc querying capabilities in C# 2.0 (the same techniques might apply to Java 5.0...but I won't mention that here :) ). By ad-hoc I don't mean parsing quries written by end-users, then operating on existing data structures (think a winforms application where a user types in something like SQL on an IEnumerable). Several people have already shown how to do a Where clause: class Operators{ IEnumerable Where(IEnumerable source, predicate_function) //I don't remember the syntax for delegates } This method ...Show All
Visual Studio Express Editions TextFile online
is there any better and faster way to get the content of an "Online-Textfile" then: You will have to consider what is actually taking time. There is some thing you are not able to control in this case. The time it takes to establish a connection to the server The time it takes to request the file from the server The time it takes to transfer the contents of the file This is probably what takes 20 seconds and you should be able to measure it by taking the time it takes to step from the DL.DownloadFile() line to the next. If it is about 20 seconds than that is where your bottleneck is. If this is the case your application can most li ...Show All
.NET Development Hai everyone this is new commer may u teach me well with lots of expectations i have joined this forum.
how to get the result of the button on the next page with out occupying space on the displaying page. Indetail: when we add the data to a feild and click update after sucessfull completion of update i want to receive an message "updatedsucessfully" in a page which navigate after the update function. i dont like to occupy any space in this regard of placing a label which i had done untill now. can any one help me on my way Hi, It seems like you are a system application developer, because most system applications does what you want to see. I can suggest is that you can use the ...Show All
.NET Development What are acceptable Data Source entries ?
I have been trying out the 101 Samples for VB VS 2005 and have experienced a problem which my ignorance of VS2005/SQL 2005 is giving me a bad time. The Data Access sample for Reading and Writing Images to a SQL Server 2005 database has an Application Connection String setting (app.config) to attach to the MyImages.mdf file. The Data Source attribute in the Connection String is set to .\SQLExpress. However, if I leave it as this I get a Timeout error when trying to run buld and run the sample application. The data connection under Server Explorer has a red cross against it and it won't let me Modify the Connection using .\MSSQLSERVE ...Show All
Visual Studio Team System Traceability Matrix in MSF for CMMI
How can I input the dependencys between requirements in VST How can I to inform that a requirement is subitem another requirement in VST Thank you. ...Show All
Visual Studio sorting
Hi, I'm have a report which i want to group by a field but sorting by another field Accending. For eg: my report will be group by 'id' but i want the data sort by field 'name'. I cannot group my data with 'name' because of 'name' is not an unique data. Is it possible to sort my report by 'name' but not 'id' Hi Keith, Thank you for your reply. But i still cannot sort the result by name although i have already choose to sort by name on the Record Sort Expert. The result still will sort by the group which is ID. Cherrie ...Show All
Visual Studio Express Editions NewLine in a TextBox
I have a text box on a form that im appending text to. How do i put a new line in. Code: Textbox1.AppendText("blah") I want to put a Return before and make it its own line. HoundsOfHell asked the same question just now within the following post (^_^ ): http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=360129&SiteID=1 If i'm not mistaken, by adding the "vbCr" or "ControlChars.CrLf" commands to you AppendText command, you should be able to start a NewLine (if the TextBox in question has the "MultiLine" property set to True). Maybe you could try that. ...Show All
Visual C# Avoid duplicate data
Hi, I want to insert data in a database. How is it possible to avoid inserting duplicate data If I want to insert a row which also is in my database, I get an Exception and my program stops running. How can I tell my programm to go on without stoppng even if there was an Exception Or has anybody a better and faster solution ! Thank you! Your best bet for ignoring those exceptions and continueing is to create a function that wraps your insert in a try...catch block. You'll need to catch the specific duplicate key exception that is thrown, and just ignore the exception. The function would be called ...Show All
Visual C# I need multi language color syntax text editor component
Hi! I m creating new project and I want to embed code editor rich text box on my project. So I need multi language color syntax text editor component. please help me! thanks all.. ...Show All
Visual Studio Team System Build server and test projects
I've got a solution with 3 projects, a windows app, a class library, and a test project. When I create a new build type to build this solution, the build seems to fail building the test project. The relevant (as far as I can tell) part of the log is: Target "CustomTest" in project "TeamBuild.proj" Done building target "CustomTest" in project "TeamBuild.proj". Target "Test" in project "TeamBuild.proj" Using "TestToolsTask" task from assembly "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.QualityTools.MSBuildTasks.dll". Task "TestToolsTask" Loading d:\teambuilds\Test Project 1\Test Project M ...Show All
Windows Forms Forecolor and CellFormatting event question
Dears, I want to highlight (change the forecolor) of certain DGVrow under certain condition, and I read the FAQ that CellFormatting is the best place for me to code. However, I wrote this: foreach (DataGridViewRow r in dgvColumns.Rows) { if (r.Cells[ColumnName].Value.ToString().ToLower() == something) { r.Cells[ColumnName].Style.BackColor = Color.LightBlue;   ...Show All
Visual Basic Regarding Commenting in VB
Is there any good reason why multi line commeting is not provided in VB. Thanks AnilG Just use the 'Comment/Uncomment multiple lines' buttons on the toolbar (there by default). Is there an issue with doing it this way That's the way it is. If you feel that i needs changing, then you can submit feedback. ...Show All
Visual C++ Can I redistribute a program created with VCExpress?
Hi! I'd have another question: can I redistribute a program created with Visual C++ Express And if I can, which files must I include in my program Thank you very much! You can distribute programs you create with VCExpress beta but you can't redistribute the .net 2.0 runtime until it is out of beta later in the year. ...Show All
Software Development for Windows Vista save xoml file without build...
I have a workflow with two custom activities from an activities library. I run this workflow from another console app. From what i understood, if i change the order of the activities on th xoml file and save it, the change should take place without building. anyhow, it's not working for me. (I have code activity in the custom activities which print me the activity name so i can see if there is a change in the order. Any suggestions Hi Amit, Since you are using activities (Code Activity) that need code beside (compiled code) you need to do the following to get this thing working 1) Create your own type with derives ...Show All
