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

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

Mihir_Soni_bcdb9d

Member List

Derek at Potters Clay
3456
92869
Brandon2520
reya276
Herru Perdana
TA123
Clayton Culver
kool_kan
Allen Razdow
dotnetsr
Ken Knowles
GameOver_1
davidacoder
AlexBB
carface
kesim
BarryDay
Jean-Pierre Fouche
Orest Bolohan
Only Title

Mihir_Soni_bcdb9d's Q&A profile

  • Visual Studio 2008 (Pre-release) XLINQ & Joining 2 documents

    Hey gang. Trying out LINQ/XLINQ for the first time. A bit frustrating because SQL is engraved in my brain ;) I really am starting to appreciate it though every time I pass through an issue I don't understand. I have 2 XML documents that contain the same structure. I wish to use both of them in the same query. Unfortunately I can't figure out how to sort the join, and I am getting quad duplications so I think my join is bad. Here is the structure of the files: <keywords> <keyword name="something" type="html"> <keyword name="something" type="html"> </keywords> So in my 3 files I would have the following: File #1: table tr th td File#2: sasomething1 ...Show All

  • Visual Studio Team System Roll back code using TFS

    HI, My team and I have been discussing the best way to go back to a release and make a code change without having to release new work that has been checked in. We are using a web site project when the application should be using a Web Application Project. We are currently re-working the project in parallel to correct this issue. We are an ISV Certified Partner and have lots of customers using the same Web application in slightly different ways. This therefore means that it is critical that we respond to Quality issues with our product as quick as possible regardless of scheduled release dates. I am sure this is an issue that a lot of people have come across, and there are some great best practice methodologies out there. We have dis ...Show All

  • Visual Studio Tools for Office custom command bar menu disappears off one sheet but appears on another

    I have added a custom button to my vsto excel project. Here is the code: Public Sub CheckIfMenuBarExists() Try Dim foundMenu As Office.CommandBarPopup = _ Me .Application.CommandBars.ActiveMenuBar.FindControl( _ Office.MsoControlType.msoControlPopup, System.Type.Missing, menuTag, True , True ) If foundMenu IsNot Nothing Then foundMenu.Delete( True ) Else AddMenuBar() End If Catch ex As Exception MessageBox.Show(ex.Message) End Try End Sub ----------------------------------------------------------------------------------------- Public Sub AddMenuBar() ...Show All

  • Visual Studio Team System Problem with recording

    I have a recorded a script for my website which is an HTTPS website and my website uses encrypted values to based as query string parameters.I am able to encrypt the values and pass them as query string parameters but at run time the script is executing some requests which are not there in the recorded script and due to this the new encrypted value is not passed to all request and the script executes wrongly.Please help me how to rectify this probelm. Thanks, Hi, You have explained my problems correctly,my website is an https website which I was unable to record using fiddler 1 and with fiddler 2 which supports HTTPs also I am not able to capture the traffic,even if I am able to capture the traffic it displays an mess ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Alpha Level Question?

    Hi all, Below is my programming, ======================= renderer.Device.RenderState.SourceBlend = Blend.SourceAlpha; renderer.Device.RenderState.DestinationBlend = Blend.DestinationAlpha; renderer.Device.RenderState.AlphaBlendEnable = true; ======================= i can use this code set my material Alpha. How to set Alpha level For Example, iwant set alpha 70%. Best Regards, That is not the proper way actually. Frame buffer alpha blending is done with this formula: Final Color = ObjectColor * SourceBlendFactor + PixelColor * DestinationBlendFactor Blend.DestinationAlpha means read the alpha value from the existing pixel on the frame buffer, which is not the right option for setting material translucency.. ...Show All

  • Windows Forms How to detect when ToolStripTextBox loses focus?

    I have a ToolStripTextBox in my toolstrip, and I need to know when the user clicks away from the text box after the textbox has previously received focus. Seems impossible! :-) I've tried to handle the ToolStripTextBox's Leave event, as well as the "inner" textbox's Leave, with no luck. Any ideas Thanks! Jeff Sorry, let me elaborate. I've just got a main form, with a menustrip and toolstrip - haven't gotten as far as even adding any child controls to the form yet. I've added the "standard items" to the toolstrip, and then also added a few of my own, including the ToolStripTextBox. When I run the app, I can click inside the textbox, and the Enter event for the text fires. But then if ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Porting the engine (written in C++) from DirectX 8.1. What are my options ?

    I`ve got a 3D engine used in my previous and upcoming online/budget PC games that I wrote by myself from scratch during last several years. However, I would like to port it to XNA since that would give me another platform (XBOX360), since that`s what most of distributors would like to have (multiplatform title) these days. Plus, all games/demos that I would create would then run on both platforms, which is a fantastic feature in itself, and a great negotiating factor with distributors/publishers. Will XNA support ASM shaders natively, or will I have to rewrite those in HLSL I`ve got a pretty huge set of ASM shaders handling lighting,animation,decompression and lots of other stuff. But, from what I`ve read so far, it seems I`m goin ...Show All

  • Visual Studio Team System Create new label base on set of label

    Hi all, I just wonder is there anyway that I could create new label from a set of defined label. For example, I have root label 1.0.0.0 and then have label for hot fix which could be individual file or a set of file like 1.0.0.1, 1.0.0.2, 1.0.0.3, and 1.0.0.4. Now I want to create new label 1.0.1.0 which will be the combination of 1.0.0.0, 1.0.0.1, 1.0.0.2, 1.0.0.3, and 1.0.0.4. If this feature is not available, is there anyway that I could work around Thanks, Best Regards, I should add that even if you write this function it may not do exactly what you want. Labels are just pointers to files @ a given time. They don't actually track any history. Case in point: if L1.0 and L1.1 reference the sa ...Show All

  • Visual C# COM Object Problem

    Hi, i am having a problem with a COM object at work. Basicly the COM object exposes alot of interfaces, but for some reason, they are not all showing up on my machine. The COM Object is written in C++, and i am using VS.NET 2005, i have tried it on a colleage's machine, and it exposed all the interfaces, but it didnt on another colleage's machine. I have tried unregistering the DLL, and re registering it, and this does not help either. Any thoughts on this would be greatly apreciated. - SF Dont worry, we have managed to find the problem! basicly if you have compiled the COM object on the current machine, it generates another file as well, this file is required to build projects using the COM object, but no ...Show All

  • Windows Forms I can't set the column width.....

    I am going to show 2 columns only (phone, type), and I want to set the column width of phone, but I can't set it althought I've tried the post. Here is my code. Dim strSelect As String = "select autoid, id, phone, type from phone where id = '" & CboFiltered.SelectedValue & "'" Dim DA As New OleDb.OleDbDataAdapter(strSelect, conn) Dim DS As New DataSet conn.Open() DG.DataSource = DS.Tables("Phone") Thank You. Chris, If you're using VS2005, then use the DataGridView rather than the DataGrid. You can set the column width easily with: this.MyDataGridView.Columns[0].Width = 300; If you're using VS2003, then you're stuck with the ...Show All

  • Visual Studio Team System How to remove change sets as candidates for merge?

    I have 2 branches, say Test and Prod. I have a change set(Say 321) and I don't want or need it to ever merge into prod. How do I remove it from the list of candidates for merging I've tried this tf merge /discard /version:C321~C321 Test Prod /recursive It says the the changes were set to "AcceptYours" but then in the Source Control, the change set still shows in the list of change sets to merge. Any ideas you need to be in the "local path" of a workspace. the path is used in the TeamFoundation API to figure out what workspace you're attempting the operations on... if you have all your team projects mapped to say C:\TeamProjects\, the working directory of your command prompt needs to be at or under ...Show All

  • SQL Server SSIS and low values

    I have run into a situation executing SSIS packages when the Source is a mainframe database using an ODBC driver. It appears that SSIS just stops running when it hits a row with low-values and does not always give a meaningful message. Is this true that SSIS package will just stop processing rows of data if it hits low-values I have contacted that vendor for the mainframe ODBC drive but they are in no hurry it seems to answer my question - thanks for the answer I wanted to make sure there was not something I didn't understand about SSIS. ...Show All

  • Visual Studio Express Editions Null Reference Exception

    For some reason i keep getting this "Null reference exception was unhandled - object reference not set to an instance of an object" Does anyone what this or what is could be causing it. I'm using arrays to store stuff which then makes an instance of a panel. I have 4 of these, they are all identical and use the same panel, but one of them refuses to work and I get this message, I've checked it over and can't seem to see anything different between that 1 and the other 3. The error occurs in this line assaultDisplay(count) = New weaponDisplay(assault(count).weaponName, assault(count).ammo, assault(count).damage, assault(count).rpm, assault(count).reload, assault(count).heat, engineer(count).arm ...Show All

  • Visual Studio 2008 (Pre-release) Triggers and MultTriggers problems

    Hi I am experiencing a bug in Windows Presentation Foundation July 2006 CTP. This concerns Triggers and Multitriggers. I have already posted it via "Connect", but the latest version referenced in it, was February CTP... So i am not sure to be read using this way. So I'm just copying-pasting what I already wrote: Description : In certain cases, a Trigger involving a property that is a part of a MultiTrigger conditions, can unbranch the multitrigger (it is not triggered anymore). Steps to reproduce : See the attached Xaml file I set a MultiTrigger on a ListBoxItemTemplate that launches an animation when the item is not selected and the mouse is over it, and stop it when the mouse leave or the item is sele ...Show All

  • Visual Studio Express Editions Is there a trick to avoid the installation of service pack 2?

    Hello, I have a few questions. Question 1 I have just tried to install Visual C++ express edition. Why do I have to use service pack 2 I do not want to install it. It took me 30 minutes to install service pack 2 and I will never use it. Why is that Is there a trick to avoid the installation of service pack 2 Question 2 Someone is writing a software package for me and the compiler of Visual C++ express edition has to be built into the software. Only the compiler! I intend to use the package for my own use, but let's say I am going to sell the package later while the compiler is in it, is that ok I installed SP2. I only noticed negative things. - In 2 days time there was a ...Show All

©2008 Software Development Network