all groups > c# > october 2006 > threads for saturday october 21
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
RichTextBox and font change
Posted by Vivien Parlat at 10/21/2006 10:05:00 PM
Hello,
I'm trying to create a small text editor (to be included in another
project), and I've created two methods to toggle bold/italic/underlined
text styles, in order to have the same behaviour as WordPad has, ie :
if I select a text which has bold and non-bold parts, and click
"Italic", af... more >>
Importing XML schema into SQL Everywhere using C#
Posted by Peter Hartlén at 10/21/2006 8:55:58 PM
Hi!
Could someone please point me to a good tutorial or similar (what classes,
small hint...) describing the best practice when it comes to importing
database schema and data into a sql everywhere database? I've tried
searching both MSDN and Google but I get millions of hits... :-(
Thank... more >>
how can i get a query index from a combobox selection?
Posted by jen at 10/21/2006 7:59:54 PM
i have select query that returns multiple records and populates a
combobox/pulldown.
once a selection from the pulldown is selected, i need to reference two
or three fileds from the previous query related to that selection.
as usual, i'm probably making this harder than it needs to be.
an... more >>
Copy part of Windows form into Clipboard.
Posted by Ajith Menon at 10/21/2006 7:31:30 PM
I want to copy a part of the windows form into clipboard as .bmp file.
The usecase is the user drags using the mouse and creates a rectangular
selection any where on the form. This part has to be copied into
clipboard.
Can anybody help me in implementing this using C#?
Thanks,
Ajith
... more >>
operator ++ overload - How To
Posted by JohnGoogle NO[at]SPAM hotmail.co.uk at 10/21/2006 6:18:55 PM
Hi all,
For my own educational process I am implementing a Fraction class
described in the VSJ magazine to help me understand Visual C# operator
overloading. I'm a relative newbie.
At the moment my basic code is:
using System;
using System.Collections.Generic;
using System.Text;
na... more >>
Distinguish between folder drop and file drop
Posted by Silvester at 10/21/2006 2:08:00 PM
I need to trigger some code when user drags and drops an entire folder onto
my form.
How can I distinguish between a folder drop and files dropped ? Can someone
point me to code or a sample, please ?
Thanks !
... more >>
Can an WBA/XBAP directly make a call to database server
Posted by MMA at 10/21/2006 1:40:03 PM
Can an WBA/XBAP directly make a call to database server or does it need to go
through the WS?
Thanks in Advanec... more >>
Integrating a Legacy Application
Posted by Jason Madison at 10/21/2006 1:11:36 PM
I would like to create a .net application that still uses a few screens from
an old legacy application we have.
I can list records from the database in my .net app, but when it comes to
making updates I still need to legacy screens as the update logic is very
complex.
I have found I can ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Scrollbars and controls in general
Posted by Jon Slaughter at 10/21/2006 12:00:38 PM
I'm trying to wrap all the basic controls(Button, scrollbar, etc..) to allow
for skinning. The problem is that many of the controls seem so different in
the way they work. For example, right now I'm trying to wrap teh scrollbar
class but when I override the OnPaint and OnPaintBackground preve... more >>
A Comparison Of Dynamic and Static Languiges
Posted by atbusbook NO[at]SPAM aol.com at 10/21/2006 11:28:04 AM
I'm doing a report on the speed of develipment and executionin varius
programing langiuiges. write code for all these tasks in the languige
of your choise if intrestied send code to atbusbook@aol.com.
Task 1:
write a program that prints how many times you repeat all words in a
file passed a... more >>
Help with RegExp!
Posted by celerno at 10/21/2006 10:28:49 AM
i need a regexp to parse some like this
<AwordHere> any thing here #$% #@$#@ /./09812 anything </AwordHere>
this works for that:
<(?<field>\w+)>(?<value>.*)(?<field></\w+>)
but when i have
<AwordHere> any thing here #$% #@$#@ /./09812 anything </AwordHere>
<OtherWordHere> any thing her... more >>
Structuring a solution / projects.
Posted by JohnGoogle NO[at]SPAM hotmail.co.uk at 10/21/2006 9:39:25 AM
Hi,
I'm new to Visual C# and I am looking for guidance with structuring
projects.
I am wanting to develop a DLL assembly which will contain all my common
classes which will be used by various projects. During development of
this DLL assembly I have decided to have a second project which wil... more >>
How to include namespaces that are not shipped with C# express.
Posted by Dave at 10/21/2006 9:14:01 AM
Is there a way to 'download' any particular namespace that is not shipped C#
express? I want to access System.Net.IrDA namespace.
L. A. Jones... more >>
C# Performance question
Posted by Bill O'Neill at 10/21/2006 8:38:34 AM
In our business frameworks we are creating objects off of the heap to
represent every small value such as a CustomerNumber. We will have thousands
of these small objects in an application at any one time. These objects are
very thin as most of the members have been declared static.
I pr... more >>
Windows Application Deployment Issue
Posted by Omer at 10/21/2006 5:05:51 AM
Hi,
I am about to give a project's exe file to my manager, so that he can
run it on his PC. I have compiled it in Release mode. Exe File is in
obj folder. Now I have connection srting details my project's
app.config file, but I can't see it anywhere in the obj folder. What do
I need to do to ?... more >>
Dealing with textfiles with multiple encodings
Posted by Gustaf at 10/21/2006 3:33:21 AM
I'm planning to write an app that will extract certain messages in
mailboxes stored in Eudora and Thunderbird formats. These are both
"plain text" formats, but the character encoding varies greatly from one
message to the other. I wonder how to deal with that, so that the
messages comes out ... more >>
double buffering in child controls
Posted by ssoffline at 10/21/2006 1:24:37 AM
hi
i have an app in which i can drop objects onto a form and move them, it
consists of graphics (lines), i am using double buffering to avoid
filckering in the parent control which is a panel,but when i add
controls to this panel dyanamically, the double buffering effect is not
there, i move al... more >>
Resizable lines
Posted by ssoffline at 10/21/2006 1:20:48 AM
hi
I am developing an app for making data flow diagrams visually
so i have a toolbox, from which i drag and drop objects onto a panel
For obvious reasons i have lines which i use to connect objects which
are user controls,
i wan't to resize lines, i mean they should be selectable and be
resiz... more >>
UDPClient.Send Checking
Posted by Rain at 10/21/2006 1:18:01 AM
Hi ,
I need help on this one.. any help would be appreciated, heres my code:
My code for sending using UDPClient:
public void Send( string Message)
{
if ( !isRunning ) return ;
try
{
byte[] bs = System.Text.Encoding.UTF8.GetBytes(Message);
thisClient.Send(b... more >>
'ms-help://MS.MSDNQTR.v80.en' in invalid.
Posted by Ryan Liu at 10/21/2006 12:00:00 AM
Hi,
I installed VS 2005, also its msdn library.
But when I click on
Start - Program Filees - Microsoft Developer Network - MSDN Library for
Visual Studio 2005,
it gives me error:
Microsoft Document Explorer cannot be shown because the specified help
'ms-help://MS.MSDNQTR.v80.en' in i... more >>
How to prevent the designer to create a value for a property in InitializeComponent ?
Posted by Sagaert Johan at 10/21/2006 12:00:00 AM
How to prevent the designer to create a value for a property in
InitializeComponent ?
I do not want the designer to create an initialisation entry in the
InitializeComponent method.
Is there any attribute i can apply to my property in my custom control to
avoid the designer making the init... more >>
|