all groups > c# > january 2006 > threads for monday january 2
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
logonuser api
Posted by plmanikandan NO[at]SPAM gmail.com at 1/2/2006 10:45:41 PM
Hi,
i need to use logonuser api in c# for windows 2000.
Logonuser api is working fine in windowsXp,Windows2003 server.in
windows 2000 for running logonuser api we need SE_TCB_NAME
Privilege(act as part of operating system).i need to set the
SE_TCB_NAME Privilege programatically with out r... more >>
newsgroup client
Posted by AbdulGafoor GK at 1/2/2006 10:21:06 PM
has anyone seen newsgroup client source in c#. please help me with it.
thanks
... more >>
Set the control to select Multiple items in a ListBox
Posted by chad at 1/2/2006 10:10:25 PM
Hi,
Im new to C#, and I have a question. I can't figure out how to set the
listbox control top select multiple items in a ListBox.
I have tried using the following code, but C# VS 2005 PE does not have
SelectionMode :
listbox.SelectionMode = SelectionMode.MultiExtended;
Please Help!
... more >>
Executing "unknown" command line in C#
Posted by Rune Jacobsen at 1/2/2006 10:05:23 PM
[Reposting this in this group since a helpful soul pointed out that
microsoft.public.dotnet.csharp.general has very low traffic, despite one
probably accurate answer, I'll try my luck here as well]
Hi,
I've been trying to figure this one out, but my experience just doesn't
have what it t... more >>
image resizing with exif data
Posted by JimD at 1/2/2006 10:00:58 PM
Is there any way to preserve the exif data when resizing an image? Most
of the examples I have found are pretty simple like:
Bitmap orig = new Bitmap("DSCN0015.JPG");
Bitmap result = new System.Drawing.Bitmap(orig, 800, 600);
result.Save("new.jpg");
Or just using the GetThumbnailImage(... more >>
ImageLockMode enumeration semantics
Posted by Mark R. Dawson at 1/2/2006 9:16:03 PM
Hi,
the Bitmap.LockBits method takes the ImageLockMode enumeration as a
parameter. I may be missing something but if I supply a value of
ImageLockMode.ReadOnly to the LockBits method I am still able to change the
pixel values. Maybe I am missing something, but I would think that I should ... more >>
C# express addition DataRow related warning
Posted by michael_geller NO[at]SPAM hotmail.com at 1/2/2006 8:59:05 PM
While experimenting with binding datasets to an MS DataGridView, I get
a warning that tells me that my DataRows are "either undeclared or was
never assigned". Assuming that I am reading the documentation
correctly, you are supposed to create a DataRow using the
"DataTable.NewRow()" method. Thi... more >>
Parsin an RTF file
Posted by james.dixon NO[at]SPAM dewr.gov.au at 1/2/2006 8:31:36 PM
Hi All
My current task is go through an rtf file, and extract text based on
its format. ie Find and extract bold text as 'heading', text between
this and next bold text is 'content', repeat until the end of the
document.
Is there a way to do this? I have looked at the rtf source (very
co... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem casting in mixed 1.1 and 2.0 environment
Posted by Tyler Durden at 1/2/2006 8:11:03 PM
Hi,
I have this annoying problem with a cast failing from a DAL that was created
in 1.1 that I have included in a 2.0 app.
Every stored proc in our system uses an integer parameter to return an error
code. The following code works fine in 1.1 apps, and from a test app I made
in fully 2.... more >>
Send Message to Windows Service
Posted by Ahmad Jalil Qarshi at 1/2/2006 6:37:47 PM
Hi!
I want to develop two applications one a Windows Service and the other a GUI
based application. I want some sort of communication between Service and
GUI. I have decided to use Remoting for this purpose.
For this I registered an object on Service side for Remoting purposes.
Remote Ob... more >>
conflicting namespace problem
Posted by alex sparsky at 1/2/2006 4:27:48 PM
I have a rather unique problem that I need some advice on.
I have multiple c# controls that need to make use of a common
namespace. So when I go to include both controls that make use of
that common namespace and one control has a newer version of that
namespace, the compiler complains about ... more >>
Urgent PrintPreview Error?
Posted by Adam Right at 1/2/2006 3:32:55 PM
Hi,
I am using .Net Framework 2.0 final, and i use .Net printing library to
print a document. I use printPreview dialog to print the document but after
preview was shown, when i press the "print" button, i cannot print the
document although there is some words on the preview. So, is there a bu... more >>
MVC-Pattern in my C# GUI !?!
Posted by Marcel Hug at 1/2/2006 2:30:19 PM
Hi NG !
For learning work with patterns I would like to add the MVC-Pattern in my
little application.
On my form (View) I have a TabController with 2 tabs. In each tab I would
like to have a datagrid, which should be updated after some changes. So this
two datagrids must implement my observer-i... more >>
PrintPreview?
Posted by Adam Right at 1/2/2006 2:05:34 PM
Hi,
I am using .Net Framework 2.0 final, and i use .Net printing library to
print a document. I use printPreview dialog to print the document but after
preview was shown, when i press the "print" button, i cannot print the
document although there is some words on the preview. So, is there a... more >>
Sql Express 2005
Posted by Tsair at 1/2/2006 1:34:08 PM
If i install the SQL express 2005 in main PC link with workgroup linking,
does i need to install the .Net framework in each workstation PC ?
... more >>
sum
Posted by Hrvoje Voda at 1/2/2006 1:28:35 PM
How to make a Sum of listBox items?
Hrcko
... more >>
image array
Posted by Shayne Garner at 1/2/2006 1:25:02 PM
how would i declare and initialize a dynamic length array of images. I want
to add images to the array using the fromfile method.
--
shayneg... more >>
Installer in VS2005
Posted by Rick at 1/2/2006 1:00:58 PM
Hi guys, i made an app using C# (vs2005) and i added some references to MS
Excel in my project, when i try to install the app in a machine it begins
but at some time it says "Cant find file My_App_Name.application" (that file
exist at the directory when im publishing the installer), the closes... more >>
Unable to set combo box selected item index to -1
Posted by B at 1/2/2006 12:56:13 PM
I'm trying to simply build a form with a combo box containing a list of
states. I'd like for there to be NO default selected item, but invariably,
the first item in the DataSource is being displayed. It seems to work fine
on other forms, but for one particular form, nothing I do seems to work.... more >>
How to Get the value of scrollbar
Posted by Ahmad Jalil Qarshi at 1/2/2006 12:17:08 PM
Hi!
I am making an application and need to capture the event when RichTexBox
control's vertical scrollbar's values changes. There is an event named
VScroll but it is fired when mouse is first time clicked on scroll bar. I
need the event when the value of scroll bar changes like when... more >>
Access method in a form from the other form
Posted by Vivek at 1/2/2006 11:27:43 AM
Hi,
I have a public void method declared in a form and I wish to access it from
the form in windows application made in vs 2005. How can I achieve this
THanks
... more >>
Application appearance
Posted by Peter Larsen at 1/2/2006 10:48:22 AM
Hi,
How do i prevent an application from appears more than once in the ALT+TAB
menu.
As it is today, my application will show an icon for each window visible in
the running application. I only want one icon.
Thank you in advance.
Peter
... more >>
Table, Row and Cell problem
Posted by Varangian at 1/2/2006 6:51:36 AM
Hi,
What problem has this code?
tablename is System.Web.UI.WebControls.Table
int X = 1;
int Y = 5;
tablename.Rows[Y].Cells[X].Text = "Test";
It's giving me an out of range exception..... I'm building the table
dynamically... should the Table already have rows and cells built in?
Wh... more >>
Uninstall Outlook Add-In
Posted by David Meier at 1/2/2006 5:26:03 AM
I've built a custom add-in for outlook that works just fine. It places a
toobar button on the standard toolbar. I created the program in reference to
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/ol03csharp.asp
When I unistall the add-in the toolbar button... more >>
How to cast a byte[8] to double floating point?
Posted by nick at 1/2/2006 1:51:02 AM
I have a byte[8] variable which stored a double floating value. How to
convert it double?... more >>
How to get the hex string of a floating point number?
Posted by nick at 1/2/2006 1:23:02 AM
How to get the hex string of a double floating point number (internal 8 bytes)?... more >>
|