StevenR2's Q&A profile
Windows Forms DataGrid Click
I have a Customer information that is bound to a datagrid but I want to click the datagrid and show a form and it has that information in it is it way i can call a form from a data grid that has the information of the cell in the datagrid that i click on the form....basically i need to click the datarid cell and have my form show the information from that datagrid....can anyone help me out with that!!! thanks Well how do i get the value of data contained in a particular Row in a particular Column...I can get then number of the row and the number of the colum but how can i use the data within it...i am using 1.1 so no datagrid view....but this how i am getting it now and showing it in a messagebox....But i want to get the actual data t ...Show All
Smart Device Development How to convert a file (.x) to a file (.md3dm) for WM 5.0 SP?
Hello. For converting a file of the format (.x) to a file of the format (.md3dm) - (.Managed Direct3D Mobile) for WindowsMobile.DirectX, in "msdn2, Managed Direct3D Mobile Samples" there is the folder MeshConverter with the file MeshConverter.vb. In this file MeshConverter.vb (in project Visual Studio 2005, Visual Basic, Windows Application) in the method: Shared Sub Main (ByVal args() As String) ... End Sub converting occurs in line: convertMesh = Mesh.FromFile(args(), MeshFlags.Dynamic, _ device, exmat) How in this line in the 1-dimensional array args() to write down the file of the format (.x), for example, sphere.x, and after converting how to write down the received file of the format (.md3d ...Show All
Windows Forms Retrieving a TextBox value as a String
Hi All I've created a custom control in VC# 2005 but I need to set a property which can be retrieved when I use the control in my applications. The control is basically a series of buttons coded in a way that when one is clicked, the current value inside a text box is cleared and a new value is inserted. I need to be able to declare this value as a propery so that when the control is used in an app, I can access the value in the code somehow. How would I go about doing this Oh, and I have read the section in the MSDN Library on adding properties to Custom Controls, but it seems only to deal with integers and I couldn't figure out how to change the code to suit my needs. Thanks! You need to put a Property in the Custom Cont ...Show All
Visual Studio Express Editions Problems downloading Visual Basic/Visual C++
I recently restarted my system, which had visual basic 2005 express edition, and i downloaded it with no problems. However, when i restarted the system and tried to download Visual Basic or Visual C++(from http://download.microsoft.com/download/C/E/3/CE3EB81B-12FE-4503-A566-0E0F49E4A5ED/vbsetup.exe ), nothing happens. I mean, it is a completely blank screen, and no download dialog appears. I tried to right click-save as, but the file was an html file. When i viewed the source, it just shows the <html> and a couple of other tags, none download related. I have internet explorer 7 beta 3, and i downgraded to 6 and temporarily disabled pop-up blockers and firewalls, but it still didnt work. What could be the problem ...Show All
Architecture I want to know some good website for software architecture.
I want to know some good website for software architecture. thanks Depending on your level of expertise on architecture and your interests you may try the following web sites: http://www.skyscrapr.net/ http://www.msdn.com/architecture http://www.microsoft.com/architecture http://www.iasahome.org Hope this helps Regards ...Show All
Visual Studio Express Editions your sql server installation is eaither corupt or has been tampered with (could not open SQLEVN70.RLL)
i have tried un installing it and re-installing it over and over and there is no change! please help me! I found this post on another forum. Can you see if this helps http://www.experts-exchange.com/Applications/MS_Office/Q_21754121.html ...Show All
Windows Forms Creating install packages for clients without .NET framework
I have only ever done Web Application development, so with that being said: If I create a Windows Application and compile it into some installation package and give it to someone who does not have the .NET framework installed on their system, will it automatically install it for them, or simply error out and tell them they need the .NET framework Is there a way to wrap up the .NET installation with the installation of my Windows Application Thread moved to the appropriate forum to answer your question: you need to have the .NET Framework installed (the appropriate version depending on which version your app was developed in). If it is not installed, it will not run. You can create a setup ...Show All
Visual C++ Bugs Bugs Bugs
VS2005 is a absolute joke when it come to developing in c++, it is riddled in bugs. Many of which are driving me crazy. I spent £220 of this product, and it is ***. How can I go about getting my money back Then I will go back to developing in Vc++6, the last decent product for c++ developement. Many Thanks Agreed. You've trained yourself to VC6 and don't appear to be seeing the advantages of VC8. Pick a couple of the worst bugs you're experiencing. We'll try to help resolve them, and maybe you can get a better feel of its true quality. Brian ...Show All
Visual Studio 2008 (Pre-release) Definition of PrimarySelectionAdornerProvider
Hi, I have read the article at http://blogs.msdn.com/subhagpo/archive/2006/06/15/633663.aspx and have take a look at PrimarySelectionAdornerProvider and the Extension but I do not find where this class are defined. I have installed the Cider June ctp with VS 2005. What is the assembly to reference and the namespace for use this classes -- Andrea PrimarySelectionAdornerProvider is defined in PresentationDesignFramework.dll in the System.Windows.Design.Adorners namespace. ExtensionAttribute is defined in PresentationDesignCore.dll in the System.Windows.Design.Extensions namespace. For more Cider articles, you can also take a look at Jim Nakashima's blog at http://blogs.msdn.com/jnak/ ...Show All
Windows Forms DGVCheckboxColumn and CellFormatting event handler
In .NET 2.0, I am being provided a DataTable with a Boolean column "Inactive". In my DataGridView I tried handling the CellFormatting event and setting e.Value = Not e.Value. This has NO affect on the checkboxes being displayed. Does anyone know why modifying the e.Value property of the Formatting Event Args object has no affect on the CheckBox that gets displayed in a cell I am try to get around having to add an Expression Column to the shared DataTable that is being referenced. If I use an expression column, I would use "Not Inactive" to generate my Active column. I really don't want to do this. Any other ideas, workarounds... Thanks, Nate. ...Show All
Visual Studio 2008 (Pre-release) Add the Workflow InstanceID as SOAP Header to outgoing SOAP Messages
I am using WCF for Web Services Invocation and WF for Services composition. Could you please advice what are possible/best ways to add the Workflow InstanceID as SOAP Header to outgoing SOAP Messages Basically I need to be able to easily correlate an incoming SOAP message with a particular WF instance. A monitoring component will be watching incoming messages and it might need to do some dynamic update to the destination WF instance. Any advice how best to achieve this is appreciate I want to achieve this as transparent as possible and hopefully through configuration. Thanks Karim i am assuming,your application architecture is like this Wf app+WCF proxy ------> WCF svc app in WCF,you can ...Show All
.NET Development UsernameTokenSecurity Exception: SecurityFault: The security token could not be authenticated or authorized
Hello, I'm trying to implement Direct Authentication with UsernameToken in WSE 3.0; I followed the sample avaible in Web Service Security pdf file (from Microsoft Pattern & Practices). I got this message when run the winform client application: Microsoft.Web.Services3.Security.SecurityFault: The security token could not be authenticated or authorized en Microsoft.Web.Services3.Security.Tokens.UsernameTokenManager.OnLogonUserFailed(UsernameToken token) en Microsoft.Web.Services3.Security.Tokens.UsernameTokenManager.AuthenticateToken(UsernameToken token) en Microsoft.Web.Services3.Security.Tokens.UsernameTokenManager.VerifyToken(SecurityToken token) en Microsoft.Web.Services3.Security.Tokens.SecurityTokenManager.LoadXmlSecurityToken ...Show All
Visual Studio Team System Custom Build Summary Report
I've followed the example at: http://blogs.msdn.com/aaronhallberg/archive/2006/08/29/730447.aspx to add custom build steps. Does anyone know if it's possible to add links in the build step message ...Show All
.NET Development stylesheet level xsl:param as path to xml document
I have the following: <xsl:param name="paramCcsMenuFile" select=""/> <xsl:variable name="CcsMenuFile" select="document($paramCcsMenuFile)"/> and am passing an xml file path to the xslprocessor using AddParameter My parameter value is being set OK, but CcsMenuFile seems to be empty. Are things happening in teh wrong order such that the variable value is set BEFORE the param is processed How can I debug this as I cant see how to pass a parm to the VS2005 XSLT debugger OR, if what I am doing is just wrong then what can I do as an alternative I was hoping to avoid some of the limitations of document(filename) by defining it as a variable - probably a forlorn hope Be ...Show All
Visual C# part of the alphabet
Is there a prewritten funtion that I can use to check if a string only contains the english alphabet You may be able to use regular expressions. Check this out: http://msdn2.microsoft.com/en-us/library/20bw873z.aspx ...Show All
