all groups > c# > september 2003 > threads for saturday september 27
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
Like Operator
Posted by Rene at 9/27/2003 11:57:46 PM
In the old Visual Basic I could do something like this
myCheck = "aBBBa" Like "a*a"
The return value would be true. Is there a way for comparing strings in C#
were I can use wild characters like * etc?
... more >>
Pass reference of form through constructor?
Posted by Omar Llanos at 9/27/2003 10:27:49 PM
Recently, I posted a question on how to invoke a textbox control in Form1
(parent form) from within Form2 (which is inherited from Form1).
Someone suggested to pass a reference of the Form1 to the Form2 through the
constructor of the Form2. He said that then I'd be able to invoke the
textbox co... more >>
Download manager
Posted by Vincent Lascaux at 9/27/2003 9:24:37 PM
Hello,
I'm writing a download manager (like GetRight, DownloadAccelerator ....),
and I'd like to "catch" internet explorer downloads (so that I download the
files instead of IE).
How can i do that in C# ? Is it possible to do something that will work wih
any browser ?
Thanks
--
Vincent
... more >>
What would be the Syntax and Namespace to call IRR
Posted by Burton Wilkins at 9/27/2003 7:22:07 PM
What would be the syntax and namespace to be able to call
the VB function IRR?... more >>
C# Language Suggestions
Posted by Andrew at 9/27/2003 7:17:32 PM
Hello,
I understand that this is a good place to post suggestions
about future changes to the language, and that the
Microsoft developers who develop C# read this newsgroup.
If there is a more appropriate place to post this, please
let me know. So, here are a few things I'd like to see.... more >>
disabling default event handlers
Posted by Jon at 9/27/2003 6:53:32 PM
I have written a custom event handler for the mousewheel
event, but in addition to my custom event handler code,
the default event handler behavior is still being
executed. For the mousewheel event, I believe this is to
adjust the scrollbar position. This is producing
undesirable results... more >>
Dividing text in a textBox
Posted by Tomomichi Amano at 9/27/2003 6:33:06 PM
Hello
I want to divide the text in "textBox11" to ten separate textBoxes1 to 10,
separated with a divider text "====".
So, if the text in textBox11 is "Apple====Bat====Candy====Dime..." the text
in textBox1 is "Apple", textBox2 is "Bat", textBox3 is "Candy, textBox4 is
"Dime" and so on.
Than... more >>
Extreme math variables
Posted by Dave at 9/27/2003 5:51:01 PM
I'm making a physics that uses very small numbers such as 9.88E-19. that is,
9.88 times 10 to the power of -19. I've run into a few problems doing
calculations with numbers like these.
the first one is that I can't figure out how to write scientific notation
which is that E that I used in the f... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
More UML Problems.
Posted by Jeff Louie at 9/27/2003 4:52:55 PM
Hello....
I continue to run into problems trying to represent basic C# concepts in
UML. Besides no standard notation for C#s Property, I see no standard
way to represent a Structure, differentiate between overridden and new.
I
have tried this for a Property.
................................ more >>
Incorrect syntax near '('.
Posted by Carl at 9/27/2003 4:35:36 PM
Can you tell me what is wrong with this syntax ?
string select = "UPDATE [PME].[dbo].[Expense] " +
"([ID],[ClientID],[Total],[TPS],[TVQ],[Gtotal],[DateFAC],
[DatePAY],[Description],[fl_type],[fl_status],
[fl_category],[fl_source],[defaut], [Cheque],
[fl_taxable], [notaxe], [id]) " +
" VAL... more >>
Write error on Read() ??
Posted by Bill Cohagan at 9/27/2003 4:24:02 PM
I'm writing a console app in c# and am encountering a strange problem. I'm
trying to use redirection of the standard input stream to read input from a
(xml) file. The following code snippet is from this app:
===============================
static void Main(string[] args)
{
if (args.Le... more >>
Managed C++ destructor bug?
Posted by Mark at 9/27/2003 3:45:49 PM
I am having a problem using destructors in managed C++ and
would appreciate help in finding a solution.
Thanks
Mark
----------- Error and Test Code -------------------------
The linker throws this error when the code below is built:
testmanagedCxx error LNK2001: unresolved external... more >>
Heirarchical serialization
Posted by Pete Davis at 9/27/2003 1:42:29 PM
I haven't used Serialization support in .NET before and I have a few
questions about it.
let's assume the following:
class A : ISerializable
{
....
}
class B : A, ISerializable
{
private C cField;
....
}
class C: ISerializable
{
....
}
First of all, yeah, I'm missi... more >>
Launch Executables
Posted by shagshag at 9/27/2003 1:31:38 PM
How can I launch executables (such as "notepad.exe", e.g.)
in C#, as the execv() method does in C++ ?... more >>
Console app (Debug)- how to redirect standard input/output?
Posted by Bill Cohagan at 9/27/2003 1:25:13 PM
I'm writing a console app (in C#) and I want to be able to redirect the
standard input/output streams when it's run at a command prompt. IOW I want
to support the "<" and ">" redirection syntax. The obvious way to do this is
by using the static Console type properties, In and Out. When trying to
... more >>
Date time
Posted by Yosi at 9/27/2003 12:46:14 PM
Why i cann't convert date to DateTime :
System.DateTime dd= Convert.ToDateTime("27/09/2003");
How to do that , tjis one thowes an exception .
I can't find a Date class... more >>
How add Send-To mail to a WinForms app?
Posted by Ed Sutton at 9/27/2003 12:29:25 PM
I have a WinForms application. I want to add a "Send File as Attachment"
feature. Something like how the PowerToys "Send-To Mail Recipient" works.
I keep seeing samples referencing the namespace "System.Web.Mail" which I
can not seem to add or use in my application.
What's the easiest way ... more >>
GUID and uniqueidentifier
Posted by Carl at 9/27/2003 11:11:02 AM
Hi,
I do have one dataset from SQL server with a field
(bound) to Textbox called txtID , this field is of type
uniqueidentifier.
From the doc, they say the equivalent is GUID in dot net,
UniqueIdentifier = Supported by the .NET Compact
Framework. =
Guid = A globally unique identifi... more >>
newbie help
Posted by Dave at 9/27/2003 10:59:50 AM
just a few beginner questions...you don't have to answer everyone...I wrote
a windows application but I don't know how to write text to the screen. I
just need to be able to write a number to the screen and replace it as that
number changes in my program. I tried writing a textbox and saying
t... more >>
error compilation because of "word"
Posted by smith flyers at 9/27/2003 1:56:06 AM
i got the following error when compiling the codes..
the name 'word' does not exist in the class or namespace 'SimpleMath.Pig'
Can anyone troubleshoot on this . Thank you
//////////////////////
using System;
namespace SimpleMath
{
/// <summary>
/// Pig Latin interpreter
/// ... more >>
c# language suggestion
Posted by zeromus at 9/27/2003 1:00:09 AM
I wish c# could define some keyword as a modifier on a variable declaration,
and what it would do is automatically assign the variable to an instance
created by the default constructor
I have not thought carefully about the syntax, but some examples are called
for:
default MyClass myvar1, m... more >>
Combobox text locking
Posted by manoj at 9/27/2003 12:52:08 AM
hi,
I have a combo-box in my application and i dont want
the user to change the text in it.
It must be just visible but not allowed to modify.
Any help is thanked.
manoj... more >>
|