Xcel's Q&A profile
SQL Server Error during merge web sync
Hello, We have 5 subscribers trying to replicate via web synchronization. Two of the subscribers get the following message and the other three are fine. Any ideas on what the problem is or where to troubleshoot Thanks in advance. John Error on client output: The format of a message during Web synchronization was invalid. Ensure that replication components are properly configured at the Web server. Mahesh, This is a web server box that only has two virtual directories. Both are used for replication. One for sqlexpress replication and the other for WM 5.0 devices. We get successes from both sqlexpressurl/replisapi.dll diag and wm50url/sqlcesa30.dll diag, with the exc ...Show All
Windows Forms Splash Screen/Message Box Issue
I have a Windows App written in Visual Studio 2005. I start the app by displaying a splash screen until the main form loads. Well as soon as the main form loads and the splash screen is gone I want to display a message box to the end user about updates to the program. I have tried several ways but it always seems to make the program hang on the splash screen. I would appreciate any help! Nikki I'm a bit confused! :-) you had stated that the splash screen hangs/app hangs when its about to show the messagebox - is this not the case How are you showing the splash screen and how are you showing/running the main form ...Show All
.NET Development XML Serialization of Custom Classes and Web Services
Hi All. I am stucked with xml serialization. I am having one custom class and one Web service which is having one web method to return instance of my custom class. But when proxy class is created for my web service, properties of my custom class are not exposed as properties but are exposed as fields. My custom class looks like this: <Serializable()> _ Public Class Trade public m_TradeId as integer public m_TradeName as string Public Property TradeId() as integer get() Set() End Property Public Property TradeName() as string Get() Set() End Property This class instance is returned through Web service web method. But the proxy which is generated for the webservice is not exposing Propert ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Animation for interesting 2D Games
Hi guys, I think all of u guys r interested in making 2D games. As i am new to XNA 1.0, so lets tell me that how i can load the map for my new called "Gloom". I have made all the textures including character, trees etc. now that i want to know is to load my level (Town1) beautifully on the screen. but how You might want to start with this tutorial: http://www.xnaresources.com/pages.asp pageid=8 ...Show All
Visual Basic error message
can any body tell me why i get a message come on screen, on input power. it can come up arfter 5minutes or 5hrs.there are no lose leads,i have checked them all,,,,,,,,,,, help please mick10 I'm sorry mick, but these forums are for asking questions regarding .NET programming. For your problem try asking your question over at communities: www.microsoft.com/communities ...Show All
Visual Studio 2008 (Pre-release) IsOptional Datamember?
I see that there is an 'IsOptional' attribute to the [Datamember] custom attribute. From the documentation this seems primarily targeted to versioning. I would like to have an optional member in the same sense that is defined in an XSD schema. When the member is defined as being 'optional' one can specify the default value for the member. Is there something equivalent for a data contract For example if there is a string member called 'name' and if it is not specified I would like not only for an exception not to be raised but I would like the default to be 'foo'. Thank you. A very brief overview. When the schema is imported it seems that it is imported as if xsd.exe was called on the given schemas a ...Show All
.NET Development How to capture the domain name of a requesting website in .net code-behind
How do I capture the domain name of a requesting website using vb.net code behind Example, WebsiteA code-behind redirects a response to websiteB. In websiteB VB codebehind , is there a way to capture the domain name of websiteA, e.g. www.websiteA Is there a http class that can provide this property thanks.... If a user is redirected from another site, you can get the redirector from the HTTP_Referer header Request.ServerVariables["HTTP_REFERER"] ...Show All
SQL Server Advice???
hellooo I have an Accounting system(vb.net 2003, SQL server 2000), every new year data is cleared, but i may use some data from previous years (such as liabilities) whats the best way to that -Shall I create programmatically a new clone DB every year (new DB with same structure as previous year) OR -Shall I add a "year field" for tables in DB knowing that data will keep growing every year whats the best solution, knowing that i dont want the end user of my application to do anything manually, such as creating DB ...... Thank you Hi, as you did not mention which edition of SQL Server you are using, you should take a look at partitioning. Vertical Partitioning will help y ...Show All
Visual Studio VS 2005 Pro SQL Version
Which Edition of SQL comes with VS 2005 Pro The VS 2005 Product Comparison shows it coming with SQL Server Developer Edition (which is what I need). But the Trial version I downloaded came with SQL Server Express, which doesn't include any of the BI tools I need. The product comparison here is incorrect then: http://msdn.microsoft.com/vstudio/products/compare ...Show All
Visual Studio Team System Sharepoint Services 3.0
What's going to happen to my TFS machine if I just upgraded the current WSS installation to v3.0 Thanks, Sammy I have had tried to install TFS together with WSS 3.0, but it failed. I was told from Redmond that TFS cann't not work on WSS 3.0 now. But some related Orcas bugs about WSS are in fixing recently. ...Show All
SQL Server how to implement unique key on multiple field
hello guys, I have one table which is using to keep 10 difference type of serial number (that mean i got 10 column in the table). Is there any way to do unique key checking (individually, not combine) on these 10 serial number without sacrify the performance thank you. Sure, i you wnt to check them only per column you can put a UNIQUE Constraint on those columns, that will check like the primary key for uniqueness. HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio 2008 (Pre-release) ZIndex not always respected
Hi, It seems I hit some edge of WPF in one of my user controls, since WPF does not always render my visual tree as it should (specifically - it sometimes "forgets" to respect ZIndex). The control I am talking is a viewer of very large images. Upon startup, it is provided with a "thumbnail" image (in usual screen size) and thousands of "tiles" - small images which make together the whole image in various zoom levels. The workflow of the control is simple (I left out parts unrelated to this msg's subject): user changes zoom level or position thumbnail image is brought to foreground (zindex higher than zindex of tiles) to cover changes to tiles which are goint to happen all tiles which are needed no more are re ...Show All
.NET Development Insert Values from file into Sql Server
I have a C# program that needs to take a file and update a sql server table with the values that are held in the file. I really don't know the best way to go about this. The program use to pull from a database and then make an xml file to ftp to an server, but now there is another step that I have to do that gets some new values that I have to put into the table before making my xml file. Should I load these new values from the file into a dataset or something and then upload to the table...is this even possible Has anyone had to do something similar to this or have an idea The file is a csv file if that matters...Thanks! You could use ADO to run updates on the table. I ...Show All
Windows Forms Casing Problem
I am using the following command to get a record count from a stored procedure: int recCount = (int)cmd.ExecuteScalar(); Everything is fine until the command returns no values and returns a Null, at which point I get a cast error. Is there a neat way around this it's not really neat but you have to get the object first and verify if it's null or not. object ret = cmd.ExecuteScalar(); int recCount = 0; if (ret == null){ recCount = (int)ret ; } ...Show All
Visual Studio Team System Using VSTS for version controlling non-VS code
I'm looking for guidance or pointers on best practices for using VSTS to version control non-Visual Studio code files. The company I work for is moving to VSTS for *all* of our code base. In particular, I need to find the best approach to version controlling a folder that contains many files, but only promote (branch / merge) selected files within that folder forward as needed. For example if I have a folder F1 with objects O1, O2, O3, ... O99. When we make a change, only objects O3, O9, and O72 might change and be checked in as a new changeset, and those 3 objects are *all* we want to promote forward. I am looking for the easiest way to label and promote (merge) those three objects from our development branch to a QA branch, and ev ...Show All
