LFS's Q&A profile
Windows Forms Problem with combobox and databound datagridview
Hi I have a datagridview that is databound to a table via a bindingsource and a DataGridViewComboBox column that is bound to a second table (both in the same dataset). I am dynamically adding the column to the grid. Dim viewcol As New DataGridViewComboBoxColumnviewcol.DataSource = _dsEquivalents.Tables(1) viewcol.DataPropertyName = "ViewName" viewcol.ValueMember = "ViewTable" viewcol.DisplayMember = "ViewTable" ...Show All
Windows Forms Please help!!
Hi all, We just posted two new whitepapers about building custom cells and columns for the DataGridView control: Building a custom RadioButton cell and column for the DataGridView control ( Source and Sample Code ) Building a custom NumericUpDown cell and column for the DataGridView control ( Source and Sample Code ) The docs, source code and sample code are under http://www.windowsforms.net/WhidbeyFeatures/default.aspx P ...Show All
SQL Server Datasource Reader - Name for output column is blank.
Hi, I have a problem using the odbc datasource reader to execute a sql command on a progress database. My query is something like:- select max(id), sum(amount) from my_table OR select a, b, c, recid(my_table) from my_table which produces external columns and output columns with no name. The progress sql doesn't support using aliases on column names and setting validateexternalmetadata to false and manually naming the input and out ...Show All
Visual Studio Express Editions starting to play a video in fullscreen mode
hi, this is my first post so hi to everyone, and sorry for my bad english (i'm italian ;-) ) I'm trying to write a program, using visual c++ 7.1, that lounches the media player. I'm using an IWMPPlayer object. I want that the media player starts playing my video in fullscreen mode, but it doesn't work and I can't understand why. Here is the code: HRESULT myResult; CComPtr<IWMPControls> myPlayerControls; myPlayer->get_controls(& ...Show All
.NET Development Remoting.. Event Errors
Hello all, I am trying to use Events in remoting and when i register an event handler on the client side i get the following error :- System.Runtime.Remoting.RemotingException was unhandled Message="Server encountered an internal error. For more information, turn off customErrors in the server's .config file." Source="mscorlib" I read it somewhere that this is because the TypeFilterLevel property is not set to full Bu ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to Mirror/Reflect/Flip a texture vertially?
Hi, I've previously developed a small .Net 1.1 application that converts from TGA and DDS files to the native texture files of a game (Dawn of War). The problem is that not everyone wants to then get additional plugins (or can't get plugins) to read the DDS files or convert them to TGAs for editing. Instead, I'm trying to use the DirectX SDK to convert between TGA and DDS (DXT1) without the need for an additional app. The general conversi ...Show All
SQL Server Export Query Results To Excel
How can I export the results of a query done in SQL Query Analyzer to an Excel spreadsheet. I found some suggestions for using DTS to do this but I can find no examples of how to set this up. Can anyone point me to an example Thanks, Dave With DTS you select to export data in enterprise manager. Data Transformation Services under the Tools menu. First you select your source, pubs database on localhost as example. Next you s ...Show All
SQL Server What is this?
Hi, Guys: Do you guys know what is this: dm_exec_cached_plan_dependent_objects A view or something else Thanks, Zhen Where are you seeing that It's not present in my SS2005 installation. -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 -- < Zhen@discussions.microsoft..com > ...Show All
Smart Device Development Connection to SQL Server 2000
Hi, I am trying to connect to an SQL Server 2000 database using VB.NET 2005 CF. When I run the application (code below), I get the following error: An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in System.Data.SqlClient.dll Additional information: SqlException Can anyone help me solve this problem When I use the same code in a windows application from, it works fine, but it doesn't when ...Show All
Visual Studio Team System Can I put more than one Check Method in a Rule
Hi Guys, 1) Is correct to develop a own rule with more than one check method I need to compare a string on the file name (in *.vb) and if the string exists in the namespace inside those files, like: file name : cXPTO.vc namespace : CompanyName.fxcop.XPTO 2) May I develop support methods to get informations os anything and prepare those informations to be used by the check method Like that: class xxx i ...Show All
Visual C# How do I access the application Form Name?
Please excuse this question. I'm currently learning C# "on my own". My application is an MDI with several child forms and I want to enable/disable the buttons on the active form by calling a method that will accomplish this for each form that calls it. I created a test app and thought I had the solution; however, I am at a stopping point and can not figure out how to solve this. Can someone please show me what I am ...Show All
Visual Studio Search result window disabled
I use VB.Net 2003 on a Windows XP machine. If I open VB and do a search for help, it works. However when I compile or debug a program that has a problem, I cannot view the search result window no more. The tab is there but is grayed out. I have to close the vb.net and restart to get acces to it again. Any help. It is frustrating Jean Hello Jean, I'm curious -does this issue go away if you use External H ...Show All
Windows Forms Wrong content type ?
Application: ---------------- "An unknown error has occured. Please review the even log for more information" Event log: ---------------- "Client found response content type of 'text/html; charset=Windows-1252', but expected 'text/xml'." Any ideas ...Show All
Visual Studio Team System a "pre-sales" question of sorts about source control in TFS
Our team would sure like to get answers to the following questions before we decide to purchase TFS. Thanks for any information or referrals. Does the version control system support moving a file or directory to a different location in Solution Explorer (via the IDE) while still retaining the history of the file Does the version control system fully support renaming a file in the Solution Explorer (via the IDE) Does the version contro ...Show All
Visual Studio Tools for Office A newbie question: how to control word directly?
VSTO provides a document-centric way, but sometimes I just want to control the Word directly and do some simple task, e.g. launch the word, ask it to open a .doc file, insert some text into that doc file, and save that doc file into some location on my disk. I don't want to generate some class object in my program, just want to direct the word to do something. Can I do this in VSTO Thanks! Hi, With VSTO 2005 you can only create d ...Show All
