Software Development Network Logo
  • Smart Devicet
  • Windows Vista
  • SQL Server
  • .NET Development
  • SharePoint Products
  • Visual Studio
  • Visual C++
  • Game Technologies
  • Visual C#
  • Windows Forms
  • Visual FoxPro
  • IE Development
  • Visual Basic
  • Audio and Video
  • VS Team System

Software Development Network >> ReevesEdward's Q&A profile

ReevesEdward

Member List

mian ghous
MisterB
Deuce BOI
Uggywuggy
NastyMatt
dmbrubac
gafferuk
bes7252
brian_tsim
jaegd
StephanieR
Rafael Mores
sahil1286
laiseng
shyma
mike11d11
Knvb1123
www.codediscuss.com
Philip Borchert
jewelfire
Only Title

ReevesEdward's Q&A profile

  • Windows Forms Is there an alternative way to use large datagridviews?

    Hi. I was wondering if there's a way to utilize the DataGridView and to display a large dataset on screen. The problem is that my program has to work with a transposed dataset, so the datarows are vertical. I got a nice function from The CodeProject which takes a DataSet and returns a new Dataset where the rows/columns swap roles. It is great, but I have a little bit of a dilemma. The DataGridView component in .NET2.0 (i'm using VS2005 pro/C# by the way) has a limitation of not coping with a large number of columns (655 is it's limitation due to something called the FillWeight - which I've had no luck modifying or understanding). I've had an idea, but not sure whether it will work. If someone can study this and liaise with me ...Show All

  • Visual Studio Team System File Date in TFS-VC

    In SourceSafe, you can specify (via Tools a Options… a Local Files) that the date/time of the local file be one of: Current Modification Check in As a policy, we have gone with Modification as the date/time that all local files should have (mainly so that we can easily see when the file was last modified). How can I do the same in TFS-VC From what I can tell, it defaults to Current and there’s no option in the UI for changing this. How can I make TFS-VC use Modification date instead To do this would require some major changes to the server code, so I doubt we will see it in a power toy in the near future. It is feedback that I know the team have heard from other peo ...Show All

  • Visual C++ LINK ERROR _errno

    hi, i've got a linker error :( my project is /MTD additionnal dependency " libcp.lib" ------ Build started: Project: romustrike, Configuration: Debug Win32 ------ Linking... Searching libraries Searching C:\Program Files\Microsoft DirectX SDK (December 2006)\Lib\x86\Dxerr8.lib: Searching C:\Program Files\Microsoft DirectX SDK (December 2006)\Lib\x86\dplayx.lib: Searching C:\Program Files\Microsoft DirectX SDK (December 2006)\Lib\x86\dxguid.lib: Searching C:\Program Files\Microsoft Platform SDK\Lib\winmm.lib: Searching C:\Program Files\Microsoft Platform SDK\Lib\wininet.lib: Searching C:\Program Files\Microsoft DirectX SDK (December 2006)\Lib\x86\dsound.lib: Searching C:\Program Files\Microsoft Platform SDK\Lib\use ...Show All

  • Windows Live Developer Forums Keyword & Destination URL

    Hi, I have looked at the OrderItem (keyword) and I could see the following issue: MSN Keyword doesn't contain destination URL. Is there any possibility to every keyword of an order has unique URL Serg Hello Serg, Here is how you are supposed to do it: At the OrderItem(keyword) level you set the first parameter as your unique URL for that particular keyword: setSubstParam1("http://www.abc.com/...") and at the ad level you should set the destination URL to {param1}: setDestinationURL("{param1}") I hope this will help you. All the best, Orest ...Show All

  • Visual Studio How to create setup project that installs without user interaction?

    Hi all, Just developed my first shared add-in in Visual Studio 2005. This add-in is for Project 2003. I created a setup project just fine, and we are planning on deploying it with an installation of Project 2003. Problem is, the setup project that is created requires the user to answer a bunch of prompts during installation. I included the Shared Add-in Support Update for the Microsoft .NET Framework 2.0 (KB908002) with my add-in - so when the user goes to install the add-in - it prompts the user if they want to install this update. I don't want any prompts to show during the install. Also, is there a way for the setup to detect if the user already has .NET framework 2.0 and not install it if it exists (as the update already includes . ...Show All

  • Smart Device Development screen resolution converversion

    Hi! I have a smart device project, developed for 240*320 screen resolution in VS .NEt 2003. When I changed to VS .NET 2005 and deploy to a qtek 9000 PDA, with screen resolution of 480*640, only the upper left corner of the screen was diplayed with the controls zipped. How can I adjust in VS .NET 2005, that when deploying to PDA, it should strech (convert) the coordinates when VGA display is detected Thank you! Hi, I developed an PDA applcation on POCKET pc2003 plateform. When we change the plateform to Microsoft windows Mobile 5.0 SDK it works fine on Normal Emulator but Not on VGA Emulator or Device 480 X 640. Can any one help me. ...Show All

  • .NET Development sql question

    Would there be a way to make the c# connection string to the sql database universal, so that it can be passed from one computer to another It's for a school project, so security isn't an issue. Why you all don't use same DB engine, like SqlExpress. Connection string must be configurable, and defined in one place. You can also create one simple form that will be shown when connection to the database is not established, with fields for all properties of connection string. So you will change that first time when moving to new database. Moving database is best with database backup if you work on sql server, but you can also take mdf file which requires detaching database (preffered for SqlExpress), and last t ...Show All

  • Windows Forms No program is installed and no error recived

    The program shows a warning for unknown publisher but it seems to be installing the program , there is no warning message that anything goes wrong. A shortcut is placed in the startmenu, and new program installed message appears, but there is no program installed...nothing happens when I click on the shortcut. The same program installs without problems on other machines/servers. Have not yet found anyone with the same problem.....Any help or pointers in the right (or wrong direction;-) would be appreciatied. Regards Nina M.:-) Do you have Kensington Mouseworks software installed on this machine You might be running into a known conflict with Kensington Mouse driver. See http ...Show All

  • Windows Forms Way to sink LocationChanged event on MessageBoxes & Standard Dialogs?

    Greetings I'd like to catch the LocationChanged event on a message box, OpenFileDialog, SaveFileDialog, and PrintDialog. For a MessageBox I could always create my own but the file/print dialogs will take some effort to reproduce. Is there any way to accomplish this Thanks You marked the thread answered without comment. I'm interested in what you ended up doing with the code, please let me know. ...Show All

  • Visual C++ Tooltips disappeared after switch from VC 6 to VC 8 due to breaking change in CWnd::OnToolHitTest()

    Hello everybody, after switching from Visual C++ 6.0 (VC 6) to Visual C++ 2005 (VC 8), many tooltips in my dialogues would not show up anymore.  It took me quite a  while to pin down the reason for this behaviour: The tooltips don't show up anymore for all child window controls which lie inside the window rect of another control like a group box or a tab control(*) preceding it in the tab order. The enclosing control has child window id IDC_STATIC, which in VC 6 meant that it was ignored by CWnd::OnToolHitTest()  (more precisely by _AfxChildWindowFromPoint(), which is used by OnToolHitTest(), see below). Now in VC 8 the constant for the controls-to-be-ignored chang ...Show All

  • Windows Forms handling PaintEvent in a class

    I can already work with paintevents and graphics in the mainform, but when I add a class and I want to add a pe.Graphics.Drawline() statement, He gives an error. Something with returning a '0' argument( pe => paintevent) How can I also work with drawings in a class I see to options in your case: 1) Make the Path class a Control (that is make it inherit from control). This will allow you to override the onPaint method and will give you a new Graphics object to draw on. The code will look like: class Path : Control { protected override void OnPaint( PaintEventArgs e) { Graphics gr = e.Graphics; Rectangle rectx = new Rectangle (); PaintEventArgs ...Show All

  • SQL Server Recursive query?

    I have a set of data and I need to actually add a column to the result set based on information contained within the query. For example, SalesmanID  SalesBudget   SalesRegion      Product      Amount 1                      1000                 USA                   Soap          100.50 1         &nbs ...Show All

  • Visual C# Trying to execute Batch files from a C# application

    Hello all, I am trying to exectute a simple batch file from a C# application and I am running into some trouble. Basically, my code compiles fine, but when I run it, the batch file is never executed. I am simply trying to run a code sample that I received from another website and I am curious to know if this is a coding or machine related issue. Your thoughts would be most appreciated. Here is the code snippet: using System; using System.Text; using System.Diagnostics; namespace CallBatchFile { class Program { static void Main( string [] args) { Process p = new Process(); try { string targetDir; tar ...Show All

  • Windows Forms Error 3201: "Cannot open backup device ..

    Hi I am trying to restore a database from my small vb application on my computer and I am logged on with administrative permission. Under sucurity setting for my application startup folder " C:\Documents and Settings\folyjon\My Documents\Visual Studio 2005\Projects\WindowsApplication1\WindowsApplication1\bin\Debug\" I have full permission but other normal users do not have permission. I want to elevate permissions for my application so that the peace of code below runs with same privilages I have. I am running the following peace of code: Dim cmd As SqlCommand = sqlCon.CreateCommand cmd.Connection = sqlCon cmd.CommandTimeout = 600 cmd.CommandType = CommandType.Text cmd.CommandText = "RESTORE DATABASE [MyD ...Show All

  • Visual Basic RectangleF.IntersectsWith - Precision?

    What precision does the IntersectsWith have regarding Rectangle vs. RectangleF I had assumed that since values for RectangleF were singles and not integers that this was also a factor in the IntersectsWith routine. However, consider the following example: Dim rect1 As New RectangleF(13.45, 5.15, 1.51, 1.51) Dim rect2 As New RectangleF(10.3, 5.15, 3.15, 3.15) Dim rect3 As New RectangleF(1345, 515, 151, 151) Dim rect4 As New RectangleF(1030, 515, 315, 315) MsgBox(rect1.IntersectsWith(rect2)) ' Returns True MsgBox(rect3.IntersectsWith(rect4)) ' Returns False This may be the expected behavior, but it created more than one problem with my current application. Thanks! ...Show All

©2008 Software Development Network