all groups > c# > august 2003 > threads for tuesday august 19
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
Create a 32-bit integer from 2 16-bit integer
Posted by Tony Liu at 8/19/2003 11:29:00 PM
Hi, how to create a 32-bit integer from 2 16-bit integer?
Thanks
Tony
... more >>
Forms Position
Posted by Patrick De Ridder at 8/19/2003 10:39:00 PM
I have a form1. From it I can select form2.
Like so:
DataIO MyIO = new DataIO;
MyIO.Show();
I want MyIO to appear in a certain position on form1.
Say in position (0,0)
Which line of code would do the job?
MyIO.Location = new Point(0,0);
does not do the job.
Pleas help.
..... more >>
.Net profiler tool
Posted by john at 8/19/2003 10:32:54 PM
Does anyone have a good recomendation for a code
profiling tool that works with .Net? I'm trying to
squeeze out better performance on a web app and would
like to use a profiling too.
thanks,
john
... more >>
C# equivalent of shell command
Posted by Paul Speranza at 8/19/2003 10:20:35 PM
Does anyone know what the C# equivalent of the shell command is? I want to
play an mp3 file using the users default player.
Regards,
Paul Speranza
... more >>
Thread Question -=> System.NullReferenceException after exiting main()
Posted by David Elliott at 8/19/2003 8:00:04 PM
I have created an application that will dynamically load other DLLs (plugins).
The new plugin is a winform with an embedded IE Browser.
I am wanting to have the form to run in its own thread. This would allow for other
plugins and the main application to be free to do other work. I have writ... more >>
Connection String error
Posted by Phill at 8/19/2003 5:50:39 PM
I am trying to execute a stored procedure in MSDE. I
have SQL Server loaded on the same machine so I installed
it with an instance name of MSDE, the computer name is
PSHAW. I tried using the following connection string but
I get an error saying "unrecognized escape sequence".
_connectio... more >>
Calling class method from another class
Posted by Jan at 8/19/2003 5:26:59 PM
Here's the code with the problem:
class Startup
{
public static string Sym;
public static string PrevDate;
public static int [ ] Highest = new int[1800];
// ______________
public static void Begin ()
{
... more >>
compring two datasets
Posted by Sylesh Nair at 8/19/2003 5:09:43 PM
How can I compare the values in two different datasets ?
If I transform the datasets into two different XML files ... Can I do the
same ?
I find problem .. cos the Nodes for both the XML files are different .
Can anyone help ???
Thanks
Sylesh Nair
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem with databinding
Posted by Jeff Cook at 8/19/2003 4:55:48 PM
Hi
I am new to VS.NET and C#.
I am trying to do one of the exercises in a book "Teach
Yourself Visual Studio .NET in 21 Days" and I can't
figure out what is wrong with the following code:-
private void Load_Customers()
{
SqlConnection cn = new
SqlConnection
(@"Server=
(l... more >>
newbie: asp.net and remoting help required
Posted by ahakim99 NO[at]SPAM yahoo.com at 8/19/2003 4:42:42 PM
Hi I want to able to communicate between a machine running a web based
client, and another machine running another type of client.
When the aspx page is downloaded, there is button that sets the value
of a bool to either true or false. I want this value to be available
to another machine.
M... more >>
C# Web Portal Software
Posted by Jay Douglas at 8/19/2003 4:35:02 PM
I was wondering if anybody has heard of a web portal software for C#.
(Besides IBuySpy). Something that is community written would be perfect.
Something like PHP-Nuke ..... Any ideas?
... more >>
SQL Server Does Not exist
Posted by george r smith at 8/19/2003 4:19:47 PM
Gentlemen,
I know that this problem has happened before and I searched and tried
all solutions but
problem is not solved.
I install asp.net community starter kit with some help from this
newsgroup.Install went fine,
database was created on the SQL server machine... more >>
How can I decode the unicode?? that is very exigency
Posted by qushui_chen at 8/19/2003 4:15:42 PM
I store the MSSqlServer is Nvarchar(unicode),
the store data as "我就是我文本",
How can i decode in C#?
... more >>
Complete C# installation: problems.
Posted by Andrea Trevisan at 8/19/2003 4:03:26 PM
As I am a newcomer to C#,I'm trying tutorial tours included
in Visual Studio Academic english version:they are useful and easy to
understand and unfortunately easy to foret.Tonight I was examining
CollectionClasses sample and I hit string hyperlink to see explanations
about Split method.An ins... more >>
What pattern can be used instead of C++ macro?
Posted by Efim at 8/19/2003 3:22:47 PM
Hi all,
Due to performance issue, I want to pevent execution of ToString() function
in the code like the following:
if(reporting_level & DEBUG_LEVEL)
log(reporting_level,string.Format("Event of type {1} arrived. Event data:
{2}.",event,obj.ToString()));
It is clear that in Format it can b... more >>
Interfaces
Posted by Duncan McNutt .[FTSE] at 8/19/2003 2:51:36 PM
Why does code derive from for example, IComparer
ie,
class SomeClass : IComparer
{
public SomeClass()
{
}
public int Compare(object x, object y)
{
return someInt;
}
}
When it just uses that and could have done without deriving ICompare... more >>
convert string to float
Posted by Chi Tang at 8/19/2003 2:43:32 PM
Hi,
I try to convert a string to a float but it alway comes out with extra
value. For example, the string input is '12.6' but the output is
'12.6000003814697' The following is my code to do the convert:
float fBalance = (float)System.Convert.ToSingle("12.6");
Should I specify a format s... more >>
Microsoft Outlook 2000 and .NET/C#
Posted by Leszek at 8/19/2003 2:36:18 PM
Hello,
I need to develop a C#/.NET application that will pull out certain email
messages and attachements from MS Outlook .pst files.
When can I find any useful articles, pieces of code, samples, etc. regarding
Outlook vs. .NET interoperability?
Thanks,
Leszek Taratuta
... more >>
structer and metodh's
Posted by zerdust at 8/19/2003 1:18:28 PM
I use IE controls for treeview in C# and i want to make class ans use it but
I don't know which class structer and metodh's I have to use. does anyone
have a sample?
... more >>
Log On Locally
Posted by Ryan Folstad at 8/19/2003 12:21:20 PM
Could anyone point me in the right direction for information on how to give
a certain user the Log on Locally permission?
ie.. I ask for a username and password, upon succesfully auth i want to
give the user log on locally rights to the machine the windows app is
running from.
Thanks,
... more >>
WinInet and C# . Where to find examples?
Posted by netuser at 8/19/2003 11:43:28 AM
Where can I find examples how to use WinInet in C#? I saw
some in Wisual Basic, but none in C#.
Thanks.... more >>
possible DataSet.ReadXml bug? or maybe just a user error ;)
Posted by Tim Mulholland at 8/19/2003 11:26:19 AM
Hopefully someone can point out what is going on here. I'll give a short
explanation first, then a more detailed one at the bottom if anyone wants to
dig into it more.
I have a strongly-typed dataset (from a .xsd file in my project) called
dsConfig.
When i make the following call:
ds... more >>
How to override the operator =
Posted by apex at 8/19/2003 11:15:18 AM
Hi All :
How to override the class operator = like C++ ?
Best regards !
... more >>
path question...
Posted by craig at 8/19/2003 11:11:01 AM
I would like to write out a file to the same path on the hard disk from
where the program executable will be running. What is the best way to
determine that path from within code?
Thanks!
... more >>
Problem with datagrid
Posted by mario at 8/19/2003 10:42:04 AM
I using datagrid and windows form in C#
Question 1:
I have selected a specified row and if I resize the form with the datagrid
in it , I cannopt see anymore the row i have seleted until i scroll to it.
I want to do this...
the selected row must be all the time stay visible.
How can I do That... more >>
Determining chosen radio button?
Posted by vince at 8/19/2003 10:35:50 AM
Is there an easy way to determine which radio button in a
group has been chosen, besides having to put code in the
checkchanged or clicked event for each button in the
group...???
thanks,
vince... more >>
class declarations - basic question
Posted by Jason Shohet at 8/19/2003 10:31:42 AM
I noticed that there are two ways I declare classes:
1. public class xxxx { }
2. Somewierdclass myClass;
The 2nd example exists provided I have a 'using' statement at the top that
includes that class from some place. I am wondering, why does the 2nd way
not require a scope (ie public)... more >>
serialization of XML objects....
Posted by Jim at 8/19/2003 10:25:22 AM
Can I serialize an System.Xml.XmlNode object or is better to use the
'InnerText' method to extract the node defintion?
Cheers in Advance
Jim
... more >>
Reflection - PropertyInfo
Posted by Zanna at 8/19/2003 10:08:46 AM
Hi all!
A little question on System.Reflection.
I know that with the MethodInfo I can get if a method is public or private.
But for properties?
PropertyInfo does not contain a IsPublic property!
How can I get this information for a property?
Thanx
--
Math Parser : http://www.neod... more >>
Knowledge Base-artikel - 226473 in C#?
Posted by Brian Hansen at 8/19/2003 10:08:23 AM
Hi there,
I'ld like to know how to do the article HOWTO: Programmatically Query and
Set Proxy Settings Under Internet Explorer (Knowledge Base-artikel -
226473).
I'm using C#, framework 1.1, Windows 2000 Pro and I do have an understanding
with dll imports, if that's is going to be one of th... more >>
ListView Checkbox Location
Posted by Alan Gilmour at 8/19/2003 10:02:07 AM
Hi all,
Can you change the location of the checkbox in a listview.
i.e. instead of it always being in column 1 can you specify it to be in
column 6 for example.
Thanks
Alan
... more >>
Unable to Start debugging
Posted by Jim Chapman at 8/19/2003 9:58:25 AM
This is driving me nuts. I've been using VB.NET for about a year on this
machine and decided to try C#. This is what I get when I try to debug
(F11):
Window title = Microsoft Development Environment
Error while trying to run project: Unable to start debugging.
Unable to start program 'C:\... more >>
I want to clear "immutable" string contents
Posted by cppdev9 NO[at]SPAM yahoo.com at 8/19/2003 9:57:41 AM
Hi All!
I want to clear the string contents from sensitive information
such as passwords, and etc.
It's always a case that password will appear as string at some point
or another. And i feel uneasy leaving it hanging in memory indefinitely
(especially in case when string is Interned).
S... more >>
How the TreeView can automatically expand a path i have accessed before?
Posted by Steven at 8/19/2003 9:27:53 AM
Hello,
I have a problem in using TreeView.
I want to know how the TreeView can automatically Expand a path
I have accessed before? I have tried to use "path.Expand()", but
it seems no good working. Does anyone can give me any advise or
show me somecode for sample?.
Thanks.
... more >>
OleDb Exception
Posted by John Smith at 8/19/2003 9:17:45 AM
Hello all:
I am trying to insert a new row into a database after
populating all of its fields w/data and then adding the row
to my dataset's row collection. But when I call the
adapter's update method on the dataset I get an unhandled
exception error w/o a description. Any help is appreciat... more >>
Moving a control by mouse
Posted by Fredje at 8/19/2003 8:59:51 AM
Hello,
I want to move a control by mouse on a form. I use the following code to
mouse a label for example:
private void label1_MouseDown(object sender,
System.Windows.Forms.MouseEventArgs e)
{
drag = true;
x = e.X;
y = e.Y;
}
private void label1_MouseUp(object sender,
Sy... more >>
Regular expressions
Posted by Marc Scheuner [MVP ADSI] at 8/19/2003 8:47:20 AM
Folks,
I've started using regular expressions for parsing some data string
that come along - works quite nicely, however, as a newbie to RE, I'm
still struggling with some special cases:
1) I get strings representing decimal values, and they have the
following format:
* first, a plus or mi... more >>
COMException (0x80010108) - pls help
Posted by Marcelo at 8/19/2003 7:57:19 AM
Hi,
We have a software which uses some COM components.
Everything was working pretty fine, until yesterday, when
the COMException (0x80010108) ("the object invoked has
disconnected from its clients") started raising .
Could somebody point me what I could be checking to find
out what is... more >>
Debuger ..?
Posted by s at 8/19/2003 2:47:30 AM
Hi All ..
thank you for entering teh subject..
I am tring to write some C# code ... and I am facing few
problems ...
usually i sove them by usign the debuger which is:
Ctrl + F10
but in this way i am just debuging the current class ...
so if i am calling function in other calss it jus... more >>
|