osj's Q&A profile
Windows Forms Controls inside a control being added twice
I'm trying to make a textox that is supposed to have a button inside of it. I add this button to the textbox in my control assembly, in the constructor. Then I compile the control, add it to the toolbox and drag an instance to one of my forms. the problem is, when i run the program and the form shows up, it shows two buttons instead of only one. when i look at the designer generated code, i realize that Visual Studio (both 2003 and 2005) is addi ...Show All
Visual C++
. I am going to address your core question: There is already a lot of discussion in the C++ community that #include <iostream> already pulls in way too many other headers - and believe me it was not designed this way. Why should <iostream> pull in <string> The two are not related and there is really no reason why one should depend on the other. We do provide every STL function and algorith ...Show All
Visual Basic Is it possible ?
Is it possible to change an existing desktop VB.NET-SQLServer application to a LAN/ network based (not web) application means if u access the same Application exe from 2 or more pc in a LAN then wat will be the problem is it possible Or every application must be client-server type to run in LAN Thnx in advance. wat if, my app uses a Global variable in a Module then is there any kinda conflict ...Show All
Smart Device Development HttpWebResponse Hangs Subsequent Connections
Greetings, I am having issues with a method I wrote for a compact framework application I wrote. The method is supposed to download an image from a specified URL (functionality easily present in the full framework, but not the Compact one unfortunately). My method works fine on its first trip out, but subsequent trips cause it to hang my application until the request times out. The workflow for this method is that it is called for ea ...Show All
Windows Forms Combobox multiple columns
Is there a way to display multiple columns in a combobox (like access) Thanks ThE_lOtUs wrote: http://www.google.com/search hl=en&lr=&q=vb.net+multiple+columns+in+a+combobox Check the first link http://www.codeproject.com/vb/net/multicolumncombo.asp :) Those are ok, but when you inherrit from textbox en use a captionles form (in this case with a Datagrid) as editor you ...Show All
Windows Forms Reading in XML
I am having an issue reading in XML. If I have a file such as a config file with multiple nodes of the same name, how do I read them in <configuration> <appSettings> <add key="myProfession" value="Computer Programmer" /> <add key="my ...Show All
Visual Studio Team System none of the reports working in new server
Hi there, i have Installed VSTS in new server following all the installation instructions. There are 2 team projects that I have created. For one of the Team Projects, there are lots of bugs that has been opened. None of the reports are working for any project. The event log is full of the below log entries. Please let me know how do i fix this. in other server at least some of the reports used to work. Thanks, Anu Event ...Show All
SQL Server update query and determinism
I receive the following error on an update. Msg 205, Level 16, State 1, Procedure MessageCompleted_U, Line 26 All queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists. I have 2 tables a and b each with primary keys and select count(*) from a where akey=1 returns 1 and select count(*) from b where bkey=2 returns 1 (1) update a set acol2=bcol3 from a inner joi ...Show All
Windows Forms BUG: Webrowser control Document.Text BUG?
What the *bleep* is up with this control I can set the document.text once and only once reliably. The rest of the time it's a crapshoot if it will update or not. Is this a known bug There also seems to be some problems with the ShowPrintDialog not showing up. I've had to come up with some ugly hacks (hey Zep--, all your code is an ugly hack! Ha! :) to do what I need to do with this control. Arg! Zep-- ...Show All
Visual Studio Express Editions Updating a DataBound DataGridView & Database
Hi, I’m experimenting with (and trying to learn) VB 2005 Express, but I can’t find a way to programmatically enter data into a data bound (bound to Main1database) DataGridView. Basically, I have one edit box on a dialog box with the DataGridView control and a button. The user enters some a sentence into the edit box then clicks the button. The button-click event is supposed to add the sentence to the DataGridView and then update ...Show All
Visual Studio Team System Test Director Defect Mapping to VSTS Work Item
We need to be able to map Mercury Test Director defects into VSTS Work Items for developers to work...has anyone written a custom conversion utility After some finger trouble with configuring this utility I now have this synchronization up and working between TD 8.2 and TFS (two way). Things seems to work correctly so far even if running on a beta version of the Juvander software. Some experiences Having this ...Show All
Visual Basic Ctrl-Y VS 2005 VB Code editor - lost feature?
What happened to Ctrl-Y (delete entire line) in VS/VB 2005. I used it a lot in VS/VB 2003 If you are using beta2, in which this command is not correctly bound, it is always very easy to fix the binding yourself... Open Tools->Options->Environment->Keyboard. Select the Edit.LineCut command from the list. In the "Press shortcut keys" field, type 'Ctrl+Y'. Now click "Assign", and yo ...Show All
SQL Server padding property RS 2005
Anyone notice that the padding property doesn't seem to work as nice as RS 2000 When I select more than one cell or row, and try to set the padding to 1,1,1,1, by typing the values in the property field (as opposed to expanding it and entering it in each side), it sometimes it gives me the following error: 'RptPaddingConverter' is unable to convert 'Microsoft.ReportDesigner.Drawing.ReportPadding' to 'System.ComponentModel.Design.Serializatio ...Show All
SQL Server Assigning properties to variables
I have a package level Event which runs a stored procedure, to log the error. What I want to do is assign some of the properties of the erroring task to package level variables so that I can use them as parameters. I can see how to assign properties from variables, but not the other way round. Can anyone explain to me how to do this Many thanks Rudy Andy Can you explain me what your script task exactly does ...Show All
Windows Forms how to store combobox text value in database when it's not in the lookup table
Hello, Please help.... When I use DropDownList "Feature" the user can type in values on his own. But how can I store this inside the database Do I need to add this value to the combobox list (When the user enters text this is reflected in the Text property of the combobox.) this.p1ComboBox.DataSource = personView; this.p1ComboBox.DisplayMember = "lastname"; this.p1ComboBox.ValueMember = "pid"; this.p1ComboBox.DataBindings.Add(new System.Windows. ...Show All
