Software Development Network Logo
  • VS Team System
  • SQL Server
  • Visual Basic
  • IE Development
  • Game Technologies
  • SharePoint Products
  • Visual Studio
  • Windows Forms
  • Microsoft ISV
  • Visual C++
  • Windows Vista
  • Visual FoxPro
  • Audio and Video
  • Smart Devicet
  • Visual C#

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

djshades2004

Member List

TLentine
cmfairbank
Blazing Hornet
bitbonk
OniShiro
MeierLink
Prabagarane
NetPochi
Hanel O
manuel0081
mac85
MKyE
vijil
Markw2004
keith1
daveHassen
Shady9399
e. ogas
hali1
IceAngel89
Only Title

djshades2004's Q&A profile

  • Windows Forms DataGridViewComboBoxColumn selection

    Hi, I am developing a C# application in VS2005 and I've added a DataGridViewComboBoxColumn to a DataGridView in a form and set its DataSource, DisplayMembers and ValueMembers properties. When the form is loaded, the grid shows all bind and unbound columns data and it also fills the combo box with correct data, but the problem is that no item is selected in combobox. I have to click on the combo box to select an item. I'd be thankful if anybody guide me to solve this problem: How can I select an item in the combo box in the dataGridview programmatically Thanks in advance, Saeideh foreach ( DataGridViewRow r in dataGridView1.Rows){ foreach ( DataGridViewCell c in r.Ce ...Show All

  • SQL Server Attributes not visible in Cube when adding with AMO and Hierarchyenabled = false

    I need help with a big problem. I'm using AMO to add new Attributes to a Dimension and I have to use AttributeHierarchyEnabled property = false as Default. But then I'm never able again to see the Attribute in the Cube though I change with Visiual Studio the property to true. If use AttributeHierarchyEnabled = true all works fine. Dimension dim = mDataBase.Dimensions.GetByName(Attr.DimensionName); DimensionAttribute Attribute = dim.Attributes.FindByName(Attr.AttributeName); Attribute = new DimensionAttribute (); Attribute.Name = Attr.AttributeName; Attribute.ID = Attr.AttributeName; ... Attribute.AttributeHierarchyEnabled = true ; dim.Attributes.Add(Attribute); Thanks for any help. ...Show All

  • Visual Studio Express Editions How To Open Window In Internet Explorer When we click on link on any website

    I am developing application which downloads file from internet. I want to know that how to open a window in internet explorer in any website when user clicks on any link. Thanks in advance Regards Ketan Hi, Figo Fei Actually I am devloping application download manager, for faster downloading I am developing it in C#.NET. I want to get the link information at runtime. means after clicking any link in website i want to open a window which shows download information. I hope the idea will be clear Thanks in Advance Regards Ketan ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Alphablending 3D

    I know when doing alphablending you have to draw objects in order. I believe you must draw more distant objects first. I assume this distance from the camera. Can anyone point me in the right direction as far as implementing this Doing perfect depth sorting is near impossible for 3D games. You'll have to draw your mesh by subsets at any rate and it may well be that a subset (or even a triangle) is both in front and behind another subset. This doesn't mean alpha blending is bad, but just that there's no perfect solution that will make alpha blending 'just work'. Because depth sorting may be hard and inefficient to implement, a typical alternative is to use alpha testing instead if you only need opague/t ...Show All

  • Visual Studio 2008 (Pre-release) LINQ CompareWithBaseline ?

    In LinqToXsdDemo.XsdPrimer.Typed sample code, what does the following line do po.CompareWithBaseline( "XsdPrimer.xml" ); I can not find any documentation or Help on the function CompareWithBaseline anywhere. VSTS 2005 does not seem to be able to find the definition for it. This is not part of LINQ to XSD but an extension method defined in LinqToXsdDemoAssertions. It looks like it's for regression testing. I've used this trick myself :) Joe ...Show All

  • Software Development for Windows Vista Where to post questions not related to transactions

    Where to post questions not related to transactions This forum is dedicated to transactions technologies. If you have a question not related to transactions, please use the guide below to find a more suitable place where you can find an answer: For COM+ related questions use: microsoft.public.platformsdk.complus_mts newsgroup also available at http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.platformsdk.complus_mts&lang=en&cr=US For System.EnterpriseServices related questions use: microsoft.public.dotnet.framework.component_services newsgroup also available at http://www.microsoft.com/communities/newsgroups/en-us/default.aspx dg=microsoft.public.dotnet.framework.componen ...Show All

  • Windows Forms restrict Cell Navigation to certain column

    I have got a grid with CheckBoxColumn and TextBoxColumn. What I need is to restrict the cell navigation to TextBoxColumn field. Can any one help me. Reagrd Anil Well, I don't think you'd want it to be readonly if it's a checkbox. Obviously it's a checkbox for a reason and needs user input. I think what's being asked here is how to stop the user from selecting the cell using the TAB key, arrow keys, ENTER, etc... to move around the grid. Let me know if I'm on the right track. ...Show All

  • Visual Studio 2008 (Pre-release) Problem with MSDTC or WS-AT

    Hello dears I have 6 connected computers without a domain. A, B, C, D,E, F. "A" has a "XSrvc" and all remaining has "YSrvc" and consumer of "XSrvc". "XSrvc" is with BasicHttpBindings and "YSrvc" with "wsHttpBindings". All Six computers have Xp wiht Sp2 and WS-AT has been configured with same configuration and same certificates. now let me tell you the scenario. When Terminal "B" wants to make a transaction with Terminal "C" it consumes service of "A". "A" creates a TransactionScope and calls the service at "C" and Then Service at "B". but it thrown exception "MSDTC is unable to unmarshal the transacti ...Show All

  • Visual Studio Express Editions .NET FRAMEWORK AND STUDIO EXPRESS

    Hi All, I am trying to get my feet wet in these technologies, so I downloaded .Net Framework 2 and the SDK. When I tried to download VB Studio Express, SQL Studio Express and the WEB Developer, I was told to uninstall .Net Framework first. I had assumed that I needed these Studio Express programs if I was going to develop database programs on the web. Can you please explain what I am doing wrong or how I should go about my mission What I have seen is that this is a problem with the wording of the text... You need to uninstall any previous versions of the framework and express products, This actually means that you need to remove any of the Beta, CTP, or RC versions of the systems...... Not the R ...Show All

  • Visual C++ Runtime access violation due to automatic conversion to std::auto_ptr_ref.

    I have a problem with a class foo, which contains a member std::auto_ptr<derived>, where derived extends class base. The problem arises when I try to assign a 'newed' pointer to an object of type derived to the (previously uninitialized) std::auto_ptr<derived> member, then dereference the auto_ptr with operator->, and via its init method, call one of the virtual function members of class base: #include "base.h" #include <memory> class derived : public base{ public: void init(someargs) { assert(!base::isnull()); /*crashes here, apparently because of jump to invalid address*/ } }; class foo{ public: foo(){} void init(){ m_derived = new derived(args); //compiles with no warnings at level 4. m_de ...Show All

  • Visual Studio 2008 (Pre-release) How to collapse databound TextBlock

    Hello, I'd like to set the "Visibility" property of a databound TextBlock based on whether there is any content or not. In the following example, there is an empty XML element < Department > , so the TextBlock in row 2 should be collapsed. What is the simplest way to do this What is the simplest way to do this Thanks, Adrian Hey, Lee, your approach is right, but since the oringal poster places the textblock into the grid row, although you can collapse the textblock, but I don't think you can hide the grid row entirely using above code, the white space line is still over there. Sheva ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. The values used in the attempt to create the GraphicsDevice were invalid.

    Is this because my graphic card does not support shader model 2 I didn't even know of this requirement till I saw it on the readme file. Time to change my geforce4 I tried that, but I continue to get the same error. I'm just trying to build the basic Windows Game (XNA) project (from File->New). The relevant (I think) code looks like this: private void InitializeComponent() { this .graphics = new Microsoft.Xna.Framework.Components. GraphicsComponent (); this .graphics.AllowMultiSampling = false ; this .GameComponents.Add( this .graphics); } There's no WindowsGame_Starting function in this example. Any suggestions AG ...Show All

  • Visual C# compile code and add it to the context

    Hello, I'm using the c# compiler interface in order to compile code on runtime. in the compiled code I'm adding classes, and I want thses classes to be available in the next compilation. Is there a way to add a reference the in-memory assembly thanks, is there a way to avoid all the IO operation, like writing files. I want real in-memory assembly. another question - if lets say I created an assembly and referenced it. can I detach the reference, replace the file, and reload the assembly thanks. ...Show All

  • Visual Studio Tools for Office ISmartTagRecognizer(2) using Regular Expression ?

    Hi, I'm using the SmartTagSDK to create an own smarttag DLL. Inside of the recognizer class normally there's a list of terms that will be recognized. Is it possible to use regular expressions instead of this See this article http://msdn.microsoft.com/library/default.asp url=/library/en-us/dno2k3ta/html/odc_regex_smarttags_2003.asp ...Show All

  • SQL Server WHAT NEXT AFTER INSTALLING SQL SERVER EXPRESS?

    I have installed SQL Server Express with Advanced Services SP1 option. I am not really sure if I should have done this but I could not resist the temptation to have as many options as I could get. I even installed some samples/sample databases. However, I cannot understand how to start using the SQL Express package which (unlike the Visual Basic 2005 Express or the Web Developer Express I also downloaded) does not show me a start up page. I get SQL Server Configuration Manager, SQL Server Error and Usage Reporting and SQL Server Surface Area Configuration, all from Configuration Tools. I have no idea how to proceed. Could I have downloaded the wrong package And the last tip.... by default through th ...Show All

©2008 Software Development Network