Miguel Angel Gracia's Q&A profile
Visual Studio Team System Can you programmatically checkin a file to source control with a specified date?
We are looking at importing some RCS based projects into TFS. We can grab each version and it's history via the command line and then pump each version into TFS. However the dates in TF won't reflect the actual dates of the checkin in our other version control system. How would you go about doing this BTW, in this case the old system never supported branching and we don't care if we lose labels in the transfer.  ...Show All
Smart Device Development Add an icon next to the activesync arrows?
Is there anyway to add an icon to the top of the screen, in the bar that houses the wireless icon, etc Thanks. Yes, via Notification API. See http://www.opennetcf.org/library/OpenNETCF.Windows.Forms.NotifyIcon.html ...Show All
.NET Development Trying to send a mail via SMTP in VB 2005 - Authorization problem
Hey guys, this is the first time a try to get help from a forum with alot of experts... But i can't handle the problem alone... I try to write a program which sends mails from the users computer but over my account to me... so to the same account.. sound weird i know.. First: The provide is using port 587 Seconde: I need to enter the auhorization, but i don't know how. Here is the code i'm using so far: Imports System.Web.Mail Public ...Show All
.NET Development AppDomain.Load() problem
Hi everybody! I've developed a small application server using the .NET Framework v2.0.50215. The solution is splitted into projects. One of the projects contains all classes which should be shared between the server and the application (such things like an abstract class Application and so on). The Application server loads dynamically the application, which is a DLL-Assembly using the follogwing code: AppDomainSetup ads = new AppDomainS ...Show All
Visual Studio Team System Count the number of Constructors
Hi, I need to count the number of constructors for a Type. the code i have used for this is...... public override ProblemCollection Check( TypeNode type) { if (type.NodeType == NodeType .Class) { int memberCount = type.Members.Length; int constructorCount = 0; for ( int i = 0; i < memberCount; i++) { if (type.Members .NodeType == NodeType .Method) { Method method = type.Me ...Show All
Visual Studio Express Editions Compile fails on network drive
I installed VCX (VC++ Express) on my local drive, but my project files are on a network drive mounted as S: I created a simple HelloWorld Win32 Console App and the compile fails due to: 1>cl : Command line error D8022 : cannot open 's:\project\TestExpress\TestExpress\Debug\RSP0000024283524.rsp' However, it works fine on a local drive. I read about this problem with other products but I can no longer find the reference. A ...Show All
Software Development for Windows Vista Page
How can I set the page size and other PageSetup parameters when creating and printing an XpsDocument PrintTicket pt = printQueue.UserPrintTicket; pt.PageMediaSize.PageMediaSizeName = PageMediaSizeName .ISOA5; seemed like the obvious thing but it is readonly. Thanks Michael penny finally dropped. :) PrintTicket pt = queue.UserPrintTicket; pt.PageMediaSize = new Pag ...Show All
Visual C# How to get different files from one directory with GetFiles()
Hello guys... Is there a way to retrieve the names of all .bmp and .jpg files in one directory with only GetFiles() method....such that it puts all files into one array Here is a little self-explaining example: public void RenameAllBmpToJpg( string directoryRoot ) { String[] files = Directory.GetFiles( directoryRoot, "*.bmp" ); foreach ( String file in files ) { String destFileName = P ...Show All
Windows Forms Excel Namespace-OK
Downloaded the source for TaskVision and attempted to compile. Got error - unable to import the Excel namespace. I do have Excel on my PC. How do I "point" the application to the library Do I use the Type Library Importer ...Show All
SQL Server Access 2003 Database Upgrade to SQL Server 2005
Is there a wizard or established procedure to upgrade an Access 2003 database to SQL Server 2005 (either standard or express) Hi. I would use the import wizard (right-click a database, tools->Import data). Also, the MS Access Upsizing wizard should work. Happy sizing. ...Show All
Visual Studio Team System Team System Builds and dropping an MSI
Hi, I just started using Team System this week, and I've been able to muddle along fairly well, but I've just discovered something that to me is a real show stopper. And based on the searches that I have done in Google and in these forums, I'm beginning to think there is something fundamental I missing based on the small number of responses to this problem. My problem is that the team system build does not build the Setup projects ...Show All
.NET Development ORA-01000 maximum open cursors exceeded
Sometimes when I made a program in C# 2003 and Oracle 8i, it shows an error – ORA-01000 maximum open cursors exceeded ? To solve this problem I made the following setting in the “init.ora” file in “C:\oracle8i\admin\pfile” folder – open_cursors = 3000 I just want to know the reason for that error and is it the right solution I have done or there is any other solution for this. Regards Ramesh Jh ...Show All
Visual C# Adding a .cs file to vs.net solution and Inserting code into it
hi , iv created a application to have a custom menu item "MyAddin" in the tools menu in the vs.net ide.....when any new .net project is opened "MyAddin" will be available on the click of which a windows form with a simple text box and OK button gets launched...... Now my requirement is that when text is entered into the text box and when the OK button is clicked a .cs file has to get added to the solution of the project ...Show All
Visual C# Generics, Collection and Properties
Hi All, Is it possible to expose a Generic Collection as a property As it appears the following statement is not allowed. public List<Item> Items { Get {return _items;} } The only way I can expose a generic method is via a method call or as field. This means that you cannot display it in the propertygrid. I know this may be a "By Design Issue" but it is kind of weird since most people expose collection objects as properties an ...Show All
SQL Server Invalid Data Type error with Subreports
I have a report with two subreports. The parameter connecting the report with the subreports is based on a field with a datatype of UniqueIdentifier. If I run each of the subreports by themselves, entering in value for the parameter, they run fine. When I try to run the master report, it runs, but the subreport sections contain the following text instead of the correct output: "Error: Subreport could not be shown." The Output window ...Show All
