sql1's Q&A profile
SQL Server Problem with ODBC
After some combination of installing Visual Studio Team Architect and/or SQL 2005 Online books and tools, I can no longer link to tables in a SQL server from Access. The ODBC datasources window will not come up. Anyone heard of this Where can I ask this question to get some help Thanx, I haven't heard of this. Yuk! Can you open ODBCAD32.exe from either your control panel 'ODBC Data Sources' icon or by accessing it directly from your system32 folder Perhaps somehow the path to your system32 folder has been removed, so your computer can no longer 'see' that directory. If so, you should check your path in the the 'e ...Show All
Windows Forms Looking for a LOGIN form example
In my project I want to add a LOGIN FORM to authenticate users of my application. I am in the search of a model of Login Form and his management. Thank you for your reponses. thanks Mustapa for you response. That resolve my pb ! ;-) ...Show All
Visual C# Creating Nightly Build Problems
I'm trying to create a nightly build that is automated via a cmd script. I'm calling the following command to build my solution: devenv /build debug "solution.sln" /out "output.txt" Now the problem I'm having is that I want to be able to somehow take the output of the build process and see if it succeeded/failed and if it failed what went wrong. For some unknown reason though, the /out command line switch doesn't actually seem to produce any output. I've intentionally added errors to my solution so that it should not compile, yet when I run the above command, it executes without producing any output at all. I've also trie ...Show All
Visual C# DateTime Question
Hello Everyone, I want to check if certain time is between these two times...How should i Do it... Say If I want to check DateTime.Now.TimeOfDay is between 7 AM -- 7PM..... How can I do it Any suggestions... Thanks, Harsimrat Hi Harsimrat, Try subtracting one TimeSpan from an other TimeSpan like: TimeSpan timeDiff = new TimeSpan (19, 0, 0) - DateTime .Now.TimeOfDay(); if (timeDiff.Hours < 12) { // Time is between 7 AM -- 7PM } Sandor ...Show All
SQL Server How can I show kpi's to final user?
Hi, I try to show kpi's to final user but I don't know to do this, which tool is the best for this Can I use Excel You can use Excel 2007 (Office 2007 Beta 2 was anoounced earlier this week), which has built-in support for AS 2005 KPI's: http://blogs.msdn.com/excel/archive/2006/01/10/511487.aspx >> In Excel 12, KPIs are listed in the field list in a special KPIs folder. Here is an example of a KPI for Profit Margin. (Click to enlarge) Each KPI component can be added to the PivotTable Values area by checking the checkbox just like any other field. Let’s take a look at an example, specifically, ...Show All
Visual C# try within try
Hi, if we have a try block within a try block, does it make sense to just throw the exception back to the outer catch when the inner catch is doing nothing The inner catch should catch only types of exception for which it can 'do something'. OTherwise, the exception should not be caught at all. ...Show All
SQL Server The request failed with HTTP status 401: Unauthorized. - ReportService2005.asmx
I have a report server set up to use SSL and Basic authentication. I am trying to create an application that uses the ReportService2005 web service. I can add the web reference ok, but when I try to use it to list reports, I get the "The request failed with HTTP status 401: Unauthorized." error. What steps do I need to take to get the authentication to work correctly I have kerberos configured for the server, although I don't think that would matter here. pjp By default, the proxy generated by VS does not pass through NT credentials. You can fix this by setting the UseDefaultCredentials prop ...Show All
Visual Studio Team System A Source control question for the product group
Please correct me if I'm wrong but it seems to me that TFS source control is designed for developers only. In a enterprise setting, there are also a lot of non-developers that need to save their work such as word docs, excel work sheets, etc in a source control. The may not be part a "team" and they really don't care about work items, process guidance, etc. How would these folks use the source control or the TFS source control is a wrong choice for them and they should use something else. Thanks! One option you should explore before adding non-developer files to TFS source control is whether the file format ...Show All
Visual Studio 2008 (Pre-release) VisualBrush Animation
Is it possibile to associate an animation inside a Visual Brush Is there any sample proving it Thanks gio Here is a sample. Thanks! Ed Maia WPF PM <Canvas xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation "> <Button Width="320" Height="240"> <Button.Background> <VisualBrush> <VisualBrush.Visual> <Canvas> <Rectangle Width="320" Height="240" Name="myRect" Fill="Blue"> <Rectangle.Triggers> <EventTrigger RoutedEvent="FrameworkElem ...Show All
Visual Studio Will VS 2005 coexist with VS 2003?
I am about to rebuild my computer so that I have a fresh machine for Visual Studio 2005 (I had the RC installed until now). Once I install everything (including VS 2003) will Visual Studio 2005 install fine and will both Visual Studios work as expected The problem is solved already. After installing .Net framework 2.0, there is one more tab named "ASP.NET" in the IIS Web Site Properties dialog. Change the ASP.NET setting to 2.0.XXXX. It will be OK. It works on both IIS 5.X and 6.0. ...Show All
Visual Studio Unable to order Visual Studio 2005 Trials
On different days I have tried to order Visual Studio 2005 Trials but I keep getting the following error message after I enter my shipping address and then press enter: "An unknown error occurred while processing your request. This is most likely due to a connection failure. Please try again." What should I do to order Visual Studio 2005 Trials TIA BTW I am trying to order from the Europe, Middle East and Africa section of MSDN. I have come across someone in England experiencing similar problems to me. ...Show All
Microsoft ISV Community Center Forums VBA install failed 536870930
I get VBA install failed 536870930 everytime I try to install an application that uses VBA subroutines after I loaded MS Office 2000. I have already tried deleteing and re-installing MS Office 2000 and any VBA related applications. Ideas Thanks Trodat5430 Per the support engineer: As I know, Microsoft has engaged Summit to provide a wide support service to VBA customers. I have tried to get more information about VBA SDK.Please refer to following documents: Visual Basic for Applications Technical Support http://msdn.microsoft.com/isv/technology/vba/support/defaul ...Show All
Visual Studio Team System Differences of VS2005 products
There are several editions for VS2005 products, [1] VS2005 profession edition [2] VS2005 express edition [3] VS2005 Standard edition [4] VS2005 Team system editions(this edition include below series) 1) Team Suite 2) Team Edition for software architects 3) Team Edition for software developers 4) Team Edition for Software Testers 5) Team Test load agent 6) Team foundation server I want to ask, A. What is the differences between [1] and 3), it seems that they all emphasis on development. B. For [3], what makes it different from other editions Thanks! Professional Edition does not include support for ...Show All
.NET Development Thread.Abort fixed for finally blocks?
In .NET Framework 1.0 & 1.1, calling Thread.Abort on another thread could abort that thread while executing the "finally" part of a try/catch/finally block. That was rather nasty because it could lead to criticial resources not being released by the aborted thread. Now I see in the July CTP docs that this situation is documented as a possibility for 1.0 & 1.1 only. May be assume that this has been fixed in 2.0, and that all finally blocks will properly execute in the aborted thread, no matter when the ThreadAbortException happens Another question: ThreadAbortException can still happen in a catch block and abort the current exception ...Show All
Visual Studio 2008 (Pre-release) Service calls a Service an fails
Hi. I have a client that calls a service that then calls another service and fails. I get an: Unhandled Exception: System.ServiceModel.UnknownFaultException: There was no endpoint listening at http://localhost:4242/Alba/AdminService/ that could accept the message. This could be caused by an incorrect address or SOAP action, among other things. If i call the second service directly by a client or call it in the Main() part of the first service things work fine. So i’m pretty sure the config is fine. Passing through the call to the second service looks like: public void createNewUser( string name, string pwd){ using ( Admin ...Show All
