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

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

Steelhand

Member List

flixxx
Chris.NET
keeara
tenchyz
kuchlerm
AHachmann
themadmax
MashRinx
SGK
DGK
Roger McKinney
Earl Anderson
WoofDg79
crsqn91l
PaNuK
AmauryR
MichaelMouer
PICASSO3
RotoLuter
noppo
Only Title

Steelhand's Q&A profile

  • Visual Studio VS locale ID

    Am I right, thinking, that DTE.LocaleID is the integer corresponding to VS localization If yes, where is it possible to get mapping from the values to languages Yes, DTE.LocaleID is the culture identifier for the current instance of Visual Studio. To get a mapping to language, use the System.Globalization.CultureInfo class: // note that this code only works with .NET framework 2.0 CultureInfo cultureInfo = CultureInfo.GetCultureInfo(DTE.LocaleID); string language = cultureInfo.DisplayName; // something like "English (United States)" // this code should work fine under all .NET frameworks CultureInfo cultureInfo = new CultureInfo(DTE.Lo ...Show All

  • Visual Studio Team System End date on reports is only allowing the day that I installed the server

    I have a problem where all of my reports will only run for the day that the server was installed because the start and end dates are both the same (15th November) and cannot be changed. Does anybody have any idea what I've missed, or what's going wrong A colleague of mine has the same problem too. ...Show All

  • .NET Development inserting into access database

    Hello, I am trying to create a form to insert a new person into by access database. I have italisized the part where i am having the error. "Caracter not valid" is the error which i am getting for using " " and its the same when i use "@". I need to insert lastname , firstname and teamid into the access databse through form and i am using oledb connection can anyone please help me sort this issue. i am copying the entire code here <% @ Import Namespace = "system.data" %> <% @ Import Namespace = "system.data.oledb" %> < script ...Show All

  • .NET Development How to Retrive Location of user from IP ?

    Hello , to all Can i have location info of user from his/her IP address I do have IP address i want to know country/city from IP address. http://www.ip2location.com/ looks like one of the sites to go to. They also seem to have a web service. Note that this is based on my internet search and I have no connection to them and I never used their api or product. ...Show All

  • Windows Forms Error Creating Window Handle

    I created windows form application when I add large number of controls I generate "Error Creating Window Handle" Exception please advice It is not entirely clear to me, but instead of using labels, you could simply print the text yourself on a location. That would already save an incredible amount of window handles. Can you also answer the other questions I posted And: what is the added value of using controls at all ...Show All

  • Visual C# C# Express Publication

    I am working on an application in C# Express. The program works perfectly in the IDE in debug mode. I went to make a test build with the the one-step deyployment that is provided in the C# IDE and it said the build was completed successfully. I then went to install the application but when I tried to run it the program would not start and I was propted to send an error report. Does anyone have any ideas on why my program would not build correctly Another interesting thing is that my program is about 36megs 26 of which is a database, but when I go to add/remove programs it says my program is 838megs....weird no Any feedback would be helpful ...Show All

  • Software Development for Windows Vista Beta 2 and Windows Server 2003 R2

    Is the WWF beta 2 runtime compatible with Windows Server 2003 R2 Has anyone try use beta 2 runtime in Windows 2003 server R2 The release notes only mention 2003 Server with SP1. In meanwhile I have tested this in Windows 2003 R2 and it seems like working. What I Did: I installed the RTC components in Windows Server 2003 R2, I had Framework v2.0.50727 installed earlier. I compiled WWF sample (ASPNETWorkflowExample) by aspnet_compiler and tested under the R2 server, which seems working same way as in XP. Please Note : You may encounter different problems, if this is not supported operating system release for WWF Beta 2. ...Show All

  • Visual Studio Team System Project Portal bug? Cannot get Discussions onto Quick Launch Bar

    That's right. When I modify the settings of the General Discussion on our project portal so that it reads: General Settings General settings of this discussion board include its name, description, and security. Current general settings of this discussion board: Title: General Discussion Web Address: http://tiger/sites/Why/Lists/General Discussion/AllItems.aspx Description: Use the General Discussion to hold newsgroup-style discussions on topics relevant to your team. On Quick Launch Bar: ...Show All

  • Visual Basic Query returns records in Access but not from VB6

    If I run the query in Access it returns 137 records. If I use the code below the recordset is empty. Both eof and bof are true. I have tried several different ways to execute, but I can't seem to get it to work. I use this process all the time and this is the first time I'm having this problem. I'm totally stuck.      Set cmd = cat.Procedures("qinpatientcount").Command      cmd.Parameters(pardtStart).Value = ar(1) ' Variant 2 element array     cmd.Parameters(pardtEnd).Value = ar(2)       Set rsList = New ADODB.Recordset     rsList.CursorType ...Show All

  • .NET Development Where is System.Date.OleDB and .ODBC for .NET 2.0 and C#?

    I'm just getting started with VS 2005 and am trying to modify a database connection that is currently using System.Data.SQLClient. The application is using written in .NET 2.0 and C#. When I try adding "using System.Data.ODBC" or "using System.Data.OleDB" in the .cs file, I am getting error messages that.. " Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0234: The type or namespace name 'OBDC' does not exist in the ...Show All

  • Visual Studio Team System New FXCop Versions and Visual Studio 2005 Code Analysis

    When a new version of FXCop comes out, will there be a way to update the integrated Visual Studio 2005 Code Analysis to use it Or will we have to use the standalone FXCop IDE to use newer versions I'm hoping it'll all integrate nicely, but I can't find any information about it... Thanks! Not a stupid question, I think people were distracted by the holiday. 8) We will not recommend that customers xcopy binaries that ship out-of-band with VS onto existing VS installations. This is a particularly bad idea for team development environments, such are common with the Team System SKUs. The standalone versio ...Show All

  • Windows Forms Storage and Syc of local data

    Does anyone know how IssueVision is storing its local data   Also, how is it synchronizing with the web service First, let me say that I appreciate the work done to get this application out there for me to look over.   I continually refer to it and I think I am ready to design an application using this model.   Without samples like this, I would not be enlightened enough to ask more question, so, thank you.   I have a few questions about IssueVision concerning its scalability and performance.   ...Show All

  • Visual C# Help! Access generic list data in App_code class from code behind

    C# newbie has a simple C# question here: suppose I have a list in PhotoManager.cs class under /App_Code. In photos.aspx.cs I want to call one item from the list data such as string skname, what should I do I know if you use dataset you will have something like this: dsCategory.Tables(0).Rows(0).Item("skname") but I don't know how to do it with List. I googled for a while still no luck. BTW, the GetCategory method returns single row of data. public static List <GetCat> GetCategory(){ ..................................... GetCat temp = new GetCat( ( int )reader[ "skid" ], ( string )reader[ &quo ...Show All

  • SQL Server How to drop users programmatically through a sp

    Hi, I want to drop users programmatically, is this possible I tried create PROCEDURE [dbo].[sp_DelAllUnusedLogins] AS BEGIN SET NOCOUNT ON; DECLARE @UserName nvarchar(128) DECLARE user_cursor CURSOR FOR select name from sys.sysusers where status=12 and name not in ('NT AUTHORITY\SYSTEM','dbo') OPEN user_cursor FETCH NEXT FROM user_cursor INTO @UserName WHILE @@FETCH_STATUS = 0 BEGIN DROP USER @UserName FETCH NEXT FROM user_cursor INTO @UserName END CLOSE user_cursor DEALLOCATE user_cursor END But @UserName isn't accepted.. Sp_dropuser is deprecated and will be removed in a future ...Show All

  • Visual Studio Team System 'Synchronizing' Test Classes

    When unit testing is there anyway to get the classes to execute in order What I have is two separate test classes each testing parts of the same database. In each class I have a ClassInitialize and a ClassCleanup, in the initialize I create and populate a test database and in the cleanup I tear the database down. What seems to be happening is that I get a running order something like Initialize - class A Test Test Test Initialize - class B Test Test CleanUp - A Cleanup B What i'd like to have is either to be able to get the class static methods executed in order, or to have an overarching control structure (like a test suite) with its own i ...Show All

©2008 Software Development Network