SanatPalia's Q&A profile
SQL Server My Declarations are just not working ...
Hello all, I am frustrated! I have tried to get this script to run 8 ways from Sunday and I am not having any luck. Below are the two iterations I have attempted. In both cases the error: Must declare the scalar variable "@BAK_PATH" appears. The key to this is that I need to run the backup on the DB directly because the Database must be backed up by name for the next step to work. DECLARE @PAR1 VARCHAR ( 256 ), @BAK_PATH VARC ...Show All
Visual Basic Need to call external DLL that takes structured parameter
Hi, My application needs to call an external unmanaged DLL supplied by a third party. That DLL is written in C I suspect, it takes a struct parameter that holds some 30 fields, most of them of type char[x] where x varies for each field. What I did was a wrapper class, that has a declare statement like this Private Declare Ansi Sub ExternalSub Lib "ExternalDll.dll" (ByRef struct As strParam) The struct is defined like this & ...Show All
SQL Server Heeeeellllllllppppppppp!!!! Replication Latency in Dist Agents
Hi, I have Transactional Replication running and Pushed to 2 subscribers. I am noticing that, sporadically, the latency shown on the Distribution Agnets is extreme. This means it's taking a very long time for transactions to get to the subscribers... which in turn means that my 'High Availability' scenario is down the tubes.... which is a disaster. Usually I see latency numbers under 5000... and they are reset periodically. T ...Show All
Visual Studio Team System TFS Analysys Services service stops all the time
The Event log is logging this error; The description for Event ID ( 22 ) in Source ( MSSQLServerOLAPService ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Internal error: An unexp ...Show All
Smart Device Development Is it wise to use CF2 on PPC 2003 SE
Hi, I've been using .NET 2.0 for a good 6 months now and I have been asked to develop some software (C#) to run on PPC 2003 SE. What I was wondering is should I use CF2 or CF1 I know the device doesn't have CF2 in ROM so would it be more practicle to stick to using CF1 on these 'older' types of operating systems Regards Graham We developed a prototype in CF 2.0 with Sql Server Mobile on a device with 32MB of RA ...Show All
Windows Forms How can I find out if a form (in my case a child form of MDI parent) is maximized?
Hi, How can I find out if a form (in my case a child form of MDI parent) is maximized is there a way to know the MDIParent max size for its child forms Thanks, In addition you might want to check this thread from a few days ago: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=171135&SiteID=1 ...Show All
Visual C# Where the Control definitions located?
When i createad a web application in Visual Studio .NET 2005, and drag-and-drop some controls on the page, i need to see the definitions of these controls, where are located I can not find them the only files i can see is for example (Default.aspx) and Default.aspx.cs (which not contains the definitions of controls). regards What exactly do you mean by control definition The controls are implemented in assemblies you reference, suc ...Show All
Visual Studio SLN file for web service in VSS does not appear
I did a web service, then I wanted to put that web service into VSS. Everything is good. BUT, when I open VSS I do not see sln file or any other project file. And, of cause, when someone else tries to get the project from VSS nothing happens because there is no any project file... What to do how to say VisualStudio to put sln file into VSS along with source code Hi Dima, If you really want to add the sln file to the VSS databas ...Show All
Visual Studio Express Editions Delaying a program
I am wondering if there is a built in function for delaying a program in C# Something akin to C++'s "System("SLEEP")". I tried typing "System.Sleep();" in my program code, but that didn't seem to compile. If there isn't such a function in C#, how would I go about writing one Seeing as I'm a complete newbie when it comes to C#, I wouldn't know this. :( You can use the following Fu ...Show All
Visual Studio Team System MSTest Command Line Error - Test 'x' cannot be found.
When I run the test harness from the command line: mstest /resultsfile:test.xml /testmetadata:tests.vsmdi /testlist:BuildVerificationTests I get the following: Microsoft (R) Test Execution Command Line Tool Version 8.0.50727.42 Copyright (C) Microsoft Corporation 2005. All rights reserved. Loading tests.vsmdi... Starting execution... Test CheckExpectedTypeGoodParameters cannot be found. No tests to execute. However, through the ID ...Show All
Visual Studio Express Editions How do I view Console.Writeline?
I'm rather new to programming. I've read two VB Express books and everything that I could find concerning Console.Writeline, and yet I still cannot figure out how to view what I write to it. When I use Debug.Writeline, I can view what I write to it in the "Immediate" window. I guessed that I should be able to view Console.Writeline in the "Output" window. Is that correct I tried things like the example below, and nothing ...Show All
Visual Studio Team System Team Foundation Server Setup
I need to install Team Foundation Server (Beta version), along with SQL Server 2000 (Default Instance). I found one issue. My application needs a "Default Instance" of SQL Server 2000. But, Team Foundation Server, needs SQL Server 2005 with "Default Instance" only, otherwise, Team Foundation Server setup will fail. Is there any other way, having both the installations together, with SQL Server 2000 (Default Instance), SQL Server 2005 with ...Show All
Visual Basic VB6 MSDN CD
Does anyone know how to download the MSDN CD for VB 6.0 The help doesn't work without installing it. Thanks Dale The MSDN CD for VB6 should have shipped with the product. These forums are for VB.NET and there are better places to find answers for older versions of VB. Maybe the VB6 newgroups - http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vb.general.discussion&lang=e ...Show All
Windows Forms TreeView - Owner Drawn Nodes Problem
Problem: Node text gets rendered backwards ONLY when owner drawn and RightToLeft is set. To re-create: 1. Drop a TreeView control on a form and set the RightToLeft property to true. Add a few nodes to the tree. 2. Goto its events and create an event ...Show All
Software Development for Windows Vista Using XPS on non-Vista platforms
Hi I was reading the MSDN article about XPS, and I'm quite intrigued. I'd like to have a go at using XPS for a document creation system on our internal Intranet. I suppose there are 2 main questions.. 1) I've got VS2005 - can I write XPS documents now Or do I need some other SDKs (eg WPF). Would I be able to view/print them ! 2) When does v1.0 come out, or a go-live license ! Cheers Dan ...Show All
