Roman-Alifanov's Q&A profile
Visual Studio Team System Load Test requests/sec drop to zero
I'm seeing a recurring problem in a load test where requests/sec drop to zero during the test, and then resume normal levels 1 minute and 15 seconds later. The load test has 25 users, starting at 1 and ramping by 3 every 8 seconds - it consists of 2 webtests. I reach a constant user load and everything cranks along pretty well until about 30 minutes into the test. Then requests/sec drop to 0. I don't see any corresponding spikes in any other counters - just % processor on the servers also drops to 0. Every time I re-run the test, I see the same type of behavior, but ...Show All
Windows Live Developer Forums And the winner is...
Within a few weeks, the winner of the Worlds best app contest will be anounced, so I think it's an interesting question to ask: Who (or which app) will win My guess: In the Games section I think somebody from the netherlands will win... There are a few good games (actualy a lot of good games, but these are the best in my opinion): - Hangman (very basic and simple, doesn't require a fast pc, everybody knows how to play it - Tankwars (the one with the most launches, I like it, but it get's kind of boring after a few times... But it's still a good 2 player game! - Pool (nice graphics, very smart use of MSN Ear ...Show All
SQL Server Secure .NET 1.1 application from users
Hi all. I am developing an distributed VB.NET 1.1 application with a TripleDES capable socket layer for communication with my server app. I need to secure the distributed app from the users within the organization I am developing it for (a franchise). I do not wish to store any encryption keys in the source code as these would be obvious to any seasoned hacker through decompilation of my binaries (even with obfuscation). I have decided to use the windows DPAPI (under machine storage mode) to secure manually entered (at installation) encryption layer keys in the registry. The salt values for this DPAPI mode also need to be secured, ...Show All
Visual Studio Express Editions Need help with for and pictureboxes
I'm making a map editor to make maps Every tile is a picurebox. In the menu there is a command "New" wich will load all the default pics into the picturebozes, so you can make a new map i created this for statement dim i as integer For i = 0 To 391 PictureBox(i).image = My.Resources.Image_default Next i But this doesn't work. There is something wrong with the PictureBox(i).image Please help me. I'm using vb2005 Thanks in advance, Radexxion "There is something wrong with the PictureBox(i).image" doesn't really give much idea of the problem you are having. Have you created an Array called ...Show All
.NET Development Displaying Labels Created at Runtime
I want to create an array of label controls at runtime in a Windows app ... nine rows by nine columns. My problem is that when I do this the labels are not displayed in the application window. Is there some property I have to set to cause this to happen Here is the sub I go to to do this: (this routine is executed when I click a Go button) Private Sub btnGo_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGo.Click Dim i As Integer Dim j As Integer Dim cells(8, 8) As Label For i = 0 To 8 For j = 0 To 8 ce ...Show All
Visual Basic How do I move a form without borders?
Hi, I was wondering, how do I move a form without any borders I found this question answered many times but not for VB2005, it was usually C#, C++, or VB6. Thanks probably an easier way using point.offset. . . but this works: Private startPoint As Point Protected Overrides Sub OnMouseDown( ByVal e As _ System.Windows.Forms.MouseEventArgs) MyBase .OnMouseDown(e) startPoint = e.Location End Sub Protected Overrides Sub OnMouseUp( ByVal e As _ System.Windows.Forms.MouseEventArgs) MyBase .OnMouseUp(e) Me .Top = Math.M ...Show All
Visual Studio Team System December CTP install failure
Steps taken Install VPC on standard disk size (yes, it is too small, but this was a test run) Install Windows Server 2003 R2 Updated all patches Install Domain Controller (with DNS) role Add domain accounts Install Application Server Role Install .NET Framework 2.0 (probably out of order, next run will be before App Server role) Register ASP.NET 2.0 (aspnet_regiis /i) Install ADAM (assume this is still needed) Install Certificate Server and add SSL Certification - not necessary for install, but an intregral part of our needs Install SQL Server 2005 Enterprise - RTM Install WSS 2.0 - Add/Remove Windows ...Show All
Visual C++ Splash Screen
How can I make SplashScreen in Visual C++ .NET 2005 I know how to realise it in VB .NET - it is very easy to do it there. For .Net specific libraries I would suggest using the forums at http://forums.microsoft.com/MSDN/default.aspx ForumGroupID=12&SiteID=1 where folks are more familiar with such routines. Thanks, Ayman Shoukry VC++ Team ...Show All
SQL Server Print hardcopy of table structure
I've just started working with SQL Server Express, and would like to print out a report listing the properties (Ie. field names, data ttypes, length, field description, etc.) of each of the tables in my database. How do I do this The best way would be to use the INFORMATION_SCHEMA views and in this case the one that presents the columns definitions: SELECT * FROM INFORMATION_SCHEMA.COLUMNS HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Studio Team System Team Build - Security
Hi, we would like to implement multiple team-build types, but only certain users must be allowed to execute certain team-builds. I have not found a way to ristrict which users may execute a specific team-build. Will this be an RTM feature - or must we use alternatives for all restricted Team-Build functionalities ie. a scenario would be deploying to a staging area - which causes different version-numbering to be applied. this may only be done my project-managers or team-leaders. TB would be perfect for it, but the rights-management is desperatly needed for it! ...Show All
SQL Server Create File Option In File Connection Manager
May be it's too late, but I think this requests could be scheduled at least for a SP1 if it's not possible for the RTM. 1) Execute Task without debugger: it would be very nice to be able to execute a single task without going in debugging mode. Just as you would ask "Start Without Debugging CTRL+F5" but for a single task 2) Customize default properties for task and component: when you drag a task on the package you get a default value for the properties that you could want to change; often I need to change the same property in the same way each time (for example I'd like to set the Batch Size for a OLE DB destination to 1000 instead than 0 ...Show All
.NET Development Can I Limit rows returned in native data grid in VS05 and SQL Server?
I don't know if this is the right place to post this, since it is a tooling question, but I am pulling back rows in a native data grid from SQL Server - I don't see an option where I can define how many rows to return (or limit rather). It looks like it is fetching it in blocks, which is good - -but I just want to return the first 100 rows let's say -- can I do this One way would be to add "TOP N" to your SQL: SELECT TOP 100 * FROM ... ...Show All
Visual Studio Express Editions Converting string to integer / Timer issues
Hi there! I'm currently experiencing difficulty in making a progressBar work and at the same time, having difficulty converting a string to integer in Visual c# and wondered if anyone could help Basically, I have a textbox, the text in the textbox is like 00:09 (its a time reference, so it says that the current file is 9 seconds long). I am trying to create a progressBar that will change when the file plays, so when the file is playing the progressBar will fill up to reflect the file's play progress. I have tried telling it that progressBar1.Maximum = textBox.text but it won't convert from string to integer. Is there something ...Show All
Visual Studio How to abort a commandline build.
I am trying to abort a commandline initiated build before it does any work. I have a OnBuildBegin handler that does some checking to see whether to actually build. None of my current approaches work reliably. Invoking Build.Cancel in the handler. As far as I can tell, commands are not availablewhen running in commandline mode. Is that correct, or am I missing something Using the HRESULT for the callback. As far as I can tell, that value is ignored. Hook into CommandEvents.BeforeExecute. I believe the same limitation will apply here as for invoking Build.Cancel. Commands seem to not be accessible (the build is not started via a command). ...Show All
Windows Forms Creating an Index feature just like VS Help
Hi All, I've had to struggle quite a bit to create an index feature just like you get in VS Help (i.e. an alphabetical list of topics, and an edit field where you can type a few letters to find the topic you want). Anyway, I finally managed, so I thought I would give something back here by telling how. I implemented this feature with a TextBox and a ListBox (I also looked at ComboBox and ListView but couldn't overcome some issues). The ListBox was set to have sorted = true (naturally). The first thing was to select the first item in the list which matches the letters that have been typed into the TextBox. Note: The select also en ...Show All
