Answer Questions
Brett Shearer Microsoft Outlook 11.0 Object Library
I am retrieving message from the Inbox as follows: (MS Article ID 310258: How to use the Microsoft Outlook Object Library to retrieve a message from the Inbox by using Visual C# .NET) Try Dim oApp As Outlook.Application = New Outlook.Application ...Show All
GregBowie Filling a Word Document from VB.NET
Hi, OK, here's a funky problem. The code below works perfectly - when I'm logged in. But when a normal user logs in, she gets the error: "Object reference not set to an instance of an object". I figure it's ...Show All
Kevin_H Image resizing in DataGridView
Hi, I'm using a datagrid view to show/edit a cost profile. I'm using images in a separate column to show the profile graphically. However the datagridview seem to fade my images on the right-hand side. Why and how can i avoid it -Petter Here is my code (CellPaint event): // check if correct cell not shown here // get the cell DataGridViewImageCell dgic = ( DataGridViewImageCell )dataGridViewCostProfile[e.ColumnIndex, e ...Show All
moflaherty Tutorial
Hi all, Can anyone tell me if there are any good tutorials for using DLL's in VB.DotNet. I am new to DotNet and almost as new to writiting code that accesses DLL's. Thanks. Got it from another forum....http://www.allapi.net ...Show All
marketingmaniac Parameters
Hi, Vb.NET How to obtain with multiselected items listbox (extended) two o more customers instead the following syntax Me.SqlSelectCommand1.Parameters.Add(New System.Data.SqlClient.SqlParameter("@customers", System.Data.SqlDbType.NVarChar, 50) Thank's in advance, Adis ...Show All
SirThomas Creating Round Button
How can I create round button in VB.NET The shape of the button should look similar to that of Windows Media Player! Thanks in advance. You can set the Region of the button to a circle (or whatever shape you would like). ...Show All
fdreisow windows datagrid rowheight
I have followed an example from George Shepherds website to change the height of the row of a windows datagrid. The example on the site is for version 1.0 and I am using 1.1 We have come to the conclusion that it is because of this version number that we can not use the provided sample code. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx#q1075q section 5.1 The error seems to be to do with mi is set in DataGridRowHeightSetter class, b ...Show All
ytithorcle ArgumentException in DrawString
I have some code which worked fine in framework 1.1 but is giving me an ArgumentException in 2.0. The code follows: using ( Font fntDraw = new Font ( "Arial" , 16, FontStyle .Regular)) { Rectangle rcLayout = new Rectangle (0, 0, _cpixCell, _cpixCell); StringFormat sfmt = new StringFormat (); sfmt.Alignment = StringAlignment .Center; sfmt.LineAlignment ...Show All
John Freddy How to suppress double click event on form’s title bar?
I have a form with WindowState set to maximized, however, I like to suppress the double click on the Form’s title bar. Any idea Thanks. I'm not quite sure why...but subclass your form and override the WndProc to ignore doubleclicks in the caption.: const int WM_NCLBUTTONDBLCLK = 0x00A3; const int HTCAPTION = 2; protected override void WndProc( ref Message m) { if (m.Msg = ...Show All
JonPul Adding a creature to my local Terrarium
Any time i try to add a creature to my Terrarium i keep getting this error. "A simpleplant777 was destroyed because it is blacklisted due to past bad behavior and won't be loaded" I've tried the following things to correct but to no avail: ...Show All
jbud55 Databinding
If i make a class i know i have to do nothing in order to bind it to a text property for example. i can do this by code. How do i implement in my component class to serve as a consume provider at design-time. what i want is, ...Show All
Lee Grissom WebBrowser:How to navigate and send values with method post
WebBrowser How to navigate (with WebBrowser.navigate(...) ) and send values of textbox with method post Can i have two methods ( not with mouse) * change the value of textbox and click in bottom (Send events to the browser (ex. Web1.Document.Forms(0).RaiseEvent(.. .)) * the values to the headers( ) and navigate to the page can you tell me how to do with this two ways.. thanks   ...Show All
Dennisld Custom DataGridViewCell - odd problems
Hi, I'm trying to build a CustomDataGridViewCell that should set ForeColor according to the values in the cell. However, it should support different coloring methods, e.g. color red if value < 0 or color red if last value > this.value. To achieve this I though I could create a custom cell with an enum in the constructor like this: public class CustomCell : DataGridViewTextBoxCell { & ...Show All
TypeOf Getting the dataGridName.CurrentRowIndex in click events
I noticed that the currentRowIndex is not updated until after the click events - what other event would you use I don't see any documented, like CurrentRowIndexChanged, etc. oops sorry - its CurrentCellChanged event, that works :) ...Show All
JB Metrics DataSet Merge to automatically do AcceptChanges
Hi Guys, I am trying to use the DataSet.Merge method. Here is what I want. I want to merge two datasets. Basically one dataset would be a result from my webservice and it will contain the same rows with ids generated from the server. I&nb ...Show All
