Bistesh's Q&A profile
Visual Studio 2008 (Pre-release) How to pass an observablecollection to the client?
I have an operationcontract which returns a collection say observablecollection<Product>. But when I generate the proxy on client, I get Product[] instead of observablecollection. So, is there any convient way to avoid that Hi, I after a lot of trail and error I run into this post http://steve.emxsoftware.com/Indigo-WCF/HowDoIGetSvcutilToUseGenericListsForProxies When applied to WPF OC you need to use /rct:System.Collecti ...Show All
Visual Studio Express Editions How do I: Modify Published Project
I can't figure out how to design / make changes to the code / form after I've published it. How can I go back and make changes I can't "view" the form any more. I can't add any objects or modify any of my code. I've saved the project using the "Save All" feature and published my application to CD. Now I want to go back and make cosmetic changes and code changes - however, I can't figure out how to bring up the de ...Show All
Visual Studio Express Editions GACUTIL
=== Edited by AdeptBlue @ 19 Jan 2006 4:04 AM UTC=== Me again ... I think this is a bug in VS2005 Express ! I just added my DLL to GAC manually without any problem. (Don't ask why I didn't try that before -- sometimes I am so dumb I scare myself) Will the VS205 team pick up this bug report here or should I post it some other way (Maybe a silly question, but I'm a newbie) ====================================== OK ... I adm ...Show All
Visual Studio Express Editions Beta 2 inherits
Hello, I was using the following for my codebehind with VW Developer Beta1: Imports System Imports System.Web Imports System.Web.UI Imports System.Web.UI.WebControls Imports System.Web.UI.WebControls.ImageButton Imports System.Data Imports System.Data.OLEDB Imports System.Web.Mail Partial Class default_aspx When I created a new page, I got the following. Partial Class default_aspx Inherits System.Web.UI.Page I read the articl ...Show All
.NET Development Multithreading on database server side
Hi, should I take a care of threading synchronization when accessing the database I mean, what happens if one thread executes SELECT and the other one DROP at the same time What about transactions If I have transaction, some DROP and DELETEs within it, isn't it possible that both fails if executed parallely Thanks. The database is designed to handle all this for you. Think about it. There is no difference in h ...Show All
Windows Forms currentCellCanged question
Hey Everyone. I've been programming for awhile, but I've recently started to use the .NET framework and I'm still getting used to things. I have a question about the CurrentCellChanged event for a dataGrid. When coding events for text boxes and combo-boxes, I ...Show All
Visual Studio Team System Using VS2005 (beta 2) with custom rules
Hi, I'm trying to integrate custom FxCop rules using the Code Analysis capabilities of VS2005 beta 2 and I'm hitting some problems :( I've written a very simple custom rule which loads and runs OK under the stand-alone version of FxCop 1.32 I've then changed the FxCop and Cci references (and imports) to hook up to the integrated version of FxCop (SDK under "Team Tools") so I can load the rule for use in the IDE but that ...Show All
SQL Server TransferSQLServerObjectsTask
To whom this my concern: I have an issue with the TransferSQLServerObjectsTask in SQL Server 2005 SSIS. I have a situation where I don't know the name of the table I need to copy until runtime. I know I can specify tables at design time but this doesn't help me. Relative to the TransferSQLServerObjectsTask, how can I... 1) Clear the TablesList collection at runtime... and 2) Add a table name to the TablesList collection at ...Show All
Smart Device Development RDA
Is it RDA only use for pulling the data from sql server to the sql server mobile can RDA pull data directly from sql server then directly display on the mobile screen You can use SQLClient in CF.Net to access data from a SQL Server without need a SQLCE database. You could also use webservices and call them from the device to display you data. Webservices are good if you need to log whats happening ...Show All
Visual Basic System.Drawing.Image.FromStream (objMemoryStream).....exception - Invalid parameter used
G'day, I've been working on some code that extracts SQL server Image fields to Byte() arrays then converts them, via this little function, to a System.Drawing.Image. I use a collection of images through out the entire application. Now this has been passing in Nunit tests until the 12th July 2005. Now it fails. Where do I begin to solve a problem like this Public Function ConvertTo( ByVal ImageArray As ...Show All
Visual C# Sending Email using C#
Hi .. does anyone know how to send email through C# in both web forms and window forms Thanks .. Hi - Please also see this thread. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=717&SiteID=1 HTH, Karen ...Show All
Visual C# Operator '&&' cannot be applied to operands of type 'string' and 'string'
I'm totally new to C# so your help is much appreciated. Here's what I have. string strSummary; if(txtPhnNumber.Text != "" ){ strSummary += "\nPhone Number: " && txtPhnNumber.Text; } The error comes back saying, " Operator '&&' cannot be applied to operands of type 'string' and 'string' " whe rebuilding the site. I'm using Visual Web Developer Express edition. ...Show All
Visual Studio 2008 (Pre-release) Hex color to color string
hello, i have a hexadecimal code which i want to convert to equivalent color string. how can i convert it please help me. for example: i have a hexa code like "#0 ...Show All
Visual Studio Any known issues while using VS2003 & VS2005 side by side with VSS6 ?
Situation: My development team is currently using VS2003 for an ASP.NET 1.1 project. We are also using VSS6 to store our code. We are looking at using VS2005 for our current project but this is not definite yet. I know that we can keep using the 1.1 framework while developing in VS2005, and in fact we may do that for a couple more months or so, until we start our new app in 2.0 I would like to know if there would be any problems with our ...Show All
Visual Studio Team System Using TFSSECURITY.EXE - FATAL ERROR: The Identity cannot be resolved
I am currently running the Beta3 Refresh of Team Foundation Server. I am trying to use TFSSecurity.exe to set the security permissions for a particular application group. According to the documentation, you should use the following switches: tfssecurity.exe ObjectID ActionID Identity {ALLOW | DENY} ObjectID I assume is the project I want to add the permissions on. ActionID is the permission I want to allow or deny. Ide ...Show All
