imyousuf's Q&A profile
Visual Studio Team System TF Power Toy utility for RC?
Do I need to get an updated version of TFPT If so where do I get it Yes, the RC requires an updated version of the power toys. Unfortunately, they have not yet been released. See this thread for a little more info: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=263119 -Chad ...Show All
Visual C# Masked TextBox
In masked text box I have set it to Phone number format like ( ) - [ ] ie.. 3+3+4+5. Now I want to validate the field. anyway It won't allow characters. But say if the input is (321)545-5__ [_____] then this is an invalid phone no. as atleast he should give in 3+3+4 format to have the correct phone number. How should I validate this individually...plz suggest me a solution. Use a regex pattern to validate the input, for a pho ...Show All
Visual Studio Team System Code Profiling for ASP.NET application
Hi: I have looked through this forum and ASP.NET forum and could not find the solution. SO I just ask my question here. I had a file system ASP.NET application, run in http://localhost:1351/MyAspApp . I wanted to use code profiling to test the performance, so I followed the MSDN Library to set the performance session through Performance wizard. However, after launching the performance session, I got the following message: Launch Error: ...Show All
Windows Forms DateTime in Datagrid
Hi there, i fill a datatable with a stored procedure and one of the fileds is a datetime datatype. But when the datatable is linked with the datagrid only the date (01-02-2005) is displayed. I want the time also in the datagrid. It is&nbs ...Show All
Software Development for Windows Vista Changing activities Id's
Hi. I have an application that embedds the workflow. In some point of the application, I let the user change the activity Id through a custom form of mine, but that seems to generate a problem. When the user changes the Id, and then drags another activity of the same type to the workflow, it throws an exception saying that the activity already exists. The code that I write to change the activity ID is quite simple: activity.ID = "someNewID" ...Show All
Visual Studio Express Editions Strange behaviour retrieving field from Access DB
Hi all, I'm retrieving a field from an access db (mdb file). This field is an int32 autoincremently. After read this data I put it in a combobox. The strange situation is this: when I look the list of combobox I don't see the number in sequential order, but first 1827 is correct, next one is 2005. After some range starts again 1828 until 2005. (Number goes until 6859) I don't understand why this could happen. I thought the problem could be some ...Show All
.NET Development Problem copying dataset from one Database to another
Hello, I m trying following code to copy a dataset created from one database to another database. Code runs errorless but data doesn't update in another database. Where am i going wrong Please help private void Page_Load( object sender, System.EventArgs e) { this .insertDataR(); } //This function returns Dataset public DataSet getDataR() //return Data Set { string conStr= ...Show All
Visual Basic .application File cannot be found
Hello, I have a very simple application that I am trying to publish to a Windows 2005 server. During my testing, I sucessfully published my application using ClickOnce to my local IIS. I noticed two things that VS2005 did during the publishing process: 1. It created a folder with my current version of the application & four files (publish.htm, setup.exe, MyApp.application , and MyApp_1_0_0_0.application). 2. It cre ...Show All
Smart Device Development How to update dialog title in mobile 5.0
Hi! all, We want to dynamical change dialog title in mobile 5.0. We use InvalidateRect() or UpdateWindows(), It seems doesn't work. Does anyone know how to dynamic change title. Please kindly help us. Thanks. Actually, we think the title has been update, but cannot be shown before we open other dialog. So we think our problem is cannot show the new dialog title immedialtly after we change data, not the dialog title cannot be chan ...Show All
.NET Development Deep Cloning
What is the best (or should I say easiest) way of producing a deep clone Thanks. Copy and paste is considered to be relativly easy. http://www.codeproject.com/csharp/cloneimpl_class.asp If you need to have high performance I would probably recommend implementing the ICloneable interface but write your own Clone method for every object that needs to be cloned. This way you do not depend on reflection to find things out for you, the cl ...Show All
SQL Server How to use sp_addlogin
Hi all, I want to add a windows user login which looks like: MachineName\UserName, however back slash "\" is not allowed in ap_addlogin. With UserName only, the privileges are not granted correctly as far as I tested. How can I walk around Any ideas I use SQL express. Br, XZ I don't know what documentation comes with SQL Express, but if it is that limited to not cover ...Show All
.NET Development SQL Connection as a differnt user
I'm using visual studio 2005 and SQL 2000, trying to connect to a sql database as a differnent user. Here is my current connection string that is using my own NT login: Dim message As String = "Data Source=" + Me.ComboBox1.Text.ToString() + ";Initial Catalog=Store;Integrated Security=SSPI" Dim sql As New SqlClient.SqlConnection(message) sql .Open() I have access to this database and the connection ...Show All
Visual Studio Team System Updating Assembly Version Information
Hello, I am looking for a way to automatically update the version information for all projects in a TFS Build. I have downloaded the AssemblyInfoTask from GotDotNet to take a look at it. Although it works fine for local builds I'm not sure how to use it with TeamBuild - or if it can even be used with TeamBuild. Since the AssemblyInfo.vb (or .cs) file has to be checked out first I'm not sure how to implement this in a TeamBuild ...Show All
Visual Studio Tools for Office can I have a macro with VSTO?
Is it possible in VSTO to have a macro with a keypress event and then have that call a function to execute code For example, can I have a macro behind the 'w' key, and everytime it is pushed I execute code I've been searching around online for a while but can't find anything. I've looked at the VSTO book too and nothing is in there about it. I found this link: http://groups.google.com/group/microsoft.public.office.de ...Show All
Visual Basic custom drawn controls
I would like to know if there is tutorial or a class or something that can teach me how I can custom draw a control to a shape and/or using a pic to make the control more lively. Thanls! See the "Create a Shaped Control" example on my site: http://www.dotnetrix.co.uk/custom.html ...Show All
