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

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

PaulGauthier

Member List

_keith
Kishore M N
Steve010010101111101010011111111
Mohammed Essayed
XiaoFaye
Samya
WolframW
Georgette Gibson
Jayson Go - Old Account
Erik Sharp
Mark Peterson
bibifokk
Ikram Shaikh
Asok Babu
Scott Glass
*jsd*
Igal Chariski
Mark Dorey
fragglefeet
Russell Lanning
Only Title

PaulGauthier's Q&A profile

  • Visual C# Context menu question

    Hello   Hope its the right place for this question.   I have a win app that contains a treeview and a main window. When ever I click a node in the tree it displays the content of the node in the main window. I would like to add a right click menu to the tree. The problem is that the menu may change from one node to another . What is the best way to handle this subject Is there a pattern I can use On every right click I need to know which menu to load and to bind the items to the proper functions   Thanks Avi I can suggest one possible design to this. It seems ...Show All

  • .NET Development Could not able to create Web App Proj.

    Hi, When I try to create new WebApp.(c#), I am getting the following error Visual Studio could not identify the version of ASP.net on the web server. the webserver reported the folowing error when attempting to create or open the web project located at the following URL:'http://localhost/WebApplication1'. 'HTTP/1.1 401 Access Denied'. Can any one help me on this. Thanks, Pradeep Nulu Hi Cgraus, ya, I installed .Net after IIS and ran aspnet_regiis with /i switch. In fact it was working fine previously. ...Show All

  • Visual Studio 2008 (Pre-release) Cannot set Image Source from IValueConverter?

    I'm trying to use an IValueConverter to pick an image to show. In this case, I have images of country flags that I want to show next to the country code. I also have a tooltip with the full country name. Here is the Xaml I'm using. This Xaml shows a hard-coded image name that works and another image whose source is set from the IValueConverter. The tooltip is also set via an IValueConverter and that works great:  <ControlTemplate x:Key="CountryCodeWithFlagTemplate">   <StackPanel Orientation="Horizontal"     ToolTip ="{TemplateBinding Property=ContentControl.Content,       ...Show All

  • .NET Development Thread.Abort can interrupt reference assignments?

    In a Usenet discussion regarding the evils of Thread.Abort, I was informed of a possible danger in the following scenario: IntPtr ptr = IntPtr.Zero; try {     ptr = Marshal.AllocHGlobal(100000); } finally {     if (ptr != IntPtr.Zero)         Marshal.FreeHGlobal(ptr); } Let's assume this code block runs in a thread that is subject to a ThreadAbortException.  Is it actually possible that this exception interrupts the assignemnt expression in the try block   That is, could AllocHGlobal have succeeded without having assigned its result to ptr That's a very nasty situati ...Show All

  • Visual Basic Connecting to a server

    im using the exportXML command in Microsoft Access 2003 to export a .xml file to my website. I have been experiementing with the exportXML command and have been able to export a table to a folder at my website. The problem is that before the table is exported i get a connect to website dialog box where you enter your server user name and password. Once submitted the .xml file is exported successfully. I would like to write some code that hides the connect to website dialog box and fills in the information automatically so users of my database dont see the connection. I have searched and search the net and are struggling to find exam ...Show All

  • Windows Forms Bug??? Guid Support

    Ok I have an issue, I want the datatable to behave the same way it does for autoinmerment of numeric auto ID columns. I want it to be able to auto set a GUID in place of a number. I want it to have this ablity built in so I don't have to do it in every UI that uses the table. Any idea's Ok, a follow up to this i ...Show All

  • Visual Studio Team System Welcome...!!!

    Javier Luna http://guydotnetxmlwebservices.blogspot.com/ ...Show All

  • .NET Development How to enter string with embedded empty double qoutes in the app.config file?

    Platform: .NET 1.1, Visual Studio 2003, C# I want to put the following element in the app.config file but I get a runtime error. <add key="ExcelOleDbConnectionString" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source={0};Extended Properties=""Excel 8.0;HDR=YES"""/> The error is : "This is an unexpected token. The expected token is 'NAME'. Line 25, position 119." Line 25 does refer to the element. Position 119 is the character 'i' in "position" I have tried escaping the embedded double quotes, but I then get the following error: "The '\' character, hexadecimal value 0x5c cannot begin with a name. Line 25, position 119." TIA Mark ...Show All

  • Visual Studio Team System Added new states, do I need to add new ref names?

    The MSF Agile comes with three states for work items: Active, Resolved, and Closed. In my custom template, I have changed these to In Analysis, In Development, Dev Complete, In QA, Passed QA, Closed. Now In order to track and report the full life cycle of a work item, do I need to add new fields and ref names The fields related to event dates defined in MSF Agile are State Change Date, Activated Date, Resolved Date, Closed Date. They seem to match the states so this leads me think I might need to define my own fields and the related ref names such as Dev Complete Date, Pased QA Date etc in order for the reports and queries to be accurate wh ...Show All

  • Visual C++ Changed the COM signatures....using ildasm.....

    Hi, I have a .exe COM which I used in .NET but some signatures got changed....so I opened it with ildasm and changed the signatures so that it should return something from the function....This is the error I'm getting now.... The runtime has encountered a fatal error. The address of the error was at 0x79e8aff6, on thread 0xb4. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack. Any Ideas.... Thanks, Harsimrat ...Show All

  • Visual Studio Nested Solution Folder Parent?

    I am creating an unbound reference. In my IsEnabledFor method I am trying to see if the current item is a SolutionFolder, and if so, if its parent is also a SolutionFolder with a specified name. For some reason, I can get to the logical parent of the current solution node, as it is in Solution Explorer. I can easily test if the target is a SolutionFolder, but the problem is testing its parent. Project project = (Project)target. - OK project.ParentProjectItem - yields a ProjectItem for the same node project.ParentProjectItem.Object - yields the same object (SolutionFolder)(project.Object) - yields the solution folder interface (SolutionFolder ...Show All

  • Windows Forms Row Colouring in DataGridView

    Hi, I have a requirement in which I have to set the background color of a row based on a particular cell value. The code is something like this Private Sub DataGridView1_CellFormatting(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellFormattingEventArgs) Handles DataGridView1.CellFormatting         If DataGridView1.Columns(e.ColumnIndex).Name = "RISK_TYPE" Then             If e.Value.ToString() = "High_Risk" Then                 DataGridView1.Rows(e.RowInde ...Show All

  • Software Development for Windows Vista Link error PlayWndASF MicroSoft Sample

    I can't compile PlayWndASF sample from DirectX 9 installation. Cam anybody give me WMStub.lib --------------------------------------------------------------------------------------- NOTE: To link and run this sample, you must install the Windows Media Format SDK 7.1.1. After downloading the Format SDK, you can extract a public version of the WMStub.LIB library, which should be copied to the Samples\C++\DirectShow\Common folder. This library is necessary for enabling Windows Media content. Without this library in the Common folder, the link will fail with: LNK1104: cannot open file '..\..\common\wmstub.lib' If you remove the WMStub.li ...Show All

  • Software Development for Windows Vista AV's cause access failures.

    Programs like Avast Av won't allow IE to access web pages. If you turn off the On Access control then you are fine. Don't know about other AV programs yet. TTFN. Yes, we are interested. You can follow the instructions in the "How to file a bug" link to report a bug. ...Show All

  • SQL Server Problem Attaching a database

    I've created a simple database using Visual Web Developer Express. I is located in "C:\Documents and Settings\Roman\My Documents\Visual Studio 2005\WebSites\NewSite\App_Data" Folder. When I try to attach this database using SQL SERVER Management Studio Express: it doesn't allow me to view the contents of "C:\Documents and Settings\Roman" Folder - it just won't expand any further!!!!! Anyone had a similar problem. I think it is some sort of a bug, maybe Please help! Thanx Michael Hi Michael, This is expected behavior. SQL Express runs as Network Service, which is a li ...Show All

©2008 Software Development Network