Software Development Network Logo
  • Visual Basic
  • SQL Server
  • Visual Studio
  • Visual J#
  • Windows Forms
  • Visual C++
  • Game Technologies
  • VS Express Editions
  • Windows Vista
  • Architecture
  • Smart Device
  • .NET Development
  • Microsoft ISV
  • Visual FoxPro
  • VS Team System

Software Development Network >> Christopher Lusardi's Q&A profile

Christopher Lusardi

Member List

Cosmo69
Parag_Dave
Jure Turk
Manuel RIBEIRO
Rozek
Seglberg
ElizabethS
Maruti
Piper Douglas
PainDeer
vidhyaprakash
Lecenio
Georgios D
Abraham Sultan
Larry Aultman
C#2006
Per Nilsson
Thona
snakegamer
Carmen Cerino
Only Title

Christopher Lusardi's Q&A profile

  • .NET Development waveInOpen creates a Time Critical thread

    Hi all, I'm trying to merge some legacy code with my net .NET2.0 GUI, using VS.NET 2005 beta 2, C++. It was going well until I linked my old audio input code. Upon calling waveInOpen, my legacy code now seems to hang my entire system. waveInOpen specifies a callback to use, as follows : void CALLBACK AudioInputCallback(HWAVEIN hwi, UINT uMsg,DWORD dwInstance, DWORD dwParam1,DWORD dwParam2) {    switch (uMsg)    {        case WIM_OPEN :       ...    } } Upon debugging, I found that this callback is being polled, but as soon as I take ...Show All

  • Windows Forms Searching files in directories

    hi.. how do i search files in a directory using file attributes like modified date,file size,create date time using .Net. Regards dhn Here is a self-explaining example: DirectoryInfo directory = new DirectoryInfo("c:\mydirectory"); foreach ( FileInfo file in directory.GetFiles() ) { if ( file.CreationTime.Date.Equals( DateTime.Now.Date ) { // Found a file that was created today. } } ...Show All

  • SQL Server Can not change filter on model report - UPDATED 7th June

      I have a very simple report based on a test model. The report is filtered via a date field and runs ok. If I try to change the filter I get the following error message: Operation Failed Short time pattern does not include hours and minutes Does anyone know how I can correct this Regards John  UPDATE This only happens if I try to filter between two dates, a single date works correctly! Alexandre This is the rdl for the failing report. < xml version="1.0" encoding="utf-8" > <Report xmlns="http://schemas.microsoft.com/sqlserve ...Show All

  • SQL Server #N/A in measures - Excel 2003 client

    After giving some users read access to the cube, by using a readonly role - The [Measures] are displayed with #N/A in Excel 2003. Only users with loal administrator previledge can see measures. Please advise. What I encountered with AS 2005 was that Cell Security defaulted to denying access to a reader role, resulting in #N/A. So I simply entered "1" as the MDX expression for "allow reading of cube content" - not sure if this is the issue for you as well: http://msdn2.microsoft.com/en-us/library/ms174847(SQL.90).aspx >> Granting Custom Access to Cell Data ...Show All

  • Visual Studio Team System Test Manager Window not available VSTE for Software Developers?

    I have installed the release version of Visual Studio Team Edition for Software Developers and can no longer find the Test Manager Window menu item.  I see Tests View, Test Results, etc.   Is this a feature that is not included in this version Earlier today Ekobit ( www.ekobit.com ) released “ Test Manager Add-In for Visual Studio Team Edition for Software Developers ”. This Add-In makes it possible for developers to manage the lists of tests, build hierarchies and execute tests from the Team Edition for Software Developers just the way they would be able to do using the Test Mana ...Show All

  • Visual Basic How do I execute an SQL Command with an ODBCConnection and MySQL database?

    I have tried many times in many different ways to get this to work.  When I try to compile the code below I get the error message on this line of code " Dim myCmd As New SqlCommand(mySQL, cn)" then I get the error message "Value of Type 'System.Data.ODBC.ODBCConnection' cannot be converted to 'System.Data.SQLClient.SQLConnection'. When I comment out these lines "D im myCmd As New SqlCommand(mySQL, cn)myCmd.ExecuteNonQuery() " then the error message disappears.  This means that there are no errors with the ODBCConnection.  I cannot test the connection because to do that I would need to be able use an S ...Show All

  • Windows Forms Creating and setting an enviroment variable

    Hello! I have a setup project that I am currently creating and would like to have it set an enviroment variable to the path where the user installed my files. Is this possible How would I go about it Also is there a site or anything anyone may be able to direct me to on learning all the stuff I can do with Setup projects I can't seem to find a whole lot of info on creating them. Thanks! Colby wrote: http://www.InstallerHelp.com That's a parked domain, nothing useful there. Maybe you mistyped the URL ...Show All

  • Visual Basic Setup Build Error

    I've make a setup and deployment project in VB8. But when I build it, there is an error in error list: Error 1 An error occurred while validating.  HRESULT = '80040155' E:\Visual Studio 2005\Attendance Roll 3.01\Attendance Roll 3.01\Attendance Roll 3.01.vdproj Attendance Roll 3.01 How to fix this Help me Hi, One of the reasons for this error is InstallShield. Take a look at this thread if you have InstallShield on the machine: http://support.installshield.com/kb/view.asp articleid=q106194 Regards, Vikram ...Show All

  • Windows Forms Connection String "Best Practice"

    A recent post inquired whether or not a database connection string can be stored in the application settings in the app's config file.  Yes, this can be done.  But I'd like to know, is this the best approach for storing connection strings, or is there another approach that is considered the "best practice" for such a task.  This is  ...Show All

  • Software Development for Windows Vista Beta 2.2 Error loading workflow

    I have developed a state machine workflow hosted in ASP.NET 2.0. I originally tried to make it a XOML workflow with code separation, but found this to be very unstable when opening it in VS2005. The non-XOML version mostly works ok, but when I re-open the workflow after loading VS2005, I always get the message: Error loading workflow An error occurred while loading the workflow. Please correct the following error and try reloading the document to view the workflow. Exception has been thrown by the target of an invocation The last line is a link, but it does nothing. The only way to resolve this appears to be to close th ...Show All

  • Visual C++ Passing an array of structs

    I have this struct struct student//Struct layout { char name[30]; char id[11]; float gpa; int age; char gender; }; this is the syntax I have for the function I want to send the array to: void firstmenu(student students[]); student students[5];//Struct Array, this is where I make the array firstmenu(students[]); and that is where I try to call it. I get a compiler error of: error C2059: syntax error : ']' when I try to call the function. So I am assuming I have the right parameters when I make the function but I am missing something when I call it. I tried it without the [] doing [5] and it still gives me errors. I'm not sure ...Show All

  • Visual Studio Express Editions Command tool on express edition

    I know this has been an issue and I've read all the threads about it but I still can not find it on my machine. I'm using windows vista beta 2 with Visual studio express 2005 and Windows SDK installed. I want to develop applications using command prompt because some of the tutorials on WCF is using command prompt. So if anyone can help me out, that would be great. Thank you. open your IDE click file menu, select new project it will open dialog for you , select console application , set the project name , click ok button it will build the application and will display the main method for you , inside this method type ...Show All

  • Visual Studio Team System The location of the file or directory xxx is not trusted.

    When running unit tests i get a return code of Abort and an error message of: Failed to Queue Test Run xxx : Microsoft.VisualStudio.TestTools.TestManagement.ExecutionException: Test Run deployment issue: The location of the file or directory 'W:\assemblies\xxx' is not trusted. I have seen other posts where the answer is using the caspol tool to set the permission to trusted. I tried that and it did not work. I also tried adding the assemblies that the test project references to the GAC and still no luck. After each try I closed then reopenned the VS2005 IDE. When running the caspol -m -list statement it does show those assemblies as being ...Show All

  • Visual C# Form look and feel after upgrade

    I have just completed an upgrade of an application written with VS .NET 2003. My forms have the new look and feel when I am viewing them in the IDE, but when I run them they still have the old look and feel to them. Is there a way to get VS to upgrade the look of the controls Howdy stack.. with VS2003, you should always use a manifest re, the attached url: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vstechart/html/vbtchusingwindowsxpvisualstyleswithcontrolsonwindowsforms.asp with VS2005, you should use EnableVisualStyles. I am not sure if all the bugs are ironed out of it, b ...Show All

  • Visual C# rtf to image

    Hi, i need to transform the contents of a richtextbox (rtf) to an image. Any suggestions will be highly appreciated Thank you Would it be possible to do this in VB.NET. I know VB.net is very similar to C#.net, but I'm having trouble with some of the data definition syntax. A version of this code in VB.NET would be very helpful to me. Thanks Marshall ...Show All

©2008 Software Development Network