all groups > c# > may 2007 > threads for saturday may 12
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Mouse capture in a third-party visual ActiveX
Posted by P. Meyer at 5/12/2007 7:49:02 PM
Hi
I need to capture a mouse click event when inside a visual third party
ActiveX which unfortunately comes without published events.
In Win32 I used to manage such problems on Application level with WM_
messages, but almost beginner in .NET & C# environment, I don't see the
solution, ... more >>
typedef Replacement?
Posted by Jonathan Wood at 5/12/2007 6:37:22 PM
I would like some code to use a particular type of variable but have the
option to change it to another type of variable.
I assume I can use #define. Any chance there's a replacement for typedef?
Thanks.
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
... more >>
Check for activity on TCP port
Posted by Sir C4 at 5/12/2007 1:40:10 PM
Can someone give a quick example of how to check for activity on a TCP
port? For example, I'd like to watch and listen for activity on port
80. Once activity is detected, I'd like an event to be triggered.
Thanks in advanced.
... more >>
Class to update db-structure
Posted by Thomas Kehl at 5/12/2007 1:17:47 PM
Hello.
I am searching for a class which is able to update a sql-server db-structure
about definitions for example in a xml-file. I have a database which
structure have to be updated after a update of my application. Can anybody
give me a tipp, where I can find something about that - or how ... more >>
What tools to add?
Posted by Smokey Grindel at 5/12/2007 11:33:05 AM
Right now I have FxCop and Red Gate ANTS... any other good tools I should
add to my toolbox or lot at? thanks!
... more >>
Unary plus
Posted by Michael A. Covington at 5/12/2007 11:19:04 AM
Other than to create confusion, does the unary plus operator serve any
purpose at all?
All C# numeric types have a unary plus. The syntax is something like:
x = +y;
where +y is the same value as y, whether positive or negative.
... more >>
Call delphi .dll
Posted by ShaunO at 5/12/2007 4:06:01 AM
Hi,
I need to call 2 functions from an old Delphi .dll
but am struggling to formulate my call to the second one :(
I have managed to one of them as follows:
// definition from .dll
function FullName:pchar; export;
// my code
[DllImport("qn.dll",
CharSet=CharSet.Ansi,CallingConventio... more >>
arrays
Posted by RobcPettit NO[at]SPAM yahoo.co.uk at 5/12/2007 2:49:56 AM
Hi, What is the best way to use an array to find moving averages. I
want to calculate a 15 day and 41 day m/a. I know my array will need
to contain 12 columns, but the rows need to be dynamic. The row size
will need to be aminium of 50 rows. So far Im thinking of either
creating 2 arrays, one fo... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
?? Basic C# Language Questions ??
Posted by Robin Bowning at 5/12/2007 12:02:09 AM
Hi all,
I have two questions I was hoping someone could answer regarding C#.
First, I noticed C# does not allow local readonly variables. For example,
the following is illegal:
void X() {
readonly int i = 1;
}
I know that for this simple example I could have used const but there ... more >>
please recommend c# and asp books
Posted by Eps at 5/12/2007 12:00:00 AM
I am starting a new job that involves programming in c# and using ASP.net.
I have some experience with c# but have little knowledge of ASP, I would
like to get a book about each so I can get some reading done before I start.
I would describe myself as a intermediate c# programmer, can anyone... more >>
Can I remove text from a StringWriter ?
Posted by Harry Haller at 5/12/2007 12:00:00 AM
Can I remove text from a StringWriter ?
I have a StringWriter object, the content of which looks like this:
"<div>Some other html which I wish to keep</div>"
Can I remove the unwanted <div>, </div> tags? i.e. remove the last 4
characters and the first 3.
The context in which the object ... more >>
|