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

Software Development Network >> Leonard Lee's Q&A profile

Leonard Lee

Member List

Alex72
Canada Goose
Tryst
trun_gup
brad.p
ititrx
ReneeC
DataConversions
Pascal Mignot
guyinkalamazoo3
RajeshJV
Joe Kehnast
mikesnp
arkiboys
cool_chandu
ukalyan
Spigot
jrsearles
G.Zanghi
dominick.baier
Only Title

Leonard Lee's Q&A profile

  • Visual Studio Team System Is MSF Agile good for what we do?

    Heya folks, i was asked a question today from one of our PM's about the life cycle of MSF-Agile. For her team, she usually does the following (in a simplified version):- 1) Analysis / Requirements Gathering. - Business Analyist usually does this with some help from PM for approval. 2) Design - BA + Team Lead + PM; project time lines, can the tasks be done in the allocated time, any new structual archietecture additional design/re-design. 3) Development. 4) Testing. 5) Deployment. Nothing to complex or unheard of. Now, the BA/PM create tasks with MSF-Agile and the task's discilpine and assigned to user gets updated as it moves between stages/disciplines. a) But what about testing bugs I can't seem to find how to change the di ...Show All

  • .NET Development Loading XML into a DataSet and Inference of Relationships

    I have a simple (or so I think) XML schema doc (XSD) and an example conforming XML file. XSD : < xml version="1.0" encoding="UTF-8" > <!-- edited with XMLSpy v2006 rel. 3 sp1 (http://www.altova.com) by www.serials.ws (www.serials.ws) --> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:sql="urn:schemas-microsoft-com:mapping-schema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:element name="task"> <xs:complexType> <xs:sequence> <xs:element name="env_list"> <xs:complexType> ...Show All

  • Windows Forms Abstract UserControl?

    Hi I have four UserControls that inherit from another UserControl, A. These 4 user controls contain a Label + another Control (LabelTextBox for instance). (The Label control is located in A (contains only this control)) All four controls have a method IsInputCorrect(). (This method also sets the background to red if input is not correct) I want to have this method abstract in A. But's that not possible because I can not set A as abstract. (The designer complains). If I set it to "virtual" in A, I need to implement the body. But this isn't really ok, because I dont have any input in A to check. The thing is that I want to do: // Check if fields are correctly filled in. // And focus the first incorrect one. private void CheckAl ...Show All

  • Windows Forms Acess controls in the form from static method

    Hi. I am quite new to C# and not quite sure how things work. I am a class that have methods that process very long time and I need the status to be updated to the form by printing out into the textbox. I am trying to make the controls accessible, so I am thinking about writing a static method in the form class for other classes to access it. However, I do not know how to get the references and so forth of the form to get the textbox I want to show. Can someone help me out From static methods, controls cannot be accessed, hence STATIC. You can't directly specify a value to your textbox when using STATIC. You probably don't even need STATIC at all. Just use private/public void/other. ...Show All

  • Windows Forms Windows Application in Windows Service

    Hi, i develop my project as Windows Application at the first time. After developing for a while, i encountered Windows Service. The reason that i need the Windows Service is that, i need my program to be able to run when user log on, and not closed when log off. But in some occassion, my project need to show window form. Can i reference the Windows Application to Windows Service by Using syntax Or there are other ways around to solve my issue Thanks in advance. This is not a good idea at all. Services usually run in their own virtual desktop, and any message boxes/forms they show would appear there, not to the user. You can mofiy this behaviour using the "Interact with desktop" options, but what if the user isn' ...Show All

  • Visual C++ CFileDialog : save button change to open

    Hi My class inherited from CFileDialog . When I open the dialog at Save mode and I select any item the button of the ‘Save’ become to ‘Open’ It’s reproduce on Win XP only . Does anyone know how to fix this issue Please have a look at the following articles. It will help you http://support.microsoft.com/default.aspx/kb/195034 http://www.codeproject.com/dialog/xfiledialog.asp ...Show All

  • Windows Live Developer Forums FireFox bug in V3

    I tried my VE v3 app in FireFox and I got the following error: Error: [Exception... "'Msn.Drawing.Exception: Your Web browser does not support SVG or VML. Some graphics features may not function properly.' when calling method: [nsIOnReadystatechangeHandler::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no] Any help is appreciated. The V3 map doesn't work in Firefox < 1.5, so if you have like 1.0.7 it doesn't work with the error you noted. Hope they'll fix it soon. Still alot of people are on < 1.5. ...Show All

  • .NET Development Convert to TIFF image.

    How to convert a PDF file content to tiff image using C# code I don't think there is a class to handle PDF's in the .NET Framework. So you'll need an external library. However, I'm not a 100% sure about it. A library I used is PDF4NET , a great library which can handle very large files (30000+ pages in a PDF) ...Show All

  • Visual Studio Express Editions ListBox UnLimited

    I've been asked to create a glossary application for business faculty in my university. There're two part of the glossary: term and definition. I store the term in a listbox, while I store the definition in a texfile. Problem: listbox can only store limited size (around 1000 terms). Question: Is there any other ways that can be used to store terms in the glossary. As this is a completely different subject - please can you create a new thread with a relevent title to the problem. This way its easier for people to find answers for similar problems. ...Show All

  • Windows Search Technologies launching software from taskbar WDS

    The Explorer version of WDS can display shortcuts found in the Start Menu, but why can't the taskbar version display shortcuts in the results It would be much easier to launch programs simply by searching than going thru the Start Menu. ...Show All

  • SQL Server somebody plz help me. having error with comparing rows in ms sql and textbox

    I want to do a login in vb.net, when the user enters username and password, it looks into ms sql to find user then compare password with database then select user in database and closes form to open another form with selected database. please help, i am stranded with my project and i am getting nowhere. Thank you for the help, but i need the code in vb, i am using visual studio .net.. plz help me out, i am stranded with this. I am using Data Source datasource name is: db data: employee table column:user & password plz help thank you ...Show All

  • Software Development for Windows Vista IQueryCancelAutoPlay::AllowAutoPlay is not called for volumes in external hard drive

    My application implements the IQueryCancelAutoPlay interface. In Vista, when an external hard drive volumes (other media is not checked) are detected, Vista shell does not call my AllowAutoPlay function ever. This seems like a bug in Vista. My application embeds "HighestPrivilegesPossible" in the application manifest (not for IQueryCancelAutoPlay but required for CreateFile for devices), if someone asks for it. Thank you. Dave, Your advice above worked perfectly well on my dev PC running Ultimate, however all other Vista PC's this has been tested on return 0x80004015 (CO_E_WRONG_SERVER_IDENTITY) when calling Register on the ROT. Do you have any idea why Thanks! ...Show All

  • Windows Forms How to fix the size and layout of all label controls on a form

    On updating our .NET 2 (C#) application to support systems with 120dpi (or custom) a couple of forms with issues have been identified. Due to the design of the screens and controls upon them, neither should be scaled. The form itself isn't scaling in size (AutoScaleMode = None) but label controls on the form are still displayed using the font sized appropriately to the 120dpi configuration. What I'd like to do is have those labels use a fixed font size so it the form and all controls would always be presented in exactly the same way at any dpi setting. Whilst this does possibly reduce the accessibility of the application, the forms in question are splash and about box so are not critical in that respect. Thanks in advance! ...Show All

  • .NET Development Compiling code with CodeProviders

    Hello, I've been working on a project that requires me to compile a VB or C# project at runtime. I create the appropriate CodeProvider based on language choice, and then parse the project file in order to populate the CompilerParameters with the information it needs to compile. Everything works wonderfully with the C# version, but when trying to compile a blank VB Windows Forms Application, I get the following 8 errors: + [7] {C:\Documents and Settings\brustd\My Documents\Visual Studio 2005\Projects\Atto\VBTestWindow\My Project\Application.Designer.vb(35,0) : error BC30691: 'Form1' is a type in 'VBTestWindow' and cannot be used as an expression.} + {C:\Documents and Settings\brustd\My Documents\Visual Studio 2005\Projects\Atto\VB ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2D Pixel Perfect Collision

    Anyone know of any good resources for learning how to do pixel perfect collision on sprites which takes rotation and scaling into account Pixel perfect collision detection doesn't sound very useful to me, and here's why: There are 2 parts to collision detection in a physics engine. First there is the 'detection' part, and there is the also the collision response part. The collision response part is responsible for fully resolving the collision (ie. preventing the objects from entering each other) in a physically sound way. Doing this requires more information than just "the 2 sprites are intersecting" unfortunately. You also need to know the point of intersection, and depth of intersection a ...Show All

©2008 Software Development Network