mikestc's Q&A profile
Smart Device Development Missing assembly information in converted project
This is a rather weird 'bug'. We upgraded a VS2003 Pocket PC project to VS2005. The conversion process didn't change AssemblyInfo.cs and when we go into the new Assembly Information screen in the project properties we see the settings as we set it. When we change it in that property screen, it does change in AssemblyInfo and vice versa. But when we build the project and have a look at the properties of the executable there is no version info ...Show All
Windows Forms Form partial class
Hello, I have a form named MainForm. I see that the class is defined as a partial class, and the designer class is also a partial class designation. Can I define a couple more MainForm partial classes and put some of the control event handlers in that class, to kind of break up the form a bit Thanks. I think designer see only controls from it's Form1.Designer.cs file, they must be added to internal components ...Show All
Visual FoxPro Unable to read .dbf file
Folks, I'm trying to load FoxPro data into Oracle table's using Datastage ETL Tool.i got the zip file which contains the complete Foxpro Tables.I able to read one .dbf file out of 100 files.when i try to read other .dbf files through ODBC stage,its throwing this error: SQLSTATE=01000, DBMS.CODE=1295 [DataStage][SQL Client][ODBC][DataDirect][ODBC dBase driver]Table is read-only, it is part of a database: edutrans.dbc I try to change the file p ...Show All
Visual C# "Layer of Abstraction" Confusion
Hi folks, I'm trying to understand what events are, and primarily, why and when to use them, however, I'm having a little trouble understanding the subject. I hear a lot of people saying that events are another layer of abstraction, but I don't actually know what that means. I've tried Googling around, and I have found some sites that discuss it, but they seem to be talking to people who are CS graduates. Could someone explain the conc ...Show All
.NET Development Install service via Installer
Hi all, I have a Windows Service project, and an Installer project to create a .MSI for it. I'd like for the MSI to install the service after it is done installing the project. I think I need to do this with a Commit Custom Action, but cannot figure out how. Seems like this should be easy, and common, right Thanks for any input. Cheers, Chris not sure if you still need this but i eventually worked it out. add an install pack ...Show All
SQL Server Error using Reporting services
Greetings, Iam new to reporting services. When I try to launch http:\\localhost\reports I get the following error The version of the report server database is either in a format that is not valid, or it cannot be read. The found version is 'Unknown'. The expected version is 'C.0.8.20'. To continue, update the version of the report server database and verify access rights. (rsInvalidReportServerDatabase) Please help Thanks/Regards ...Show All
.NET Development about mscorlib
Hi There are 2 mscorlib dlls in our system: First one is : C:\WINDOWS\assembly (GAC) Second one is: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 When .net asembly is executing; which one is loading What is the relationship between them What are their works(i mean differences;different works) Any help about why there are 2 dlls and and works will be greatly appreciated. C:\windows\assembly is not a physical ...Show All
Windows Forms Searching files in directories
hi.. how do i search files in a directory using file attributes like modified date,file size,create date time using .Net. Regards dhn Here is a self-explaining example: DirectoryInfo directory = new DirectoryInfo("c:\mydirectory"); foreach ( FileInfo file in directory.GetFiles() ) { if ( file.CreationTime.Date.Equals( DateTime.Now.Date ) { // Found a file that was created to ...Show All
Software Development for Windows Vista Simple Question on Activity Properties
Hi, I think this is a basic question about Activity Properties that I'm just not getting... I've created a SendEmail activity which sends an email. It has basic DependencyProperty properties like SMTP Sever, From, To, Subject, and Body. Most of these values would be different depending upon the workflow being used. How / when / where should I set these values Do I do it in the host application, the workflow itself by traversing the activities l ...Show All
Software Development for Windows Vista Windows SDK January CTP Not installing on Dec CTP of Windows Vista
I've been trying to get either the January or December SDK's to install on my Vista test machine and both seem to be failing quite repeatably. The order I've done stuff in is: Install Vista Dec CTP Install WinFX RTC Jan CTP Install Visual Studio 2005 Pro Install Windows SDK Jan CTP - Fail I really need to get this working as I am supposed to be building prototype code on the WinFX Platform. I'll paste the contents of the setup err ...Show All
Visual Studio Tools for Office MicrosoftR Office Access 2003 Developer Extensions
I need help PLEASE. I have office XP and I developed an Access application with Access 2002 and I was able to use the ActiveX control MSCOMCT2.OCX which is MIcrosoft MonthView control. But, since we upgraded to Microsoft Office 2003 this control doesn't ship anymore with Access 2003! and I was told that I should buy the developers edition of microsoft access!! I don't understand this Why should I buy the developers edition if we already paid ...Show All
SQL Server RMO Equivalent for Merge Replication T-SQL Procedures
We want to have some information about RMO (Replication Management Objects in SQL Server 2005) equivalent for the following Merge Replication T-SQL procedures. sp_changemergearticle sp_helpmergearticleconflicts sp_helpmergeconflictrows sp_helpmergedeleteconflictrows sp_deletemergeconflictrow Thanks for your information. We will try to build the components based on the sproc calls to these stored procedures using ADO.Net. Once again thanks ...Show All
Smart Device Development NumericUpDown Select All? How can I do this?
Is there a way I can select all in a numericupdown As in cause it all to be highlight/selected I'm assuming this is a PInvoke Thanks! Check out this link. This should help you out. ...Show All
Visual Studio Tools for Office Building a server app
I am building a server app that will take word files as input. A FileSystemWatcher will fire an event to a handler that will open the word file and strip the contained information out of it. I am having a hard time figuring out how to do this. Is this not a supported scenerio by VSTO If it is what is the best approach to opening the document. The ServerDocument doesn't seem to do what I need since I need access to all the documents content. Than ...Show All
Windows Forms Method to set datagridview row background color
Hi all, I had a datagridview. May I know how to set the particular row color of a datagridview to yellow Please help. Thanks Yes you can do this by using the following code snippet int RowIndex = 0; this .dataGridView1.Rows[ RowIndex ].DefaultCellStyle.BackColor = Color .Yellow; ...Show All
