all groups > c# > october 2007 > threads for sunday october 7
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
How to read a word from an other application ?
Posted by Muhammed Soyer at 10/7/2007 11:48:07 PM
Hi,
I am trying to write dictionary application where I want a pass a
selected word from any application by ctrl+right click on the word.
How can I achieve this?
How can I read a selected word from other applications?
How can I register my application on a specified hot key sequence?
T... more >>
Why type parameter cannot used to call static method
Posted by Andrus at 10/7/2007 11:20:40 PM
I tried to use type parameter to call static method but got compile error
'T' is a 'type parameter', which is not valid in the given context.
Why this is not allowed ?
Should I really use a lot longer ModelGenericBase<T>.test1() ?
Andrus.
class VirtualGrid<T>
where T : ModelGeneric... more >>
send/post a message to a window
Posted by Mark at 10/7/2007 10:03:33 PM
In a standard unmanaged win32 application I can send/post a message to a
window as a communication mean.
Can it be down also in a dot net application?
Regards
Mark
... more >>
upload.... with name
Posted by vinnie at 10/7/2007 10:03:25 PM
having an "upload file" control on my page, how can i change the text
on the button from "browse" into something else?
Thanks
Vinnie
... more >>
Anonymous Method
Posted by Bob at 10/7/2007 9:06:18 PM
What name does the compiler give to anonymous methods in the output
assembly - or what is the "name pattern"?
.... can't imagine it would be relevant to anything I do... just curious.
... more >>
inherit TextBox control
Posted by Yoavo at 10/7/2007 7:04:50 PM
Hi,
I have a dialog with 2 TextBox controls.
I want to add some functionality to one of the them.
I created a class MyTextBox which inherits from TextBox.
How can I connect one of the TextBox controls to my new class ?
Yoav.
... more >>
Reference to a struct inside its definition
Posted by az.anonymous NO[at]SPAM gmail.com at 10/7/2007 6:02:57 PM
Im starting to learn C#, and I made a simple stack class. Inside the
stack class I had the following:
class StackElement
{
object info;
StackElement below;
}
Everything works fine cause "below" is just a reference. But, what if
I want to do it with a struct?. Since struct is a ... more >>
in C#
Posted by vinnie at 10/7/2007 5:55:48 PM
i have a radiobutton list, and one label with a textbox. Beside the
Texbox i have inserted a fieldvalidator: now, i was wondering if the
code that follows is correct, and if it does, where i should put it.
What i want to do is this: if is selected YES on the RadioButton,
than Fieldvalidator sho... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
regex Help
Posted by Praveen at 10/7/2007 5:35:59 PM
looking for regex pattern for validating emailid
emailid can have a-z 0-9 - _ . (a to z, 0 ot 9, hyphen,undercore, dot)
here is a sample which I got from net which doesnt allow hyphen(-)
string
pattern=@"^[a-z][a-z|0-9|]*([_][a-z|0-9]+)*([.][a-z|0-9]+([_][a-z|0-9]+)*)?@[a-z][a-z|0-9|]*... more >>
Question that I have debated back and forth on
Posted by Bill Gower at 10/7/2007 2:19:34 PM
I have a form that displays a list of items. The user can either click on a
button called "New" to create a new item or double click on a row in the
list to edit that item. An edit form is displayed for the add or edit and
the changes are made and then the user clicks on a save or cancel but... more >>
To hard-code or not for filtering out inactive records
Posted by Ronald S. Cook at 10/7/2007 2:05:30 PM
At first, it's easy to say (have a policy) that we'll hard-code for
statuscode='ACT' (or maybe instead statuscode <> 'INA') but I think that
pigeonholes us and would cause limitations.
Example: We want to develop an Employee search screen. Obviously, we don't
want inactive records to be di... more >>
Can't see image
Posted by zion at 10/7/2007 1:29:12 PM
Hello,
My webservice return image tag with the image path: <img
src="file//c:\test.gif" /> and I enter it to div innerHTML.
The path and the image is ok.
why I can't see the image? is there another way to do it?
Thanks
... more >>
Please help in converting small section of C++ program in C# progr
Posted by SohanC at 10/7/2007 8:59:00 AM
// this is the code for calling fortran executable
PROCESS_INFORMATION ProcessInfo;
STARTUPINFO StartupInfo = { 0 };
memset((LPVOID)&StartupInfo,0,sizeof(STARTUPINFO));
StartupInfo.cb = sizeof(STARTUPINFO);
if (CreateProcess ( NULL, "main.exe", NULL, NULL, FALSE... more >>
Syncronized DropDonwList!
Posted by tranky at 10/7/2007 4:10:09 AM
Hi boys,
i hope you can help me...i'm italian!
I've 3 dropdownlist in an asp.net web page and c# in the codebehind.
Every dropdownlist have 10 elements.
I'd like using Ajax to change in a synchronized way the index of
dropdownlists.
For example, if i click the second dropdonwlist and i se... more >>
.net framework 1.1.4322
Posted by Hakan Fatih YILDIRIM at 10/7/2007 2:29:06 AM
Although i had installed .net framework 2.0 and visual studio
2005,when i want to open an application writen in c#,
an exception occurs: "To run this application you first must install
one of the following versions of .net frawork:
v 1.1.4322
v 1.0.3705"
doesn't .net 2.0 framework contain .n... more >>
Build bitmap from other images
Posted by Piotrekk at 10/7/2007 1:45:24 AM
Hi
I would like to ask a question for which answer i couldn't find on
google. I need to dynamically create Bitmap image inserting smaller
parts at specified position. Does framework support such a thing?
PK
... more >>
Using LinkLabel to open a linked project html file
Posted by Jacore at 10/7/2007 1:10:02 AM
To all,
Thanks for the help in advance, to what is likely an utterly foolish
question.
I have a form with a linklabel control, that I want to open a web
browser and load a single html page when selected.
The html page I've loaded into the project, set BuildAction=Content,
and CopyToOutpu... more >>
Looking or c# project - Printer Management
Posted by Jeff at 10/7/2007 12:00:00 AM
Several months ago I came across a C# (I think it was) project which was
open source and managed printers like the commercial program PCounter.
It tracked what printers and jobs were printed.
Does anyone know the URL to this project.... more >>
|