all groups > c# > april 2004 > threads for sunday april 25
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
RichTextBox and Tables
Posted by Reinhard Vornholt at 4/25/2004 11:36:06 PM
Hi,
I have problems with the Windows.Forms.RichtextBox Control of the VS.
I have a text that is written with WordPad. In this text there are tables.
The cells in the tables are holding multiple lines. When I copy & paste the
whole text, including the table, the table does not show up properly ... more >>
converting UCS2 character code to a string
Posted by PEACEMAKER at 4/25/2004 11:32:28 PM
I have a bunch of ucs2 character code reference numbers like 672c. Is there
an easy way to convert these to a c# string so that when it is printed out
in the appropriate font it displays the character?
... more >>
mono setup: why so much for Linux ???
Posted by Matter Paneer at 4/25/2004 10:58:15 PM
How come to set up mono on Suse it takes over 10 separate downloads and
installs -- but the win32 installation is a single exe file ?
C'mon, Linux -- you have to catch up !!!
--
W '04 <:> Open... more >>
c# lesson for c++ developers
Posted by Matter Paneer at 4/25/2004 10:43:55 PM
I was sitting on my porch reading 'c# Class Design' from WROX press and i
thought this paragraph was interesting:
______
Where reference types are concerned, C++ developers will need to get used to
not thinking in terms of pointers. Although this is more-or-less what
happens behind the sce... more >>
Overload base on return value?
Posted by FrzzMan[at]vnOCzone.com at 4/25/2004 10:10:21 PM
Hello,
Thank you all about the assoc array help, now I have another problem...
I have a function that take the varname as the parameter and return the
variable value. But the type of return value is unpredictable, is there
anyway to do this?... more >>
Binary file writing problem
Posted by Joshua Russell at 4/25/2004 9:12:12 PM
Hi,
I've got a program (see source below) that makes a file and fills it with
random binary values (from 0 to 255). The source below works, however the
program creates files at a rate of about 0.5MB per second. There is a
serious performance issue with this program.
There is a loop within the m... more >>
Project References?
Posted by Dave Veeneman at 4/25/2004 9:09:22 PM
I know there must be a simple answer to this question. I just split a
Windows application into two projects; the original application and a class
library. I moved a number of classes to the class library project. I added a
reference to the class library project to the original application, but I
... more >>
Please help!! How to design this?
Posted by Diego F. at 4/25/2004 8:52:55 PM
Hello. I hope you can help me with this. I have to write an application in
C# that is more or less this:
1.- I have different clients that receive data from a central server.
2.- The server sends the initial data to the clients and keeps waiting for
responses.
3.- The clients generate new dat... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Reuseable Class Library
Posted by Curt Emich at 4/25/2004 7:46:04 PM
I'm planning to create a class library containing code that I can resuse in
all of my apps. I would probably put these classes into a namespace that
contained my company name and then the word "reuseable".
Would I put these classes in their own separate file? If so, how would I
include it in... more >>
Win32 Api
Posted by bayX at 4/25/2004 7:25:01 PM
I want to call Win32 Api from C# ? How do i make it? I have seen
[DllImport("User32.DLL")]
public static extern int SendMessage(
IntPtr hWnd,
uint Msg,
IntPtr wParam,
IntPtr lParam
);
and i could call i... more >>
Measure a string
Posted by pnp at 4/25/2004 6:02:52 PM
Hi all,
Is there a way to get a strings' width without using the
Graphics.MeasureString() Method?
Thanks in advance,
Peter.
... more >>
Associative array in C#
Posted by FrzzMan[at]vnOCzone.com at 4/25/2004 5:11:25 PM
Is there any way around to implement assoc array in C#? Thanks...... more >>
WebRequest & Async IO problems
Posted by Andreas HÃ¥kansson at 4/25/2004 5:11:01 PM
Hello,
I'm using the WebRequest class to download a few files of a webserver. I
use
async io to fecth the data. My problem is that the first file works like a
charm, and
the second file loads about 99%. The problem is that i *know* that BeginRead
is
called for the second file (over and ... more >>
c# for other plataforms
Posted by Drunkalot at 4/25/2004 5:03:06 PM
Is microsoft planning to deploy c# to linux or to other plataform???
[]s...
... more >>
Event undefined value at runtime
Posted by Spike at 4/25/2004 4:11:03 PM
i have 3 classes, class 1 has reference to class 2, class 2 has reference to class 3. i want to pass a value from class 3 to class 1, so 3 creates an event, 2 handels it then creates another event which 1 handels
the code for creating and handeling between each is the same except for the names howe... more >>
Binary (Image) type fields of SQL Server
Posted by msnews.microsoft.com at 4/25/2004 2:34:57 PM
How can I work with Binary (Image) type fields of SQL Server from C# (Visual
Studio)?
Fro example I want to load and update picture.
... more >>
COM -> CSharp Interface generator
Posted by Rick Strahl [MVP] at 4/25/2004 2:25:18 PM
Does anybody know of a tool of some sort that can generate a C# interface
from a COM interface? I need to pull a ton of interfaces out of an existing
application and it sure would be lot nicer to get at least a rough headstart
with these interfaces.
Is there such thing before I sit down and wr... more >>
Direct printing not working
Posted by faktujaa at 4/25/2004 2:06:01 PM
Hi ALL
Please check the code below. OpenPrinter method returns Access is Denied error. Serial Printer is connected to the the IP address with name given at COM1
public enum ACCESS_MAS
PRINTER_ACCESS_ADMINISTER = 4
PRINTER_ACCESS_USE = 8
PRINTER_ALL_ACCESS = 98305
[StructLayout(LayoutKin... more >>
How Do I "Escape" A SQL Connect String With Non-Standard Server Name?
Posted by Steven C at 4/25/2004 1:05:32 PM
Hello!
I am trying to connect to a SQL Server (MSDE) database in mixed mode
authentication, via C#, but when I use the MSDE instance name, I keep
getting an "Unrecognized Escape Sequence" error. The Data Source name
has a backslash in it, and I'm guessing that this is causing the
problem. ... more >>
Configuration settings
Posted by Boris at 4/25/2004 12:12:14 PM
I encountered a problem, I can't define reference for a specific
configuration.
My project, like any other, has 2 configurations ("Debug" and "Release") In
the "Debug" configuration I use Nunit for testing, so all nunit related code
is under #if NTEST definition. The NTEST declared only in Debug... more >>
True Stealth
Posted by Demetri at 4/25/2004 11:36:05 AM
Does anyone know of any good examples or sites explaining how to create an application using C# that can run as a true stealth program, hidden from any process programs such as task manager, etc?... more >>
C# and Java
Posted by Dougie at 4/25/2004 9:46:22 AM
Hi,
I'm trying to connect a C# application to a Java program at runtime. Is it
possible to share objects between C# and Java, if so are there any examples
of this? I'm relatively new to C# and would appreciate any pointers.
Thanks.
... more >>
Performance issue when incorporating C++ into C#
Posted by cslee2001 NO[at]SPAM yahoo.com at 4/25/2004 8:09:21 AM
Currently i'm writing some low level communication modules in C++ and
is thinking of putting it into a library so that it can be used in C#.
My concern is the performance issue when putting C++ codes into C#.
Does anyone has any idea(s) on this issue????... more >>
A program of rewrite code from vb to c#
Posted by Jet Leung at 4/25/2004 2:14:45 AM
Hello All:
I want to rewrite a program by c sharp that was worte by vb. And I have a
problem , how to translate "exit sub " of vb into c sharp? And how to run
another program (for example a .exe file) in c sharp? I know it can be run
by "shell " in vb.
But how about in C shrp?
... more >>
exercises
Posted by Zachary Turner at 4/25/2004 1:35:48 AM
I am just learning the syntax of C#, and I want some "exercise" type ideas
to allow me to test various features of the language. I don't really want
to resort to a "Teach Yourself C#" type of book because the exercises tend
to be overly trivial, but if someone knows of somewhere that I can get s... more >>
Help me in active directory search for special group in asp.net
Posted by raf60ir NO[at]SPAM aut.ac.ir at 4/25/2004 1:31:01 AM
Dear Sir,
I want to access to a special group in active directory but with this
function I could just see that a special user is exist in active
directory or not, I mean I want to see that a user is exist in special
group which I myself specified not in all of active directory. could
you please... more >>
float to int ?
Posted by MAY at 4/25/2004 1:09:58 AM
hi,
i have problem to convert from float to int,
Point[] i_pt;
PointF[] f_pt;
.....
how to make
i_pt=f_pt;
??
thx..!
MAY
... more >>
|