all groups > c# > december 2005 > threads for saturday december 24
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
Generic parameter deduction
Posted by Andreas Mueller at 12/24/2005 8:21:13 PM
Hi all,
I have a method where the compiler is unable to deduce the generic
arguments. Now I'm asking myself if this a bug, or if not, why it isn't
working. The method in question is Foo3:
using System;
using System.Collections.Generic;
namespace ConsoleApplication10
{
class Prog... more >>
Off topic monitor question
Posted by WRH at 12/24/2005 4:35:29 PM
Happy holidays everyone!
I know this is off topic but this is a pretty sharp group...
Santa will be bringing me a new wide format monitor which
has lots of room to display windows side by side. The
thought occured to me however that it would be even nicer to
have two independent desktops sid... more >>
how transparent is a label on the picture?
Posted by wmhnq at 12/24/2005 2:20:10 PM
Hi, how transparent is a label on the picture?
thank you!
this.label1.BackColor=Color.Transparent;
this.label1.Parent=pictureBox1;
... more >>
Guid readonly?
Posted by Pohihihi at 12/24/2005 2:11:02 PM
I guess I am forgetting some rules, why I am not able to do following, =
says it is read only --
Guid[] a =3D new Guid[2];
foreach(Guid b in a)
b =3D Guid.Empty;
but can do as following --
int c =3D 0;
while(c < a.Length)
a[c++] =3D Guid.Empty;... more >>
multiple rejection
Posted by Aragorn_USA at 12/24/2005 1:42:29 PM
Hi everyone,
What I'm trying to do is, to match all the countries in a list, except
US and CANADA which is (CA).
I tried a lot, but none of mine worked at all. I'm new to regular
expressins and I looks completely none sense for me. I need this for
work ASAP.
Thanks everyone.
I was sta... more >>
Design issue: Struct vs. Class
Posted by Pohihihi at 12/24/2005 1:13:39 PM
After reading the thread "Struct faster than class?" I thought I should =
surely understand if I am doing anything wrong in my work.
First, Jon you are very professional. Excellent. I will wish you as my =
mentor.
Anyways, getting to my question --
I am in need of enums a lot in my projec... more >>
IDE very slow when saving file
Posted by Chad A. Beckner at 12/24/2005 11:13:01 AM
Hi everyone,
Ok, here's the deal. I have a laptop installed with VS 2005. I'm
programming in C#. When I am at home, connected to my LinkSys router, it
saves fine. However, whenever I am anywhere else, it saves very slowly
(takes about 1 minute), on the same file(s). Any ideas?
Thanks... more >>
cannot find Code Snippets Manager
Posted by kai at 12/24/2005 4:51:49 AM
Hi,
Base on MSDN help, in VS2005 IDE, select "Tools -> Code Snippets Manager",
but I cannot find "Code Snippets Manager" under "Tools" menu.
Also I noticed when I insert snippets in C#, it has far less options then
in VB.
How do I show "Code Snippets Manager" under "Tools" menu?
Tha... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ComboBox index needs to be set twice
Posted by Nadav at 12/24/2005 4:03:42 AM
Hello.
I have a combobox in a form (cmbNames).
The DataSource property is some arraylist of strings.
I have a button which is supposed to "clean" the combobox and deselect any
item.
Therefore, I do:
cmbNames.SelectedIndex = -1;
If index 0 was selected (meaning, the first item on the list) ... more >>
Non rectangular form
Posted by dsvagelj NO[at]SPAM gmail.com at 12/24/2005 4:03:17 AM
Hi. I wanted to create a non rectangular form (Winamp, BSPlayer), and I
followed the instructions in MSDN on the topic. Created a bitmap, set
the background color of the bitmap to blue 0000ff, set the bitmap as my
form background, set the transarency parameter of the form to 0000ff,
set border s... more >>
Problem in Xml
Posted by Curious at 12/24/2005 2:25:56 AM
Hi,
I am using the following code, and the xml being generated is shown
below:
XmlNode root = document.DocumentElement;
XmlElement element = document.CreateElement("rdf", "Stadium",
RDF_PATH);
element.SetAttribute("about", null, STADIUM_PATH+"/"+stadium.Name);
root.AppendChild(ele... more >>
xml serialization
Posted by virendra.chandra at 12/24/2005 1:47:29 AM
hi,
i wrote a method for writing a xml file. but it's throwing a exception
my files are like this
public class testforserialization
{
public testforserialization()
{
//
// TODO: Add constructor logic here
//
}
/// <summary>
/// Method to convert a custom Object to X... more >>
Fonts
Posted by Chris at 12/24/2005 12:12:54 AM
Is there a way to find out what fonts are installed on a user's machine?
I've created a ComboBox which allows the user to select font style and size.
If a user didnt have a font installed, I could catch it, but it would look a
bit unprofessional?
Thanks,
Chris
... more >>
|