ModemGeek's Q&A profile
Visual Studio TLDA and Inputs/Outputs
How come the following target seems to do TLDA without me specifying Inputs and Outputs for the Target <Target Name="GenResources"> <GenerateResource Sources="@(Resource)" OutputResources="@(Resource->'%(filename).resources')"/> </Target> Doh!&nb ...Show All
Visual Basic Creating Zip Files
Is there access in VB2005 that allows creation of compressed (Zip) files, or at least has access to the windows-based utility that puts files into a compressed folder You can download one from here: http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx . ...Show All
Visual Studio Express Editions Can renaming a project break it?
I have been working on a little application for my department to use and I have been using ClickOnce to publish it to a network drive. It installed fine on everyone's machine, but I changed the name of the project (In the Application tab under the project properties) and republished it, and now when everyone else in my department opens it, they try to install the upgrade and it says The application is improperly formatted. But, I ca ...Show All
.NET Development How to write the XQuery in SQL 2005? could you help me?
How to write the XQuery in SQL 2005 could you help me I have stored the XML Section 1 (like disk directory structure) in a XML column in SQL 2005 database, I hope to get the XML just Section 2 using XQuery, but I don't know how to write the XQuery, could you help me //----------------------------- Section 1---------------------------------- < xml version="1.0" encoding="utf-8" > <Folder Name="Root" Id="a6dce8fe-749c-4e38-ab2f-3d03d97 ...Show All
Architecture N-tier layer separations and connection/interaction
I happen to be experimenting based on some examples I've found on the net but I want to be directed to the right path, those samples tend to be incomplete or misleading. In a typical N-tier scenario, which should reference which And is the use of Data Transfer Object in accordance to any best practice that maybe existing Accordingly, how does those layers supposed to connect/interact with one another eg. what does BLL passes to the DAL and w ...Show All
Windows Forms DataGridView , DataSource and myGridView.Rows return null (same for .Columns)
Well, I was very happy to be able to set up a complex query to fill a DataSet and use that DataSet as a DataSource for a DataGridView. But the issue is that the DataGridView displays the data in a very raw mode and that I need to apply many different style depending on each cell. But the Columns property returns null and the Columns.Count return 0 Same for Rows and Count. I have had to create all the columns manually from code to be able to ap ...Show All
Windows Live Developer Forums Submit an App - Get the Windows Live Messenger Beta!
Would you like early access to the Windows Live Messenger Beta Starting today, November 8 th and running thru 9:00am PST on Monday, November 14 th The first 5 people to submit Activity Apps to the Worlds Best App contest and successfully pass compliance checking will receive an immediate invitation to the Windows Live Messenger Beta! Be one of the first people in the world outside of Microsoft to run with the next version of Windows ...Show All
Windows Forms Hold references to business objects in controls, or just their IDs
Do you normally store an instance of a domain object, or just it's ID, in the Tag property of, say, a TreeNode I am having problems because my GUI controls, which hold references to the domain objects they represent, stay in memory for as long as the app is running. So if I have a TreeNode and a ListViewItem, both representing the same domain object and both keeping an internal reference to that object, I think problems are occuring when ...Show All
Windows Forms How to tell if a treenode exists?
Hi everyone, I'm creating dynamic trees based on file-system structures. Here's the code which isn't working: myNodeCollection = oParentNode.Nodes n = New TreeNode(bp(0)) If (Not myNodeCollection.Contains ...Show All
Windows Forms change the default row hightlight color of DataGridView?
Hi, When user hightlights a row in datagridview control, the row color is defaulted to DeepBlue. Is there a way to chagne this default color to something else like Red Our client has this 'special' request. Your help is greatly appreciated. Thanks, Boston Hi... This will work for sure just use these two events and follow this code private void dgvTest_RowEnter( object sender, DataGridViewCellEventArgs e) { DataGridVie ...Show All
Visual Studio Express Editions Visual C++ & Windows Forms Application without .NET framework
Hello, I installed the Microsoft Visual Studio 2005 Express C++ and I would like to know if it is possible to create there a windows-native forms application, but without the CLR (.net). Because in the NEW option is windows forms CLR but native only console app... (and when i make new windows forms CLR app and then change the properties to "without CLR" i just get tons of errors during compilation). Thanks for answer, E. ...Show All
Windows Forms another vb to c# translation question
the first one is about number, especially unsighned number when dealing with window api drawing. for example the following c# code: mousePos.x = (short)((uint)m.LParam & 0x0000FFFFU); how the heck can it be translated to vb: mousePos.x= cshort(m.LPAram.toInt32 & &HFFFF) w ...Show All
Visual C# Error while trying to compile website with multiple projects
I have a website project that contains 4 seperate projects (ASI, ASI.ASIBasePage, ASI.DataAccess, ASI.Framework) and I have added the references to each of these in my project as well. The project was working fine until today when I changed a line of code in the DataAccess object and now when I try to debug, it gives me the following error: In a MessageBox, this appears: Source File: C:\Projects\ASI.DataAccess.cs Module: C:\Windows\Microsoft. ...Show All
Visual Studio Express Editions DataGridView + sqlcommandbuilder + bad insert
MSFT, Thank you for the great support and documentation. My code is based on " How to: Bind Data to the Windows Forms DataGridView Control " Now in my SELECT SQL statement, I have "SELECT colA, colB FROM tableA where userid = '123456'" So in the DataGridView it only shows two columns ColA and ColB... and not userid.... which thats how I want it. But now when I come try to add a new row and click "Submit" to add the ...Show All
Windows Forms graphics flicker problem (double buffer not working)
I am trying to create a simple Breakout type game. I have a game panel on my form that holds my game (the paddle, ball, and board of blocks). I use a timer with an interval of 10 to move the ball a set distance every tick. The problem is that I also draw the board everytime this timer ticks and it flickers. I tried setting the doublebuffered attribute of my form to true but it didnt help. Anyone have any ideas either a different/ebtter way t ...Show All
