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

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

jpgirard

Member List

unthreaded
ItsMe!!!
Rush hour
Cr7pt0r
PiGuy
Jimmys3000gt
tharpa
NMM
SteveJB
mike6271
AJ-VENNING
Talkless
opera100
GTrz
Drew Marsh
learnerplates
Dattaforit
jdunleav
Bagles1
David Hanak
Only Title

jpgirard's Q&A profile

  • Windows Forms Treeview dragdrop event ignores exceptions! HELP

    Hi, I have a windows.forms application in C# using a treeview with dragdrop capability, however I have found when an exception occurs in the DragDrop event and is unhandled, .Net ignores it (instead of showing the exception dialog) Attached I have some test code where I explicitly throw an exception in the DragDrop event, nothing happens! Any ideas thanks Brian public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void treeView1_DragDrop( object sender, DragEventArgs e) { throw new ArgumentException (); } private void treeView1_ItemDrag( object sender, ItemDragEventArgs e) { DoDragDrop( "!" , DragDropEffec ...Show All

  • Visual Basic Standalone Executables in VB 2005 Express?

    Is it possible to produce an .exe executable stand alone program in Visual Basic 2005 Express or is it intentionally hamstrung so as not to allow compilation but only to produce scripts for an interpreter Any help appreciated. All executable in VB.Net will require the .net framework to be installed. The .exe file it produces are actually IL (Intermediate language) which will be compiled by the JIT (Just In Time) Compiler when run. The compiler is part of the framework. So the executable are compiled (but at runtime) and all .NET applications whether VB or C# require the appropriate version of the framework to be installed - which includes the compiler (and has a free redistributable) ...Show All

  • Visual Studio Express Editions Compiler Error C2659

    For my program, im making a highlighter rich text box. Its a multy-tab programers editor. Since I have to define my rich text boxes at realtime, I decided to create a class that automaticaly sets all default settings and allows easy changing (font, color, highlighter, events, etc). Everything works fine, except when I try to define event functions. The code I entered is a replica of what VCPP .Net generates when assigning functions via the visual interface, changed to fit my context, but it complains that im trying to set a value to a function. [code] using namespace System; using namespace System::Windows::Forms; ref class HighlighterTextBox { public: HighlighterTextBox(RichTextBox^richtextbox) { this->textbox=richtextbo ...Show All

  • Visual FoxPro How to disable Foxpro screen?

    I have a project with one screen form only. When I run the execute, the screen form is within the foxpro's screen. How do I make the screen form as the only window form shown on screen Thanks. Joe. For VFP-6/7 www.hentzenwerke.com 'KiloFox','MegaFox' (Akins,Kramek,Schummer), and 'HackFox7' (Tamar E Granor et al) seem "best practices" despite a few obsolete chapters ... (A.K.A., 'twould be too-nice if they were re-edited for VFP-9) Also, forums with compassionate fox-gurus have helped my "best practices" not a little. ...Show All

  • Visual Studio Team System How do I 'hide' a deleted item so it doesnt get counted in TFS metrics such as code churn

    I have a Team Project that contains several solutions. One of the solutions did not migrate properly and had to be deleted. The delete was performed using the client source control tools in visual studio. The solution has been removed but it appears that the code churn calculations are still taking into account the deleted project. For example, I currently show that I have -980,000 lines of code since I deleted the solution from source control. My question is, how can I permanently remove a solution from inside of a Team Project container without deleting the whole container I know the entire container can be removed via the tfsdeleteproject tool but I dont think that applies here. Thanks, Kevin ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Maximized window frame rate issue

    In my game, if I resize the window to fill the entire screen without actually maximizing the window, it runs at 59 FPS. If I hit the maximize button for the window, which isn't really changing the window size at all, since the window is already filling the screen, my FPS drops to 24 FPS. So with the same size window and the same code, the only difference is that the window is maximized. Any idea why this might be happening Bill But if I make the window the exact same size as it is when it's maximized without actually maximizing it, it's fine. I'm sure I'd get better framerates in full screen, but I'm just wondering what's going on. Bill ...Show All

  • Visual Studio Team System Performing a merge using the API

    Hi, I'm writing an app which needs to perform a merge operation between two branches using the API. I could not find the way to do it. How would this be done is there a code snippet demonstarting this Thank You, shay "AlwaysAcceptMine" is poorly named -- to be consistent, it should be "AlwaysAcceptYours." Even then it's tricky: you have to know that TFS always considers the source branch = theirs and the target branch = yours. Thus, if you want to force the target to always take the source's copy, you should resolve all those conflicts as AcceptTheirs. The methods you want to use are QueryConflicts and ResolveConflicts. I'm not aware of any documentation, which is unfort ...Show All

  • Architecture Data Provider Design Pattern

    i am currently developing a data access layer. my aim is to separate the entities from their data access logic. this way i will be able to work with different data sources with the minimum of fuss. i am trying to implement a kind of provider pattern in order to achieve this aim. please let me explain with a simple example. let's say i have a class called Client which has fields and properties for name and department. my proposed solution is to make my entity a simple object with just these fields and properties (CDO object so good for serialization over web service) then i can have an external Provider class which fills my entity like this: ClientProviderSqlServer ... while (rdr.Read) { client = new Client(); if (r ...Show All

  • Visual Studio Capturing a "check in" event for Team Foundation Source Control in VS addin

    Hey Everyone, I was wondering if anyone could tell me how to capture a "check in" event for Team Foundation Source Control in a Visual Studio C++ addin. I took a look at the VS 2005 Automation Samples and was unclear as to where the Source Control events were being captured. In VS2003 using SourceSafe I wrote a addin that was able to capture all of the Before and After Source Safe events I would like to be able to do the same thing for Team Foundation Source Control. Our purpose for doing this is to collect more information from the user and also perform some checks against a proprietary system. Our preference would be to use a C++ addin so we don't have to write a wrapper around our unmanaged C++ classes. Thanks, ...Show All

  • Visual Studio Express Editions XNA setup woes.

    Hi, Hey Microsoft staff, can you not make the XNA setup work without the C# EXPRESS edition being called for please See.>> http://www.microsoft.com/downloads/browse.aspx displaylang=en&productID=3AC63F4D-131C-4CE4-ABE4-FDB8C7032E8B Some of us have the full VS2003 or VS2005 you know. It should work with any of the above being installed.   Regards, S_DS   Product Feedback Center Sites: http://connect.microsoft.com/Main/content/content.aspx ContentID=2220 Thank you ...Show All

  • .NET Development Webservice or Class

    Hi I am building a webapplication which will have a series of aspx pages for each of the functioanilty (Employee status, Employee Details, Company Details, payroll etc) I need to make a webservice to cater each of these functionailites, What should be the right approach to do this 1. should I create a .asmx file for each of the functionality that I want to provide OR 2. should I create a single .asmx file and also have classes in the same assembly so I will have a single webservice (.asmx) which will internally call these classes and return approriate data Please help!! well, it depends in what you want... sometimes you'd like to have it all separated in services..... However, it is more typical the # 2, and I r ...Show All

  • Visual Basic VS 2005 - Windows Service Project and Setup Project questions

    Nice find! I knew there had to be a way. It will probably stop working on the next release though :). Now if there was a way to use a different My.settings config file for the service... Thanks, Unfortunately you can't use my.settings in across projects. You can, however, leverage the .NET configuration infastructure directly (rather than relying on the settings desginer) to acomplish your goals. You still have to have to define your config files on a per application basis (i.e. you would need app1.exe.config and app2.exe.config as opposed to library.dll.config), but the code that reads the configuration data can be located in a shared library. The easiest way to do this is to use AppSettings. You can do this by in ...Show All

  • Visual Basic How do I save an Image.jpg after I have changed the valeue of a property id - Comments, Author, Keywords, etc.

    I have changed a property in a jpeg file. Now I want to save it. But all I can do is save it to another file name. It wont let me save it to the file from which I loaded it. Any and all help would be greatly appeaciated. FRED. Try opening the image with a filestream. There is an example on the vb-tips website . ...Show All

  • SQL Server could not process the cube

    hi, after i deploy the cube ,i will run it i am getting the following error i have used the database egss Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'Egss', Name of 'Egss'. how could i solve this regards lalitha hi, i went through the solution what u gave,but i could not solve it... my system admin did not get how to do it. could u give me details step how to do this...   and i tried the to process the cube (server and client on the same system) i could process it but some error was there........ but i got the info in the browser.. but the same could not be done on the client ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 3D picking with the mouse combined with a moving camera...

    Hi all, I'll get right to the point. My camera is defined using the following code... cameraworld = Matrix .CreateTranslation(xplane, yplane, 0) * Matrix .CreateScale(zoom) * Matrix .CreateRotationZ(angle); view = cameraworld * Matrix .CreateLookAt( new Vector3 (0, 0, 100), Vector3 .Zero, Vector3 .Up); projection = Matrix .CreatePerspectiveFieldOfView( MathHelper .ToRadians(45), ( float )graphics.GraphicsDevice.Viewport.Width / ( float )graphics.GraphicsDevice.Viewport.Height,1.0f, 1000f); effect.View = view; effect.Projection = projection; I've also got code to allow me to place objects in the game world, after unprojecting the mouse points and finding the point of intersection with my XY plane. Only probl ...Show All

©2008 Software Development Network