all groups > c# > september 2003 > threads for tuesday september 30
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
SEARCH&REPLACE in a textBox
Posted by Tomomichi Amano at 9/30/2003 9:31:50 PM
Hello.
I want to make replace & search functions in my text editor. Thanks to the
kind people here at the newsgroup, I was able to make the [REPLACE ALL]
function.
But I was not able to understand how to REPLACE the next word (the nearest
word from the cursor; not REPLACE ALL, but replace only ... more >>
newbie timer question
Posted by Chris Winstanley at 9/30/2003 8:10:24 PM
Hi,
I'm running version 1.0 of the .net framework on windows XP and Windows
2000.
I need to run a timer that fires accurately at a 10ms interval. I've
been having problems trying to get a System.Threading.Timer to run
accurately at this rate (it seems to wander around 12ms to 20ms). The ... more >>
Return string + enum?
Posted by Lasse Edsvik at 9/30/2003 7:27:40 PM
Hello
I was wondering if it's possible to return both a string and an enum value?
both "I have a caddilac" and CADDILAC? as an example..
if so, could you guys show me?
TIA
/Lasse
... more >>
hashtable + binary
Posted by Ching-Lung at 9/30/2003 6:19:19 PM
Hi,
I have a hashtable with some data and want to write it to
a binary file. Also, if I read this binary, I want to be
able to reconstruct the hashtable. How do I do this? Or
is this possible to do this?
Please help, thanks!
-CL... more >>
ComboBox
Posted by Ehud at 9/30/2003 6:08:02 PM
does anyone know how to make a combobox readonly? that is, you can choose
from it, but not enter new text at the top row (when closed)
ehud
... more >>
How do I make a pop up page call in asp.net C#?
Posted by Charles at 9/30/2003 5:39:37 PM
Hello,
I have a very full .aspx page in c# that I need to use
another aspx page as a pop ups to help me populate?
Response.redirect doesn't work what does?
Also, I need to get the answer from the pop up page back
to the first page.
Charles
... more >>
Alter Data DataSet of one DataGrid (urgent)
Posted by Ahmet at 9/30/2003 5:26:24 PM
Hi all;
I have an application in which I use dataset - dataview pair to show some
values
to users.
On database this is my sample table named members
no type name
---- ------ ---------
1 N name value
2 S xyz value
and on my program I have so... more >>
System.Security.SecurityException thrown when running app from network drive.
Posted by David Lindgren at 9/30/2003 5:21:52 PM
Hello!
When I am trying to run my .NET application from a network drive a
System.Security.SecurityException exception is thrown. Why is that? How do I
prevent it?
Thanks!
/David.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
table
Posted by yuen at 9/30/2003 5:11:41 PM
I want to know how to create a table which is similar to JTable.
Thanks!
... more >>
newsgroup server
Posted by achh1 NO[at]SPAM yahoo.com at 9/30/2003 5:00:01 PM
Hi I want to add the newsgroup for c# in mail client of
mozialla .
Can you let me know the server name That is what should I
enter for NNTP value in the configuration setting...
Cheers
ATul... more >>
timestamp
Posted by Jonas Knaus at 9/30/2003 4:02:34 PM
hi there
in my database i have a column timestamp. now i read this entry with a
reader:
....
....
byte test ;
while (reader.Read())
{
test = Convert.ToByte(reader["AdrTimestamp"]);
}
....
....
i got the answer that this cast is not valid
i also tried to do id wit... more >>
Can't override Dispose)( ?
Posted by Gawelek at 9/30/2003 3:48:10 PM
When I write this code
namespace WindowsApplication1
{
public class Form1 : System.Windows.Forms.Form
{
(...)
/// <summary>
/// Clean up any resources being used.
/// </summary>
public override void Dispose() <-------
{}
(...)
}
I obtain :
C:\Temp\CSharp\WindowsAp... more >>
Crypto with Digital Certificate
Posted by Leandro H. Delamare at 9/30/2003 3:47:37 PM
Hello Group..
Someone have a sample to how crypt a string using Crypto API with digital
certificate ?
If someone have a sample and can send to me :)
Best Regards
Leandro Delamare
... more >>
weak, soft, phantom
Posted by memememe at 9/30/2003 3:44:32 PM
I see weak reference on the .net api, but I do not see soft or phantom, are
they supported on .net?
... more >>
Redirection troubles
Posted by ecastro NO[at]SPAM hp.com at 9/30/2003 3:24:11 PM
I want to start a process from a C# application. I also want to
redirect standard error to standard output so that I can read output
from both streams just like I could from a command line. In other
words, I want to emulate the following: command arg1 arg2 > file.txt
2>&1
I know I can get Str... more >>
Disposing delegates of an event
Posted by Greg Patrick at 9/30/2003 3:07:54 PM
Let's say I have a Form and I create a delegate (MyDelegate) and an event
(SomethingHappened) for that form.
Now other classes add their delegate to the event, e.g.
theForm.SomethingHappened += new MyDelegate(this.myMethod);
When I Close the form, how do I properly dispose of the delegate... more >>
treeview conrol question
Posted by kidzero at 9/30/2003 12:26:55 PM
Hello,
Is there any easy way to control treeview selection ?
For example if user pushes button "next" treeview control selects next node.
if user pushes button "prev" treeview control selects previous node.
I asked because by default in treeview control if you press arrow keys such
as "up" or... more >>
Urgent Help Required from Gurus - Conditional databinding
Posted by CGuy at 9/30/2003 11:59:55 AM
Hi,
I have an ASPX page which has a datagrid and this datagrid is bound to a
Custom Collection.
sample code
this.DataGrid1.DataSource = UserManager.Users;
this.DataGrid1.DataBind();
Everything works fine and when the page is loaded, the datagrid displays
the list o... more >>
Wait - how ?
Posted by peteZ at 9/30/2003 11:13:00 AM
How can I tell my C# program to do nothing for 5 secs ?
ie. I want to slow down a process and introduce a deliberate delay.
- peteZ
... more >>
Does anybody know?
Posted by Jacek Jurkowski at 9/30/2003 10:45:24 AM
What to do with this error while compiling Setup project?
"An error occured while validating. HRESULT = '80040155'"
And what's wrong with this newsgroup?!
... more >>
"Optimised Debug" in Visual Studio 2003 ?
Posted by John Smith at 9/30/2003 10:19:23 AM
Sorry if this is the wrong forum...
Does anyone know what the difference is between a debug build and an
optimised debug build in Visual Studio 2003?
... more >>
DBF
Posted by Klaus Kaiser Apolinário at 9/30/2003 9:57:49 AM
Guys,
I have a DBF ( :-S ) pseud-database here, and I need to access this dbf with
C#, how I can make this???
Klaus Kaiser Apolinário
COL
... more >>
Does anybody know?
Posted by Jacek Jurkowski at 9/30/2003 9:38:29 AM
What to do with this error while compiling Setup project?
"An error occured while validating. HRESULT = '80040155'"
... more >>
ThreadPool and COM+
Posted by Duane Pressley at 9/30/2003 9:35:27 AM
I'm looking for someone to help me make sense of the results I'm =
observing when using the ThreadPool class in a COM-Interop scenario. =
Here's the set up:
1.. A classic ASP page instantiates and calls MethodA on COM+ Class =
(C1).=20
2.. MethodA of COM+ class (C1) instantiates and calls M... more >>
Cannot implicitly convert type 'object' to 'int'?
Posted by Michael Schindler at 9/30/2003 9:14:54 AM
frmHauptmenue.IntMandantID = (dataGridFiBuMandant[hti.Row, 0]);
Why?
What can I do? possible solution is, I convert this:
Convert.tostring(frmHauptmenue.IntMandantID) = (dataGridFiBuMandant[hti.Row,
0].tostring());
But, i would like not sring this is a integer...what can I do?
Thanks... more >>
listview problem - simple problem
Posted by newbie001 at 9/30/2003 8:50:18 AM
I have the following code in a listview control's
initList function (called from form_load event). i can't
understand why the listview box still appears blank with
no columns or listview items.
all help is appreciated.
public void initList()
{
listView1.Enabled = true;
list... more >>
Constructors or properties
Posted by john sutor at 9/30/2003 8:36:20 AM
Is it better to set a class's properties or to pass arguments to the class
initially in the constructor?
... more >>
Outlook 2000 visibility & UserProperties.Find
Posted by Eric at 9/30/2003 7:31:39 AM
I am trying to start Outlook from C#. I have succeded in
accessing the Outlook Inbox and SentMail folders but I'm
nowhere in being able to make the application visible!
What is the secret?
Also, I'm am trying to ascertain if a UserProperty has
been defined for a given MailItem. The method... more >>
Component exception design question...
Posted by intrepid_dw NO[at]SPAM hotmail.com at 9/30/2003 6:42:41 AM
Hi, all. I'm looking for a "straw poll" of opinions on two ways to
implement part of an exception hierarchy. Forgive the silly example I
offer, but its what came to mind on the fly as I decided how to
illustrate the question.
Let's assume you have an application called "FruitStore," with a
co... more >>
Printing a pdf stream?
Posted by craigg NO[at]SPAM gasullivan.com at 9/30/2003 5:38:48 AM
I am retrieving a pdf file from a database blob field. I want to be
able to print it out on a printer now. There doesn't seem to be a way
to do this. I've seen the RawPrinterHelper class on MSDN but it
doesn't work with pdf's since they are in postscript and not RAW
format. Also the pdf.ocx prin... more >>
Problem wiyh Application Configuration
Posted by Mevar at 9/30/2003 3:05:09 AM
Hello to everybody.I have a problem.I'm using an
application configuration file to store particular
settings.I use a custom Section Handler to read settings
and everything work fine if I read my settings.If I add
some settings to the file and I read the configuration
file again I can see o... more >>
array size problem
Posted by jayson_13 NO[at]SPAM yahoo.com at 9/30/2003 2:58:02 AM
hi,
I want to create a public array that can be accessible through the
same class. But the problem is the size of that array is unknown until
some method in the same class has been called.
How can i do it?
private int[] CategoryID;
private void FillDataSet()
{
...
... more >>
|