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

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

Arghya

Member List

woon pun
Juan64
ekkapop
KevinBurton
NetPochi
r2400557
Matt A
wadnerk
akilhoffer26386
Freqy
enric vives
centexbi
Joope
Sundaraguru
Nfrf
lord_8
OOMama
logx
Sailesh Rathi
ilatzis
Only Title

Arghya's Q&A profile

  • Windows Forms Add Form Control Button

    How to create additional button on Form title like Minimize, Restore and Close button. My target is to detach and attach Form to MDI form using swichable button like Restore. Other ideas or solution for this task are welcomed. Yes, that is what i want. I can put a button on mdi form for detaching MdiChild form from Mdi Parent form. But I can't do the same for attaching. That is why that button should be on the form. But if i put anywhere on the form, i need to change many form's design. That is why i thought on puting the butoon left from minimize button or for some forms left of close button. Also this way will be more user friendly. ...Show All

  • Visual Studio Express Editions C++ String.IndexOf overload fails. Is this a bug?

    I'm stumped. I wrote the class method shown below and I get a compile error for the IndexOf call. but this is eliminated when the "const" qualifiers are removed from the parameter list. Is there a bug There are 9 overloads for IndexOf. The one I want to use is: int IndexOf(System::String ^value,System::StringComparison), but the compiler seems to want another overload where the first parameter is of type wchar_t. I'm using VC++ 2005 Express with .Net 2.0 under Win 2000 Pro. Is this fixed in the VC++ 2005 Express service pack ------ bool StringReplace::Replace(String ^xStr, const String ^xFrom, const String ^xTo) //Returns true if the string was replaced. { String ^t2, ^t1=xStr; bool retvalue = false; //default return value to false in ...Show All

  • Visual Studio 2008 (Pre-release) How to remove underline from Hyperlink and change the color of the link

    How to remove underline from Hyperlink and change the color of the link You can set properties directly, or use a style: < Style TargetType = " {x:Type Hyperlink} " > < Style.Triggers > < Trigger Property = " IsMouseOver " Value = " True " > < Setter Property = " Foreground " Value = " DarkSlateBlue " /> </ Trigger > </ Style.Triggers > < Setter Property = " Foreground " Value = " SteelBlue " /> < Setter Property = " TextBlock.TextDecorations " Value = " {x:Null} " /> </ Style >  - Doug ...Show All

  • .NET Development RSA Key Container stored on hard drive?

    I have a question about RSA key containers. In the following code, a key container is created and passed to the RSA CSP. Every time the RSA CSP is initialized, a new key is created. MyCp = New CspParameters MyCp.KeyContainerName = "My Key Container" MyCp.KeyNumber = 1 'new key created here MyRSA = New RSACryptoServiceProvider(1024, MyCp) Is the key stored on the hard drive somewhere Can I close the app and restart it and access the key which was maybe stored on the hard drive. So far I have been unable to use a key container once the app has been closed. I suspect the key container is stored only in memory so it disappears once the app has been closed. Is this correct In the event the key container ...Show All

  • Visual Studio 2008 (Pre-release) Problem loading '...MSEnvShared\AddinsXmlToXlinq.AddIn'

    Hi, Just installed Jan 2007 CTP - InstallBits. When I start Orcas I get the error: "There was a problem loading ... '...MSEnvShared\AddinsXmlToXlinq.AddIn'." It is try to load the XmlToXlinq AddIn in the All Users\Application Data\Microsoft directory. Somehow Orcas is dropping the slash between Addins and XmlToXlinq.Addin in the path to this addin. I poked around the registry to see if there was any obvious tweaks and I could not see any. Any help appreciated. Thx! eric Hi, Well, I changed all the keys in: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\AutomationOptions\LookInFolders to end in '\' and that seemed to eliminate the problem. I now have ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. (search) 3d prog to create/edit *.x files directly

    Hy @ all. I'm searching a 3d prog to create/edit *.x files directly, without all the exporting/importing issues. The only one I knew is MeshX, are there any others gonzo883. I share your frustration :) I wasted a whole day trying to get a functioning .x exporter going for Maya7, and in the end I ended up having to hand-edit the .x file anyways to get anything to show up in XNA. However, Maya (and, I believe, 3D Studio Max) ships with an exporter for .fbx, and this works without a hitch - you activate the plugin, hit the button, and load the model in your game, like it should be. Don't know how deeply you are committed to .x, but if you're able to switch, I'd recommend using .fbx instead. If y ...Show All

  • Visual Studio Team System TFS Data Tier Installation on a remote sql server

    Hi, I would like to know how to install TFS data tier on a different sql server box with out actually logging in to the box (windows). I want to install data tier pointing to a different sql server rather than local machine as we don't have access to sql server machines to logon interactively, but can be done through admin accounts. Any help is highly appreciated. Thanks, Kalyan I don't think we support this scenario. However, you may be able to install to a machine to which you *do* have access, then backup/restore the databases to your actual target SQL server... ...Show All

  • Visual C++ Selected Row - ListView

    Hi, Does anyone know the syntax of getting the selected row for an listview I.e if I click on the second row of the listview it should return 2. Thanks ...Show All

  • Smart Device Development WebBrowser control: when navigating - throws exception and opens Pocket IE

    Hello. I'm writing an application where I'm using a webbrowser control. Displaying local HTML files works fine, but not remote ones. Whenever I use the WebBrowser.Navigate method to open an URL, I get an unspecified exception (see below) and then the URL is opened in Pocket IE, where everything works fine. I thought this might have something to do with the STAThreadAttribute since the MSDN help mentions something like that. Now I got told that there is not STA-Mode for NetCF. So what else might be the problem Here's the call stack for the exception: bei Microsoft.AGL.Common.MISC.HandleAr() bei System.Windows.Forms.WebBrowser.Navigate() bei System.Windows.Forms.WebBrowser.Navigate() I don't know if it's of any importance, but the HResult ...Show All

  • Windows Live Developer Forums Creating MSN&Windows Messanger add-in

    Hello, I want to develop messenger add-in and I am not sure what to use. My main goal is to be able to run this add-in not only on MSN Messenger but also on Windows Messenger. I tried to use Activity SDK but is not running on Windows Messenger. I also tried to write some assembly using VS 2005 as described here http://blogs.msdn.com/katieblanch/archive/2006/05/11/595765.aspx but the article says that I need to edit some registry key - HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger\AddInFeatureEnabled But unfortunately I wasn't able to find this key. I looked every where. So my question is: Is there any way that I can develop my application in a way that is going to make it possible to run on Windows Messenger as well as M ...Show All

  • Windows Forms Populate data to label based on dropdown selection

    I'm doing an academic project and come across a problem and really need help in that area. APPLICATION USING: Visual Studio 2005 OBJECTIVE: I have a dropdownlist which bind to the database. The the table called: Product, and has 3 fields (ProductID, ProductName, ProductDescriptions). The dropdownlist is bind to 'ProductName'. The idea is to select the product name from dropdownlist and label will display the product descriptions of that product. If anyone can help with an example of the codes, I really, really appreciate it. For sure Initially you create a BindingSource object which will hold the binding information. So, the datasource of your control will not be directly related to the DataTable, so ...Show All

  • Visual Studio can't installing

    I am follow " Extensibility Guided Tour" article to make my msi file. But, when setup it then have messagebox " This is a VsPackage and Requires Visual Studio to be installed". Please help me.. thanks.. PS: I have PLK. Hi Dmitry Pavlov:     This article " Extensibility Guided Tour - Walkthru:Creating an Installer " tell me must add.     But, I remove it can installing, in VS.NET IDE no my VsPackage after installed.     In the MSDN have 4 article to help me depoly my VsPackage. so I follow it, but have this problem. Are you correct steps for depoly VsPackage Thank you. Thank you again.. PS: MSND article:    1. Extensib ...Show All

  • SQL Server Size limit XML type...

    Hi there, what does it mean limited to 2GB per instance for XML type It means that xml column can have only 2g size limit Thanks for your help in advance, Tris The size limit is not per column but per datatype instance. So if you have a table with a single XML data type column and 3 rows, each XML can be up to 2GB in size (meaning that the column will contain then 6GB). Note that the size is calculated based on the internal binary representation and not the textual representation as you load it. Best regards Michael ...Show All

  • Visual C++ EnumFontFamilyEx won't enumerate Tahoma

    I'm trying to use the standard Tahoma font on Windows XP. When I call CreateFont() requesting "Tahoma", I get the bold version instead. When I call EnumFontFamiliesEx "Tahoma Bold" is enumerated, but not regular Tahoma. Yet when I call ChooseFont() Tahoma shows up as an option, both bold and not bolded. There is no problem using Tahoma in Wordpad. Here is what I get when enumerating: ... Georgia Franklin Gothic Medium Palatino Linotype Tahoma Bold Trebuchet MS Sylfaen Microsoft Sans Serif ... Here is my call to CreateFont(): CreateFont( nHeight, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, ANSI_CHARSET, OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEF ...Show All

  • .NET Development Help with DES Encryption & Decryption using C#.Net

    Hi, Could you spare some time to help me with a small problem I need to perform encryption and decryption using the DES algorithm. This is the way I want the program to work : My form has 4 textboxes - 1) tbPlaintext --- For the user to enter the plaintext 2) tbCiphertext --- For displaying he ciphertext 3) tbKey --- For displaying the key 4) tbIV --- For displaying the Initialization Vector and 2 buttons - 1) Button1 --- When clicked performs encryption using key form tbKey and the IV from the string - "init vec" 2) Button2 --- When clicked performs decryption using the key in tbKey and the IV "init vec" The user enters the plaintext -"Hello wo ...Show All

©2008 Software Development Network