all groups > c# > august 2004 > threads for sunday august 15
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
c# string assignment bug?
Posted by Greg Merideth at 8/15/2004 10:53:04 PM
While I can't post all of the code I'll post snippets but, it appears that C#
is *not* assigning a string, inside of a class, a value that I am passing to it
using its public set method and I can't for the life of me figure out why.
I have a class, call it Class Test with a private string _a ... more >>
listbox used to display program status
Posted by xzzy at 8/15/2004 10:22:22 PM
I have an app that uses a listbox to display program status messages, and a
public function to be used by the solution to update the listbox.
I do not know how to make the listbox public so it can be updated by that
function.
public class frmMain : System.Windows.Forms.Form{
public Sys... more >>
Can C# components talk to commerce server 2000?
Posted by Tams TS at 8/15/2004 9:52:14 PM
I want to know whether C# components can talk to commerce server 2000.
It will be great to if anyone gives the approach or directions for this,
as it is quite urgent.
Thanks in Advance.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get re... more >>
Re: GetManifestResourceStream(String)???
Posted by Shell at 8/15/2004 9:13:25 PM
Darryn,
Try this:
string []resourceNames =
this.GetType().Assembly.GetManifestResourceNames();
Go through that list and verify that the resource you want is listed
there. You'll have to use the exact name that's shown there.
... more >>
C -> C# Marshaling / IntPtr - any help?
Posted by Chua Wen Ching at 8/15/2004 8:23:03 PM
Hi there,
I had some problems converting C -> C#.
C codes:
unsigned char BYTE;
unsigned short puint8;
typedef struct {
BYTE ValueIn[255];
BYTE ValueOut[255];
} STestA;
typedef struct {
int somevalue;
puint8 ValueIn;
puint8 ValueOut;
} STestB;
typedef STestB *PSTes... more >>
Implementing the Command pattern
Posted by TEK at 8/15/2004 8:05:42 PM
Hello
I'm wondering if anyone out there might give some
input/suggestions/viewpoints around the Command pattern.
In my case, the number one priority for using the pattern is undo support.
Some now, a lot more in the future.
I think I have a pretty good understanding about how the command patt... more >>
Reading Registry using C# (System.Byte is 'binary' data value)
Posted by John Hoffman at 8/15/2004 7:26:37 PM
Reading registry:
....
RegistryKey rksub = rkey.OpenSubKey(s);
String [] valstr = rksub.GetValueNames();
foreach (String vs in valstr)
{
String vstr = rksub.GetValue(vs).ToString();
OR
String vstr = rksub.GetValue(vs);
...
call to G... more >>
Registry key cannot write..
Posted by caldera at 8/15/2004 7:19:03 PM
Hi,
I write a windows service. In that service I create a new subkey for registry. But service
install is call CreateSubKey() the program throw an exception to the event log said that
Cannot write to the registry key. What can cause to this message. Also I want to create sub
key from my asp.net ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Active Directory calls failing in production....
Posted by Ollie at 8/15/2004 7:12:34 PM
I know this has been asked before, I have read the answers given and I am
unable to get this work ( I don't know that much about AD configuration)
I have an asp.net web service that is designed to authenticate and maintain
accounts in active directory. It all works fine when the web service is ... more >>
Combobox and eventhandler
Posted by Lubomir at 8/15/2004 7:09:04 PM
Hi,
I have a combobox and datagrid in a form. When an Item is selected from a
combobox, a method is called, which will make selection from a database
according selected item and populate datagrid.
I used comboBoxLastName_SelectedValueChanged handler, but this handler is
called for every ... more >>
Web pages & the C# IDE
Posted by Adrian at 8/15/2004 4:50:20 PM
I see that I can use the IDE of Visual C#.NET to develop web pages.
I realize that this is off topic here, however I don't know of another
place to ask my question, which is:
Where can I find / buy good literature / tutorial to teach me how to
use the C#.NET IDE to build web pages? I am not lo... more >>
c# datagrid does not set GridColumnStyles
Posted by Jim Dougherty at 8/15/2004 4:45:02 PM
I am using c#.net 2003 and have an an application with a datagrid. The
binding is with an array of structs. Everything works ok except the header
text is the struct element names and they override any GridColumnStyles
properties I set. Additionally, the GridColumnStyles width I set does not ge... more >>
Data Binding to array/list
Posted by KCT at 8/15/2004 1:01:56 PM
I am creating a report screen then look like this :
ItemName Quantity
A 1
B 2
C 3
--End of Page--
The data is not store in the database. Supposely that my application gets
the data from a list or array, how do I do a d... more >>
Why has hungarian notation been abandoned?
Posted by wackyphill NO[at]SPAM yahoo.com at 8/15/2004 12:54:31 PM
Does anyone know the reasoning for Microsoft abandoning Hungarina
Notation in C#?
I have found it very usefull in C++. I like this style:
constant: MY_CONSTANT
methos: myMethod()
class: MyClass
variable: iMyInteger
Anyway I'm not crazy about the new style but wonder if there is a g... more >>
How can I use a dataset as datasource for a combobox?
Posted by Johan Goris at 8/15/2004 10:45:31 AM
I've tried to use a dataset as datasource for a combobox in the following
manner:
private void button1_Click(object sender, System.EventArgs e)
{
Classes.ProdOrders pr = new Classes.ProdOrders();
comboBox1.DataSource = pr.GiveList(1).Tables[0]; // a datasource is made,
sql is excec... more >>
Working online
Posted by MajorTom at 8/15/2004 9:55:20 AM
Hello group,
I need to know the best and best responsive way to determinate is a windows
form (or the desktop computer) is online (access to internet).
I particularly interested for a quick check.
TIA
MajorTom
... more >>
Textbox Input Problem
Posted by KartTalk.com at 8/15/2004 8:09:56 AM
Hi there,
I am very new to C# and the idea of OOP, however I do have some
non-OOP PHP background.
Anyway, here is the scenario --
I am writing a simple app to get my C# feet wet and it does distance
and volume conversions. For example 1 foot equals 12 inches ...pretty
simple stuff.
I... more >>
outlook gone out
Posted by Sreejith S S Nair at 8/15/2004 7:01:02 AM
hi,
On first site you may feel what happen this guy to screw himself ? I need an
application which will open outlook express and check for new mails(without
my interaction).If any new mails are there then it read the body (content) of
mail and store the body of mail to one database table fe... more >>
c# without .net?
Posted by Voltaic at 8/15/2004 5:22:33 AM
i need to create an app for Windows PE which runs with a minimal subset of
windows dlls. is it possible to code an app in c# that uses only core
windows dll files, or are c# and .net so inextricably tied that anything
you make w/ c# will require a laundry list of non-coming-with-windows dll
... more >>
|