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

Software Development Network >> Dan Lingman's Q&A profile

Dan Lingman

Member List

D. Choquette
IsisTheDamned
EnigMa_AnGeL
Alisa Beth
REspawn
nattylife
bbodine1
Tryin2Bgood
Sweeps78
cbtm
kawing0510
syhzaidi
VuaCorona
Pedro A. G. Carvalho
Larry Wilson
J P R
N. Feldman
Hemachandra.S
gofrm
L Bailey
Only Title

Dan Lingman's Q&A profile

  • Visual Studio 2008 (Pre-release) .How to write Linq expression for Stdevp,Stdev,and coefficient of variation?

    Some questions: 1.How to write Linq expression for Stdevp,Stdev 2.How to write Linq expression for coefficient of variation(=Stdev/Average,Average may equal 0)? 3.What's wrong with the Count For example: var results= from c in db.Customers group c by c.City into g select new{ g.Key, nCountry=g.Count(s=>s.Country), nOrder=g.Count(s=>s.Order) }; But the compiler will throw errors. Thanks in advance! 1 & 2. LINQ does not currently define these aggregates, so there is no way to do this. 3. The count() aggregate counts the items in the sequence to the left of the dot. You can optionally specify a predicate. To count the number of customer ...Show All

  • SQL Server SQL Server 2005 and "SQL Server" driver

    I'm having problems with "SQL Native Client". Can i continue to use the ODBC "SQL Server" driver to connect to SQL Server 2005 database Yes, you can continue to use the driver, but you won’t be able to use some of the new features of SQL Server 2005. YOu will only have the "SQL 2000 compat" features (as the new one are not know by the old driver) HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Windows Forms Controls Collection

    In VB6 when a control was part of the Controls collection of the form, even if the control was on another container (eg. a Tab control, picturebox etc.). In WindowsForms a control is part of the Controls collection of its direct container.So in order to iterate through all controls on a form you have to make a recursive method. However, a UserControl also has a Controls collection and exposes all controls contained in it. Is it possible to discern the controls that was added directly on a form, even on a seperate container, from the controls that are part of custom UserControls The Name attribute of the parent object of the user control children should give the name of your user control (if MyChild.parent.name == "MyAssembly ...Show All

  • SQL Server SQL-DBMS - Database Management System

    DBMS - Database Management System A Database Management System (DBMS) is a computer program that can access data in a database. The DBMS program enables you to extract, modify, or store information in a database. Different DBMS programs provides different functions for querying data, reporting data, and modifying data. ...Show All

  • .NET Development .Net application Eating Memory & releases when minimized

    Dear all, I have developed an application based on C#, The problem is "Garbage Collector being not called" from the application, i have not used any unmanaged code. The application is a Multithreaded application and the Memory Usages figure in Task Manager comes to minimum when i minimizes the application. Example: Task manager's Mem Usage is showing 328 MB and on minimizing the application it shows 45 MB. thanks in advance... aniruddh Hi Aniruddh Task Manager is unfortunately a very poor way to measure how much memory your application is using. What you're seeing is "working set", and Windows automatically trims an application's working set when it is minimized. T ...Show All

  • Windows Forms Do something after ShowDialog

    Hi, I have a form that I am showing using the ShowDialog method. However, I want to acess the value of one of the selectors on the form after I call the ShowDialog but I can't. Is there any event that I can use that is fired by the ShowDialog or is there any other way I can use to get at teh value I need Thanks, Wallace Oh you want the selector to notify the parent then you will need to use an event delegate for your selector. Then you catch that event in your parent form. ShowDialog() makes the form modal. Show() is modeless. ...Show All

  • SQL Server Unable to Access HTTP Endpoints from C# application when using Integrated security

    I hope you can help me to solve my issue. I created an endpoint and have an application to consume the methods from endpoint. Every thing work fine when i use the Impersonation with specific user id and password. In other words i am using Authrentication method = windows and Impersonate = true, user id = "[DOMAIN\userid]" password = "password" in web.config. But this is not the way i want to use endpoints in my application. I want to make it work without any user id and password in Impersonate section of web.config. The end points must be accessible to user using their own credentials. By the way i am using Authentication = (Integrated) in Endpoint definition and the same in IIS. In my .net application i am using proxy.Credentiats = Syst ...Show All

  • Visual Studio Express Editions I have microsoft visual 2005 edition or what ever

    i got microsoft visual c++ 2005 express edition. and i am new to c++ so i did the "hello world" thing and i dont know how to compile and run it. could someone help me here thanks Hello, Try this http://msdn2.microsoft.com/en-us/library/z9w2f38k(VS.80).aspx You can also find more relevent help at http://msdn2.microsoft.com/en-us/library/0x6hy671(vs.80).aspx Let me know if this helps. Thanks. ...Show All

  • SQL Server Report Paramert problem

    I am trying to put a parameter on my report to select a field from my query but keep getting this error. What am I doing wrong [rsInvalidReportParameterDependency] The report parameter ‘Program’ has a DefaultValue or a ValidValue that depends on the report parameter “Program”. Forward dependencies are not valid. Build complete -- 1 errors, 0 warnings I can't move this ahead or anything this is the only parameter I have. I am trying to assign a value from my dataset back to the parameter using a prompt. I want the user to be able to select their program which would then compare the parameter value to the dataset value and return the correct data in the report atleast this how I think it should work. I've tried using a filter ...Show All

  • Visual Studio Express Editions Help a dude out...please

    Im very new to programming, but I have the passion to learn. I am looking to make a program where you can type in "somthing" and press a button and place/replace that text in a specifyed file. This probably sounds confusing, but my goal is to make a program for a game that lets you easily customize it without trudging through all the files yourself. I know some basics, but if someone could please point me in the right direction that would be great! Thanks, Matt Hmm...can someone please give me another answer I just want to be able to type text into the text box, hit the button and have the text replace text in a specified file. Any more links would be helpful as well. ...Show All

  • Windows Search Technologies PDF FIlter installed but WDS not seeing it

    I have the Adobe PDF Ifilter 6.0 installed. Just went to options and file types and this filter is not found I know I saw it in here when I upgraded to this filter. Perhaps install of TR update to Office 2007 broke somehting. Will try to reinstall and see what happens. This is actually due to a problem with the Adobe PDF IFilter that makes it incompatible with WDS 3.0. Adobe is working on a fixed release - I don't know exactly when it will be available though I hope soon. ...Show All

  • Visual C++ Bug in Visual Studio 2005 Professional edition ?

    I've created a simple Win32 console application. When I try to run it by Ctrl + F5 it, I get the message: "This application has failed to start because MSVCP80D .dll was not found. Re-installing the application may fix the problem.". Kindly note that i am not trying to run and install my application on different machine.Also note that i've already installed SP1 of 2005 pro edition but still the problem persists. Many a times the problem is solved by the usual methods like: 1) Goto Project Properties -> Linker -> Debugging -> Generate Debug Info (change it to No) 2) Link statically to the C++ runtime library using the /MT switch. Well there is also an alternative about Goto Project properties- ...Show All

  • SQL Server Sql 2005 Password Policy Setting

    What are the exact requirements implied by the sql 2005 option: " Password Must Meet Complexity Requirements " TIA, Barkingdog P.S. I found this one: -Cannot contain all or part of the username -Must be at least 6 characters long -Contain 3 of the 4 following character groups - A to Z - a to z - 0 to 9 - Special Characters i.e. ! ^ $ * and I have also found "At least 7 characters in length" Combines letters. numbners, and symbolds Is not a dicitonary word, name of a command, person's name or user's account name As the saying goes "close, but no cigar!" The previously quoted BOL snippet just provides a set of recommenda ...Show All

  • Visual Basic Need help waiting for event

    Hello, I need some help learning how to wait for an event to fire. Events are fairly new to me, so bear with me! I have successfully created an event handler, however, I need my program to wait for this event to fire before continuing. I've looked at the EventWaitHandle class, but I am not completely clear on what I need to do. A little bit more about the situation: I'm using a class/application written in VB6. I call a method in this class and it has the possibility of doing a LOT of calculations, however I have no clue how long it may take. As such, "sleeping" for a period of time is not possible. But because any further action in my program requires the results of those calculations, I cannot continue excecution. ...Show All

  • Visual C# C# alternative for WithEvents

    I have a simple vb codeline that I need to find a code translation for in C# but I dont find withevents... Here's the VB code anyway... Dim WithEvents dx As Video What would the above be with C# Appreciate any help. Thanks private Video dx; "WithEvents" is not relevant in C#. David Anton www.tangiblesoftwaresolutions.com Instant C#: VB to C# converter Instant VB: C# to VB converter Instant C++: C# to C++ converter, VB to C++ converter Instant Python: VB to Python converter ...Show All

©2008 Software Development Network