AliAhmadi's Q&A profile
Visual Studio Team System The location link appears to not work
The location link from the section at the bottom of the FxCop window always seems to gove an error indicating it cannot locate the file, the link from within the detail does however locate the code within visual studio. An example of where the actual files are located (The only place Visual Studio seemed to allow to put the files it gave no choose location) is C:\Documents and Settings\UserName\My Documents\Visual Studio\Projects\ProjectNam ...Show All
Visual Basic Converting C# delegate to VB
I'm trying to convert some C# code to VB. The code defines a delegate sub to be raised as an event, the defintion of the delegate in C# is: public delegate void ActionModuleHandler( object key, object sender, EventArgs e); and the use of this delegate in my Class as an event is, public event ActionModuleHandler OnPerformModuleAction; The code converts Ok to VB but doesn't seem to perform in the same way. I ntellisense ...Show All
.NET Development FileUpload control and permissions
Here's the scenario: ASP.NET 2.0 App is on Web Server A WebSite is on Web Server B My ASP.NET 2.0 App allows for picking a file to upload as an image file. It will put the image into the WebSite/images directory on WebServer B. I'm getting this error trying to do this: Access to the path '\\Web Server B\d\inetpub\hostedsi\images\dgosche.jpg' is denied. I've tried several things to fix this error, but nothing has worked y ...Show All
SQL Server Linking Oracle Servers
Has anyone successfully linked to a Linux Oracle server running 9i We are unable to get the link working.....have installed various drivers and still get connection refused. Any thoughts We have installed the client on the MS SQL server, installed Oracle OLE DB, etc. Still receive the error that we cannot initialize the MSDAORA. Not sure why. Using MS Access we are able to connect to the data via an ODBC conn ...Show All
Visual C# ProgressBar property missing?
My question is: how do I change the color of a progress bar By color I mean that intense green used to draw the blocks of the bar. I found a property in .NET Framework 1.1 called ProgressBarColor that is supposed to do that, but I did not find it in .NET 2.0. Did the programmers overlook it on purpose or by mistake Many thanks Michel, I think I got it. I suspected from the beginning that the effort was not w ...Show All
SQL Server best approach
I've been banging my head for a while now, and it is sore! :-P I'm a best practice/Microsoft approach type of person and want to make sure I do things correctly. I have a database, kind of like a forum. Obviously executing multiple queries in one "batch" (stored proc) would have an impact on the performance. Now, I would like to give a more detailed/specific error back to the caller (either by aid of error code or w ...Show All
Visual Studio Team System Where is the areapath in reoprts in TFS RTM?
Hi all, We've upgraded our team foundation server to RTM couple of weeks ago. I'm now working on modifing the reports so they will work with new server but I've encountered a problem with the area field/dimension when trying to create the report. I can't seem to find the area path that we used to have berfore RTM so now if I have the following structure in the area field: module A module A1 module A2 module B ...Show All
Audio and Video Development extract a section of mp3/wma
Hi friends, I have a question for editting media stuff. Say I have a binary stream of mp3/wma file and now I want to create another stream, which starts from 1 minute sharp of the original stream and last only 10 seconds. How can I generate the second stream and also save that to a binary stream as well as in a file Thanks a million, Ning Hi Ning, As this is the Media Foundation forum I will give you point ...Show All
.NET Development Why Two Installers For Windows Service?
One of the review questions in a C# MELL is: Why do you need to add instances of both the ServiceProcessInstaller and ServiceInstaller classes to install your service application This is a good question and I am unable to answer it. The MELL gives the following in the "Answers" appendix: A service application can contain more than one service. The methods of the ServiceProcessInstaller class perform the tasks that are common f ...Show All
Visual Studio VSS Lan Service working randomly
Hi, The Lan Booster service works randomly here. Sometimes everything is ok, and sometimes, for the very same operations, for the same database/project and on the same system, I get the following message: Unable to use SourceSafe LAN service, performance of SourceSafe operations will not be optimal. The service is running on the system hosting the database. Known problem I'm not very familiar with DFS, but I think that you're access ...Show All
Game Technologies: DirectX, XNA, XACT, etc. using Microsoft.Samples.DirectX.UtilityToolkit
I just started working again on a game I had been writing and abandoned for quite a while. I have managed to get it working with the latest release of the SDK but now I have run into a problem trying to add a new UI. Im am trying to add some of the the controls from the customUI tutorial that came with the SDK . I added "using Microsoft.Samples.DirectX.UtilityToolkit;" to my code but of course the compiler didn't reconize Microsoft.Samples... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DX GUI library
Is there any developed GUI libraries, based on ManagedDirectX version, is it reasonable to do own one, and possibly to sell it, I mean UI that will be used inside D3D applications Have you looked at the Sample framework that ships with the SDK, there is a simple GUI System included there. Have a look at the samples and the CustomUI Example. ...Show All
Visual Studio Team System Unable to connect to BIS server
Hello everyone, I was getting this problem on several machines while trying to connect to a team foundation server from vs.net. Through reading posts I began to understand the problem as being caused because VS.NET was trying to connect to a server it was already connected to. So I went into the file, C:\Documents and Settings\user\Application Data\Microsoft\VisualStudio\8.0\Portfolio Explorer\TeamExplorer.config and edited out all ...Show All
.NET Development Asp.net
Hi, Can anyone help me out in doing this. I migrated asp.net application which was created using VS2003 to VS2005. After I migrated the application and when I run that application I was not able to put the break point in my web application. That's I am unable to choose the option Debug -> Start Debugging , I can only run the application without debugging. Because of this I am now not able to locate where exactly the error.. ...Show All
Visual Studio How to pass Report parameter in ReportViewer Control
Hello Friends, I am using VS2005. how to pass the Report parameter in the reportviewer control I am using ther Remote mode for the report. till now i know that i can set the parameter is using the bellow method. This SetParamters method only accept the parameter like Microsoft.Reporting.WinForms.ReportParameter type. this .reportViewer1.ServerReport.SetParameters(). But can't findout how to pass that parameter in the method. please help me. Nil ...Show All
