all groups > c# > january 2006 > threads for saturday january 28
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
DLLImport - Help
Posted by Timothy at 1/28/2006 11:37:38 PM
Hi all,
Can anyone tell me how to import the function ModifyStyleEx() into a .net
app?
I am not sure which DLL this function is in either, so could someone help me
out, please?
Thanks in advance,
Tim.
... more >>
Debugger visualizer
Posted by Udi at 1/28/2006 11:21:39 PM
Hi,
I have a simple example of a color visualizer and it works fine.
I've tried to add another (new) color visualizer
(an exact copy of the example) in a different (new) solution,
but for some reason I can't see my
new visualizer while debugging. (see code below)
Isn't it possible to a... more >>
Generics article
Posted by Ludwig at 1/28/2006 9:11:44 PM
Hi,
I wrote an article about generics in C# 2.0; you can download it at
http://www.coders-lab.be/Technical%20documents/CTG_Articles_Generics.pdf
Suggestions and feedback always very welcome,
kind regards,
Ludwig
--
Ludwig
http://www.goedgenoegen.be... more >>
Trying to access control on one from from another form
Posted by JimC at 1/28/2006 8:56:58 PM
On my main form in a C# program, I create an instance of another form that
contains a ListView control, in the usual way, that is:
public class frmMain : System.Windows.Forms.Form
{
// [...]
InfoForm myInfoForm = new InfoForm( );
myInfoForm.Show ( );
// [...]
}
Wh... more >>
Q: Datatables, Datasets and updating
Posted by Geoff at 1/28/2006 8:35:25 PM
Hi
I'm hoping somebody can help me with the following problem that has occurred
to me.
Suppose I have two tables in an SQL Server database. Let's call these tables
A and B. Assume that A has two fields: a primary key and another holding a
string. In table B there are three fields: a primary... more >>
StreamReader vs StreamWrite
Posted by KenLee at 1/28/2006 7:10:27 PM
help!!
I used StreamReader and StreamWrite.
the problem is it doesn't write all readline.
For example it read 100 line and write 51lines.
this is codes.
class kenlee{
private StreamWriter sw ;
private StreamReader sr;
private String line;
private String SSNO;
... more >>
Database folder
Posted by John at 1/28/2006 3:31:34 PM
Hi,
What is best folder to put database (location of database)? This is because
when administrator restricts user rights to read (read and execute), and
doesn't give permissions to write in C: disk (only to My documents is write
allowed)?
What to do in this case, shall I store database to ... more >>
Extending Brian Connelly's C# CodeDOM Genetic Algorithm project
Posted by Scott at 1/28/2006 2:50:57 PM
Hi,
Has anyone seen this article in MSDN Magazine?
http://msdn.microsoft.com/msdnmag/issues/04/08/GeneticAlgorithms/default.aspx
My GA twiddlings puffed out years ago, but the idea of using the
CodeDOM has triggered my interest glands again. I could pick up where
Brian left off, but it ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Security Model
Posted by Jeff at 1/28/2006 2:04:23 PM
I am designing a new Windows Forms client application (with SQL Server db on
the back end) for which users will authenticate via NT authentication
(network), or SQL Server authentication. Users who are granted access to the
application must also be granted access to specific forms and controls... more >>
Rating
Posted by Amir Ghezelbash at 1/28/2006 1:23:25 PM
Hello every one
i had a question i am developing a site where i want users to be able to
rate products..but i want users to be able to only vote once per
product...i was wondering if any of you know could shed some light on
how i can accomplish this..i thought of using cookies but cookies can b... more >>
Mixing 1.1 and 2.0?
Posted by Brett Romero at 1/28/2006 12:22:57 PM
I'm slowly making the move to 2.0. I have a solution in 1.1 with two
projects - EXE and DLL. I'd like to upgrade the EXE (user interface of
this solution) to 2.0 and leave the DLL at 1.1 for the time. How will
that work?
In other words, I suppose the solution needs to be either 1.1 or 2.0?
... more >>
share member variable of 1 class between 2 other classes
Posted by Scott Starker at 1/28/2006 11:51:23 AM
Is there anyway to do this?
Every time any button is click inside class Form1, MyButtomArray.CharArray
(MyButtomArray is a class) gets set (or reset) (bool). Once this is done the
class TEC gets executed. I want to access MyButtonArray.CharArray to get the
bool values in TEC.
Any ideas?
... more >>
Convert string to hex and write file
Posted by Tim at 1/28/2006 8:16:44 AM
Hi,
What I am trying to accomplish is to initiate remote desktop session from
within my C# application to XP Pro machine NOT terminal services to a
server.
I have not found any way to do this with code (if you know of a way then I
would love to hear about it). What I have created so far ... more >>
Properties.Settings; ArrayList and a custom object
Posted by eugenet NO[at]SPAM rusmex.com at 1/28/2006 6:45:19 AM
Hello,
I am writing a Windows Forms application using .NET Framework 2.0 and
Visual Studio 2005.
I would like to use Properties.Settings class to persist a collection
of custom objects. For that I am creating a setting called Connections
of type System.Collections.ArrayList using the Proper... more >>
Datagrid Problem
Posted by Abhi at 1/28/2006 3:35:11 AM
Hi all,
I am stuck in a situation where I want to sort the datagrid column
in numerical order where it originally is in string format.
For example suppose there are 3 fields id, name, age in datagrid
where all are in string format. But in 'id' coloumn there are numbers
like 1, 2 .... ... more >>
Disable editing of one specific cell in one specific row in dataGr
Posted by Gidi at 1/28/2006 3:15:27 AM
Hi,
Is it possible to Disable editing of one specific cell in one specific row
in dataGrid?
Thanks,
Gidi.... more >>
ScrollWindowEx and drawing in C#
Posted by Ivonne Riedel at 1/28/2006 1:30:46 AM
Working on an incremental drawing algorithm I am facing a problem PInvoking
ScrollWindowEx:
The code is as follows...
C#:
[DllImport("user32.dll")]
public static extern int ScrollWindowEx(IntPtr hWnd, int
dx, int dy, IntPtr scrollRect, IntPtr clipRect, IntPtr
... more >>
? and : for conditional expressions in v2
Posted by Mark Rae at 1/28/2006 12:00:00 AM
Hi,
In v1.x, the following code worked perfectly:
mobjSqlParameter.Value = strPayerBusinessName == null ? strPayerBusinessName
: (object)DBNull.Value;
However, I can't get it to work in v2. I know that the value of
strPayerBusinessName is null because if I write
strPayerBusinessName ... more >>
DataGridViewComboBox
Posted by perspolis at 1/28/2006 12:00:00 AM
Hi All
I used datagridviewcombostyle for my application..
but it shows the combobox style in DropDownList style..I want to be able to
enter data into it,,how can I have combobox dropdown ??
thanks in advance
... more >>
|