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

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

darkvader

Member List

suomi7
Dave at Detica
jeyakumar
Alberto De Marco
webdev
vincent.wang
Sanjay Kumar
womalley
Ivan Tx
MickeyP
Liron231
ArtemB
IainDowns
C2O
anzrul
HarryX
adrian-
karl_otto
Haider Naqvi
modulus
Only Title

darkvader's Q&A profile

  • Visual Studio Team System "Normalize strings to uppercase" rule

    One of the new rules in 1.32 is the "Normalize strings to uppercase" which tells me to "replace the call to String.ToLower(CultureInfo.InvariantCulture) with String.ToUpper(CultureInfo.InvariantCulture)". I am missing the point of this new rule - why is a conversion to uppercase any more accurate than a conversion to lowercase when using the invariant culture   Guy This would be an extremely difficult analysis to perform, as it would require tracking values across method calls and field assignments. FxCop's data flow analysis is restricted to a single method body. You're right that this rule is fairly ...Show All

  • Windows Forms !!!URGENT!!! Accessing the Application Manifest and Deployment Manifest at runtime

    Basically, I want to be able to load both at the startup of my ClickOnce app to 1. Get the Publisher and Product info from the Deployment manifest 2. Iterate through the Application manifest for optional download groups to provide a background process to pre-fetch these groups. I've scoured the API trying to find out how to get access to the current manifest in a programmatic way.... Thanks, Jim I will have to check to see if we can do this. Also, I would like to clarify that the time to cehck for and then start downloading takes a long time. I haven't broken ...Show All

  • Smart Device Development Extremly Slow Performance in VS2005 B2!!

    I have two different systems that I installed VS2005 Beta 2 on. The main development machine is a P4 with a gig of ram, and plenty of disk space. The OS is XP Pro (SP2). I am trying to develop an app using Pocket PC 2003 (for right now), but the design process takes so long its almost not even worth trying! I place a grid control on the form, add a query, and then have it generate the data forms (Summary View & Edit Detail) and it takes almost 10 minutes to generate the screens. When I go to run the application in debug mode it takes almost 5 minutes to render the device emulator and deploy the app to the device emulator. I read ...Show All

  • Windows Forms User time out in Desktop Application

    Hi, I want my user of desktop appliaction be logged out, if user do not press any key or click/move mouse for in last say 5minutes and be presented with a messagebox/login screen. basically i want to trap key events and mouse events at form level. I tried one logic having KeyPreview of form set to "true" and Form_KeyDwon can capture key down events on the form and on any control. The same way i want to capture mouse events with like Form_MouseDown or Form_MouseMove, if the mouse cursor is on the form area, it works fine, but if the mouse is on any control, it do not work. Do anybody has any idea, how can I achive the go ...Show All

  • Visual Studio How to add parsing errors to ErrorList window?

    I am working on a project to create a language service using Managed Package Framework. I want to show the parser errors in the error list window. Using DTE2, I can get a handle of ErrorList Window. EnvDTE80. Window2 window = dte2.Windows.Item(EnvDTE80. WindowKinds .vsWindowKindErrorList); ErrorList myErrorList = CType(window.Object, EnvDTE80. ErrorList ); However myErrorList does not expose Add method on ErrorItems collection. What is the way to add the error items programatically Can anyone help Thanks in advance. Vinay Ahuja I am having trouble implementing this. I'm using GetGlobalServ ...Show All

  • SQL Server Why I couldn't run the Transfer Database object Task with SQL Authentication

    Hi all, I have created a package to copy 10 tables from a database to another one. I have created a datasource with SQL Authentication mode. And it couldn't run until I changed the datasource connection to Windows Authentication mode. How could it be like that, it's just the authentication mode Is there anyone have the right answer for this situation ...Show All

  • Visual Basic Save a Form

    How can you save a form in VB ...Show All

  • Windows Forms Visual Studio 2003 Locks Up After Building with No Error Messages

    When I compile a project in Visual Studio 2003 Visual Basic .NET the IDE will lock up or freeze and I cannot see my application.  If I press control alt delete I can see that the program has been built but I cannot see it.  My only solution at this point appears to be to reinstall Visual Studio 2003 from the ground up.  Ho ...Show All

  • SQL Server SQL Database/ Media Files

    Ok. I am a beginner C# programmer. I am having a problem that I need solved. What I want is to be able to upload a media file to my SQL server. And then have a user of my program play the file, whether she is in New York, or canada. How would I get the accomplished Assuming you are on SQL Server 2005. What you may want to look at is varbinary(max) datatype and how to use it. Check appropriate Books Online topics. Then you probably want to read about ASP.NET and create a web-service or an application to deliver the files you have uploaded to your users. There are few resources on the web about writing ASP.NET web-services and appli ...Show All

  • .NET Development Unable to use FTPWebRequest over SSL

    Hi   I have been trying to connect to a FTP server using SSL. I have followed the example on MSDN - ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.NETDEVFX.v20.en/cpref10/html/P_System_Net_FtpWebRequest_EnableSsl.htm However I keep getting an exceptions when then “ request.GetResponse ” method is called. The exceptions is “WebException” and message is “The underlying connection was closed: The server committed a protocol violation”   Does anybody have any working example to connect to a FTP server over SSL Thanks for your help. Sorry about posting a question in this thread. The question I had is related to is how to s ...Show All

  • Windows Forms datagrid column value

    how can i get the datagrid column value when i select a specific row. lets say that i have a datagrid full with employees , and i select the row where's cris Rock data, and i want the employee id wich is actually on one datagrid column. maybe i want to edit that data or delete it from the datagrid, or go directly to  a delete s ...Show All

  • Smart Device Development Where is documented DRA:: namespace?

    I’ve just beginning to develop a native Pocket App and AppWizard has created a template for me. But I can see DRA:: namespace (IntelliSense says that DRA is a namespace), but I cannot find doc about that in MSDN (online and offline) and this forum. Is it documented Where I’ve installed Windows Mobile 5.0 SDK and it hasn’t integrated into MSDN help, then I cannot find directly things like DialogBox… Help goes to “ Excel Primary Interop Assembly Reference -> IRange.DialogBox Method ”. And for “ SHInitDialog” it gives “Information Not Found”. Then, I’ve to launch SDK help separatelly. Can someone ...Show All

  • Visual Studio Express Editions I missing the tool devenv

    Hi, If I try to build a Open Source Project with Visual C++ 2005 Express Edition, it appears a error message: ------ Build started: Project: BuildBin, Configuration: Debug Win32 ------ Performing Makefile project actions Microsoft (R) Program Maintenance Utility Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved. devenv Apache.sln /useenv /build Debug /project mod_ssl Der Befehl "devenv" ist entweder falsch geschrieben oder konnte nicht gefunden werden. NMAKE : fatal error U1077: 'devenv' : return code '0x1' Stop. Project : error PRJ0019: A tool returned an error code from "Performing Makefile ...Show All

  • .NET Development Soap Serializer does not support serializing Generic Types.

    I tried to serialize an object contains list (List<>) of objects and I got this exception: Soap Serializer does not support serializing Generic Types : System.Collections.Generic.List. It works fine with the  BinaryFormatter. That is correct. We have decided not to invest in any significant new feature work for the SoapFormatter in Whidbey.  -- Eugene Osovetsky ...Show All

  • Visual Studio Team System Question about CA1819: PropertiesShouldNotReturnArrays

    Heya folks, i have a property that returns a byte array /// <summary> /// Binary data of the ringtone. /// </summary> public byte [] BinaryData { get { return this ._binaryData; } set { this ._binaryData = this .PropertySetter( value , "BinaryData" ) as byte []; } } now i get a warning saying i shouldn't return arrays from properties. Hmm. ok - the rational (if i have understood it correctly) is becuase the array is not write-protected and therefore not tamper-proof. So, when i make two methods (a getter and a setter) i get asked to make a property! :) haha. so, may ...Show All

©2008 Software Development Network