cykophysh's Q&A profile
Windows Forms DataGridView: column provided does not belong to this DataGridView control
Hi all, I've this exception sometimes with some DataGridView. The DataGridView DataSource is linked to a table from a DataSet and I've this issue if I set the 'AutoSizeColumnsMode' property to 'DisplayedCells' or 'AllCells'. But if I put 'None' to this property I don't have the exception... Any Idea how to solve it I would like to have 'DisplayedCells' on the 'AutoSizeColumnsMode' of the DataGridView. Thanks in advance for your help :) ...Show All
Windows Forms .application file not found
When I try to install a application I get http error 404 File not found for myapp.application file even it exist on my hard drive. How can I correct this. Thank's Sorin Sandu Romania All the three mime types are needed to be specified : .application application/x-ms-application .deploy application/octer-stream .manifest application/manifest u dont have to add the mapping of .application to use dfsvc.exe. If the mime ty ...Show All
Visual Studio 2008 (Pre-release) Can't uninstall WinFX beta 2 (specially WCF Components)
Hello I have a problem uninstalling WinFX beta 2. During the uninstall i get a error EventType : wap10setup P1 : 13165 P2 : 3.0.03906.22_waprc0_x86_sfx P3 : mc P4 : inst P5 : f P6 : dd_ca_uninstallxwsregexe_x86.3643236f_fc70_11 P7 : 0 P8 : 1603 P9 : - P10 : windows communic I used the repair funtion(wich crashes also), but the uninstall problem stil exist When in look deeper in to the uninstall process i figure ...Show All
Visual Studio Express Editions VB not changing the records in the database
I'm new to VB and have been trying some online study guides. I created a project following the instructions but the results did not work as expected. I had created a 2 column 4 row database table. Then went to modified one of the records. The information was changed in the BindingSource. But the update did not change it in the actual database on the hardrive. Public Class Form2 Private Sub Form2_Load( ByVal sender As System. ...Show All
Visual J# J# JDBC Interface with Oracle10g and Mysql 4.1
Greetings, I would like to create a JDBC Application to run queries against a MySql 4.12 on Windows 2003 database and then insert the query results into Oracle10g on Linux. I understand Java has a JVM environment to devlop the JDBC api and create an open connection to both database platforms. Since I do not have Java programming experience, I would like to create this program using VS J#. I do know that .net has a JDBC driver to Ora ...Show All
.NET Development How to catch a network failure from socket operation
Hello, I am using .NET 2.0 and I have a few questions regarding the network failure. I have connections established between server and clients and I need to be notify on both sides when a connection in no longer valid following a network problem between the peers. I am using TcpClient with SslStream to establish the connection with the server. The connection is well established, the messages are well exchanged, and EndRead function returns ...Show All
Visual Studio Team System When does the 180 day evaluation version expire
Is there a way to see what day the TFS eval version will expire Or do I just have to figure out when it was installed and count forward. -dave David, There is no easy way to figure this out, although I know we were talking about a power toy that would display this on a console. I don't know if that made it into the tools yet. marc ...Show All
Visual Studio Stuck to solve custom metadata puzzle
Hello, I have an MsBuild project that runs unit tests and generate code coverage information. To do this it needs to know not just file names, but also namespaces for each assembly being tested. We have the following convention: - If assembly is called MyCompany.MyAssembly.dll, then it contains namespace MyCompany.MyAssembly; - Unit tests for assembly MyCompany.MyAssembly.dll are placed in MyCompany.MyAssembly.Tests.dll. So for each ass ...Show All
Visual Studio Missing DLL when using MSBuild
Question: I got a build of my solution that has a reference to an external .DLL, in this case it is 'Microsoft.DirectX.AudioVideoPlayback.dll'. When using an team-build of this project on a remote machine it gives me a error. ''MSB3245: Could not resolve this reference. Could not locate the assembly" Why isn't the proces also copying this .DLL to the build-machine I tried to put the 'Copy Local' option to True but this doesn't help. Any ideas Wh ...Show All
Visual Studio Express Editions Timed Repeat for my Application
G'day, I have written an application which is working well. Up until now, I have executed it using the Task Scheduler within windows but circumstances have dictated that a different solution be required. What I want is really quite simple (I hope!) I would like the application to execute on startup (it runs silently in the background with no user input or visualization at all) which I can cover by adding an HKLM registry key as part of the ...Show All
Windows Forms Making a typed resource file public
Hi! I made this question before during the beta period but I'm coming back just in case something changed after the final release of vs2005. Is there any way for a typed resources class to be generated as public so that they are accessible by other projects expect the project containing it. The ResXFileCodeGenerator custom tool generates this class as friend. The only work around I found is to clear the custom tool property from the res ...Show All
.NET Development objects defined with <asp:"object"> not displayed.
I downloaded the C#, Asp.net CarsSelectorSample from http://msdn.microsoft.com/library/default.asp url=/library/en-us/cssample/html/vcsamcsharpaspplussample.asp The application runs in iexplorer but all objects that are defined in CarsSelectorSample.aspx that start with <asp:"object type"> are not displayed. Could this be solved by configuring IIS or VS.NET, or perhaps by doing something else ;) Hi! ...Show All
Visual Studio Team System How do I change a WI type, from Scenario to Task for example, without creating a new WI? Is there a view to see this heirarchy?
I have a number of Sceanrios that were entered for my team that are actually Tasks related to one Scenario. Is there a way to change these to Tasks related to the scenario without entering a new WI Also, is there one view that gives me the scenarios and tasks laid out in their heirarchy I see the links in the links section, but I would like to see the hierarchy when I run a query for the scenarios and tasks in a given iteration. We ...Show All
Visual C# Try Catch Finally
Hi Does Try,Catch,Finally block slow down application's performance Why Where I can find the documentations or EBook about C# 2.0 Thanks. Yes, it absolutely slows it down. You should not use it to control program flow, only to catch exceptional circumstances, such as errors. amazon.com has plenty of books on C# 2.0, some of the Microsoft published ones are terrific. ...Show All
Windows Forms MERGING CELLS IN DATAGRIDVIEW
Hi all, Is it possible to merge cells(rows) in DatagridView And How Thanx Hello, It is nice to see that people keep asking question on this issue and the small fraction of code I provided was helpful to some of you. But this is only small part of custom coding to get really nice formated and merged datagridview... Anyways I dont think that I might be very helpful, since in many instances you need to figure it out how to make thing ...Show All
