| Thread | Last Post | Replies |
|
| Cannot convert type 'System.Windows.Forms.HtmlDocument' to 'mshtml.HTMLDocument' | 22 Mar 2006 05:06 GMT | 2 |
I am very new at .Net. I have a small project where I need to manipulate the contents of a web page. I have a form with a web browser control (webBrowser1) on it. Within the webBrowser1_DocumentCompleted method I have the following code.
|
| microsoft.public.dotnet.languages.csharp | 22 Mar 2006 04:03 GMT | 2 |
I am using C# to connect to a MySQL server and I need to be able to save a fully qualified path into a table however MySQL strips out the path separator character "\". Is there a way in C# to replace all occurrences of "\" with "\\" in a string?
|
| Converting a float to a string | 22 Mar 2006 03:16 GMT | 5 |
float.parse(MyString) seems to work to convert a string to a float, but how do I change it back? e.g.
|
| how does the rownumber change after rowscopy | 22 Mar 2006 02:16 GMT | 2 |
I'd like to know how does the rownumber - getrow() if copy rows to the datawindows itself, what's there new row numbers. for example, if i have dw have 10 rows, if copy rows 3-5 and insert the 3 rows before row 9, what are the new copied row number?
|
| Moral development question issue... | 22 Mar 2006 01:52 GMT | 2 |
I didn't know where else to post it, so I posted it here. Since it's more technical than anything, I assume that you guys have an answer :-) I've been trying to find an answer for this question for some time, but I haven't been able to. I have a client with a small business that ...
|
| Get Type Of Class - Create Instance? | 22 Mar 2006 00:39 GMT | 2 |
System.Drawing.SystemColors is a class with all static properties. Here is what my short-ranged goal is... I want to enumerate all of the SystemColors properties and print the name (using reflection), and I am able to do this:
|
| Arrays of Multidimensional Arrays? | 22 Mar 2006 00:15 GMT | 9 |
I new to C# and trying to store/extract a collection of multidimensional arrays. For example; string[,] a_DATA = new string[10,3] object[] o_CON = new object[10]
|
| Getting the century only from a year | 21 Mar 2006 23:26 GMT | 5 |
Is there a format that can be used in DateTime.ToString() that will allow you to get only the century of a given year. "yy" of course doesn't work, that returns the year itself, not the century.
|
| saving rich text box data! | 21 Mar 2006 22:41 GMT | 5 |
I have a rich text box that can have hyperlinks ect within the text! when I save this data to file how should I do it? that is can I just save it as text? or do I need to serialize it beforehand to preserve the hyperlink info?
|
| enumeration question | 21 Mar 2006 22:21 GMT | 2 |
I almost never use enumerations. I've been given a class by using XSD /c on a schema file. This will be used to generate an XML file It gives me back lots of classes Anyways one of those classes is
|
| N-tier single project or multiple projects? | 21 Mar 2006 22:14 GMT | 3 |
For your N-tier solutions. Have you architected your UI, Business, and DAL layers into one single project or have you separated them out into separate projects? What would be the benefits of having all 3 layers in one project vs breaking them out to there own separate projects?
|
| Question regarding partial classes | 21 Mar 2006 22:10 GMT | 2 |
Partial Classes allow you to split code between two or more physical files, and during compilation they are re-joined, or so the book says. If that's the case why is it that I must have namespace using directives in both classes otherwise I get build errors?
|
| Subclassing question | 21 Mar 2006 22:10 GMT | 4 |
How can you subclass a control and override just a sub-property like Font.Size? I was trying to do something like this: namespace Compeat.Common.Controls
|
| Out-of-process COM object in C# | 21 Mar 2006 22:02 GMT | 2 |
Does anyone have an example of doing this? Regards Simon.
|
| Getting an icon for a window out of a resource. | 21 Mar 2006 22:00 GMT | 3 |
I have an icon file stored as part of a program as a resource (Embedded Resource). How can I get the file out of the resource to be able to set a window's icon to the icon? (I know the icon is there because I can pull it out as bit map and display
|