Rob Caron MSFT's Q&A profile
Visual C# thank you man .
hi all i want to know how to get the rgb color values in a matrix for any image extention jpeg,in C#.net so i hope any one can help me with that ; if any one can give me a sample code of how to deal with image pixels and know it's RGB valuees and how to manipulate them ..thank youuuuuuuuuuuuuuuu Try the following: //Load Image Bitmap b = new Bitmap(@"c:\YourImage.jpg"); ...Show All
Smart Device Development All controls are grey in the toolbox
Hi. I use Visual Studio 2005 Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 When i open new project For PocketPC2003 or WindowsCE5.0 in C# i can't see most conrols. In "Common Device Controls" section of toolbox i see only Pointer and Button controls. Other controls disabled. I see #13119 tab in toolbox. Please help me!!! ...Show All
Windows Forms Inserting Multiple Rows With Identity and TableAdapter
Hello, Using VS 2005, Sql Server 2005. I need to create and insert several rows. The table has a primary key which is an identity column. My problem is, using the below code, every row is getting assigned the same PK value. For example, the first row gets inserted fine, but an exception is thrown on the second row: Column 'PrintEditionPK' is constrained to be unique. Value '1' is already present Here's my code: public static ...Show All
Visual Studio Tools for Office Save a new File with a VSTO Solution
Hi everybody, I have a problem with my VSTO solution, but it's not easy to describe it. A VSTO solution is always connect to one word file (doc or dot). New the user works with this file and makes some changes to the file and stuff. Now he want's to save the file. But I don't want him to overwrite the document he is working on. So he needs to save it as a new file. This isn't realy the problem. But when you start the new createt file ...Show All
SQL Server SQL Server Service terminated unexpectly during setup
Hi, I got the following error when installing SQL Server 2005 CTP: TITLE: Microsoft SQL Server 2005 CTP Setup ---------------------------------------- The SQL Server service failed to start. For more information, see the SQL Server Books Online topics, "How to: View SQL Server 2005 Setup Log Files" and "Starting SQL Server Manually." ---------------------------------------- BUTTONS: &Retry Cancel ------------------------------------- ...Show All
Visual C++ Installing a driver ?
Hi all. I have a C# program which I install with an MSI I create with 'Advanced Installer'. The version I have does not allow me to install a driver. Obviously, my app needs .NET, so I wrote a Win32 windows app, which provides a splash screen, installs the .NET framework, etc. I'd like to also install a .inf file ( a driver ) in this code. However, googling 'C++ install driver' gives a ton of useless matches ( I'm usually good at google but not ...Show All
Visual Studio Express Editions Has anyone else received access to the IconBuffet.com icons?
Hey, The iconbuffet.com icons are not listed in my product benefits download after I registered. Has anyone else been able to get them Thanks! Schnieds Which product did you register Are you seeing the other registration benefits on the Download page Thanks, -Scott ...Show All
Visual Studio Team System VSTS EVent Viewer error about a bucket
Getting this error in our event viewer...any ideas Bucket 03263974, bucket table 5, EventType teamfoundationue, P1 1.0, P2 vc, P3 v2.0.50727, P4 8.0.0.0, P5 database, P6 sqlexception.16.2786, P7 738b1975, P8 ef68247e, P9 NIL, P10 NIL. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Here are the full details: Event Type: Information Even ...Show All
Visual Studio 2008 (Pre-release) Cascade delete support ?
Hi, I've hit a problem concerning cascade deletes on foreign keys in SQL. I have in my 'noddy' app again a contact with many address emails . This is managed via a ContactAddressEmail table. This table has a unique PK and corresponding non-nullable FKs. Now I've marked the foreign key betwen Contact and ContactAddressEmail as 'Cascade' for the Delete Rule on the relation. Same for the AddressEmail and ContactAddressEmail relation. Whe ...Show All
SQL Server Difference between Where and Join
Hi all, i've a little question, I 've this 2 sentences select m.id from F, A, M where F.Id=A.Fa And F.IdE=A.IdE And M.IdItem=A.Id and M.IdE=A.IdE And F.IdE=7 AND F.Id=44387 Select m.idnumero from F Left Join ( A Left Join M ON (A.IdE=M.IdE) AND (A.Id=M.IdItem) )ON (F.IdE=A.IdE) AND (F.Id=A.Fa) Where F.IdE=7 AND F.Id=44387 F=50.000 Regs A=150.000 Regs M=1.100.000 Regs First sentence takes the data in 1 sec ...Show All
SQL Server Full Text Index for AdventureWorks Document Table
I am working the Books Online documentation for the full-text search feature of SQL Server 2005 Express Advanced and having a problem following the instructions. I made sure to choose the "Full Text Search" option during installation of VB 2005 Express Advanced. I downloaded, installed, and attached the AdventureWorks database successfully. I checked to ensure that the database was enabled for full-text search, but could not ...Show All
Software Development for Windows Vista Workflow designer
Hi, I have a strange problem with workflow designer in visual studio. Layout is not always persisted, but several reopen of xoml file activities moved from their position, sometimes they are out of bounds or hidden under other activities. Isn't there a way to fix this problem or a command to automatically layout the workflow Thanks I have already reported this. Workflow runtime itself is relative st ...Show All
Visual C++ Visual C++ 2005 map<string, string> problem
The following code compiles fine in Visual C++ 2003 but not in 2005 <br> <br> using namespace std;<br> <br> string name, value; <br> name = "foo"; <br> value = "bar"; <br> map<string, string> m; <br> m.insert(pair <string, string> (name, value));<br> <br> <br> Did something change or am I doing something wrong Thank you. ...Show All
Windows Forms Problem With TextDescription Field
Has anyone else been getting collision detection problems from having too much text in the text description field It seems when I use a large amount of text that the task will be inserted in sql server but when I check the tasks tab ...Show All
Visual Basic It's slow!!!
Hello After I turn on my computer and when I launch first program (which programed by VB2005), it's take a long time to show main form. VB6 was faster. CPU speed: 2600 MHz Memory: 1024 MB Is there a solution for that Thanks & Regards Gentlemen.... As much as I cling to your every word, please stop kidding this customer. Hey spotty... I have a job ...Show All
