wessen's Q&A profile
.NET Development How to change culture for remoting server according client setting?
Hi I have a mutipul language project with dotnet remoting technology. The culture setting of client is different, my questiong is how to set culture for remoting server. for example, when the culture setting of client is 'en-GB', the culture on server side will be changed to 'en-GB' in a remoting call, if client is 'en-US', the culture on server will be changed to 'en-US' as well. Thanks for your help ...Show All
Visual Basic Installing VS 2005 keeps on asking ' Please insert the disk: Visual studio 2005'
The installation process for Visual Studio 2005 prompts ' Please insert the disk: Visual Studio 2005' everytime when I try to install VS2005. This is what I did: * Downloaded VS 2005 from the MSDN members download site. File name: en_vs_2005_pro_dvd.iso (size=2,825,748 KB) * Used MagicISO tool to unpack the files * Used Nero 6 to write the extracted files to the DVD * Created a brand new Virtual PC with Windows XP + SP2 ...Show All
Visual Studio Team System Source Control Tree
Why isn't the source control tree displayed and manipulated by the Team Explorer window Opening to a Source Control Explorer to have extended capabilities is nice, but basic check-in/out functionality should be available directly from the Team Explorer window. Is this a feature that is going to be added in the final product Thanx, It would be nice to have some basic version control functionality in the Team Explorer window.&n ...Show All
SQL Server SQL2005: Reource database
Hi All, WRT the resource database, MS explicitly states that it contains only "code", and the mdf/ldf should not be included in any filesystem backup process. As a backup statement cannot be explicitly issued, what is the course of action should the mdf/ldf become corrupt (and therefore the resource db unavailable) If it's rebuilt, doesn't it lose all entires for objects within user databases or as it rebuilds does it re-popu ...Show All
Visual Studio Team System Unit Test Adapter threw TypeInitializationException
I am getting the following exception in one of my Unit Tests... Unit Test Adapter threw exception: System.TypeInitializationException: The type initializer for 'Microsoft.VisualStudio.TestTools.UnitTesting.TestConfiguration' threw an exception. The documentation for TypeInitializationException says "The exception that is thrown as a wrapper around the exception thrown by the class initializer". So if this exception is a ...Show All
Windows Forms getting the events from anoteher class
how can I get the value of an external class button : <b> Protected _menu As new menu Private Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Load 'the menu is added onInit myliteral.Text = _menu.value End Sub </b> it do ...Show All
Visual C# Speed comparison: Filestream.Seek vs. StreamReader
What's the fastest way to access the contents of 300,000 variable length "records" in an asynchronous manner A "record" is a text file approximately 20KB long. Here are some possibilities that I've considered: 1. Store each record as a file & store the file path location (ie: C:\test.txt) of the record. Use the StreamReader class (and File location ability of Windows Operating System) to locate, open, and read the file. 2 ...Show All
Visual Studio Express Editions Port number being added to uploaded file's filename (extension).
If i upload the file "test.txt" the server receives the file as "test.txt21" 21 is the default port number for this program. Here is the code that builds the URI: Dim connectURI As String = Nothing Dim UserName As String = txt_login.Text Dim Password As String = txt_password.Text 'Build FTP address e.g. ftp://anonymous:anonymous@127.0.0.1:21 connectURI = "ftp://" + UserName + " ...Show All
Visual Studio 2008 (Pre-release) When will the C# version of LinQ be ready for VS.NET 2005 RC0
I am very excited about LinQ and would like to use it asap. Since I have to use the VS.NET 2005 RC0 version to create demos, I would like to inquire when will the C# version of LinQ be ready for VS.NET 2005 RC0. Yes, I know that LinQ is already compatible with the VB version of the RC0 VS.NET release, but I would like to show Java programmers a flavor of what they are missing ! Well, considering the ...Show All
Visual Basic Toolbox still does not display user controls.
My project, which has 2 user controls in it- does not display the user controls in the toolbox. Has anyone else had this problem, and/or know of a solution I have tried adding other user controls to the project, they do not appear in the toolbox. I have tried creating a new project, and it's user controls DO show up in the toolbox. If I add the user controls from the first project to the new project -THEY show up in the toolbox for that projec ...Show All
Visual Studio SQL Server 2005 Express Edition installation problem
hi there, i have some setup problem regarding to the VS2005 beta 2 and SQL server 2005 CTP. i install SQl server 2005 CTP and follow by VS2005 beta 2 with full installation, and when i installing VS2005, i get an error message. following is the error log: ***EndOfSession***[10/05/05,01:58:42] Microsoft SQL Server 2005 Express Edition April CTP: [2] Error code 1603 for this component means "Fatal error during installation. " [10/05/05,01:58:52 ...Show All
Visual Studio Team System Replacing the TFS Beta 3 Refresh Process Template with Build 100
I already have two projects created using TFS Beta 3 Refresh's old process template (Build 98). How can I: 1- Permanently replace the TFS version with the Build 100 one 2- Update the already created projects' process templates with the Build 100 one Thank you, Sammy Hello, It is not possible to replace the whole template for an existing project. It is possible to change pieces of it such as the process gui ...Show All
.NET Development Impersonate to different windows accounts based on credentials
Hi, I know that if one needs to be able to authorize access to resources based on the caller's identity, one should set up the server to perform Windows authentication with impersonation. But how can I do this when I grant access to my webserver to, let's say 2 different organizations over the internet that authenticate themselves using certificates. They are not using the windows platform, so I can't do anything with trusted domains. Is it p ...Show All
Visual Studio Express Editions need to create a wait() function
I need to create a wait function that allows other processes to continue during the wait period. This one puts the processor in 100 usage for the period of the wait - so not much help! Sub wait( ByVal seconds As Integer ) Dim timestart As DateTime Dim gap As Integer timestart = Now() Do gap = DateDiff(DateInterval.Second, timestart, Now()) If gap > seconds Then Exit Do End If Loop End Sub can anyone ...Show All
Smart Device Development Notification Icon
Hi all, I am developing a C# .Net application using the .Net Compact Framework. I used the process described at http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/messagewindow.asp to show an icon in the Pocket PC's Today screen's taskbar. I have set the Application Icon also to a valid ICO file. The icon also is used for the aplication's generated EXE and the EXE shows using that same icon. I used the following fu ...Show All
