all groups > c# > october 2003 > threads for monday october 6
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
PropertyGrid Category Appearance
Posted by Nicolas at 10/6/2003 11:53:15 PM
I want to display in my application a PropertyGrid showing only the
"Appearance" of a control (ie. textBox) so the user can change it.
Bare with me, I'm new in csharp.
Where do I go from:
this.PropertyGrid1.SelectedObject = this.Textbox1;
Thank a lot
... more >>
Check this critical patch from Microsoft
Posted by Something Else at 10/6/2003 11:35:59 PM
Microsoft Customer
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which eliminates
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three newly discovered vulnerabilities.
Install now t... more >>
outlook properties
Posted by vasantha at 10/6/2003 10:05:37 PM
how to I set the "from" clause for an Outlook object... more >>
Does C# know respondsto: or similar?
Posted by Philipp Ott at 10/6/2003 9:34:30 PM
SGVsbG8hDQoNCkkgd291bGQgbGlrZSB0byBzZW5kIGEgbWV0aG9kIGJhc2VkIG9uIGEgc3RyaW5n
IHRvIGFuIG9iamVjdC4NCg0KSW4gU21hbGx0YWxrLCBSdWJ5IGFuZCBPYmplY3RpdmUtQyBleGlz
dHMgYSByZXNwb25kc3RvOiBtZXRob2Qgd2hpY2ggYWxsb3dzIHlvdSB0byBhc2sgYW4gb2JqZWN0
IGR5bmFtaWNhbGx5IGlmIGl0IHJlc3BvbmRzIHRvIGEgY2VydGFpbiBtZXRob2QgYW... more >>
Change tabPage at runtime
Posted by Jim at 10/6/2003 8:33:39 PM
After clicking on a row in a dataGrid, how do I change which tab is showing?
I want to switch from tab1 to tab3.
thanks
... more >>
parsing XML file with C#
Posted by sumaira ali at 10/6/2003 8:29:45 PM
does anyone know of a good tutorial about using C# to create and read
from XML files ?
thanks
sumaira
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
Calling C# dll from old C code
Posted by Glenn Roberts at 10/6/2003 8:20:44 PM
Hi,
I have old C (not C++) code which I want to keep, but want to add extra
functionality by calling functions from a C# dll.
....Is this (easily) possible ? :)
Thanks !
... more >>
What am I not getting?
Posted by Someone Around at 10/6/2003 8:06:55 PM
Hello,
I'm trying to instantiate a Tcp Channel.
I set a reference to System.Runtime.Remoting (1.0.5000). I use a using the
following header:
using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
Why can't I get intellisense for the Tcp Remoting? It... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Need help - Array to XML doc
Posted by Jim H at 10/6/2003 7:45:21 PM
I am on a project where I am supposed to send an XML document to a SQL
Server stored procedure.
The XML Doc is a list strings. If in my c# function I get a list values as
(string[] psValueList), how would I create an XML document from that. I am
assuming that the XML doc will be treated as a... more >>
ReadConsoleOutputCharacer API
Posted by Stefano Camaiani at 10/6/2003 6:01:27 PM
Hello, it's strange but in the web there are not (or i found not)
explanation on howto use ReadConsoleOutputCharacter from C# or Vb.Net....
Very much articles, but not one word of this particular API and also
ReadConsoleOutput too....
May be of this API is disabled on those new Languages?
R... more >>
how to make available the C# documentation in my DLL assembly
Posted by AA at 10/6/2003 5:43:16 PM
Hello, I was commented my class and copile it, when the compilation finished
th VS create the XML document
It is cool because I can use to generate MSHelp documentation but, when I
import my commented assembly from another project, and use it I can see any
comments
I want to see the documenta... more >>
Help! I can't find my child
Posted by Jon at 10/6/2003 5:30:31 PM
I am writing an MDI app that uses a document manager class
to keep track of opened child windows. I want the user to
be able to close a child window, but then re-open the
window from the "Window" menu if they want.
What happens to the child window after it is closed? Even
though my docu... more >>
Dot bet Sql and memory consumption
Posted by marcel at 10/6/2003 4:24:31 PM
Recently we have been looking at converting our systems over to Dot net.
What has been of concern is the excessive amount of resources that a C# SQL
web page requires as apposed the ASP/SQL
We have recently moved an ASP page to C# this page that creates a sizable
report.
Under WK2000/IIS... more >>
Parsing a UTC string from a weblog into a DateTime
Posted by Sterling Ledet at 10/6/2003 4:24:25 PM
I am trying to create a web service that takes a string from my web server
in the following format:
Mon, 6 Oct 2003 18:39:47 UTC
and put's in a datetime so it can then be reformatted in C# as necessary
for variuos purposes.
There is something wrong with the following code. I get the foll... more >>
Parallel Port
Posted by Ibrahim Hammad at 10/6/2003 3:51:26 PM
Is there any method to access the computer ports(eg.
parellel port) throw C#.... more >>
Transition from ASP/COM+ to ASP.NET model
Posted by Mike at 10/6/2003 3:38:59 PM
I have been developing ASP applications for quite a while now. Most of the
apps that I deploy are a typical n-tier setup. ASP GUI on a web server,
Business and Data Components written in VB6 running in COM+ on a separate
server with the SQL database residing on its own server.
I don't really... more >>
standard template library
Posted by Brian O'Haire at 10/6/2003 3:36:33 PM
Does C# have the equivalent of C++ standard template library? If so, can
you point out where the documentation is located?
Thanks
Brian O'Haire
... more >>
Giving a TextBox the Focus when the form comes up
Posted by Randy at 10/6/2003 3:34:01 PM
Hello all,
I have a form with a text field (textBox1) on it.
Apparently, textBox1.Focus() doesn't work when the form is initializing. I
put this in the Constructor and also in the Load event for the form.
textBox1 still doesn't get the focus when the form comes up. How do you do
this?
Thanks
... more >>
Don't want to use codebehind...
Posted by M at 10/6/2003 3:23:29 PM
Hello. I need an example of how to call an assembly function/method from a
webform page. I don't want to use a codebehind (nor embedded c# code), like
so:
<asp:DataGrid runat="server" id="Datagrid2" DataSource=<%#
getMyList(Convert.ToString(DataBinder.Eval(Container.DataItem, "Locatio... more >>
Why am I unable to catch exceptions thrown in static constructor?
Posted by Vijayakrishna Pondala at 10/6/2003 2:54:11 PM
Hi,
I am not able to catch exception that has been thrown from a static
constructor. I am using .NET v1.0. I am getting 'Unhandled Exception....'
Help!!
Here is my code snippet:
public class StaticTest
{
public StaticTest()
{
}
static StaticTest()
{
int i = 0;
try {
int j = 12/i;
... more >>
how to use Form1 listbox from other class within the same namespace
Posted by Robert at 10/6/2003 2:51:43 PM
Hi
I have an Form1 class generated with studio with an listbox on it.
how can i access this listbox from other classes ?
public class Form1 : System.Windows.Forms.Form
{
public System.Windows.Forms.ListBox listBox1;
private void button1_Click(object sender, System.EventArgs e)
{
... more >>
How i can select table1 and insert into table2?
Posted by Michael at 10/6/2003 2:23:24 PM
Hello NG
i use Microsoft SQL server
and my problem is how i can select table1 into the dataset and insert this
datas into table2 (backup table).
Has someone a idea or a code example?
Thanks
Michael
... more >>
ComboBox - set focus?
Posted by Ed Stewart at 10/6/2003 2:22:43 PM
Hello. I'm creating an application that requires user input into a ComboBox,
and I'd like to have the cursor appear in this emtpy ComboBox when the
application starts. I had a plain TextBox, and the cursor started there
automatically; to implement a history feature, I've moved to a ComboBox, but
... more >>
Close window after MessageBox
Posted by PawelR at 10/6/2003 1:56:36 PM
Hello group,
In my apps I connection to SQL database.
try
{
//connect to db
}
catch
{
MessageBox("Error Connect. Close Apps?","Sql
Error",MessageBoxButtons.OKCancel,MessageBoxIcon.Error);
}
When db is connection error apps show messagebox with button OK and Cancel.
My question: How ... more >>
Question about casting datatypes
Posted by vcinquini NO[at]SPAM ig.com.br at 10/6/2003 1:55:43 PM
hy = new System.Web.UI.WebControls.HyperLink();
Why this doesn't work?
if(something == true)
hy.NavigateUrl = "email.aspx?id=" + (string) p+1; ****
but this works correctly?
if(something == true)
hy.NavigateUrl = "email.aspx?id=" + Convert.ToString(p+1);
**** this way I got th... more >>
database sample application
Posted by Iwan Deni Budihalim at 10/6/2003 1:26:02 PM
where i can find sample application of accessing (select, insert, update,
delete) database ?
Thanks.
... more >>
How to find out where Internet Explorer is?
Posted by Morten Wennevik at 10/6/2003 1:22:08 PM
I use
System.Diagnostics.Process.Start("IExplore", url);
to start Internet Explorer when clicking a link label.
However, this seems to work only for me, and not for two other people who
both get File not found errors. Both have installed Internet Explorer.
How can I find out the directo... more >>
Shadows again, Databound listview article
Posted by Nic at 10/6/2003 1:14:51 PM
Hi,
The original creators of the ListView control never
envisioned that we'd want to override the Columns
property with our own version, so they didn't mark it as
Overridable. This means we can't simply override the
property. Fortunately, we can use the Shadows keyword to
override a met... more >>
Should I Dispose() an SqlCommand object?
Posted by Henrik Dahl at 10/6/2003 12:57:18 PM
Hello!
After I've finished using an instance of the SqlCommand class, should I then
invoke Dispose() on the instance. I suppose so, as there is a Dispose
method, but what does it actually release?
I would basically prefer to skip invoking Dispose() as this will free me
from determining when... more >>
Window position Syncronising
Posted by Mr.Tickle at 10/6/2003 12:03:09 PM
Is there a better way to synchronise 2 windows positions appart from
listening for WINDOW A Location Changed event and sendint the new location
to WINDOW B?
Could this be done with docking?
... more >>
need a code sample for heap sort
Posted by Mark Kamoski at 10/6/2003 11:55:13 AM
Hi Everyone--
Please help.
I need a code sample for heap sort.
Thank you.
--Mark
... more >>
need a code sample for quick sort
Posted by Mark Kamoski at 10/6/2003 11:54:28 AM
Hi Everyone--
Please help.
I need a code sample for quick sort.
Thank you.
--Mark
... more >>
need a code sample for merge sort
Posted by Mark Kamoski at 10/6/2003 11:53:59 AM
Hi Everyone--
Please help.
I need a code sample for merge sort.
Thank you.
--Mark
... more >>
need a code sample for insertion sort
Posted by Mark Kamoski at 10/6/2003 11:53:25 AM
Hi Everyone--
Please help.
I need a code sample for insertion sort.
Thank you.
--Mark
... more >>
need a code sample for exchange sort
Posted by Mark Kamoski at 10/6/2003 11:52:47 AM
Hi Everyone--
Please help.
I need a code sample for exchange sort.
Thank you.
--Mark
... more >>
need a code sample for bubble sort
Posted by Mark Kamoski at 10/6/2003 11:52:04 AM
Hi--
Please help.
I need a code sample for bubble sort.
Thank you.
--Mark
... more >>
Handle to Printer Device
Posted by Pete L at 10/6/2003 11:48:27 AM
I am upgrading a VB6 program to C#. I need the equivelant
of the following VB6 statement, to pass to a 3rd party
control.
Printer.hDC
Thanks for the Help
... more >>
How to use IE to display XML dynamically in an WinForm?
Posted by Winston at 10/6/2003 11:36:59 AM
Hi,
I want to use the Webbrowser Control (the Internet Explorer Control) to
display an XML-structure within a C# WinForm.
The way the IE displays a XML-file in its native form is exactly what I need
(as tree structure with plus/minus).
This works great as long as I load the XML to display fro... more >>
VB.NET Handles too C#
Posted by nic at 10/6/2003 11:30:38 AM
Hi,
In VB.NET there is following code :
Private Sub mItems_Invalidate() Handles Columns.Invalidate
DataBind()
End Sub
How can I translate that to C# I know following
private void mItems_Invalidate()
{
DataBind();
}
But what with Handles Colums.Invalidate??
Thanks,
nic
... more >>
Shadows in C#
Posted by nic at 10/6/2003 11:25:52 AM
Hi,
In VB.Net schadows exists to hide a base method with his
different signatures.
What is the equivalent in C#?
new hide only the method with the same signature.
Thanks
Nic... more >>
Intermixing C/C++
Posted by Marc at 10/6/2003 11:20:20 AM
Is there a way to mix in regular C or C++ code with C# code? If they can't
be in the same file, then is there a way to use code in a .c or .cpp file in
your Visual C# project and have it correctly compile into the program?
Thanks,
Marc
... more >>
Book recomendation?
Posted by Scott Metzger at 10/6/2003 11:09:16 AM
Hi,
I am looking for a good book on C# and dot net.
I have 10 yrs programming experience. Mostly with C++, databases, and
GUI front ends in windows.
I don't have alot of money to buy a whole bunch of different books; nor
do I have alot of time to read a whole bunch of different books. S... more >>
PrintPreviewDialog Print Icon not printing
Posted by Randy at 10/6/2003 11:00:15 AM
Hello all,
I'm trying to print using PrintPreviewDialog. What's happening is that the
PrintPreviewDialog shows the correct information to be printed, but when I
click the print icon, it prints a blank page. If I comment out the
printPreviewDialog1.ShowDialog();
and just do a
printDocument1.Pri... more >>
PropertyGrid control - need advanced help
Posted by James Divine at 10/6/2003 10:42:12 AM
Greetings all,
I am using a PropertyGrid control in my application and I'm having
trouble finding documentation on it. I have my basic PG built and can add
Properties of standard types (int, bool, string)... but I need to know how
to add more complex Properties (like other classes). O... more >>
Win32_Printer: System.NullReferenceException - Additional information: Object reference not set to an instance of an object.
Posted by jagman98 NO[at]SPAM attbi.com at 10/6/2003 10:25:24 AM
Getting NullReferenceException walking through printer properties:
ObjectQuery names = new ObjectQuery("SELECT * FROM Win32_Printer");
ManagementObjectSearcher printQueues = new
ManagementObjectSearcher(names);
ManagementObjectCollection queryCollection1 = printQueues.Get();
... more >>
Convert a string to stream
Posted by Randy at 10/6/2003 10:06:13 AM
Hello,
Is there an easy way to convert a string to a stream?
Thanks
... more >>
Debugging single c# class
Posted by omar_baqueiro NO[at]SPAM hotmail.com at 10/6/2003 10:03:38 AM
I was wondering if it is possible in c# to debug a single class or
class function. I mean, in Java i can make a class and then initiate
it passing the parameters (like command line parameters) and then
debug it.
thnks.... more >>
Help !
Posted by Gary at 10/6/2003 9:29:28 AM
HI,
I'm facing a problem while updating a ADO recordset after modifying its
records using the Dataset( ADO.Net).
I'm calling a method of a COM component from C# code. The method returns a
disconnected ADO recordset object which I use to fill the Dataset using the
OleDbDataAdapter.Fill... more >>
Highlight text in a textbox
Posted by Cox at 10/6/2003 8:55:30 AM
How would I go about highlighting text in a textbox?
... more >>
Help with ComboBox control
Posted by fragget at 10/6/2003 7:58:24 AM
Hiya-
I wrote a color combo box control that shows colors
in the drop down part of a combo box.
The control
works great, however, whenever I drag any of the controls
around on a form this control is on (the color control)
the following code gets added to the form the control
sits on.
... more >>
Strange memory problem in threaded application.
Posted by Andla Rand at 10/6/2003 7:38:56 AM
Hi,
I almost feel like giving up on developing on dotnet. I have done
several threaded programs with the goal to parse webpages and I have
tried WebClient and then WinSock. Both programs has memory leaks not
handled by the Garbage Collector. I don't know why my program eats so
much memory. I ... more >>
RichTextBox and C#
Posted by Alexander.Stuckenholz NO[at]SPAM Ruhr-Uni-Bochum.de at 10/6/2003 7:19:22 AM
Hello.
I´m trying to load a RTF-File into a RichTextBox by using the LoadFile
command.
The Rtf-File was created in Word and has a header and a footer.
When loaded into the component whether the header nor the footer is
shown.
What do i have to do?
If the component isn´t able to load such ... more >>
Java/C# code example
Posted by Nicholas.Potts NO[at]SPAM btopenworld.com at 10/6/2003 4:42:42 AM
Hi, I'm trying to findout the equivalent code in C# for the following
Java example that extracts information from an HTTP request header.
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class BasicServlet extends HttpServlet {
throws IOException {
Print... more >>
Enumerating Windows Network Resources
Posted by Rohan Ranade at 10/6/2003 3:30:41 AM
I am trying to implement a crawler in C# that scans all
the shared folders in remote computers in a windows
network. Are there classes in .NET to do this directly?
Please help.
Thank You.
Rohan... more >>
Write into WIN Registry
Posted by Pepe at 10/6/2003 12:35:22 AM
I want to write same key and value into windows registry.
Can you help me, how I can do it?... more >>
Process.MainWindowTitle & Win Service
Posted by Rajesh Abraham at 10/6/2003 12:20:51 AM
In the code below, I am getting the title as null for all
the process when the function (BisLayer) is called from a
windows service. However the same function when called
from a windows from gives the proper result. I tried to
run the service as localSystem and as administartor but
both gi... more >>
|