Werner Swiegers's Q&A profile
Windows Forms Where is a combobox control with a datagridview as it's drop down
I'm just now escaping vb6's hold on me and I think Whidbey is way cool !! Is there an intrinsic control that is a combobox with its dropdown being a multi column datagridView I already built this control in .Net using a datagrid but will there be something similar to this as an intrinsic control in VS2005 Just wondering. Would be nic ...Show All
Visual Studio Extensibility: how to write an add-in for VS2005
I do not know if this is the right forum for this. How do I even begin my first steps to write a visual studio 2005 add-in Is there a sample example somewhere. I can create a sample add-in from the Visual Studio when creating a new project but after that there is not any good information in help or on MSDN. I want to basically add a new menu item to the context menu in the solution explorer and when the user clicks on it, I need to create a new window which gets filled in with stuff based on the project selected. Then based on what the user selects, I want to start Visual studio debugging session with certain arguments. I looked at the ...Show All
SQL Server Exporting Data from Database to a csv file
Hi, How do I export data from my database table into a Comma separated value file format. I am using SQL Server 2005 with vb.net Thanks It would use the SQL Server Import / Export wizard , it is more comfortable than the BCP command, although in some cases like automatic commandline export thats the only choice. Right click the database and choose the Export... command. You will be guided though a wizard for exporting. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Smart Device Development Resizing Screen Elements when MainMenu appears/disappears.
Hi all, I have an application that triggers the main menu on or off, and would like resizing certain screen elements to accomodate this main menu. Is there a function that can do this (maybe and event that is caught and resizing screen elements), or is do I have to do the resizing manaully Thanks Tryst ...Show All
Visual Studio 2008 (Pre-release) Longhorn installation
Windows SDK installation I have installed Windows Runtime Components 3.0 -Beta 2. Also VS-2005. But while installing Windows SDK ( after mounting it to virtual drive) , I get following error message "Windows SDK could not be configured, see the 'Installing the SDK' section of the Samples\Setup\HTML\ConfigDetails.htm document for more information. In order to create samples or use tools that depend on WinFXR, the correct version of the WinFX Runtime Components must be installed. Please consult the Windows SDK readme for details. " Please help me out of this problem as I am really screwed up. You need to indic ...Show All
SQL Server F I L T E R HELP!!! PLEASE!!!! THIS CAN'T BE THAT HARD
In SSRS 2005, how can I add this check (what do I have to put in the Expression, operator, and value in filters tab of table properties) to my table filter to ensure only customers that match one of the ORs are viewed in my report HERE IS A PRINT SCREEN OF THE FILTER TAB WHERE i WANT THIS ALL TO HAPPEN...PROPERTIES OF MY TABLE: http: / / www. photopizzaz. biz/ filtertab_ ssrs2005table. jpg essentially I want this check to filter records on my table...match to this criteria from my dataset: (Fields!Branch.Value = '00002' and Fields!CustomerNumber.Value = '0000002' or Fields!CustomerNumber.Value = '0000003' or Fields!CustomerN ...Show All
.NET Development Remoting Singletons vs True Singletons
We have a remoting service which provides singleton access to a collection of remote objects. These objects also need to be able to interact with each other and must be singletons in both the internal and the remote case. The issue we're having is that this leads to two instances of the object being created - one through the remote interface and another for internal calls. Is there a way to force the remoting service to use the instances already defined on the objects, or do we have to have each class in the same assembly remoting to each other in order to ensure there's only one instance i have the same se ...Show All
Visual Studio Team System No user identity info returned from GSS
Can anybody explain this exception to me 04.21.2005 12:14:57.029 | Module: ELeadServiceMediator | URL for eLead web service retrieved as " http://193.5.41.175:8080/bisserver/EleadWebService.asmx " from the registration service | Completion time: 0 seconds 04.21.2005 12:14:57.029 | Module: ELeadServiceMediator | eLead web service proxy constructed | Completion time: 0 seconds 04.21.2005 12:14:57.519 | Module: ELeadServiceMediator | Template Information for domain "193.5.41.175" retrieved from eLead web service | Completion time: 0,4907056 seconds 04.21.2005 12:15:02.266 | Module: Engine | Retrieved IAuthorizationService proxy | Completion ti ...Show All
Visual Studio 2008 (Pre-release) reference to a object-class with datacontract??? .urgent.
Hi, in my service I referenced to an object class "Tag". Now I'm using a client with channelfactory and want to use objects from the "Tag" class. How can I do this without letting the client referencing to the original "Tag"-class at the service-side The class 'Tag' and all the related class must be serializable. This means it must be one of the following: The class has DataContract or CollectionDataContract attribute The class implements IXmlserializable The class is a collection class The class has Serializable attribute If that is true, then you can run svc ...Show All
Windows Forms copy constructor derived classes
within C# I have the following situation public class myObject : object public class myob1 : myObject .... public class myobn : myObject now I wanted to add a copy constructor and would suppose: public myObject(myObject ob) to call the derived classes copy constructor if it is defined, however this doesn't seem to be the case, and I need to have a lengthy <strong>if ...Show All
SQL Server Query Runs Perfectly in SQL 2000 but not SQL 2005 (but runs fine in Query Analyzer for 2005)
The following query: SELECT TOP 1 a1 . AccountType as 'OtherAcctType' , a1 . ListID as 'OtherAcctName' , a2 . ListID as 'AgCommAcctName' , a3 . ListID as 'AdminAcctName' , a4 . ListID AS 'InsAcctName' , v1 . ListID AS 'OtherAcctVendor' , v2 . ListID AS 'AgCommAcctVendor' , v3 . ListID AS 'InsAcctVendor' FROM tblCommissionStructure LEFT OUTER JOIN tblAccounts AS a1 ON a1 . ListID = tblCommissionStructure . OtherAcct LEFT OUTER JOIN tblAccounts as a2 ON a2 . ListID = tblCommissionStructure . AgCommAcct LEFT OUTER JOIN tblAccounts AS a3 ...Show All
Visual Basic Single Instance App in Visual Studio
I wish to prevent more than one instance of my application from openning. Visual Studio 2005 provides a property to only allow single instances. The property is only available if the Startup object is a form. I have a simple process that is going to be scheduled in the background and does not require a form. How can I write code to prevent more than one instance of my application from starting I used to be able to simply use app.previousinstance. Any help would be very appreciated. This is what I'm using Private Function RunningInstance() As Boolean Dim current As process Dim ...Show All
SQL Server Datatype conversion strangeness
Hi all, After more headbanging and cursing than an entire Metallica audience, I have finally deduced how to store and calculate the values of a stack storing RPN calculations using a recursive stored procedure. But there is a new conundrum. Originally, to test the above, I was using fairly simple values -- 10, 20, +, 3, /, etc. But the real data is likely to include values with at least a couple of decimal places -- these have been configured using the money data type. Nevertheless, in my actual stack table the value needs to be specified as a varchar. However, as soon as I start sending in 0.68 as a varchar to my stored procedure, it gives ...Show All
.NET Development XHTML Validation Fails due to <asp:ImageButton> renders a BORDER="0" output
Steps to Reproduce: <%@ Page Language="VB" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <asp:ImageButton ID="flag_it" runat="server" style="width:22px;border:thin inset silver;vertical-align:middle;" ImageUrl ...Show All
Windows Forms disable datagrid popup menu?
Hi, As a default functionality, the Datagrid popups a small menu ( including Undo,cut,copy...) when the mouse right clicked in any cell. How could i disable this Or how could i disable single right click. I really appreciated to share with me whatever came in your mind...Thanks Scott: I would have sent this via private mail, but you didn't specif ...Show All
