Picho451970's Q&A profile
Visual Studio Team System Old Work Items missing from query
Hi all One of the developers in my group run into this problem : we have more then 3000 work items in our system (RTM). when preforming the "all work items" query, he gets only the last 250 (by ID) !!! he has the developer edition. when I run the same query on my machine, with the team suite edition, I get to see all work items. how (and where exactly) can I allow him to see those work items, since he is suppose to be working on them.... weird... Thanks, Guy ...Show All
.NET Development Random Number Generator Problem
Hi all, I cannot seem to solve this problem: I am attempting to generate a unique filename with the help of the Random Number Generator (RND.Next.ToString). All seems to work fine except that one third of the time, I get duplicate file names; this poses a critical problem for my application. The problem only seems to happen when Method1 calls Function2 to generate and return the random file name. If I move the logic to generate the filename into Method1, it works properly. I have tried to use SyncLock, etc. but to no avail. Why is it that when Method1 calls Function2 to generate the random file name, I get duplicates, whereas if I move the logic from Function2 into Method1, I get no duplicate file names. Is this due to threading ...Show All
Visual Basic Reference and Component lists in VB
Hi all, can't find a forum for ye olde VB6 so gotta chance getting an answer here. Anyone know how to remove old references and components from the lists in VB6 I've deleted some old DLLs/OCXs from my PC but they're still in the lists. Cheers. You should have unregistered them before deleting them. Some regcleaners will remove these obsolete entries which is probably your best option now. ...Show All
Silverlight (formerly WPF/E) Context menu in WPF/E
Is WPF/E going to support customizable context menu on right mouse click Right now we do not have plans to expose right mouse button events. When we expose a context menu for the control itself (think of an "About WPF/E control" option on the context menu) we initially would not provide the ability to customize that context menu. Not saying that we will never add this, just not something we are doing currently. How important is a context menu Do you see custom context menus a lot in Flash sites I know I'm personally starting to see more context menus in AJAX sites. One option is that you expose a little glyph next to your content that displays a 'context menu' -- not something that is right-clicked based. This might be ...Show All
Visual Studio Express Editions Exception error, how to solve or handle it?
Hi, could someone tell me whats the meaning of the error and how can I solve it. Thanks. here my code: public static void ReadData() { string connectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\FYPproject.mdb" ; string queryString = "SELECT Sample_Number,Pump_Speed FROM 2Pumps" ; using ( OleDbConnection connection = new OleDbConnection (connectionString)) { OleDbCommand command = new OleDbCommand (queryString, connection); connection.Open(); OleDbDataReader reader = command.ExecuteReader(); <<Error on this line while (reader.Read()) { MessageBox .Show( String .Format( "{0} , {1}" , reader[0], reader[1]) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Reading back a rendering surface in .NET 2.0
I need to read back a large RGBA image to system memory in .NET 2.0. It appears that the documented function Surface.LockRectangle had disappeared from DX9 2.0. Another function, Surface.Lock exists, but I haven't found good examples of how to use it to get access to the pixels. My render target buffer is named "backbuffer", (A8R8G8B8). By some trial and error, I got as far as the following (VB.NET code): Dim MemSurface As Surface = device.CreateOffscreenPlainSurface(outputsize, outputsize, Format.A8R8G8B8, Pool.SystemMemory) device.GetRenderTargetData(backbuffer, MemSurface) Dim GB As GraphicsBuffer = MemSurface.Lock( New Rectangle(0, 0, outputsize, outputsize), LockFlags.None) This code executes without ge ...Show All
Visual Studio Team System Open File for edit in Team Version Control.
Does anyone know if there is any API for open file for read/write in Team Thanks. Workspace.PendEdit() client API samples ...Show All
Visual C++ #using "AbsoluteFilePath". . .How do I. . .?
In my application I have 5 Dynamic Link Libraries I am using. Each of these libraries holds a Windows Form. One of these libraries has a class that holds ALL varaibles that will be used accross my entire application. This is how it works: DCMPMessenger.EXE -> AcsLib.DLL OR LgnLib.DLL -> MainLib.DLL -> ExtLib.DLL Variables come from: VarLib.DLL Now in DCMPMessenger.EXE, I have a Windows Form which is used as my splash screen. In my splash screen I have a reference to both AcsLib.DLL and LgnLib.DLL. Here is how I have it coded: #using "C:\\Documents and Settings\\Dave S. Anderson\\My Documents\\Visual Studio 2005\\Projects\\DCMPMessenger\\debug\\VarLib.dll" #using "C:\\Documents and Settings\\Dave S. Anderson\\My ...Show All
SQL Server The merge process failed to execute a query because the query timed out
Hi there. I have occasional sincronization error. -XSUBSYSTEM Merge -XSERVER MYSERVER -XCMDLINE 0 -XCancelEventHandle 000006E0 2006 - 12 - 22 14 : 55 : 00 . 833 Connecting to Subscriber 'Subscriber01' 2006 - 12 - 22 14 : 55 : 00 . 895 Connecting to Distributor 'Publisher01' 2006 - 12 - 22 14 : 55 : 02 . 974 Initializing 2006 - 12 - 22 14 : 55 : 03 . 083 Connecting to Publisher 'Publisher01' 2006 - 12 - 22 14 : 55 : 06 . 005 Retrieving publication information 2006 - 12 - 22 14 : 55 : 06 . 130 Retrieving subscription information. 2006 - 12 - 22 15 : 00 : 07 . 222 The merge process failed to execute a query because the query timed out . If this failure continues, increase the query timeout ...Show All
SQL Server How do I find the total memroy consumed by a SQL2K5 instance
My Box: I have an SQL2k5 Dev 64 bit running on a Win2K3 64 bit box with 12 GB of RAM with two dual cores intel xeon processors. My concern: Task manager never shows sqlserver.exe consuming more than 500 MB of memory even when running very big jobs.( for e.g. joins on mutliple tables of 10 Million plus rows with lots of calculations while also using some CLR UDFs) My question: Is the task manager best way to find the total memory consumption by a SQL2K5 instance is there any other way to find the total memory consumption by SQL2K5 Apprciate any answers or leads. Thanks Saptagiri Tangudu PNT Marketing Services Inc. You can obtain the values from sys.dm_os_performance_counters as well. Same value ...Show All
Visual Studio 2008 (Pre-release) UserName and Password validation only
Hello I'm trying to make an application that uses security features. There are quite a number of samples too. What I'd like to do is just to use UserName and Password only. Say, you get the username and password, compare them to the database, and then authenticate. I'm not familiar with security mechanisms but it seems like every single sample uses x.509 certificate when using username and password validation. So if anyone can give me a sample of UserName and Password validation only, that would be great. Also, I want to study on x.509 certificate. How it works and how I can make a certification and stuff. Thanks for your help. Thanks for the reply However, under the TechnologySamples\Extensibility\Security fold ...Show All
Visual Studio Tools for Office Outlook Add-in Not Loaded :runtime error HELP HELP
Deall ALL, I installed the following in the client machine Office 2003 SP2 framework 2.0 office tools runtime MS PIA the Patch KB908002 lockbackRegKey.msi extensibilityMSM.msi office2003-kb907417sfxcab-ENU.exe all did all of the above and no luck to get my Outlook- add in working in the destination machine BUT IT WORKING PEFECTLY in my DEVELOPMENT MACHINE plzzzzzzzzzzz help HELP Have the same problem. The popup window says: The current .Net security policy does not permit the customization to run .... Could not load file or assembly 'OutlookAddin1, Version=1.0.0.0, Culture=neutral, PublicKey Token=..........' Failed to grant permission to execute. ...Show All
SQL Server Problem with report viewer
Hi, I recently upgraded by ASP.Net 1.1 application to 2.0. 1.1 application was using awReportViewer to view the reports. But, when upgraded, awreportViewer doesnt display the RS2005 enhancements like sorting, etc...so I decided to replace it with Report Viewer control in VS2005. Now the problem starts, Whenever I try accesing the reports through application, it gives me error " Client found response content type of '', but expected 'text/xml'. The request failed with an empty response." This is how I have coded, ReportViewer1.ProcessingMode = ProcessingMode.Remote ReportViewer1.ServerReport.ReportServerUrl = New Uri( http://localhost/ReportServer/reportservice.asmx ) ReportViewer1.S ...Show All
.NET Development The problem "MSDatasetGenerator failed" with System.Guid DefaultValue
Hi, I create Dataset with field of "System.Guid" type in VS2005. Then I put down the "DefaultValue" for the field equals to "00000000-0000-0000-0000-000000000000". When I click to build the project with this Dataset, so AFAIK VisualStudio makes my Dataset but fails and gives me the following error message: "Error 1 Custom tool error: Failed to generate code. Failed to generate code. Object of type 'System.Guid' cannot be converted to type 'System.String'. Object of type 'System.Guid' cannot be converted to type 'System.String'..." Notice if I put down the "DefaultValue" equaled to <DBNull> then everything goes fine and the project is bult OK. SO something wrong with my def ...Show All
Windows Forms run time error (book1.xls) invalid attachament type but works when continuied
I have a vb app that creates a xls book1.xls and then sends an email and attaches book1.xls then goes and then goes to the next customer and drops book1 and creates a new book1. my problem is that during the run (200) customers i get an error at this point Dim oAttch As MailAttachment = New MailAttachment(sfile, MailEncoding.Base64) but i click continue and it still attaches book1.xls and will loop through 10-20-30 customers then pop the error again I press continue it my go to the end of the list or it may go 1 - and pop again then i click continue it attaches book1 and rusumes is there a way I can check for a specific error code error code -2147467259 and just tell it to contiinue I have ...Show All
