David Chan's Q&A profile
Visual Studio 2008 (Pre-release) Support for the System.ComponentModel.INotifyPropertyChanged interface
Hello! Wouldn't it be a good idea to add a switch for the sqlmetal.exe program for making it to implement the System.ComponentModel.INotifyPropertyChanged in all the relevant classes Best regards, Henrik Dahl Matt Warren! Yes, but couldn't we say that the object is observed from two angles, from the DLINQ infrastructural point of view and from the system developer's point of view. From the infrastructural ...Show All
Windows Forms A generic occured in GDI+, while saving image
Hi all. My app is a medical imaging program. We're working on a new version, which we've given to one user, to beta test. They report that regularly while capturing images, the program crashes. I just got the error log this morning, and the errors look like this: An unhandled exception occured in the program A generic error occurred in GDI+. The exception was thrown by Void Save(System.String, System.Drawing.Imaging ...Show All
Visual Studio Express Editions 2nd upgrading question
Hi again, 2nd issue I have is with another project The issue is something to do with two classes trying to share data from a struct defined in a separate header file This compiled okay under Beta-1 i have a header file called staticData.h which contains some structs i have a main form Form1 and another form PivotData - both these forms use data from the structs in staticData.h in Beta-1, i had #include 'staticData.h' ...Show All
SQL Server Partitioned View - Errors after bulk inster
I've build a partitioned view against a set of tables with sperated by month using a a partioning field of datetime. The partitioned view apears to work perfectly with inserts and selects until I've performed a "BULK INSERT" into one or more of the partitioned tables. After that if I attempt an INSERT into the view I receive the error: UNION ALL view 'transaction_log' is not updatable because a partitioning column was not found. The fo ...Show All
Visual C++ ListView in Visual C++
Hi, I want to use a somekind of a "table" control in my form. The table columns consist of a nb. of units, a description and a unit cost. At the bottom of the table control, I would like to put a total cost of every items listed in my table (sum of (nb.units * unit cost) for all items in table). If I add a new record for which a same "description" exists in table, I will instead update this record and increment the " ...Show All
Visual Basic Frequent VB Compiler Error...
Hi! My Visual Studio 2005 always encounters a VB compiler error when I debug my program... Microsoft has offered this fix: FIX: You may receive Visual Basic compiler error messages when you are developing a Visual Basic 2005 project in Visual Studio 2005 http://support.microsoft.com/kb/915038/ Question is... why can't the fix be downloaded if it is a fix why contact microsoft support when doing so no answer is forthcoming I t ...Show All
Windows Forms Bitmap object creation problem
I'm having a problem that I just cannot figure out...any help is appreciated. I added Bitmap1.bmp to my project using 'Add existing item' When I click a button, I execute this code: try { Bitmap bmp = new Bitmap("Bitmap1.bmp"); } catch(Exception ex) { ... } I catch an exception of Invalid parameter used. I've tried other file names, adding the path, other file types...basically everything I can thi ...Show All
Visual C++ hi i cant debug my code ?
hi im just startet at learing c++ i got my code working i dev-c++ but i Visual C++ 2005 Express Edition i cant run or debug my code why here is my code #include <iostream> int main() { std::cout << "show!\n"; return 0; } Both header files (the old iostream.h and the new iostream) where part of Visual C++ 6.0. Since then, Visual C++ 6.0 came out in 1998, we h ...Show All
Visual Studio Express Editions Search Feature and Send Email.
Hi all !!! I want to create website that has a feature to search my database. Also, I want to make the website to be able to send email to my customers that are stored in the database. Is anybody outhere know how to do this Or maybe have some helpful link about creating these features in VWD 2005 Thanks a looottt in advanced. hi, vwd forums http://forums.asp.net hope this helps ...Show All
SQL Server Full datetime evaluation
Hi, I have a datetime field in a sql table. What is the best way to run a query that compares datetime I have tried 'WHERE fielddate > getdate()' however this only seems to go to date level and does not appear to evaluate the time I need precision in seconds.... I wish sql supported ticks!!!! Thanks, Matt. hi, i have taken the same example as given by the earlier member and just modified as per your requir ...Show All
Windows Forms TaskVision client destroyed my PC!
I've decided to repost this message as separate thread cos I don't think it's getting the attention I deserves. Here's the problem... I installed the TaskVision client about a week ago, and immediately after started noticed weird things happening to my ...Show All
Visual Studio Team System Creating a New Team Project
I'm having error when I try to create a new team project. I am trying to create using my own process template. Here is the error message: Event Description: TF26214: Cannot save the work item. Invalid field(s): State What should I do to solve this problem Is this one of the work items that is defined in the workitems.xml file within your methodology Is it possible that you are not fully qualifying the reference name The reference ...Show All
Visual Studio 2008 (Pre-release) Calling a page in another xaml browser application, how to pass parameters or data?
Calling a page in another xaml browser application, how to pass parameters or data to that page or application Eg. in page1 in one xaml browser application, calling: theFrame.Navigate(new System.Uri(" http://localhost/Test/Test.xbap ")), how to pass data to Test.xbap It does not work first and the following exception was thrown: Startup URI: http://10.0.21.10/DataAnalysis/DataAnalysis4.xbap System.N ...Show All
SQL Server Inconsistent Errors Using Bulk Insert with a Format File
As part of a c# program, utilizing .Net 2.0, I am calling a sproc via a SqlCommand to bulk load data from flat files to a various tables in a SQL Server 2005 database. We are using format files to do this, as all of the incoming flat files are fixed length. The sproc simply calls a T-SQL BULK INSERT statement, accepting the file name, format file name and the database table as input paramaters. As expected, this works most of the time, but peri ...Show All
Visual Studio Team System Queries in VS 2005
I have two queries in VS 2005 1. If I keep the VS.NET opened for sometime, all the fonts are getting disturbed. Is this a bug 2. To work with Visual source safe 2005 , do i need to have a VSTS foundation server. Also for 2. You're problem is probably because in the options you didn't change you Source Control Provider to VSS, the default is TFS in B2. Cheers, ET ...Show All
