Mohammad Mir mostafa's Q&A profile
Windows Forms WindowsForm new controls
I'm looking for a link that show the new controls in .NET v2 with screen shot and description (I don't have v2 to compile and try them). Just a few of them: http://www.windowsforms.net/WhidbeyFeatures/default.aspx tabindex=5#Controls ...Show All
Visual Studio Visual Studio Team System: Extensibility
Hi All, I'm currently working on extensibility feature of visual studio team system. How to integrate third party tool with visual studio IDE using VSPackage. Any suggestion/ information would be appreciated. Thanks in advance. Regards, Shiby You can start by downloading the Visual Studio SDK and the Team System SDK both available at the Extensibility web page: http://msdn.microsoft.com/vstudio/extend/ Each contains many examples that should help you get started with your tool. This forum is also a great place to search for answers and post questions that you might have. ...Show All
Visual Basic Crazy IDE
Hi All, Just after started to add controls to this new Tabbed app, the IDE shows the move cursor (the crossed arrows) and just flashes the cursor until I go into the taskman and return...It's scary to think a whole nights work could be undone by a misbehaving IDE. Have any of you experienced this odd behavior This has also happened in other apps in W2K, and XP Pro as well. Thanks All! Elgee If you could report the issue along with steps on how to reproduce it, or if you still have a project that is broken, I would suggest that you report it on http://connect.microsoft.com/ This will let the appropriat ...Show All
Visual C++ Changes from VS2003 to VS2005, e.g. COleDateTime::Format
Hello there, We are about to migrate from VC7.1 (VS2003) to using VC8 (VS2005), and we have of course run into a couple of obvious problems (which were mostly due to small corrections in the C++ syntax). We have also encountered some not-so-abvious problems, like this one: Trying to do a COleDateTime(0.0).Format("%Y/%m/%d") in VC7 rendered a CString with the content "1899/12/30", as expected. Doing this with VC8 causes the application to crash. Without notice with a Release build, with some Debug Assertsions on a Debug build. This arises two questions: Is there a possible workaround for the COleDateTime problem, we have millions of lines of ...Show All
SQL Server Data Source error?
Hey everyone, Just wondering if anyone could answer a simple question for me. Here is a brief background on what I'm trying to do and my setup. I'm working with .net studio 2005 and Windows Mobile 2005. I'm just doing some testing with SQLCE for future projects that I plan to implement with it. I'm somewhat new to .net, however I have experience in VS6.0. I wrote a simple app that contains Data Binding and was attempting at Datasets on a Mobile device, but I ran across some error. However that error I'm not concerned with yet. The error that I'm concerned with is tring to implement the same project except connecting to a mobile databa ...Show All
Game Technologies: DirectX, XNA, XACT, etc. help directx 9 not working
i keep trying to install directx 9 and an error pops up saying it failed to copy a file and it says------------- [06/12/05 15:56:34] module: dsetup32(Dec 5 2005), file: setup.cpp, line: 5542, function: CSetup::DoCopy Failed API: SetupInstallFromInfSection() Error: (995) - The I/O operation has been aborted because of either a thread exit or an application request. Unable to proceed dxxp.inf:[WINXP_INSTALL]. The file may be damaged. what do i do Definitely seems like a bad download. Download again, the check your installation log to make sure everything was ok. You might have a similar problem to this: h ...Show All
SQL Server Failed to acquire connection / The AcquireConnection method Failed
I am running the Sept CTP. I have created a SSIS package that pulls data from a text file and inserts into a database. When I run the package on the DB server it runs fine. I have moved the package the the web server (we are attempting to kick off the package from a web site) and we get connections errors. We are running the package using dtexec from the command line. The 1st time we got The AcquireConnection method call to the connection manager "Program DW" failed with error code 0x80004005. One post I read said that changing the DelayValidation to true may help. I set the DelayValidation to true on all the pac ...Show All
.NET Development Can't connect to SQL Server 2000
When I try to connect to a SQL Server 2000 database running locally, I get the error message: "Unable to connect to database. It is only possible to connect to SQL Server Desktop Edition databases with this version of Visual Studio." What in the world does this mean I have a Developer Version of SQL 2000 running and a Developer Version of VB.NET. Tom, What are you using to connect Query Analyzer, Management Studio, ADO, ADO.Net If it's through code, please post the connectionstring. Adamus ...Show All
Visual Studio How to find the location of a .targets file?
We have a .targets file that implements a few custom build steps we need for our projects. One of those tasks is to call a command line tool to do some work with the assembly that was just compiled. We store the .targets file and the commandline tool directly in our source control (since they are both small) so that it is very easy for developers to build. They just grab the latest source tree and they have everything they need to build. Here is today's problem: How can our .targets file find the location of the command line tool Developers may have checked out the source code anywhere. The commandline tools is in the same ...Show All
SQL Server Deploying reports to SSRS 2005 and\or SSRS 2000
We have SQL 2000 & SQL 2005 instances, both with Reporting Services installed. The SQL 2000 instances will be around for a while longer. We would like to upgrade our Visual Studio from 2003 to 2005. Can we deploy reports to either\both of the 2000 or 2005 Report Servers from VS 2005 Since VS 2005 only deals with reports that are in the 2005 RDL format, it can only deploy reports to RS 2005. RS 2005 supports both 2000 and 2005-era RDL definitions, so you can use VS 2003 or 2005 to deploy to RS 2005. -Chris ...Show All
Visual Basic VB.NET On Other Platforms
I need to know if anyone out there knows if there is a way to build a VB.NET 2005 application so that it will run on LINUX, UNIX, MAC OS. If anyone could help I would greatly appreciate it, this is time sensitive. Thanks, Mike Short Answer, No. Long Answer.......No. (i'm sure someone will say...'No, but...') but the answers still no. ...Show All
Windows Forms Welcome to Gridview Hell
Ok this should be Sooooooo Easy that it is insane All I want to do is return a datatable and have the gridview display 4 rows of 3 images. I also need the gridview to page through the Datatabe if there are more than 4 rows of images (Easy so far, Can and have done this in my sleep... Perhaps thats the problem). But when you click on an image, I need to populate things on the right side of the page.. Details like the non-thumbnail version of the picture.. and the detail related to the picture. My Issue is that the image in the gridview works great for loading the images, I however have yet to figure out how to get the click event. ...Show All
SQL Server Synchronizing Very Large Database from PDA to SQL Server 2005.
What is the best way to synch with a very large database (e.g. 40,000 products in Inventory Master) in connection oriented way and also offline mode for remote synchronizing the Data from PDA to SQL Server 2005. Kindly provide us some of the best practices on this concept. Thanks There are a number of considerations in choosing a data synchronization strategy that include network bandwidth, mobile device capabilities, the degree to which the unit of work that your mobile users is performing is logically partitioned between devices, the amount of centralized control and admin you want to have, etc. I have done 30+ Windows Mobile a ...Show All
Visual Studio Problem extracting source code from VSS to local folder.
Hi guys, i been trying to extract a certain project based on the labels that a user select from a web based UI that i have developed,however when my backend code tried to retrive the project based on the label, the source code just does not appear in the folder i specified. I have attached a fraction the code that does the getting of source code from the VSS. foreach (IVSSVersion ver in labelCollection) { if (ver.Label.ToString().Equals(srcLblName)) { labelNum = ver.VersionNumber; //the label index to extract Console.WriteLine("Version Label Num to be extracted:"+labelNum.ToString()); Console.WriteLin ...Show All
Visual C# textbox test always highlighted on window open
I have a help non-modal dialog that just displays a text message in a textbox. The textbox is the only component in the form. The problem is that when the dialog is displayed, all the text in the textbox is selected / highlighted. I have tried calling deselectAll on the textbox in the constructor and in the load and visible changed methods with no change. How do I get rid of the selection I am not doing it myself. How do I prevent focus from going to the textbox if it is the only component in the form ...Show All
