Richard Broida's Q&A profile
Visual C++ Debuggin issue
Hi, I'm compiling an application with /Od and /Zi. When I omit the -DEBUG linker flag I get a crash in my application. When I add the -DEBUG flag it does not crash anymore. Any idea how to debug this Thanks, Manu Hi, Reproducible under the debugger, means that when launched from the VS IDE. It has been my experience that often bugs only show up when launched outside the IDE and not within. In my case, it was both. Unfortunately no small code snippet. -DEBUG means /DEBUG option of the linker. So it has nothing to do with the C generated code. The only difference is this linker option. ...Show All
Visual C# How to display columns from a database table in a combobox?
my table name is Students with columns ID, Name, ... Hello Create a DataSource, Set the combo box datasource property to the created datasource, then set the combo box displaymember property to "Name" and valuemember property to "ID", so in this way all the names will be populated in the Combo Box. ...Show All
.NET Development typed dataset
Hi, I am using vs 1.1 and sql server 2005 beta 2. Trying to create .xsd file From the server explorer, I drag a table to the designer window. But I get the following error: DataAdapter configuration error. The wizard deyected the following problem when configuring the dataadapter for "Invoice" Details: error is select clause: expression near '['. error in from clause near '[' unable to parse query text. Thanks You might get a quicker response on the .NET Framework Data Access and Storage forum. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How can I learn working with DirectX?
Hello, How can I learn working with DirectX in C#. Knows somebody articels about beginning with DirectX DIII ...Show All
Windows Forms VB App cannot connect to internet via Proxy server?
Hi, we have developed a VB.NET Application that uses an internet connection to : 1) Check for updates 2) Connect to a SQL Database with ADO.Net and a connection string This works well from home and the office, however we have encountered a customer who has ISA Proxy Server installed to connect to the internet. Our application refuses to connect to the SQL Database or downloading updates via HTTP. Do we have to put something extra in our connection string or do we have to configure ISA Proxy Server. Regards, Mike. Hi Mike... Can you please post some of your code with the sensitive info removed or made mor ...Show All
Windows Forms Creating a task list like control.
Hi All, I am trying to find a control that looks like the Task List in the Visual Studio .NET IDE. The problem with the standard list view is that it's borders are 3D and if you try the flat style, the border colour is a dark black. Not to mention other small look & feel differences. Has anyond a good one (or the one that MS&nb ...Show All
.NET Development Microsoft Framework
Hi, I have only one account on my Windows Xp Pro SP2 and you know that when you have only one account it directly logins with that account. After I installed Microsoft Framework 1.1 when it comes to the account screen it doesn't automatically login with that account. I have to click on the account to log in. can anyone tell me why or how can i make windows to log in automatically when there is only one account without uninstalling framework (it does the same with Framework 2.0) Thanks for any advice. It worked with TweakUI. Thank you for the answer. ...Show All
SQL Server Update column with 8 digit random number
How can I replace a field for each row in my table with a Randomly generated 8 number value The field is of type int that I'm updating If you need the syntax for doing that in a db2, then I guess you are in the wrong group. Try to find a db2 group and post the link with the description and the solution within your post there. Sorry, but I think the most of the guys here are MSSQL geeks. :-) HTH, Jens Suessmeyer. ...Show All
Windows Forms How to disable "Ctrl-Tab" navigating between MDIChildren
Hi. I've tried to find an answer for this, but i think the terms are too general. I'm developing a windows app that uses MDI. We've created our own (simple) framework wherein the forms are navigated through a tabcontrol, i.e. tabbed forms. An unexpected bonus of the MDI was that the user can switch between the open forms with "Ctrl-Tab" and "Ctrl-Shift-Tab", and i respond the the "Deactivate" and "Activate" events to manage which Tab on the control is displayed. There are a few forms that I wish to be "Modal", but still within the tab framework. I've achieved this by merely di ...Show All
.NET Development How to declare API in C#
Dear all, I want to use functions in Shell32.dll. I search function SHGetPathFromIDList in MSDN and the result is BOOL SHGetPathFromIDList( LPCITEMIDLIST pidl , LPTSTR pszPath ); However, this syntax is not suitable when declare in C#. So, How to declare this function in my C# code Thanks, Khiem. I refered your URL which u provided. I developed application has listview contains list of system file. For now, I want my application support fucntion when user right on file, application will open ...Show All
Windows Forms TreeNodes with checkboxes
Hi all, does anyone know how to create a treeview where some nodes do have checkboxes and others don't To me this seems like a fairly common problem, yet I haven't seen any reference to this so far - maybe I'm missing something obvious I know I can draw all the nodes myself by catching the appropriate messages (like some custom treeview implemen ...Show All
Smart Device Development SqlDataAdapter
I am upgrading a app for a smart device using VS 2005 and CF 2.0. I can not find the SqlDataAdapter in the SQLClient namespace. Was it removed in CF 2.0 or do I have the wrong assembly. I'm using System.Data.SqlClient that was shipped with MS Sql Server 2005 Mobility Edition. Thanks It was not removed so you have a wrong assembly. Please make sure you have a reference to correct version of System.Data.SqlClient.dll as well as correct using/Imports statements. Also don’t forget to remove references to V1 assemblies. ...Show All
.NET Development Binding to a datagrid
Can anyone help with this one Have a form with a listbox and 5 textboxes, by clicking the different customer id's in the listbox this then displays the relevant info in the textboxes which is first name, last name, city, state and zip code, this works fine but I'm trying to display at the same time the order details for each selected order id in a datagrid but can't get it to work The order details to be displayed in the datagrid from the database are OrderID, OrderPrice and CustomerID, do I need to incorporate a data relation here This is the coding I have so far Imports System.Data.OleDb Imports System.IO Public Class Form1 Inherits System ...Show All
Visual Studio VS 2003 along side VS 2005
Before I do this I want to make sure I don't have any issues. I have VS 2003 Professional on my pc with the 1.1 .Net Framework. I want to install VS 2005 Professional w/ Office Tools, but I need VS 2003 so that I can continue to support my apps and web apps. What issues, if any, will I run into when I install VS 2005 on the same box Thanks hey thanks, i am giving it a try now, no more rebooting to find the help I'm looking for from the 2003 version, by the time I do that I forget what my question was or have been sidetracked into something more interesting.... ...Show All
Visual Studio Team System Load Testing - Not enough free threads
Durring my load testing in 2005 I get the following execoption: System.InvalidOperationException: There were not enough free threads in the ThreadPool to complete the operation. at System.Net.HttpWebRequest.BeginGetResponse(AsyncCallback callback, Object state) at Microsoft.VisualStudio.TestTools.WebStress.WebTestTransaction.Execute(AsyncCallback completionCallback, Object callerState) It only appears to happen when I go over 10 users.... Any Ideas Thanks It sounds like your web server may not be responding to connection attempts quickly enough to keep up with the rate of new reques ...Show All
