Software Development Network Logo
  • VS Team System
  • Windows Live
  • .NET Development
  • Visual Studio
  • Visual C#
  • SQL Server
  • Visual C++
  • Smart Device
  • Visual J#
  • Game Technologies
  • Microsoft ISV
  • Windows Forms
  • Visual Basic
  • Visual FoxPro
  • Windows Vista

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

GBFan4

Member List

Daison
Matthew_t
John Seal
sasseen
Jeevanantham
Colvic
EngSheng
paulballard
Pennan
EW16150
calebb
Amorano
Snowday
Brent Wilson
smaillet
Simon_E
ZenithSurfer
CGantz2000
Salva Madrid
Karlo123
Only Title

GBFan4's Q&A profile

  • Windows Forms Putting DataGridView cell in edit mode causing problem .. Please Help

      Hello, I have extended a DataGridView control for custom event handling. By default all rows have the ReadOnly property set. All the columns are text box columns. After a cell is done editing, I need to move the focus to another cell and put that cell into edit mode. The first edit, I trap by handling the Enter Key press - since everything is ReadOnly at this time, the keyboard works. But thereafter, I have to override the  OnCellEndEdit method.  The problem is that I can't control the end edit behaviour after the user inputs data and presses Enter to update the cell changes. I try to  ...Show All

  • SQL Server Cannot create new SQL database file.

    Hello, I'm using MS Visual C# 2005 Express, but I can't create a new local database file in the "Add -> New Item" dialog. The Studio doesn't create the database, but shows a file not found message. Any ideas Can you connect to SQL Server Express and create the database manually If yes, then the issue is within Visual C# and you should post this issue on a Visual C# Express forum. If you encounter an error with manually creating the database, let us know what that error is. Thanks Laurentiu ...Show All

  • Visual Studio "Load Report Failed." When trying to launch a Crystal Report with VS .NET 2005

    Whenever I try to view a Crystal Report using the Crystal Report Viewer built in to Visual Studio .NET 2005, I get an unhandled exception saying the "Load Report Failed.". The section of code I have to bind the report is: string reportPath = @"F:\unnamed.rpt" ; ReportDocument reportDocument = new ReportDocument (); reportDocument.Load(reportPath); crystalReportViewer1.ReportSource = reportDocument;   Here is the exception detail: System.Exception was unhandled   Message="Load report failed."   Source="CrystalDecisions.CrystalReports.Engine"   StackTrace:        at Crysta ...Show All

  • .NET Development ConfigurationManager or WebConfigurationManager

    Hello everyone, I'm currently working on class library which will be used in both webforms and exe-type applications (winforms, cli).  My class library must load pertinent configuration and, on occasion, update it as well.  Now, my problem is this:  how can i determine whether my class library is running within a webapp, in which case my configuration code should use WebConfigurationManager, and when it is running in exe-mode wherein I would use ConfigurationManager.  By the way, is there a reason there is no common base or interface shared by these two classes   Frustrating! Brent ...Show All

  • Visual C++ deallocating memory

    Hi! I've allocated a memory block to a object. So, when I destruct this object, I need to deallocate this block, right ! But, I've gotten a message error when I try to do this: Unhandled exception at 0x7c901230 in form_console.exe: User breakpoint. My code is below: //begin of teste.cpp #include "StdAfx.h" #include ".\teste.h" #using <mscorlib.dll> teste::teste( void ) { this ->array = ( char *) malloc (10 * sizeof ( char )); } teste::~teste( void ) { } void teste::funcao( void ) { this ->array = "123"; free( this ->array); } //end of teste.cpp //begin of teste.h #pragma once class teste ...Show All

  • Visual Studio How to make Tree's?

    I need to make something like this: Element |---Group |--Value |--Value |--Group | |---Value | |---Value |---Value |---Group .... but.. Group "can't be embedded in" Group and Element. Adding hierarchies doesn't help... I could make it using relationships, but then, i couldn't use compartments... Thanks, Yes, you can parent a class on more than one class (where 'parented' means being the target of an embedding relationship). The target role of each parent relationship targeting the same class must have a multiplicity of 0..1. ...Show All

  • Visual Studio Team System Error 28906. WiDbLoc: Failed to localize a field in the database.

    Hi I am gettings this error: Error 28906. WiDbLoc: Failed to localize a field in the database. I have SQL 2005 installed on Windows 2003 Standard (SP1 etc.) it is running New Zealand English and TFS Beta 3 Refresh (database only) On another Windows 2003 Standard box I am trying to install the application tier and that is when I get the error. And the section of the error log (if that helps ) [11/01/05,17:18:42] Microsoft Visual Studio 2005 Team Foundation Server (services) - ENU: ***ERRORLOG EVENT*** : ERROR:Error 28906.WiDbLoc: Failed to localize a field in the database. [11/01/05,17:18:45] vs70uimgr: Entering DisplayMessage() method. [11/0 ...Show All

  • Visual Studio Team System TestContext.AddResultFile

    Hi, What is the intent of TextContext.AddResultFile() do The help file just lists out the method at this point. I thought it would let me override the result file location, but that wasn't the case. Is this a result file that I can add and then populate with additional log information by calling TestContext.WriteLine Thanks. Lets say my test generates 3 files. I add them to the TestContext and the test fails for some reason. Now I want to see the contents of those 3 files, but there is no list, and no link to these files anywhere within the test-details page, nor anywhere else in the VS-UI. It would ...Show All

  • Visual Studio Team System Web Service test with datasource

    I found the documentation on writing a web service test using a data source. This appears helpful when you use thee data source for generating data to send to the data source. ( I will try that shortly)   Once I have that working I need to verify the data returned from the web service against the data source. Can this be done Thanks, Tomk Yes you can verify the data returned from the data source using the validation rules.  You can use on of the built in rules such as find text or you can write your own custom rule.  The Xml document is exposed in the validation rules, so you can use that to find what y ...Show All

  • Visual C# Howto create a thumbnail from a wmv file ?

    I would like to create a thumbnail (any image format) from a Window Media Video file (wmv). Explorer does it when miniatures view is used so maybe there's a API that does this Thanks. Use the AxMediaPlayer to open the wmv file and navigate to position 0, here is a little example. You can find a releted newsgroup post here . ...Show All

  • SQL Server Using Reporting Services 2005 on SQL Server 2000?

    Is it possible to use Reporting Services 2005 on licenced SQL Server 2000 without a licence of SQL Server 2005 Thanks for your answer, Andreas I am not sure about the licence but RS 2005 does support connect to SQL 2000. If they are on seperate machines you will need two licences.  I don't know the answer if they are both on the same machine. -Daniel ...Show All

  • Visual FoxPro How To Create a mobile apllication With Visual Foxpro ?

    Excuse me for my English ... It' s possible create application for Windows Mobile using a Visual Foxpro language How to create How to Compile How Object Using Andrea, You cannot do it directly as there are no Visual FoxPro runtimes for Windows CE. You can use other tools like .NET Compact Framework. You can exchange data with VFP different ways, like SQL Server CE, ADO.NET CE and webservices. You can also use other options like AppForge. See: "Creating Mobile Solutions for Visual FoxPro Developers " http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnfoxgen8/html/VFP8_CreatingMobileSolutions.asp frame=true ...Show All

  • Smart Device Development WSE3 causes run to redeploy all references EVERYTIME

    I am currently developing a smartdevice application for my PDA. With normal winforms apps you can do the usual rightclick -> properties. then check the "use WSE3" checkbox. For some reason after doing it on my smartdevice app, it crashed at runtime complaining about System.drawing.Bitmap (but that might be related to this problem, but i'll ignore it for the moment) But now, everytime i press run on my project, instead of taking 2seconds to only redeploy the new .EXE Visual studio redepoloys every dotnet.dll to the deploy folder of the application. so now it takes close to 5mins each time i press Run, so it is rather har ...Show All

  • Windows Forms toolStripStatusLabel1 is invisible.

    I have an MDI application. I have a statusstrip in my parent form(frmMain). In the child form, I have get the instance of the parents form and set the status control like this. frmMain .GetChildInstance.statusStrip1.Text = "Set from Child"; frmMain .GetChildInstance.statusStrip1.Visible = true ; frmMain .GetChildInstance.toolStripStatusLabel1.Text ="Set from Child"; frmMain .GetChildInstance.toolStripStatusLabel1.Visible = true ; Howerver, the toolStripStatuslabel1.Visible is always false. Which makes the status invisible. Any ideal Hi Terrence, I can set toolStripStatuslabel ...Show All

  • Visual Basic VB.net to word 2002 automation

    Is it posible to determine if you have it the end of a page then insert a pagebreak and add the title of the page again on the second page or would i need to use bookmarks to the head and footer of the pages any help would be appreciated i'm guesing there is a boolean endof thing for this as there is with the recordsets. thanks in advance. I'd probably use headers and footers to do what it sounds like you want to do - that way the title is always on the top of the pages. Trying to detect and position text at the top of pages / inserting and removing page breaks etc. sounds like a lot of code to me. Some areas which will pr ...Show All

©2008 Software Development Network