M Chan's Q&A profile
SQL Server sp_dropsubscription, article
Hi There I needed to change a column definition for a published table. I did the following. sp_dropsubscription for publication specifying the one article. sp_droparticle for the specific publication/artcile BOL is not very clear here, i presume this drops the subscription ONLY for the 1 article , correct Secondly i then altered the table accordingly then ran sp_addarticle for the publication/article then sp_addsubscription for the newly define ...Show All
.NET Development Does anyone know how to sort xml in C#?
Hello, Does anyone know how to sort xml in C# Thanks, Jeremy Sorting is not a simply task in Xml, in DB is very simple. But you can "sort" some information in a Xml, with a Xslt Transformation. Check some samples and information in http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemxmlxsl.asp http://msdn.microsoft.com/library/en-us/xmlsdk/html/xmconxsltutilitiesandsamplesyoucandownload.asp bye from Sp ...Show All
Visual Studio 2008 (Pre-release) Digital Identity Control panel applet failed to start
I am using Win XP machine and WinFx Dec 2005 CTP. Digital Identity control panel applet failed to start on my system. It is giving error message "The system cannot find the path specfied.". I traced the problem and found that infocard.exe windows service was not installed on my system. When I try to install infocard.exe using installutil it gives me following error: Exception occurred while initializing the installation: System.IO.FileLoadExc ...Show All
Visual C# Splash Form ProgressBar Update
Hi! I have problems getting a ProgressBar on a splash screen to update nicely. My scenario is as follows: * I call my main form from the Main Void with Application.Run(new Main); * In the Main Load event I Show the splash form and sets a bol variable (m_running) to true, then I loop while the variable is true executing something like Thread.Sleep(0); (doing nothing that is) * In a separate thread I invoke methods through delegat ...Show All
.NET Development dataset.writexml - not putting the data in the dataroot
Hello All, I am hoping someone can shed some light into a little blip I noticed. I am reading data into a dataset (defined at run time) from an xml file (with inline schema). It reads in fine and I can add records - no problem. When the application closes - I write the dataset back out to the same file from which I read the data. I know for a fact that the original xml file had the data in the dataroot - but after my ap ...Show All
.NET Development Javascript Single event two action
<Muralidharan@discussions.microsoft.com> wrote in message news:42c7b058-69db-452b-ac5d-47fdc8924d3e@discussions.microsoft.com > In javascript, Text box can I do more than one operation on a single > event if yes means How > > for eg: on text box click event I want to change the color as well as > i want to call javascript function. Well, you can always write yet another function that chan ...Show All
.NET Development Including a javascript file in an ASP.NET page
I am working with a ASP.NET 2.0 page that is based on a master page. I want to use javascipt from an external file. In a 'normal' html page I would include the external file as follows: <script language="JavaScript" src="include/PhoneCheck.js"></script> I can not figure out how to this. I have found some documentation on ClientScriptManager.RegisterClientScriptInclude. It seems like that might be the key, bu ...Show All
Smart Device Development Device Unique ID
Hello, i'm trying to get the unique DEVICEID from some PocketPC with the function: KernelIoControl(IOCTL_HAL_GET_DEVICEID, IntPtr.Zero, 0, OutputBuffer, OutputBufferSize, ref BytesReturned); ...this works fine. ...But for some OEM device this function returns always the same code... How can i get a unique identifier for that device thanks for suggestions Andrea C. You can not since OE ...Show All
Visual C++ How to create an MDI child window that contains my own CView-devived class
What are the steps involved in creating a new MDI child frame that contains an instance of a CView-derived view class, and uses a pre-existing instance of a CDocument-derived document class Please see the MSDN documentation on CMDIChildWnd: ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_vclib/html/6d07f5d4-9a3e-4723-9fa5-e65bb669fdd5.htm ...Show All
Visual C# how can i execut my application automaticly
helo did any one tel me how can i execut my application automaticly using timer or evry thinks thanks In what way Have your program launch every XXX seconds/minutes/hours/etc Have your already running program do something every XXX seconds/minutes/hours/etc ...Show All
Visual C# c# Syntax
how do you make a carriage return in c# so..... w + \n\r + ww If you are concerned about portability, you might also want to look at Environment.NewLine. It guarantees that you get the right combination depending on the platform. --mc ...Show All
Microsoft ISV Community Center Forums What about Sourcesafe now too?
So Empower and Certified partners will not get Team System. That also screws us up for Sourcesafe doesn't it I quote from the MSDN site ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/VSTmSysvsVSS.asp ): The desktop-based nature of Visual SourceSafe 2005 lends itself well to scenarios where team members may need occasional remote access to files. However, it is not intended for day-to-day usage by a ...Show All
Visual Studio Express Editions Visual Studio Package Load failure - Visual Studio Explorers and Designers Package
When I launch VS Express (not Beta2) editions, on startup all the express products dispaly a dialog box which says Package Load Failure 'Visual Studio Explorers and Designers Package' has failed to load properly - GUID = xxxx etc This is a fresh installation of VS Express. How to resolve this issue Thanks Venkat I used the tool at http://blogs.msdn.com/astebner/archive/2005/11/09/491118.aspx and then all ...Show All
Visual Basic Output Parameters or Return Value frum Stored Procedure
I am trying to get a value from a stored procedure, I just want one number, and I want to store the value in a variable. When I run my code, my variable (or my output parm) never get assigned a value. If I run the code in SQL server, my output parameter has been assigned a value. Thanks for any help. Below is my stored Procedure code, then below that is my Visual Basic code. ALTER PROCEDURE dbo.Sign542 @count542 Int OUTPUT a ...Show All
SQL Server CreateSPs Sample Application Causes Exception.
When I use the CreateSPs sample app on a sample database (Person), with a sample table (Contact), the following exception occurred. ============================================= Add object to collection failed for StoredProcedureParameterCollection of StoredProcedure 'SmoDemo.uspContactSelect'. (Microsoft.SqlServer.Smo) ---------------------------------------- For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft SQL S ...Show All
