ehartwell_mtm's Q&A profile
Visual Studio Problem Running Projects After Upgrading From Beta
After upgrading from beta to the final Visual Basic program, when running any project – old and new – would result in this error: “ Error while trying to run project: unable to start debugging the binding handle is invalid” After extensive searching, I found out that to fix this issue I would need to enable Terminal Services. Indeed, this fixes the problem. But, WHY is TS needed for this It was not needed for the betas. Additionally, it is an institutional policy to have all of the TS services disabled. A solution that would allow the usage of VB without the need to run Terminal Ser ...Show All
Visual C# Graphics Problem
hi iam writting an application where picture box control has to draw set of points point by point some specific time. my problem if i use picturebox.creategraphics() for drawing , graphics lines are disappearing if i minimize or max. another method is picturebox.image = new bitmap(pb.height,pb,width) g = ghraphics.fromimage(picturebox.image) if i use this i could not able to see lines drawn by g. i could able to see only if i use picturebox.refresh after each point or minimize or max the window. i nedd a way to solve this without using picturebox.refresh() bcz this will take time to refresh the window. You should not ...Show All
Visual Studio Express Editions Object Reference Issue
I'm interacting with the Revit API (for any who know what that is). The function I'm trying to call is Public Funcation LoadFamilySymbol(ByVal filename as String, Byval name as String) As Boolean . Now in the object browser, this has a pink cube next to it (and I'm not sure what the icon means) My code is as follows: Public Function Execute( ByVal commandData As Autodesk.Revit.ExternalCommandData, ByRef message As String , ByVal elements As Autodesk.Revit.ElementSet) As Autodesk.Revit.IExternalCommand.Result Implements Autodesk.Revit.IExternalCommand.Execute Try ' hard coded family file Dim fileName A ...Show All
Visual Studio Changing crystal reports connection string dynamically
I need to switch between the databases at runtime for my crystal reports in .NET 2.0. Is it possible to change the crystal reports connection string at run time in .NET 2.0 Please provide me any sample code which illustrates dynamically changing the connection string of crystal reports at rune time. Thanks in advance, Vaishu Hi, If I understand well uor cristal report is linked with Datatbase 1 and in run time u want to change the source ... In thant case the return data have to get same struct becouse in other way the Creport reise the error. So u have to make new conection Private Sub Form1_Load(ByVal send ...Show All
Visual Studio Team System Creating a solution in a TeamProject, how?
I created a sample TeamProject but I can't figure out how to add a typical code solution to this team project, how can I do this Also, is the Team Server available via IP Or do my team members need to be on the same domain/network as me Thanks in advance. Thanks for the help everyone. The more I use and understand the features in Team System, the happier I am with the software. ...Show All
Visual C# Capturing mouse button (Middle one)
Greetings, I have an Internet Explorer like application that uses the WebBrowser control. I must capture the mouse button click when it is done with the middle button so that the behavious could be different... (Like with Firefox, middle button clicks opens the selected link in a new exploration tab.) Right now, i can'T seam to get the event in a regular Form handler since it must be captured by another control... (i.e. Same problem than the one described in my previous post about KeyPress and KeyUp events) Is there a mouse equivalent of the "KeyPreview" property Somesort of MouseClickPreview i could set to true ! Note ...Show All
Visual C# Custom Control with an Image File - Error at design time
I am developing a custom control which includes an image (actually, it will eventually have many images). I am not embedding the resource but simply have the project set to copy the file into the build directory. This is working fine at runtime, however it doesn't work at design time. I get the following error: The control Gauge.Gauge has thrown an unhandled exception in the designer and has been disabled. Exception: A generic error occured in GDI+. Stack trace: at Gauge.Gauge.DrawNeedle(Graphics g, Single ange) in D:\path\Visual Studio 2005\Projects\Gauges\Gauges\Gauge.cs:line 96 at Gauge.Gauge.OnPaint(PaintEventArgs e) in D:\pat ...Show All
Visual Studio Express Editions MSDN Express Edition Download Location
Hello All Hopefully someone will be able to answer this question for me. Is the MSDN Express Library a seperate download or is the documentation for each product contained in the respective downloads If it is a seperate download could someone please provide the URL to access this download so that I can get the last piece of the "Express Puzzle" downloaded. Please send your replies to vscurtis@sbcglobal.net . Many thanks Shane Hi Shane: MSDN Express can be downloaded and installed as an optional component to when you download/install any Express editions. All Express docum ...Show All
Windows Forms LSA Undocumented Funtions (AdvApi32.dll)...
Hi, I need some Info/Help... I have been trying to some functions I found in a MSDN documentation (Q132958 - HOWTO: Manage User Privileges Programmatically in Windows NT) to compile, but they won't due to the fact that they are not in the AdvApi32.lib. They are exported in the AdvApi32.dll, but some of the functions require params and I can't find&nbs ...Show All
SQL Server Previous Row Calculations (sql server 2000)
if anyone know a way that you can look up a value from the previous row in a View to do a calculation on (in sql server 2000) for example: expr1=PreviousRow.Expr1/30 + expr2 - expr3 =100 so the next row is expr1=100/30 + expr2 - expr3 =300 so the third row is expr1=300/30 + expr2 - expr3 =100 or tell me if it not possible please and special thanks to Umachandar Jayachandran - MS for help. Hi, Im not quite sure if this is possible in a view. But you can do this in a stored proc. You can use a cursor and manually traverse your records... cheers, Paul June A. Domag ...Show All
Windows Forms Need added row visible in data grid
We have a form that uses a data grid to show current values in a database table. The data grid is also used to add values to a database table. The user selects an Add button - at which time we will add a blank row to the bottom of the data grid and then select that row. However, when there's more rows to display&nb ...Show All
Smart Device Development Application don't want to run
I've compiled my binary with VC80 and found a problem with CreateThread - it doesn't create a thread and GetLastError returns error number 8(it creates 2 threads, but 3rd thread creation fails), but when I've worked with eVC and everything was OK. What is the difference - may be wrong project's settings Thanks. Ok, let me to supply my previous post with differences between vc 8.0 project's settings and eVC 4.4: first of all - usage of MFC and ATL: eVC 4.0: Not using MFC VC 8.0: &nb ...Show All
Visual Studio Express Editions WEB wizard-update multiple tables(HOW?)
WEB- Seeking details on how to use the "wizard" to create a GridView based on multiple tables, and use 'wizard' to UPDATE columns from any of the tables. Trying to use a LITTLE manual code as possible. ...Show All
Visual Studio Team System Namespace Changed in VS 2005 RC
Hi, Why this namespace got changed in VS 2005 RC build " Microsoft.VisualStudio.QualityTools.UnitTesting .Framework" to "Microsoft.VisualStudio.TestTools.UnitTesting". I have to go and change this namespace on all my test projects. Can you someone explain the reason behind this. It was part of a namespace cleanup, and getting FxCop clean(er). E.g. remove code names, make namespaces more logical etc. Is this causing you a specific problem Or is it just the inconvenience It was horribly painful for us, but we go through it with Find/Replace in files :) (for our N-thousand tests) ...Show All
Visual Studio Team System TF80071 after choosing TFS Project occured
I receive the error within MS Project 2003 SP2 (German) TF80071: Team Foundation encountered an error while accessing the work item database. .. after i choose an existing TFS-Project. The connection to the server is OK, no error about wrong mappings etc. I'm using TFS Team Explorer Beta 3 and Project Server 2003 with SP2 German. The project is an Enterpriseproject stored on the server and not as an .mpp Any ideas But Scott, do you support "indirect" integration between project server and tfs via the project plan ...Show All
