lbsjs's Q&A profile
.NET Development How to set a namespace prefix in a xmldisg signature?
Hello, Currently I'm working with Visual Studio 2003 in order to generate xmldsig signature. I'm using the class signedxml to create the xmldsig signature and I get somthing like this: <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <SignedInfo> <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /> ...Show All
Windows Forms combobox.selectedvalue
i have a combobox name: useridcombobox displaymember: username valuemember: userid i want to save it to the database using Insert command. I've tried (int)useridcombobox.SelectedValue but it didn't work. How can i get the userid integer value You will need to give more information. How did you attempt to get the value, how did you attempt to insert it into your database, and in what way did it not work ...Show All
Smart Device Development Design Time Attributes of a Custom Component outside of VS2005 IDE
Hi all, I'm trying to make a custom Compact Framework component outside of the RTM VS2005 IDE. The build process at my company is outside of the IDE. My component is nearly fully functional: I can add it to my Toolbox, it only shows up for CFv2 projects, and I can drop the component onto the Form). However, I can't get the Descriptions of the Properties to show up in the IDE Properties window. I have manually made a DesignTimeAttribu ...Show All
Visual C++ 'Long' using 12 bytes rather than 4?
I am new to Visual Studio/ C++, so have been working through a book. As with other text books, it suggests checking that long variables take 4 bytes and that consecutive variables are separated by 4 bytes. Using 'sizeof' on two variables gives 4 bytes each, but looking at their addresses shows a separation of 12 bytes. (I am using Visual Studio 2005 version 8.0.50727.42.) Using my Borland compiler, on the same code, gives 4 bytes seperation. ...Show All
Windows Forms Formatting a textbox for currency
I'm stumped. This should be the easiest thing to do in the world, and yet there is no obvious choice here. I want a simple textbox that automatically formats itself for money with a $ and 2 numbers after the decimal. I've tried the new maskedTextbox and am not impressed, that is really not what I'm looking for. So far all tries at using the .ToString method, the .String.Format method have failed. They generally just ...Show All
Visual Studio Installed SQL components not listed on splash screen
Hi, I installed SQL Server Dev first, then installed VS, but when VS loads, there are no SQL components listed on the splash screen, just VB, C# and VWD. A colleague installed the other way, and has some SQL components listed on the splash screen. Can I get VS to 'refresh' this list I've since installed Reporting Services and that's not listed either... Thanks Mike devenv /setup will regenerate the ...Show All
.NET Development Converting a VS 2003 solution to VS 2005
What type of problems I should expect Depending on the language you use: - warnings about unused variables - errors about bad references (if you decide to switch from 1.x to 2.0) - in very special cases of C# compiler errors due to the new generics support ...Show All
Visual Studio Tools for Office ServerDocument.AddCustomization() starts new Word Instance
Hi, I use VSTO ServerDocument.AddCustomization() method to dynamically customize Word .doc file. However, if I try to customize a fresh (new) Word .DOT file, a new instance of Word is started even if one already exists. This is causing so much pain. Also, this behavior is NOT repeated if the .dot file is already customized and I re-add the customization after removing it first. Here is the code: private void button1_Click(object sender ...Show All
Visual C# Bounded lists
Do somebody know how one is supposed to do bounded lists in C# Should the NextItem be an unsafe pointer like in C/C++ or is it something else to do it in a managed mode Thank you alex it was liked lists I mean, sorry for my bad english. And thank you for your answer. I think I will work it out with Generics. ...Show All
Visual Studio Express Editions Wish for future VS versions: Maximize window
Hi. It will be veri nice if the windows inside de workbench could be "maximized" with some button as eclipse (www.eclipse.org) does. Regards. Thank you. I expect to see some kind of visual clue in the window.} Such mode is what I want but may a button could be added to the window to do this. Regards. ...Show All
Smart Device Development No File Explorer or Task Manager?
How can I get the File Explorer and Task Manager installed on my emulator Thanks! OK, thanks. But how can I test the behavior of my application if the user decides to terminate it via the Task Manager Don't I need to explicitly code for this condition Thanks! ...Show All
Visual Studio Team System How can I Upgrade to Team developer from VS 2005 Pro?
I am wondering if I have an MSDN subscription that gives me the VS 2005 Pro edition and I want the Team Developer edition how I go about it... Do I need to upgrade my MSDN subscription from the Empower program to the Universal subscription Thanks! The tranistion to Developer Edition should be at no addtional cost. You can find more information on how to tranisition at this URL [ http://msdn.microsoft.com/howtobuy/vs2005/subscriptions/reque ...Show All
Windows Forms CollectionEditor only calls DestroyInstance for items added during current session
I have done a lot of custom stuff trying to get a custom ListView class going. I've got a custom Column class, custom ColumnCollection class, custom TypeConverter, and a custom CollectionEditor. This is all good and well, but I do have o ...Show All
SQL Server Annoyed with SQL Server 2005 Imponderables - Help!?
Hello, upon our recent upgrade to SQL Server 2005, there are three issues that have plagued me that I cannot find a workaround for, despite much forum scouring. 1. I have a DTS package that I migrated to SSIS. The migration seemed to go smoothly, and I can successfully run the SSIS package. However, when I try to create an SSIS job from it, the job fails to run. I merely get a "The step failed" error message. I've ...Show All
Windows Forms Problem with C++ Forms in .net 2003
I've recently started a project at work using forms, only some thing simple using a few controls. When i press F5 to run the program in the ide, my program takes about 10 seconds to appear, debugging is also very slow. Although when i run it as a standalone exe...double clicking the exe it appears straight away and runs fine. Regards. Jimmy. ...Show All
