paramdhesi's Q&A profile
Visual Studio Tools for Office VSTO 2005 Outlook AddIn - SenderEmailAddress property returns null
I am using the following code to retrieve the sender's email address and I keep getting null for the SenderEmailAddress property value. I was under the assumption that this property works in Outlook 2003. private void ThisApplication_ItemSend(object Item, ref bool Cancel) { Outlook.MailItem mailItem = (Outloo ...Show All
Visual C# Serial Port Problem
Hi, I'm trying to read bytes from the serial port using interrupts and the .net framework functions, and came across a strange behaviour. If I have constant data coming into the serial port, there is no problem. But if there is only three bytes coming into the port, I can't read those three bytes !!! Has anyone had this problem How can I fix it !! Thanks, Bruce I found the problem which's interesting. ...Show All
Visual Studio 'Unable to find the report in the manifest resources' - Build Action is missing??!
Hello, I have just upgraded my VS2003 project to VS2005. Had a million things to fix, but I'm finally down to the last few. The biggest remaining problem is my Crystal Reports don't work. The error message is below... On googling it the answer seems to be I have to include the *.rpt's as an embedded resource. However, and this is the really odd bit, the properties that should show up in VS2005 to allow me to do that are simply missing! ...Show All
Visual Basic Net 2005 Deployment and Installation issues
I've been trying Deployment on CD, including the Dotnetfx.exe file. The instructions indicate if you specify that file in Prerequisites, it's supposed to be downloaded and inserted into the Deploy folder. At least in my Express project I can't get it to work. And if it does get downloaded as advertised, what would setup.exe do with it Does anyone have experience with this working or not in 2005 Standard Please see Express threa ...Show All
Windows Forms TextBox classes do not have thie method: set_AutoSize(true)
Why is this that set_AutoSize(true) method is not available to TextBoxes, but is available to Labels. What would be the alternate method to be used for TextBoxes. Thanks Because it makes sense for a label to size itself according to it's text, all it does is display text. For a textbox to resize itself as you type would be weird. The Width property on the textbox lets you resize it and the MeasureString method on the Graphics obje ...Show All
Visual Studio Express Editions How do I get my free e-books?
I downloaded, installed and registered the beta editions before Nov. 7th. I have yet to get an e-mail though telling me how to access my free e-books. I have a benefits page where I can download icons and pictures but nothing about e-books. Anyone know what's going on Thanks. Since no one is replying I'm guessing everyone else has their e-books If so how did you exactly get to them ...Show All
Windows Forms Missing Paper Sizes A0 and A1
I just stumbled on the help description of the <strong>PaperKind Enumeration</strong> and saw to my amasement no entry for the <strong>A0</strong> (double A1) and <strong>A1</strong> (double A2) paperkinds, which are valid paper types, certainly wh ...Show All
Visual Studio Express Editions MDI Taskbar?
Does anyone have a mdi taskbar class or somthing. I cant find one good example anywhere :'( Is there a way I can set the MDI child's icon to be on the MdiWindowListItem.Image How can I know which form is this MdiWindowListItem related to Thanks alot! ...Show All
Visual Studio Express Editions Newbie: tyring to use numbers in a textbox
Ok, I am kind of stuck on how to accomplish the following: I am using 8 texboxes that will contain only numbers (ranging from -50 to 50, no decimals) Textbox 1 will contain the sum of all of the other texboxes. I can fill the other 7 textboxes with the numbers, but how do I add them together, and make it so that text box 1 will constantly add the sum of the other 7 text boxes (incase the values change later) Thanks in advanced. ...Show All
Windows Forms Bug in Object.Equals method.......?while comparing boxed object...
I don't understand whether its a bug or not... Consider this code. int i=1; int j=1; Object ii=(Object)i; Object jj=(Object)j; 1) Console.WriteLine(i==j); 2) Console.WriteLine(ii.Equals(jj)) 3) Console.WriteLine((Object)i==(Object)j); Resuls: 1) True. 2) True 3) False Why its giving difference result for == operator and Object.Equalse() method while comparing object after boxing(ie int are type c ...Show All
Visual Studio Team System Ability to add a history item from excel
Within Beta 3 I noticed the ability to add a history item was added to the Excel integration. However, after adding some text into the History column and then publishing the changes, my new history item was NOT updated in the history field of the work item itself. Any ideas Thanks, ~slee If you read the Sticky note attached to history field, it says "Type a comment here and publish to add a new history ...Show All
Windows Forms DataGridView how to bind to a textbox
I have a DataGridView on my form binding to an Access table showing all the contents How can I make it just return the value in TextBox1.Text If someone has a simple example they could show in VB I would realy apreciate it ...Show All
.NET Development How to get the old typed dataset
When I create a new typed dataset on v2 by dragging the tables into a dataset component surface I get a lot of stuff that I don't want like dataadapters, queries, connection strings, etc. I want a type dataset the way v1.1 used to do since I have my stored procs and I use SqlHelper for for all dataadaptor creation, etc. How can I get that I can't work with this new way that seems designed for unskilled users but that makes things mo ...Show All
SQL Server an insert
Hello, I need to realize an insert something like the following: Exec GetMyID @tName, @MyId OUTPUT INSERT INTO MyTable2 (MyId,MyName) SELECT @MyId,MyName FROM MyTable1 Here I am getting MyID from a stored procedure and I need to insert this to MyTable2, however I need to get a new MyID for each row in MyTable1. How can I do that you could write a view which uses a cursor to step throu ...Show All
Audio and Video Development Where can I get MF SDK?
Where can I get MF SDK People are talking about it's existance and there is docs on it on MSDN, but where is that SDK Am I missing something Hello Igor, We have started documenting about Media Foundation on MSDN and you can find it here: http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/MedFound/html/0d355ad1-d674-432e-809a-9fb27ac5f610.asp . ...Show All
