bdbodger's Q&A profile
Windows Forms SelectedIndexChanged event does not fire for ComboBox
Hi I am creating a windows application using vs 2005. I have written some code in combobox SelectedindexChanged event. This even works fine if I select item using mouse but if I use keyboard and select item using TAB key event does not work at all. If this behavior is by design what workaround can I use Users would be using keyboard most of the time. Thanks The up and down keys in the combo it must fire the SelectedIndexChanged event.When you press tab,then focus would shift to the next control which has tabstop = yes and tabindex = the current control's tabindex +1. ...Show All
Visual Studio Team System Visio 7.1 for EA and VS2005
Background: My system has the following software, installed in this order: 1) Windows XP Pro SP1 2) MS Office 2000 Pro 3) Visual Studio .NET 2003 Enterprise Developer 4) MS Project Standard 2002 5) WinXP SP2 update 6) All .NET framework 1.1 updates to that point (current on box is 1.1.4322) 7) MS Office Professional 2003 (upgrade from 2000 Pro) 8) Visio Professional 2003 9) .NET Framework 2.0 Beta (2.0.40607) 10) .NET Framework 2.0 Beta (2.0.50215) 11) Visual Studio 2005 (beta 2.050215-4400) Now here is the problem; I now need specifically to use the Enterprise Architect Edition of Visio for some UML modeling and integration with VS2003 ...Show All
Visual C# Size of an extra reference to an object.
Hello, I was wondering. If I am using Win XP 32bit, and Visual studio 2005 how much extra memory does a refernce to an object take I.e: MyClass object1 = new MyClass(); MyClass object2 = object1; How much extra space does object2 take here Is it just 32 bit Or does it hold a lot of extra infor like reference type and so on too. I need to know this 100% sure. Thanks in advance. - OO - Thanks for the info. Since this is just for a 3D demo for GDI+ I think I will try and hope that it is 4bytes all the time. If this was an app I made for someone else or to sell, then I wouldn't have trusted it lik ...Show All
SQL Server Server Name?
I have a dialog box that is requesting the server name when I'm trying to create a new SQL Server 2005 database What is that and how do I find it Thanks. Hi Drae, >> Boy, that looks tough... it should be as easy as just changing the file location in the connection string. Oh no, please not! Keep in mind that SQL Server is not a personal database but a database SERVER. Many users can connect to the server and query the same database. Do you really feel that the connection string on all clients should be changed when a DBA decides ...Show All
Visual Studio Team System Process Guidance Print Tool
Looking for a printable version of MSF Process Guidance I have created a tool that generates single html printer-friendly documents from Process Guidance source files. The tool is still being enhanced but the current version is stable and can create single html files for: Workstreams Activities Work Products Roles Work Items I have tested it with MSF for CMMI v51125.00, but it may also work with MSF for Agile Development. I hope this is useful for you! Comments are welcome. Download it from: http://staff.southworks.net/blogs/mariano/archive/2006/01/28/206.aspx ...Show All
Visual Basic Find and Replace text from Richtextbox
Hello, I'm currently trying to make an program for making website's very easy, for Dutch users who can make webpages in Dutch Language, and the program translates.... Only I have one problem. I searching for the code to find words in richtextbox1 and replace them in a different string. This function should do his work when I press on a button. Does anyone know how to do this, or do you have any examples Thanks in advance! Greets, Peter van Dam If you're simpily replacing code from one language from another by the click of button, can't you just use this method: Private Sub Button1_Click( ByVal ...Show All
Smart Device Development Path is not valid as I follow steps in the SQL Server Mobile Edition Tutorials
Hi, I just followed the steps in "creating a mobile application" in "SQL Server Mobile Edition Tutorials". As I am reaching the end of the tutorial and run the code, it reports the error of "path is not valid". Part of the code in the tutorial is as following: =========================================================== public partial class Form1 : System.Windows.Forms.Form { private System.Windows.Forms.MainMenu mainMenu1; string filename = @"\Program Files\SSMWalkthrough\sqlmobile.sdf"; public Form1() { Initializ ...Show All
.NET Development Lightweight DataTable for Middleware
Hi everyone, We are experimenting on upgrading our existing banking software kernel from VB 6.0 to .NET. Currently, we are using client-server architecture. We are thinking about 3-tier architecture for the future kernel. The middle tier of our application is supposed to store high volumes of data, say, 100,000 rows of data, per each connection, and the estimated number of average connections is 30-40 per application server. Meanwhile, we don't need the DataSet/DataTable functionality. Basically, we need a component for storing data in middle tier without the extra redundancy of DataTable. It would be great if the component had an op ...Show All
.NET Development Writing data to a temp table
Hi there, I'm trying to write the contents of a DataTable to a temporary table in SQL. I create the temp with the following statement.... TableAdapter tableAdapter = new TableAdapter (); SqlCommand myCmd = new SqlCommand (_tempTableSQLCommand, tableAdapter.Connection); Then I call a method that I have set up on the Table Adapater which calls a stored proc which inserts data into the temp table... tableAdapter.InsertAssetTemp(.... Paremeter Values ....); But when I call the method, I'm getting an error that the temp table does NOT exist. I'm obvioulsy missing something which allows the table adapater quer ...Show All
Windows Forms Sorting Treenodes in treeview
I am trying to figure out how to sort the treenodes in a treeview. I am allowing the user to add and update the nodes and their text at runtime. Therefore, I need to implement the Sort procedure in the AfterLabelEdit event. However, there are a few problems I'm not sure how to address. Has anyone done this I can't seem to find a good answer. My treeview is only 1 level deep. A parent node can only have child nodes and those child nodes cannot have any child nodes. When I add a child node, it adds it at the bottom initially with some default text 'New item' and goes into Edit mode. After I am done editing the text, the AfterLabelEdit even ...Show All
.NET Development how to keep connection live while using httpwebrequest?
hi i am using httpwebrequest and httpwebresponse to send request and get response respectively. i want to keep connection live after sending one request in order to send another request using same channel. so plz help me. HTTPWEBREQUEST.KEEPALIVE = TRUE is not working. by Default as u might be knowing it is set to true can u post some code that shows the problem. ...Show All
Smart Device Development time() / localtime() in VS 2005 Windows mobile 5.0 pocket PC projects
VS 2005 compiles Windows mobile 5.0 pocket PC projects that use time()/localtime(), but the linker does not find their implementation. So which replacements exist under Windows CE that I can use Maybe you can try to use SYSTEMTIME structure instead of use localtime() function. Like this: SYSTEMTIME curTime; GetSystemTime(&curTime); Hope this can helpful. ...Show All
Windows Live Developer Forums Local Search Issues
Hi there, To get right to the point, I've successfully connected to the Search Web Service and am able to retrieve searched-for items when I set the Source to 'Web'. However, I've changed the Source to 'PhoneBook' and keep getting 0 results. The API (and other threads here) say that this function should be working correctly, but for some reason it's not working for me. Any suggestions as to what to check ...Show All
Visual C++ How to read unicode character??
Hi all, Currently i am doing one project related to unicode file reading, showing the characters in the ListCtrl . I got my result applying CFile, API WideCharToMultibyte & the reverse one.Here I read BOM for each file(.txt),then got the bytes for respective characters. but i have some confusion regarding whether those functions work properly if the character is more than two bytes ,ofcourse it is going to surrogates.I just want to know is there any deficiency/limitation in those fuction If I use wistream is it possible I know its possible. But which is the better way.Tho ...Show All
Software Development for Windows Vista Vista system requirement
hello! what's the system requirements of Windows Vista and if i want to run WHQL test, can i use the same system and is there any special WHQL procedure different than the current WHQL Thanks! http://www.bit-tech.net/news/2005/09/07/vista_hardware_reqs/ ...Show All
