Software Development Network Logo
  • VS Express Editions
  • Smart Device
  • Windows Forms
  • Visual C++
  • Game Technologies
  • Visual FoxPro
  • Visual Basic
  • .NET Development
  • VS Team System
  • Microsoft ISV
  • Windows Live
  • Windows Vista
  • Visual Studio
  • Visual J#
  • Architecture

Software Development Network >> Michael McCarthy's Q&A profile

Michael McCarthy

Member List

Sealed
supermsd
Kushal
Travis Baseflug
Alan Jackson
Daniel Lukiw
Tanmay D
vikasamin
DarshanSingh
Koldark
Jerry Griffiths
Morten Teinum
jumpin jack
Johan N
Origamime
Chaman Zinga
youngDev
Nithi Govin
Mathew84
BustaR
Only Title

Michael McCarthy's Q&A profile

  • Visual Studio Team System Share your TFS experience on Geographically Dispersed Locations

    Plz share your experience using TFS on geographically dispersed locations mentioning following parameters like - With/without TFS proxy - Infrastructure (LAN/VPN/Domains) - Bandwidth on both sites - Project size (quantity/Weight) - # of users - Performance with respect to time n working I'm sure it'll help lot of audience implementing or have plans to implement TFS remotely. Regards faraz Hello Faraz, we do have a geographically dispersed configuration and you can get some info and figures from Brian's blog ...Show All

  • Windows Forms dropdrown menu in toolbar

    hi guys, i (newb) create toolbar with contextmenu inside using coding and this toolbar change acording to treeview that user selected, like this code Dim Tnode As TreeNode, intno As Int16 = 0                 For Each Tnode In e.Node.Nodes                     TBar1.Buttons.Add(Tnode.Text)                     TBar1.Buttons(intno).ToolTipText = Tnode.Text     & ...Show All

  • Windows Forms How to set values in grid cells programmatically?

    I wonder I cannot find a way to do it... I think this should be a very common task. What I need - a kind of calculated columns. A user enters values in a row of datagrid. I want some cells to be calculated automatically, based on already entered columns. Ideally - in some cases - this automatically calculated columns may be overwritten by&nbs ...Show All

  • Visual C# Retrieving NT Group data

    I am trying to write a C# module to look at a directory and extract the NT Group name and permissions. Any ideas Thanks, Rhonda Using v1.x you have to use unmanaged code and the Security API. It is neither pretty nor easy. In v2.0 you can use the GetAccessControl method on the DirectoryInfo object (or any securable object for that matter). Combining that with the SecurityIdentifier and NTAccount classes gives you the ability to enumerate and view (and optionally change) the security on securable objects. Here is some code that dumps the rights of an arbitrary directory. If you want just the grou ...Show All

  • Smart Device Development MDE: Bug in restarting?

    This happens here: 1. Start Pocket PC 2003 SE emulator 2. Start ActiveSync 3. Start Device Emulator Manager. 4. Change Pocket PC 2003 to Cradle in DEM. 5. Close emulator. 6. Close DEM. 7. Start Pocket PC 2003 SE emulator again. 8. Start DEM. The Pocket PC 2003 option does not show up in DEM. A reboot cures the problem. Can you confirm which version of the emulator you are using either the standalone version of the device emulator or the emulator performance patch version This issue does not happen with the current builds of the Device Emulator Manager.  In the meantime, I suggest that you use the " ...Show All

  • .NET Development Connection must be opened for this operation ERROR

    Dim cn As New Oracle.DataAccess.Client.OracleConnection( "Data Source=server;User ID=test;Password=test;" ) cn.Open() Try Dim sqlstr As String sqlstr = "select * from ash" Dim cmd As New Oracle.DataAccess.Client.OracleCommand(sqlstr, cn) Dim dr As New OracleDataAdapter dr.SelectCommand = cmd Dim ds As New DataSet dr.Fill(ds, "test" ) DataGridView2.DataSource = ds Catch ex As Exception Throw ex End Try When i run this it always give me the connection must be open for this operation. How do i solve this. Let me kno ...Show All

  • Visual Basic how to set release configuration in VB express

    Hi, Anyone know how to set release configuration in VB express i can't find the build option specify by msdn. Go to the "Tools | Options" menu. Under the "Projects and Solutions" tree node, select the "General" node. There should be an option to "Show advanced build configurations". Check that box and click ok. Now, right click your project file in the "Solution Explorer" pane. On the "debug" tab, you can select the build configuration you want. Hope this helps. ...Show All

  • .NET Development Assembly resolution in ApplicationManager CreateObject

    I am trying to create an object using the ApplicationManager.CreateObject static method and it looks like the GAC is the only place it is looking for the Type being asked for. Apparently the Assembly dll being in the same folder as the code executing the call doesn't do the trick. Is there a way to create an object using this method without being forced to put the Assembly containing the Type in the GAC Where is the ApplicationManager class defined   A quick scan of MSDN doesn't turn up anything -- what assembly does the type live in -Shawn ...Show All

  • Visual C# specify the runtime version in Visual C# .NET

    Hallo Community, i read this here in online msdn: thi si for Visual Studio .Net 2003 and i need it for VS.Net 2005: Specifying the Runtime Version for an Application To specify the runtime version in Visual Basic .NET Select the project in Solution Explorer. On the Project menu, choose Properties . In the Property Pages dialog box, select the Build node and click the Change button. In the .NET Framework Version dialog box, select a version option and click Update . To specify the runtime version in Visual C# .NET Select the project in the Solution Explorer. On the Project menu, choose Properties . In the Property Pages d ...Show All

  • Visual Basic Compiler sending back null exceptions

    In my Try Catch, sometimes the exception returned looks like it is a NULL or space (I can't really tell, just that when I print it out in a MsgBox, it is blank sometimes which causes problems later) sometimes. how can I check the exception for length or something then if it's null, replace that blank exception with some sort of text i I have to pass the execption to my email function and my email function cannot take a null like this...so I need to convert it to a valid string if it is null or blank like this first that is the CLR returing the ex as exception correct string.isnullorempty is what will check if the string has anything ...Show All

  • Visual Studio Team System Where is information of SMTP server located in Beta2

    Hi there,    Our SMTP server has been migrated and I need to change the smtp server for VSTS beta2 server. I could not find this information in any file stored, in VSTS UI or even in registry. How do I change this, so that we start getting mail alerts for our work Items Thanks, Anu For beta 2, see Keren's post. http://forums.microsoft.com/msdn/ShowPost.aspx PostID=13879 For beta 3, see the following. http://forums.microsoft.com/msdn/ShowPost.aspx PostID=100475 Buck ...Show All

  • Visual C# How to reference GAC assemblies using VS2005- how funny is this.

    I've just discovered how I add a reference to an assembly in the GAC from a C# solution using VS2005. I find it rather incredible that it is this difficult to do. And I really don't think I've missed anything here. 1. Go into Registry and disable the GAC cache viewer: HKLM\SOFTWARE\Microsoft\Fusion, DisableCacheViewer- set to non zero. You have to do this as the cache viewer prevents you from copying assemblies out from the GAC. 2. Go into the GAC folder and copy the assemblies you want to reference to somewhere else on your machine. 3. Add the reference from your solution by browsing to the copy of ...Show All

  • Windows Forms Data Entry Validation

    How can I validate a textbox to make sure the user will only type numbers  Do I still need to check the ASCII of each keypressed  Thanks Sam Optionally of you are using C# you can try something like public bool IsValidTextBoxData(){     string number = textbox.Text.Trim();          try {         Int32.Parse(numbe ...Show All

  • .NET Development Cached variables vs Select command

    Hello All; Is it possible to perform SELECT STATEMENTS using cached variables instead of opening the Db file in every Web page . The SELECT statement requires the connection string at the end of the SELECT statement like the following: adptBoxes = New OleDbDataAdapter("SELECT * FROM tblBoxes WHERE BoxID= + '" + _ txtFind.Text + "'", dbConnection) Thanks alot The ADO.Net data Access level does not support caching. Instead caching is supported at the IIS/Web Service level or using ASP.Net's Cache object if you are using ASP.Net. Window forms caching can be done using the Enterprise library Caching framework (http://www.devx.com/dotne ...Show All

  • Visual Basic Photo Matching Database

    User selects a picture and querys the database for a match. How do I write the Code for this SELECT id, image, description FROM pictures [database] WHERE image EQUALS picturebox1.image I am concerned that the "image" format stored in the db will not match  picturebox1.image and that I probably will have to convert picturebox1 into a binary array to match the format already in the database.  Furthermore, I might have to compare byte for byte for both image.  This would be too slow. I need the best (speed) way to match an picturebox with a stored image in the database.  Thanks. ...Show All

©2008 Software Development Network