Software Development Network Logo
  • Microsoft ISV
  • Visual Basic
  • SQL Server
  • Audio and Video
  • Windows Vista
  • SharePoint Products
  • Game Technologies
  • Windows Forms
  • Smart Devicet
  • Visual C++
  • Visual C#
  • IE Development
  • Visual Studio
  • .NET Development
  • VS Team System

Software Development Network >> swapna_n's Q&A profile

swapna_n

Member List

Predator14567
spattewar
Keena
JIM.H.
Aaron Sulwer
mike_n
harvs
ste_brough
CaRNaGe_46038
Mahesh Gaware
Rajesh batchu
Dave Calkins
daphneDolphin
Peter Freeman
Chrisull
Mark Flamer
mikasi
Becool
bill_csharper
Scott Nonnenberg MSFT
Only Title

swapna_n's Q&A profile

  • Visual Studio 2008 (Pre-release) How to generate XSD from custom XAML serialization

    This is not really a WPF question but since XAML has been associated to WPF, I'll ask it here. If there is a more appropriate forum, please let me know. I am using the new XAML serialization that is really wonderful. So I wrote few classes (organized in an object model tree) in an assembly and I persist them in XAML. One of the namespaces inside the serialization is the clr-namespace that fully describes the metadata. So I was wondering why XSD.EXE doesn't use those information to create a full-featured schema . I think that the information inside clr-namespace should be more than sufficient to create a very precise XSD schema file. Any chance to see such utility in the RTM TIA, Raffaele Since we are talking about M ...Show All

  • SQL Server Moving databases

    I have a number of questions regarding moving databases off of a sql 2005 server and onto a new sql 2005 server. The new server will have the same name and the same IP as the old database. 1. What is a better method of moving the db's, backing up and restoring to the new server or detaching and re-attaching. Are the rights kept when either of these methods used Or will orphan logins be created. 2. Is there a way that I can keep all the permissions intact when I move the databases to the new server If not, is there a tool for doing so 3. We use reporting services which has two databases, Reportserver and ReportServertempDB. Will there be an issue detaching and re-attaching these databases 4. What other problems could I encounter ...Show All

  • Windows Forms Render a Questionaire as Win Form from XML file? (C#)

    Hi, Apologies if this if the wrong place to ask this... I am investigating the possibility of creating a windows forms-based questionnaire which is rendered entirely from an XML file. The scenario is that a sales operative could download an meeting agenda as an XML file. This could then be opened during a customer visit and used to render every section and element on the form, allowing them to input their answers to each question and any notes before saving the data back into the XML agenda file. Each completed XML agenda file would then be uploaded to the account management system when the sales operative returns to their office and saved to the accounts system. We have investigated web services and other ways of doing this, but this is t ...Show All

  • Visual C++ Access to Members of Top Level Class

    If an object is declared as top level (^) how can you access its members For example: public ref struct DictionaryPath { public: DictionaryPath() {} ~DictionaryPath(){} String^ dictName; String^ dictPath; }; DictionaryPath myPath; // members can be accessed. DictionaryPath^ myPath; // now it is an "undefined object" whoose contents cannot be seen. Scrap that, I worked it out. I still have a couple of questions though: Is there an equivalent of an address of "&" for top level classes Also, when declaring an array of classes or structs, what is the best way to fill them array<DictionaryPath^,1>^ dictionaryPath = gcnew arr ...Show All

  • SQL Server License requirements and instructions for RS 2005 with 2 servers?

    I have heard that it is possible to deploy RS 2005 in such a way that the RS databases (ReportServer and ReportServerTempDB) are on one server, and the RS web service (ReportServer) and website (Reports) are on a separate server with IIS. The organization in question will not allow web services on their database servers. Is there are white paper or instructions on how to accomplish this An architecture diagram would also be useful. Also - what are the license requirements to do this, if one already has the SQL 2005 Enterprise edition Thanks, Marie There is some information here http://msdn2.microsoft.com/en-us/library/ms157293.aspx http://msdn2.microsoft.com/en-us/library/ms157300.asp ...Show All

  • Windows Forms DataGridViewImageCell

    I've just moved to the new DataGridView in VS2005 and can't seem to find a way to change the image in a DataGridViewImageCell - I've already got an event to set the image when the grid loads all the data which is all good and dandy         Private Sub dtgCurrentYear_CellFormatting( ByVal sender As Object , ByVal e As DataGridViewCellFormattingEventArgs) Handles dtgCurrentYear.CellFormatting             If e.ColumnIndex = 0 Then                 If Me .dtgCurrentYear.Rows(e.RowIndex).Cells("ysnResolvedCurrent").Value Is " False " Then  &nb ...Show All

  • SQL Server OUTER JOIN plus split? - how to?

    Hi, I have two tables.. one has a list of the UK postcodes.. well..it's actually the districts.. so it's the first two three or four characters (basically all UK postcodes are one or two letters.. then one or two numbers.. then a gap.. and then some more info) So my first table has everything "before the gap" in seperate records. My second table is full of exact postcodes.. so everything before and after the gap. What I need to do is.. for each "full" postcode I have... strip it down so I get it formatted to everything before the gap.. and then find out how many of those I have... This is also complicated because many of the "full postcodes" don't have the gap. so if I have ...Show All

  • Windows Forms Pleease clarify Help authoring tools in Visual Studio 2005

    I have a c# application that I want to add help to. Looks like HelpStudioLite and Help 2.0 is only for adding help to the VS IDE. So, it looks like I want to use Help 1.x and Help Workshop or a better third party program. Right VS help docs refer to Help Workshop and creating a help project. There doesn't appear to be such a thing (a help project) in VS 2005. Am I missing something here If I can produce a .chm file in another app how do I hook it up to my VS 2005-created app Sorry if this sounds basic, I just can't find any specific documentation on how to do this. Thanks to all who may help. http://www.microsoft.com/downloads/details.aspx FamilyId=E82EA71D-DA89-42EE-A715-696E3A4873B2&dis ...Show All

  • Visual Basic This works, just want someone who knows better to check it out.

    Imports System Imports System.IO Public Class PassCreate Dim Passtxt As String = "C:\Pass.txt" Dim Passconfirm As String Dim swPass As IO.StreamWriter Dim Passtest As Boolean Private Sub PassCreate_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If File.Exists(Passtxt) Then Passtest = True btnPassCreate.Text = "Enter Password" Try ' Create an instance of StreamReader to read from a file. Using sr As StreamReader = New StreamReader(Passtxt) Passconfirm = sr.ReadLine() sr.Close() End Using Catch Ex As Exception 'handles any errors MessageBox.Show(Ex.Message, "PGS", _ MessageBoxButto ...Show All

  • SQL Server Error on Attaching Database

    When attaching a database that was detached from another SQL Server instance. I got the error message below: Error 602: Could not find row in sysindexes for database ID 25, object ID 1, index ID 1. Run DBCC CHECKTABLE on sysindexes.  i am using SQL Server 2000 Thanks and Regards Database compatibility has little to do with the changes in meta data. dbcmptlevel is set to allow sql2k5 to run the database at the current or lower settings. This issue is very much not isolated. It's the same if you take a Mpeg4 file and try to play it with a Mpeg2 player. It just doesn't work. ...Show All

  • Visual Studio 2008 (Pre-release) XML-RPC with WCF

    My companie have some XML-RPC Services. How I can comunicate with this protocole with Windows Communication Fondation For the search engine's (and the readers') benefit: http://blogs.msdn.com/clemensv/archive/2007/08/21/xml-rpc-with-wcf.aspx ...Show All

  • SQL Server SQL 2005 Developer on XP Pro SP2 incurrs locks and timeouts on 80% of queries

    I am running SQL Server 2005 Developer Edition on a new Core Duo XP Pro SP2 laptop. Approximately 80% of the queries sent to the server result in a deadlock situation after 2-3 minutes, reporting back that a timeout limit has exceeded. I have tried to isolate when and on what queries this fails on; however, it is not specific to any particular databases, application, query/stored procedure, etc. It errors out on simple queries via ASP .NET 2.0 applications, from the SQL Server Management Studio when executing queries, and from console apps using the SQLClient objects from .NET. I'm not running outrageous queries, simple SELECT * FROM TABLE1 cause problems sometimes. My knowledge of SQL Server is a bit limited, and I don't even know where t ...Show All

  • Windows Networking Development Problem with QOSAddSocketToFlow

    I have a problem with Vista OS build 5536 and Vista windows SDK 6.0.5472.2.1.WindowsSDK_Vista_idw.DVD.Rel.img With such version, the QOSAddSocketToFlow returns an error code ERROR_NOT_FOUND, which says that Invalid FlowID specified. Howeve, I set the parameter Flowid with 0 as the API domument described. Thanks for any help... I have a problem with Vista OS build 6000 and Vista windows SDK 6.0. With such version, the QOSAddSocketToFlow returns an error code which says ELEMENT NOT FOUND, Thanks for any help. ...Show All

  • Windows Live Developer Forums Newbie question

    I am really new to Virtual Earth. I have used the control and have even partially implemented it on our corporate intranet. My question is, we have several locations throughout the United States and each location can be a certain type of location. Is there a way to populate pushpins based on locations in a dataset (or XML file) and then color those individiual pushpins based on the location's type. Further down the road, I would like to implement selection of two or more locations and showing the distance between them. I also would like to include a notepad with links to turn on and off location types. What I need to know is if this is all possible using Virtual Earth Thanks. Virtual Earth is very f ...Show All

  • .NET Development SqlDataAdapter

    Microsoft documentation for DbDataAdapter.Update Method (DataRow[], DataTableMapping) says: When using Update , the order of execution is as follows: The values in the DataRow are moved to the parameter values. The OnRowUpdating event is raised. The command executes. If the command is set to FirstReturnedRecord , then the first returned result is placed in the DataRow . If there are output parameters, they are placed in the DataRow . The OnRowUpdated event is raised. AcceptChanges is called. Does Microsoft implementation of this method call AcceptChanges after step 3 if the row to be updated is DataRowState.Added (a new row) This can be easily verified using an RowUpdated even ...Show All

©2008 Software Development Network