|
thank you Graus, actually, it's not editing, it's posting!!
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
Muammar© wrote: actually, it's not editing, it's posting!!
Do you mean that you want to post a brand new article?
|
|
|
|
|
thank you guyz, actually im just fed up with it, i guess im leaving it as it is now
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
there is a Get Article's HTML link on top of your article save the source and then upload it again
I Wish the Life Had CTRL-Z
|
|
|
|
|
thanx, i'll give it a shot.
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
I was wondering if someone could help me with a little problem
I have a large multiline text box (8000 characters long) called txtComments, above it a button called btnSelectAll.
What I have been trying to do is, when the user clicks the button the text in the multiline text box is all highlighted.
This is part of a ASP.Net web project using C#
Many thanks for your help
Subduction37
|
|
|
|
|
subduction36 wrote: This is part of a ASP.Net web project using C#
So, you want to find some javascript that will select all the text ?
This[^] seems to cover it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Is it better to use Javascript or can it be done in C#
Thanks
|
|
|
|
|
I'm confused why so many people seem to ask this sort of question. IF you want something to happen on the client, you need to use javascript. If it's possible to do using C#, it will involve an entire page postback, by definition. You can't write C# code for the client, only the server.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Dear Christian Graus
Many thanks for your reply, I've only been writing .net pages for 4 months, it's been a hard slog, I understand what you have said and shall look at a Javascript script to carry out the task
Thanks
Rob
|
|
|
|
|
hi friends
i want to know how to put character by character on a textbox.
i am reading characters on my com port and i need to display character by character
i able put a string but not a character tell me
how to get it
bye
|
|
|
|
|
You can add a char to a string. If you can't, that is stupid, but calling ToString on the char would then fix it.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
How can i block receiving data except from one specific IP address??
thank you
rzvme
|
|
|
|
|
|
Say I have a few buttons on an MDIparent form.
By pressing one of the buttons I activated an MDIchild from.
At this point I would like to know what kind of buttons or controls
the MDIparent form has.
Any help would be much appreciated.
|
|
|
|
|
You shouldn't ever be able to tell, as they hsould not be public. But, if they are, then it's easy to find out. Just grab the Parent property, and cast it to the specific type of the form class.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
I have a Asp.net 2.0 asp:FileUpload control on my page.
I want to keep the file name(file path) in the asp:FileUpload(textbox) after uploading the file.
I din't find any set property for asp:FileUpload
Any idea how to do this.
Regards,
Reji
|
|
|
|
|
I'm not sure and I'm not test it but EnableViewState = true may help
because it maintains control state
I Wish the Life Had CTRL-Z
|
|
|
|
|
I tried
EnableViewState = true
not working
|
|
|
|
|
I ask about this they told it's not possible
I Wish the Life Had CTRL-Z
|
|
|
|
|
|
Hi,
Does anyone know if it's possible to change the OS color Depth/Quality via a C# program?
Thanks,
Joe
|
|
|
|
|
I know of no way to do it in managed code.
I once did resolution changes with C# code by calling good old Win32 functions
(such as EnumDisplaySettings and ChangeDisplaySettings from user32.dll).
This requires the use of PInvoke and is not that simple...
Also it is considered bad practice for one application to change system settings
that affect all current and future applications.
Are you sure you want this ?
In the special case where one application is monopolizing the screen (e.g.
a full screen game), there are ways to do it using DirectX (for which a managed SDK
exists); I never did this tho.
Luc Pattyn
|
|
|
|
|
how to do this in C# ???
i get an error when i put the ref int m_param in the C# struct
What i'm doing wrong here
The ideia is the class be intatiated do some work , ant then put
the result int the refrence saved in the m_retParam.
--------------
C++
----
class A<br />
{<br />
int m_retParam&<br />
A(int ¶m) : m_retParam(retParam){<br />
}<br />
public void DoSomething(){<br />
m_retParam = 5;
}<br />
}
--------------
C#
----
class A<br />
{<br />
ref int m_retParam; :doh: <----------- Compilter error<br />
<br />
A(ref int param) {<br />
m_retParam=param;<br />
}<br />
public void DoSomething(){<br />
m_retParam = 5;
}<br />
}
|
|
|
|
|
I would expect the ref keyword only in argument lists, where it is typically used to
pass a reference rather than a value for value types, so the method called can
modify them (a variant of this is "out"). But no "ref" in a struct or class.
Luc Pattyn
|
|
|
|