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

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

Danawar

Member List

kennm
John123
Jon Braganza
Carver42
Ultrawhack
FUVELL
ananta
kangalert
Harald Hedlund
comspy
Bas van Zuilen
AdeptBlue
peterxz
ToddOs
Son_seph14
Manoj Verma
Gidjett
sarathy
StumblingInTheDark
David d48701
Only Title

Danawar's Q&A profile

  • SQL Server Making my containers visible design time

    Hi all, I have run into a problem! Im developing a SSIS package programmatically using C#. But when i create and add a container (foreachloop and sequence) the container is not becommming visible in design time in my intergration services designer (when i open the .dtsx package afterwards). Does anyone have a solution to this problem It is only a problem with containers i create myself (it is working when im adding e.g. dataflow tasks to existing containers). Sincerely Bryan Hi again,   Doesnt seem to work, i tried to modify my own code and its not showing up design time :-( I better explain how i do things: I have a partially filled package that i load from disk and "fills in the blanks" (this is done to ma ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Individual mesh material transparency and reflection

    I have a room, which is a mesh; it is made up of approx 100 materials. A few of these materials are glass windows. I would like to make materials which use a specific texture (glass) to be transparent (and, if possible, reflective). Any ideas on how to get started This is my render method which is called in the Direct3D render loop: public void Render() { for ( int i = 0; i < content.LobbySceneMaterials.Length; i++) { ExtendedMaterial material = content.LobbySceneMaterials ; string key = material.TextureFilename; if (! String .IsNullOrEmpty(key)) { // Set texture from content where filename matches. Texture texture = content.LobbySceneTextures[key]; device.SetTexture(0, texture); ...Show All

  • Visual Studio Install problem

    Hi, After my admin rigths problem, I found probably another trouble. I don't have enough space on C: to install Visual Studio Team Ed. So I decided to install my new products on "d:/programs". Then I installed VS on "d:/programs/vs" and VS SDK on "d:/programs/vssdk". I was very happy to create and build successfully a new dsl project. Unfortunately, when I try to run it, VS said just : "unable to find a component. re-install the application" ! Wonderful ! Do you know where this trouble comes from Thanks, Olivier. ps : I used the "by default" install of vs2005 Hi, hmmm, it looks like you are not alone in this. Have a look at this post . I am not sure ...Show All

  • Visual Studio Express Editions Need help parsing tab delimited text file

    I have a tab delimited text file that has a tab as the first character of each row. In other words there is a nice neat space at the beginning of each row. I am looking for ways to remove the space but cannot find a way to go about it. I found the textfieldparser and am using it to read each line and am, in tern, writing the line to a new text file using the file system object writealltext and adding a couple of fields at the end of each line. I am new to coding in general. Any push in the right direction would be appreciated. I am basically using the same basic structure with a few exceptions. I am usually adding a couple of items to each row so I declare an item to read the entire line. ...Show All

  • Software Development for Windows Vista Can you use custom RuleAction outside of Workflow?

    I've looked over the Custom Rule Action samples and would like to do something similar, but w/out the use of a Workflow. I've made a reference to the custom action, specifically the LogAction, in my project and using the ExternalToolKit, I try to write the action portion stating Log("sometext"). Unfortunately, I cannot gain access to this class via the editor. Is there something I am missing or can Custom Rule Actions not be used outside of a Workflow One more note:  the assemblies that are added to the TypeProvider, from what I found in testing, must be part of your AppDomain.  This is actually easy to overlook if you add a reference to TypeProvider by explicit filepath to a ...Show All

  • Visual Studio Team System LastGoodBuildNumber

    Hi, In our nightly build we have had the issue where GenCheckinNotesUpdateWorkItems had been using a really old date as the LastLabel (LastGoodBuildNumber) and hence every night a large number of workitems are being updated. Now the referred to old nightly build label has been deleted, the GenCheckinNotesUpdateWorkItems command says: GenCheckinNotesUpdateWorkItems TeamFoundationServerUrl=" tfsServer " CurrentLabel="LNightly Build_20060914.1@$/MySolution " LastLabel=" L@$/MySolution " UpdateWorkItems=True BuildId="Nightly Build_20060914.1" We have not modified Microsoft.TeamFoundation.Build.targets. All of our compilation and test targets work OK. My questions is what MsBuild Target do we ...Show All

  • Visual Studio Tools for Office Error: InfoPath Form Template

    Hello After creating the InfoPathFormTemplate Project i cannot do any operation in my Visual Studio 2005, for any operation it show me the error message "Visual studio has encountered an unexpected error" Can you suggest me any solution to solve this problem Regards Hi Eric, Just off the top of my head, have you tried repairing Visual Studio Would you list what you have installed, related to VS In particular versions of Visual Studio, any SDKs, Service Packs, etc. Thanks Roger ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Health Bars

    Hey, I have looked at the spacewar game template, and I noticed their hp bars are just 5 blocks. How can I make a bar like the shield bar in halo 2 A sliding bar I'd recommend creating a 'texture sandwich' in order to accomplish what you want here. In draw order, I'd recommend creating an 'underside' texture for what you see on an empty shield bar (if you want it transparent, then no need for this texture). Next, I'd create the 'shield bar' itself. Once you have the texture, just stretch the width, relative to the whole shield bar. For example, if you make your shield bar 200 pixels wide and you're at 90% of shield capacity, you'd have the bar texture stretch out 180 pixels (90% of 200 pixels). Finally, then draw the 'cover ...Show All

  • Visual Studio Express Editions Want to confirm VB 2005 + SQL SERVER 2000 COMBINATION

    How can i connect from VB 2005 Expresss Beta 2 to SQL Server 2000 database I try: ...... Dim connectStringBuilder As New SqlConnectionStringBuilder() connectStringBuilder.DataSource = "127.0.0.1" connectStringBuilder.InitialCatalog = "myDatabase" connectStringBuilder.IntegratedSecurity = True connectStringBuilder.UserInstance = True Dim myConnection As SqlConnection = New SqlConnection(connectStringBuilder.ConnectionString) myConnection.Open() ......   and i've got error: SSE Instance re-direction is not supported for non-local user instances. Any help will be appreciated. Regards Sebastian Hi, I read you mail about VB 2005 Express and Sql server 2000 code. I am new to .NET 2005 an ...Show All

  • Windows Forms Why isn't CellStyle Format preventing alpha characters in Number format column?

    Hi all, I'm a bit confused here. I set the CellStyle Format for each column in my datagridview to be: 1) Number 2) Date 3) Currency 4) Just Text. So why are letters allowed to be typed into the Number column, or the date column If I'm using the wrong property, then what would be the correct one I don't want to use validation - b/c then it's too late. I want to prevent a non-legal character from ever being written into the cell. Thanks. There is a "MaskedTextBox Custom Cell" sample Here , this custom maskedTextBox cell can do what you want. ...Show All

  • SQL Server Why I always fail to manually train a model?

    Dear all, Why I always fail to manually train a model in Management Studio ZhaoHui Tang recommends me to untrain the model first. So I untrained it like this. DELETE FROM Decision_Tree.CONTENT Then I train it like this. INSERT INTO Decision_Tree (Age, Bike_buyer, Customer_Id, Gender) OPENQUERY ([AdventureWorksDW], 'SELECT Age, Bike_buyer, Customer_Id, Gender FROM Training_table'); The error message is Error (Data mining): The mining structure , Decision_Tree is already trained and does not support incremental updates. Before using the INSERT INTO statement, use DELETE FROM <object>. Why is that so I already untrained the model. The model has been made and processed outside Management Studio, i.e., in the Visual Studio. Thank you, ...Show All

  • Windows Forms Gradient backgrounds.

    How would I go about creating a gradient background in a component such as a label, text box, or panel I have never really fiddled with the System::Drawing namespace, which I know is what I would have to use. Anyone know how to do this at paint event use LinearGradientBrush to fill the background LinearGradientBrush lgb = new LinearGradientBrush(rect, gradientFirstColor,gradientSeconedColor,lgm)) For more info look at Simple Label Gradient Using The LinearGradientBrush Working with Brushes in GDI+ LinearGradientBrush Class ...Show All

  • Visual Basic Emulating VB6 Textbox arrays on Windows forms

    My apologies to anyone reading this for a second time - I might have put it in the wrong forum earlier. I like entering data into text boxes on a form, rather than using a datagrid. I like to have the use of the Enter and arrow keys to navigate from one box to another. Doing this in VB6 was easy. All it took was making the textboxes part of an array, then this subroutine took care of the business (the actual routine also takes care of the arrow keys - I have removed the coding to keep it short). Private Sub Text1_KeyDown(Index As Integer, keycode As Integer, ShiftCode As Integer) Select Case keycode Case Is = vbKeyReturn Index = Index + 1 If Index > Text1.Count - 1 Then I ...Show All

  • Visual C++ Signing a file with pkcs12 certificate

    I am working on a an application in which I need to sign the executable with pkcs12 certificate which is present as a file and is not in the store. I cannot use utilities like signtool.exe. If anyone has done this using methods in Capicom.dll or ImageAddCertificate method, could you please share a sample code or point me to an appropriate link. Thanks, Tim For such issues, please use the newsgroups at http://msdn.microsoft.com/newsgroups OTP Thanks, Ayman Shoukry VC++ Team ...Show All

  • SQL Server request a nonadmin resource grant

    I granted a db_datareader role for a user (on user db, master and msdb), and he doesn't see the files of the user db int the management studio (properties\files). What have i add him ...Show All

©2008 Software Development Network