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

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

lord_8

Member List

rokitsalad
Peter D.252325
DougInGeorgia
ramsk
leo1
Juliano.net
jpsml
Mark The Archer Evans
C4702
Imad.Ozone
vidalsasoon
SaravanaKumar_1977
Simone1
anzrul
Adam Walters
François PIETTE
Brandon2520
Kamen
mattman206
graymon
Only Title

lord_8's Q&A profile

  • Visual C# IDE changes the .csproj file <SubType> between UserControl and Component

    When any file in my project is changed, I have one UserControl that the IDE changes the .csproj file <SubType> between UserControl and Component. This happens even if the UserControl is not changed. Is there any way to stop the IDE from changing this Hello all, I think another user has hit on the "answer" to this issue here: http://www.pcreview.co.uk/forums/showpost.php p=3645831&postcount=5 The IDE seems to get confused if there is more than one class defined in the user control source code file. Moving your extra classes (besides the one inheriting from UserControl) to separate files seems to "solve" the issue. I was having this problem, and a quick test s ...Show All

  • SQL Server problem with foreach loop container and excel files

    well i am trying to follow the example of msdn help on how to loop through excel files and it doesn't work. the variables have the project scope. what can i do Are you getting this error message on "To loop through Excel files by using the Foreach File enumerator" OR "To loop through Excel tables by using the Foreach ADO.NET Schema Rowset enumerator". I worked through the first one (To loop through Excel files by using the Foreach File enumerator) and it worked without any issues. Thanks Sutha ...Show All

  • Software Development for Windows Vista Using the default XML namespace for custom activity types

    I am using WorkflowMarkupSerializer.Serialize(...) to write out a xoml file. After adding the XmlnsDefinition attribute to my assembly, I get a file that resembles: <ns0:Sequence x:Name="sequence1" xmlns:ns0="http://EssentialWF/Activities" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow">   <ns0:ReadLine x:Name="r1" />   <ns0:WriteLine x:Name="w1" Text="{ActivityBind r1,Path=Text}" /> </ns0:Sequence>   In Dharma's book, Essential WF, he states: "In this book, we favor the use of the "wf" prefix [for the "http://schemas.microsoft.com/winfx/2006/xaml/workflow" namespace] because it allows us to use the default XML ...Show All

  • Visual Studio 2008 (Pre-release) .NET 3.0 and Expression Interactive Designer for Pre-RC1

    Will there be a .NET 3.0 or at least EID for the Pre-RC1 build of WinFX Something like at August or September CTP I doubt there will be a new drop before RC1. However, I have installed and haven't had any problems running the July CTP on Pre-RC1 Vista. - Doug ...Show All

  • .NET Development checking logged in user priviledges

    i have an app that works fine when a user logged in has admin priviledges but not when they are logged in as a guest. anyway that i can check to see if logged in user has admin priviledges using c# and framework 2 Here is the code that i used if the user logged in belongs to the local admin group then the statement is true, if the user is logged in as guest then the statement is false and shouldnt run. it still does SecurityIdentifier sid = new SecurityIdentifier ( WellKnownSidType .LogonIdsSid, null ); if (sid.IsWellKnown( WellKnownSidType .BuiltinAdministratorsSid)) //RunSomeCode ...Show All

  • Visual C++ foreach in VC++ .Net 2003?

    Hi all, i face a problem while convert the VC# to VC++. Net in foreach statement in VS2003. Any one can help me to convert the following statement to VC++.Net useable code Thank you Here is the VC# code public static void Main() { ManagementObjectSearcher searcher = new ManagementObjectSearcher("root\\CIMV2", "SELECT * FROM Win32_DiskDrive"); foreach (ManagementObject queryObj in searcher.Get()) { Console.WriteLine("MediaLoaded: {0}", queryObj["MediaLoaded"]); } } Thanks You Very Much as this code is work in vs 2003 VC++.Net. ------------------------------------------------------------------------------ ...Show All

  • Software Development for Windows Vista HandleExternalEvent activity in Parallel

    I have a few activities in parallel that listen for the same event. With the event arguments I will see which one of the parallel activities to execute. It seems though that the event is only fired in the first activity and not in all the activities waiting for this event to fire. When you have another workflow loaded that does not have a parallel activity in the workflow the event now fire twice in the same event handler. I will not know before runtime what workflow I will be executing. ...Show All

  • SQL Server Full software requirements for XP Home

    Hi! I am a student teacher who wants to futuristically create dynamic websites featuring communication and information for both students and parents, which link to my teacher records (grades and student portfolio evidence documents) . I am an absolute beginner to Dynamic Websites . I am able to create static webpages in Dreamweaver MX together with multimedia, rollovers, tables, buttons etc (I have the basic suite - not ColdFusion). I have XP Home SP2 and all current updates, which appears to include .Net Framework 1.1 sp1. I am running Trend 2007 firewall. I do have basic (but old) database knowledge and can create strings in Excel to manipulate cell data. Other than that I learned to program in BASIC about 25 years ago (I ...Show All

  • Windows Forms Installing click once published application programmatically

    Hi, I am trying to install the ClickOnce published application programmatically. My code is exactly the same which is done here http://msdn2.microsoft.com/en-us/library/system.deployment.application.inplacehostingmanager.assertapplicationrequirements.aspx . While I running the application I am getting error saying "Not a valid number of matching trust were given an application version" .Could some one help me in solving this Regards, Santha As usual this time aslo I found the answer. I got the manifest information from the GetManifestCompleted Event of the InPlaceHostingManager class. Thanks, Regards, Santha ...Show All

  • Smart Device Development OutOfMemory exception while loading images from file

    hi, I m fetching the image files and trying to store them in the bitmap object. but the prob is image size is large. and i came to know abt imaging api. But i cant use it, coz i dnt have to change the image size atall. i have to do rotation and then let image to be stored. that is the effect should b on the original image itself. wht to do plz help.Thanx in advance. If you have to keep entire image in memory, then you have to choose another platform with more memory or you have to reduce size of image, that’s pretty much all your options. There’s a lot Windows Mobile devices can do, but processing huge images in not one of these things. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. NoSuitableGraphicsDeviceException was unhandled

    Let me just say at the outset that I know nothing about C# (yet) and am trialing the XNA beta to try and get into it. I do know VB and some C, however. Once I had everything installed, I tried a few example programs including the Spacewar project, but I cannot run any of them. They build fine, but I can't run the .exe, and it crashes and asks if I want to send a report to MS. If I "Start Debugging" instead, I get the error "NoSuitableGraphicsDeviceException was unhandled" on the "this.GameComponents.Add(this.graphics);" line. I have no idea where to even start. Is it my install My PC My hardware The program I'm trying to run Once I know the environment is actually working, I can begin the learning! ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Direct Answers For A Beginer

    Dear, I Am A Beginer In Game Development, But Professional In C# And C++.Net 2005. I Want To Start Learning 3D Game Development Where I Have 2 Main Questions: 1- C++, C++.Net 2005, Or C# Is The Fastest And The Powerfull Language For Creating 3D Application 2- What Is The Graphic Library I Have To Learn And What Are The Difference Between XNA, DirectX, And XNA Game Studio I Hope To Help Me In My 1st Steps. Thx Alot Jim Perry wrote: The ZMan wrote: ...but all professional games are currently written in C++ with native DirectX. What's the definition of "professional" Does Arena Wars count What about these guys Oh give me a break :-) of cou ...Show All

  • .NET Development Announcing .NET Framework 3.0

    Just found this on MSDN: Announcing .NET Framework 3.0 Senior Vice President Eric Rudder announced the unveiling of the final release of the .NET Framework 3.0 at a recent keynote at TechEd: Developers conference in Barcelona, Spain. Download the new release today. Here is the direct link to the download page. http://www.microsoft.com/downloads/details.aspx FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en One more thing, you can download the entire redist package to use on your local network from the download page. Here are the direct links: Full Redist package x86: http://go.microsoft.com/fwlink/ LinkId=70848 Full Redist package x64: http://go.microsoft.com/fwlink/ LinkId=70849 Let u ...Show All

  • SQL Server query to Linksed server very slow!

    Hello, i have created an RPC from my SQL server which queries a database of a linked server (remote server). the query result is very very slow. (it is a mis-size query, with many JOINs on tables with many entries). Let's say it takes about two minutes to get about 3000 results. The query uses five tables in the database of the linked server, runs a few (let's about 5-8) JOIN clauses and selects the entries. except for two tables (out of 8), each table has about 1000-2000 entries. the two have about 40,000 entries. Is this normal ! Is there anyway i can optimize my query i also tested my query and asked for only 100 results as opposed to all of the 3000. there was only 2-3 second difference in getting the results back, which indicates that ...Show All

  • Visual Studio 2008 (Pre-release) Client state after FaultException

    Hi, I have the following situation: After the client gets a FaultException using a HTTP binding the clients state remains Opened. After the client gets a FaultException using a TCP binding the clients state changes to Faulted, and it is rendered useless! Why is the behavior different depending on the protocol of the binding Can I avoid this problem when I'm using TCP or do I have to recreate the client Sincerely Herbjorn So, what you should do is always check the state of the proxy after catching an exception. If it is faulted, a new session is required, and you must reconstruct the proxy. Just a question: how do I check the state of a client proxy The proxy itself does only contain those functions I added t ...Show All

©2008 Software Development Network