Delegate/Events are more or less like an array of references to methods in objects. Overloading seeks to slightly alter, in a way customize, behavior for implemented objects. They are really different methods exhibiting different behavior. Although you can similate overriding with events but one should really avoid it. Likewise, you can similate events using virtual behavior as well but again you should avoid it.
When I display cellValue of a date field (1/2/2006 in the spreadsheet), it shows me a number which is 37257. When I display dt, it shows 1/1/2002. I cannot seem to get it to pull the right date from that cell, it is always messing up on the year (but it does appear to be always getting the month and day correct). I'm not sure how to go about fixing this, any help would be appreciated
Excel stores dates differently than the .net dateime. the 37257 is the number of days(and then, 12:00 AM on that day, because there is no .XXXXXX after the 37257), that have elapsed since one of TWO separate dates. Suffice to say that excel has two separate base dates, Jan 1, 1900 and Jan 1, 1904. This has to do with Mac/PC versions of excel, and is a longer story than I bet you want to hear.
Anyways, you need to do one of two things:
1) Dynamically find out what epoch your spreadsheet is using and handle that.
2) Use DateTime.TryParse() to parse the text of the cell and let the compiler figure out the date(and time) from there.
TAPI connects through a "driver" to third-party telephony hardware. You'll need to see if your hardware supports TAPI. You are looking for a TSPI file, which is a dll that TAPI uses to talk to the hardware.
You many find that the hardware has its own custom API and SDK and doesn't bother with a TAPI interface.
The best bet is to check the manufactuer's website or contact your support representitive.
is there a way to get the icon of an application like in alt-tab menu. i have EnumWindows working nicely and i have a handle to the window, but i cant find anything in api to get the icon for that window using its handle.
one word file contains the text,tables and pictures, we stored that word file in a database as a type of "image".
and then, i need to retrieve those data from database, and those data is placed in a textarea control, but it is displaying some ascii characters in textarea for any tables or for any pictures but it is displayed text as it is. Now i want to display the tables and pictures also along with text in textarea control without ascii values. Plz give me suggestions for this problem
I am working on a Windows application developed in C#. The Windows application is required to capture the user inputs from active Internet Explorer instance (not included as a web browser control within Windows application). For example, when user clicks on “Submit” button in the browser, the Windows application should be able to capture that event and also capture the text box values from the relevant web form. A similar situation is that the Windows application should also have a capability to populate the text boxes of a web form rendered by Internet Explorer.
To summarize, I need to implement an interface between my Windows application and the Internet Explorer so that the windows application is able to read from Internet Explorer and also populate the values in Internet Explorer. This involves the following:
1. Trapping the “Submit” (button click) event from Internet Explorer and Capturing text boxes in the Internet Explorer.
2. Trapping the page load event from Internet Explorer and populating the textbox in the Internet explorer.
I have searched for the related topics on web and also MSDN, I found that BHO (Browser Helper Object) is one of the option. I have tried to implement the BHO interface based on few samples that I found on some of the sites. However, it is not working yet.
Therefore I thought I would grab this opportunity to take help from the expertise involved with this Forum. Any inputs / ideas will be very helpful for me to progress in right direction.