Levyuk's Q&A profile
Visual Studio Team System Server metrics from non Windows servers
If I am issuing web requests to a non Windows server (UNIX, Linux, whatever) is it possible to obtain server metrics about CPU utilzation and potentially disk usage during a load test using VSTE for ST I know that it is possible to obtain these kinds of metrics from Windows servers and these types of metrics are available from other load generation tools. Thanks, Scott I'm not aware of any way to obtain performance counters from non-Windows machines. If there's some way to get the *nix machines to expose Windows-compatible performance counters there's no reason it couldn't work, though. We can collect anyt ...Show All
Visual C++ refreshing a window in mfc
<vishal1857@discussions.microsoft.com> wrote in message news:97048762-a25d-4f10-9da3-4abc36497f72@discussions.microsoft.com > question : right now what happens is , processing takes place, and > say after 10 seconds, a window is thrown , showing a circle(result of > joining the coordinates). what i want instead is , that the window > should be thrown up immediately, and be refreshed every second, so > that i can 'see the circle being formed', rather than see the whole > circle at one shot after waiting for 10 seconds. > > what i tried : i though ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Cursor disappears on MC2 debug
Hi, I build the MC2 project and it runs fine in the release version. When I run the debug version the Cursor disappears when on the main game window, making it very hard to select things. Is this bug known Is there a simple way to fix it Thanks a lot! Amnon Manneberg I gave this a try myself and didn't see that behavior, how are you building the game If you’re using the command line version did you apply the patch You say this is happening in the UI correct Are you able to get in the game Does the cursor appear there ...Show All
Visual C++ PostQuitMessage Issue
Hi, I have tried to automate my application through a small VB program. This program runs fine except for when you press the quit button. This button succesfully navigates to the designated function in my C++ code for my application but at this point it fails. All that is in this function is PostQuitMessage(0);. It is on this call that the application locks up, as well as the VB app locking up. I have looked at the information for postquitmessage but it doesnt seem to give many clues. The only part I found a little confusing is, the parameter that you pass has to be an application exit code. Does thi ...Show All
SQL Server How to add a col in the fixed position?
How to add a col in the fixed position Position of columns in a table doesn't matter. If you want the columns in a particular order then you can specify it correctly in the SELECT list. And there is no way to add a column in a fixed position without dropping and recreating the table. Why do you need this What is the problem in column getting at the end of the existing ones ...Show All
Microsoft ISV Community Center Forums Update document properties on MS site server
Hello, I hope that this is the right place to ask my question about MS Site Server. After the migration to new user accounts I want to change the ownership of the documents in our content management system. With this code “Select owner FROM ContentManagement..SCOPE(' ""D:\Inetpub\trnintranet\publishing"" ') Where…. “ it is possible to show all documents from a specific owner. I tried to make an update statement "update ContentManagement..SCOPE(' ""D:\Inetpub\trnintranet\publishing"" ') set owner = ""EU\RNL20019"" Where ( CONTAINS(owner, '""EU\RNL20023*&q ...Show All
Visual C# General Questions ADO ole...
Hello and thanks for taken the time to read this, Having a few problems with my code since there is so much of it I can not paste it here so just wanted to cover some thery on working with databases hense (.mdb) and let me know where im going wrong. Steps 1/ using System.Data.OleDb; using System.Data; using System.Data.Odbc; using System.Globalization; 2/ Create dataAdaptor & Connection then Dataset. 3/ Alow data to be read or not but able to work with it through ie datagrid ect. This will be updating the Dataset correct dataset.Clear(); // Clearing Dataset ole_DataAdaptor.Fill(dataset); // Filling Dataset 4/ Once finshed upd ...Show All
Visual Basic Microsoft.StdFormat Assembly
In porting a project from VB-6 to VB-2005: The project runs, builds and publishes to a web server without errors but when downloaded to another computer the following error is thrown after the setup completes: “The application requires that assembly Microsoft.StdFormat 7.0.3300.0 be installed in the Global Assembly Cache (GAC) first.” Does anyone know how this can be overcome Thanks, J. Hepple On your .Net 2005 project, in the references section select the Microsoft.StdFormat reference. In its properties you can set it to local , that will ensure it is included into the Bin w ...Show All
Windows Forms Printing help needed ?
I have VB.Net standard so it does not come with Crystal Reports, so I'm building reports with the GDI+ class and Printing classes. Page 1 has a header and a footer and text in the middle, if the text in the middle rectangle does not fit, it needs to print on page 2 but with out the header and footer. So basically page has a h ...Show All
Visual C# BackgroundWorker and SHGetFileInfo
The SHGetFileInfo function sometimes does not give the appropriate icon when called from by a BackgroundWorker. As far as I have been able to ascertain you get the correct Icon back as long as the Icon is static for a file type. That is, the Icons for .txt, .doc, etc. are the same no matter which file it is. But the Icon for files/shortcuts with the extension .url or .sln (if you have VS 2005 installed) will have Icons which depend on file and for these files SHGetFileInfo returns does not return the appropriate Icon instead it returns the default Icon for a file (the icon that is used when Windows does not know the extension type). ...Show All
Visual Studio 2008 (Pre-release) DLinq Relationships not working
In this code I create a Article object that should have an Author and an Editor (both EditorID and AuthorID return the correct numbers) but the actual entityref objects(User/Editor) are still null.. What am I doing wrong using System; using System.Collections.Generic; using System.Text; using System.Data.DLinq; namespace Devtoo.Data.Objects { [Table(Name = "tblArticle" )] public class Article { private int id; [Column(Name = "ArticleID" , Storage = "id" , Id = true , AutoGen = true )] public int ArticleID { get { return id; } set { id = value ; } } private string title; [Column(Name= ...Show All
Windows Forms How to: Webbrowser NewWindow and Navigating equivalent to axWebbrowser
At first, I enjoyed the new webbrowser control but then I noticed that the args provided by the events NewWindow3 and BeforeNavigate of the axWebBrowser had not been implemented in the new control. Arg. Good news, the guys from Microsoft gave us the a workaround recently in C# and said they will publish a sample soon on MSDN. In the mean time, here is some VB.net code inspired from Microsoft's C# that will give you 2 new events and the args people like me were crying for. NavigatingExtended gives you the following args: - Url as string - Frame as string - Headers as string - Postdata as string - PostdataByte () as byte - Ca ...Show All
.NET Development Can't update database from datagrid
Hi, I've bound a Datagrid to a Dataset, which works OK, however the update isn't working correctly, I think the problem may be that I am using a DataAdapter generated with a wizard with stored procedures to select and update. The binding code works OK, combining a number of tables into a single table in a dataset and displaying it, here's the sp: CREATE PROCEDURE proc_GetSampleAss (@patientCode varchar(15), @procedureDate datetime, @usrNo int ) AS SELECT tblPatient.pntUnitID as 'Patient Code', CONVERT(varchar, tblAssessment.assDate, 103) as 'Assessment Date', &nb ...Show All
Windows Forms The order of files returned by the OpenFileDialog
I have a question about the order of files returned by the OpenFileDialog. I have four files (File1.txt, File2.txt, File3.txt and File4.txt). In the OpenFileDialog I select them in the order of: File1, File2, File3, File4. However in the OpenFileDialog.FileNames array they are in the order File4, File1, File2, File3. If I select them in the order File4, File3, File2, File1, then in the array they are in the correct order (File1, File2, File3, File4). Why, and is there any way they can be forced to be returned in the order selected, or at least alphabetical order I’m using VB .NET v7.1 and .NET Frame ...Show All
Visual Studio Tools for Office I think that is a Bug in Visual Studio 2005 (ActionsPane)
Bug in Visual Studio 2005 (ActionsPane) I am working in machine with visual studio 2005 beta and operating system XP professional and office 2003 with service pack 2. I have an error when I am adding controls in Actionspane in a word Document: this.ActionsPane.Controls.Ad(new DateTimePicker()); Because, I proved that in another machine with widows wp professional and office 2003 with service pack 1, and work correctly. The problem is that I don't know How I solving that. I read in some page Internet that i have format my machine but I don't want. Marcela Moreno System Engineer - ECI Banco de la Republica Fiduciaria y valores ...Show All
