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

Software Development Network >> MetalReview.com's Q&A profile

MetalReview.com

Member List

FP725
Hassan Ayoub
JonS123
Troy Lundin
Dawa Tsering
kkennedy1008
cbtm
Gunston
carlp22
Loopsludge
J A Y
dr.acv
RPW
coolcoder
ajpharrington
Duncan Stewart
SarahLee
ClydeCoulter
KjellSJ
Shobha69358
Only Title

MetalReview.com's Q&A profile

  • Visual C++ Handling exceptions thrown from a DLL compiled with /clr within a pure C++ host application

    Greetings! I have an application that needed to be compiled in pure C++ to support some statically linked libraries that my company has written, but I wanted to take advantage of the ease of C# programming with VS2005 and .Net 2.0. My application has three components then: a managed assembly with the bulk of the application code, a DLL used for marshalling the few calls that the application will make, and the host executable itself. The problem I'm having is with regards to how to throw exceptions from code within the managed DLL to be caught by pure unmanaged code in my application. Every time I try to do this, I get the following message: "An unhandled exception of type 'System.Runtime.InteropServices.SEHException' occurred in (my m ...Show All

  • Visual C# Delegates in C#?

    What is the proper use of delegates in C# Where can we use it properly Can u give me some real examples <code> public delegate void DelegatePrintHello(); public class _mclass : Form{ public DelegatePrintHello m_DelegatePrintHello; public _mclass() { m_DelegatePrintHello = new m_DelegatePrintHello(this._displayMsg); } public void _displayMsg(object sender, EventArgs e) { MessageBox.Show("Delegate called me"); } private void Form_Load(object sender, EventArgs e) { m_DelegatePrintHello(this, new EventArgs()); //m_DelegatePrintHello(); } } Hopefully you get the jist. This code is untested. Martin ...Show All

  • Visual Studio Team System Working folder is already in use

    Just migrated from VSS to TFS and its fantastic! Having a problem on my PC when trying to get source code for a project. I get the message ' The working folder is already in use by another workspace on this computer'. I have cleared all the work spaces for all users on my machine (as far as I can tell) by clearing down the C:\Documents and Settings\[user]\Local Settings\Application Data\Microsoft\Team Foundation\1.0\Cache\VersionControl.config files. I have also had a poke around in the tbl_Workspace and tbl_Workingfolder on the server to make sure there are no stray workspaces defined. Does anyone have any ideas on how to resolve this One thing that may be causing the problem is that our development team is working on vir ...Show All

  • Visual Studio cant debug a stored procedure

    Hi guys am wondering why i cant debug a stored procedure from visual studio ! i followed instructions below(link) http://support.microsoft.com/default.aspx/kb/316549 in server explorer i select a stored procedure and right click but there is no "step into" menu item. i searched on the internet and some guys suggested that resetting user settings in VS but that did not help either. any ideas on this one please . Thanks for your advise. btw am using VS2005 standard edition and sql server 2005 standard edition prk wrote: thanks Alex Incidentally, prk, my experience with the tool albeit brief was disappointing. I debug SPs usually with no trouble in SQLEXPRESS but this animal was different. It was a case of SP g ...Show All

  • Visual Basic Recent Projects List on Start Page is not being Populated

    The Projects List on my Start Page is not being populated with the Projects I open. It's empty. Does anyone know what could be the problem I can see the entries being recorded in the Registry key: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\ProjectMRUList But VS isn't reading them in for some reason. I'm running Visual Studio 2005 Professional. Thanks. Right, I had to modify the group policy for my users: User Configuration/Administrative Templates/Start Manu and Taskbar Do not keep history of recently opened documents -> disable or no config. This policy had been set long ago and I pretty much forgot about it. So, here is a follow-up question: Where can I find a document ...Show All

  • Visual Studio Express Editions Database Connectivity: Too Much VBA Experience I think

    ok... I'm pulling my hair out at this point. I have been developing EVERYTHING in VBA for MS Access since 95. SO, I am new to VB.NET AND to VB Express. I went through the Add Data Source Wizard and added my Access Database out on my network. I am trying to write some necessary classes for working with and manipulating the data that I want to pull and manipulate. In my old VBA Applications, I would write Class Modules. One for each table. Each Class would have a LOAD Public Function that well... let me show you... ' *************************************************** ' * Department Identification Number * ' *************************************************** Private intDepartmentID As Integer ' ************************* ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Fullscreen problems.... (SOLVED)

    EDIT: I am using Beta 2. I use this as the constructor method... public Game1() { graphics = new GraphicsDeviceManager(this); graphics.PreferredBackBufferWidth = 640; graphics.PreferredBackBufferHeight = 480; graphics.PreferMultiSampling = true; graphics.ToggleFullScreen(); content = new ContentManager(Services); } Works great. But when I change the resolution to 800x600, all I get is a black screen. The loop is still running because I can still quit the program. I have also tried 1024x768, that works too. Thought maybe it was an aspect ratio problem, but they are all the same, 1.3333... I have tried turning the multisampling off to no avail. Didnt think that would be it anyways, I play World of Warcraft at 800x60 ...Show All

  • Windows Forms DataGridView: New row not added when edited programmatically

    I have a DataGridView that displays a DataTable to the user. If the user presses the F3 key while in a cell, I show a popup window that allows the user to enter detailed information for the cell. When the ok button on the popup is pressed, the total of the details is put into the cell. This works fine, except when this is done in a cell on the new row. As soon as the user types a character in one of these cells on the new row, the DataGridView automatically adds the row to the DataTable and another empty new row is displayed in the DataGridView. But, if the user presses F3 and I programmatically set the cell's value in the DataGridView_KeyDown event, the row is not commited to the DataTable and another empty new row is not displayed in ...Show All

  • Visual C++ XML

    Hello folks, I am currently working on a program that scans values (temperature, fan speed) for boat engines. Now, I want the program to save the scanned values in a xml file, and i already have this to work. But, it should add new values to the same file once every minute, so i would want to append the existing xml file in some way.. How do i do this This is the code thus far for the xml output: std::ofstream xml( "xmlvalues.xml" ); xml << "<INSTALLATION>" << endl << "<INFO>" << endl << "<NAME>" << " </NAME>" << endl << "</INFO>" << endl << "<TECH ...Show All

  • Visual C++ position of combobox in an toolbar.

    Hi, i create a toolbar that contains several buttons and a place holder for an combobox. i used:CToolBar::GetItemRect to get the place rect,and then use this rect to create a combox. i find that when the place holder is in the first item of the toolbar, it can be place to the righe position. but when the place holder was placed not the first item(e.g. last second of the toolbar), it can not be place to the place that was holded. why any suggestion will be appreciated,thanks. it has been resloved. when i create the combox, the size of the window that contain the toolbar has not been calculated. so i can not get the right rect. after i calculate the size of the window. all things works. another thing arise. should i recal ...Show All

  • Windows Forms DataGrid Master/Detail... close but not right

    I am using a DataGrid, not the Datagridview, to create a Master/Detail Grid. When I run it, it displays the Master data with a expand button on each row, which is great. When I click to expand it simply gives me a clickable hyper-link to another table containing the child row. Any way of just having that child row display in place of the hyperlink I realize I can go out and get a custom 3rd party DataGrid, but I would like and use the regular good old fashioned one if possible... thanks. Sorry you can not show more than one table at a time in the datagrid. Mark Rideout has a nice blog entry on how to add that fuction to a datagridview http://blogs.msdn.com/markrideout/archive/2006/01/08/510700.aspx ...Show All

  • Visual Studio Team System VS 2003 and Vs2005 using MSSCCI provider

    Hello all, I have vs 2003 and vs 2005 installed on the same machine. I have a 2003 solution that's inside TFS source control and i've installed MSSCCI provider to use with my vs 2003. In the moment that I open Vs2003 and choose MSSCCI provider, it automatically opens vs2005 and i cant work on my solution, because its not converted yet. Does anyone know how could i use the vs2003 without need to uninstall vs 2005 Thanks! Hello, The "File->Source Control->Team Foundation Server Msscci Provider" is the command to run external tool for the active msscci provider - in the case of TFS, it's VS2005. To start working with Msscci you just need to: File->Source Control->Open From Source Control to select projec ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. surfaceformat question

    Hi guys, I have what is hopefully a simple problem. Maybe I am just missing something obvious, but I can't seet to initialize a rendertarget2D on the xbox360 with the SurfaceFormat.Rgba64 format. Every time I specify this format, I get a "Cannot Create Resource" error when the program runs. Is there some parameter I need to set in the device properties in order to create these targets Or is this format just not supported on the 360 As far as I could tell, you generally need to use this format for HDR lighting, if I am wrong and I could easily be using some other format, then I guess I will do that instead. Thanks for the help I don't believe that format is supported, though I could be wrong ...Show All

  • Windows Forms Form responding slow

    Hi, I got 2 forms. From1 has buttons and some checkboxes to start a test after a button is pressed. If a button is pressed, it opens Form2. When i'm done with Form2 i close it. Then i get back to Form1 and then it starts responding slow. This only happens when i start a test that has filestreams and filereaders and some more stuff with files involved. How can i see whats making it slow I disposed everything in Form2 when it gets closed. Even when i close the Form1 its still running, I have to press the 'stop' button in order to continue. Any suggestions anyone Thanks in advance! No, your while loop keeps running, as you found out. To break out of the while loop, set a boolean form class member to true if ...Show All

  • Software Development for Windows Vista Enumerating symbolic links in Vista

    Is there an equivalent to FindFirstVolumeMountPoint that can find symbolic links on a volume On Vista symbolic links have a different reparse tag than mount points. ...Show All

©2008 Software Development Network