| Thread | Last Post | Replies |
|
| short res = shortA + shortB result in compiler error. Why? | 22 Nov 2006 20:29 GMT | 10 |
The following code result in the following compilation error: Error 1 Cannot implicitly convert type 'int' to 'short'. An explicit conversion exists (are you missing a cast?) short a = 1;
|
| Error reporting with SmtpMail.Send() | 22 Nov 2006 20:28 GMT | 3 |
I want to add guaranteed delivery (or at least guarantee sent) to some code using SmtpMail.Send(). The method is void. Does Send() throw exceptions if it cannot connect to the Smtp server or has some other error? I could then store the message on an MSMQ and retry later. What ...
|
| ConfigurationManager Seemingly Simple | 22 Nov 2006 20:20 GMT | 3 |
I am trying to read the appsettings section of a configuration file using the ConfigurationManager object (ASP.NET application) with the following three lines but for some reason the ConfigurationManager does not recognize there is an appSettings section in the file and the last
|
| The Reason why ComboBox control is unfinished (3 times !) | 22 Nov 2006 20:15 GMT | 2 |
I have a question : the ComboBox control have NO single border, and height is at least 1 pixel higher than TextBox. There is absolutely NO good reason for making a ComboBox looking that way. My question is WHY Microsoft did that in the 3 versions of Visual
|
| Problem with return type in webservice | 22 Nov 2006 20:13 GMT | 3 |
I am having trouble with my first effort at developing a web service. I have a methods, outlined below which should return a DataTable. [WebMethod(Description = "Gets details for contact for the ID provided")] public DataTable GetContactsforCompany(string sID)
|
| VirtualPathProvider without a file name | 22 Nov 2006 19:44 GMT | 1 |
I am working on a VPP and i would need some help. I built my VPP using the model in the Sept 06 issue of Visual Studio Magazine article RESTful ASP.NET app (Page 46). I got the code done (In C# instead of VB.NET) and if i use the url
|
| Load different CSS files for different browsers | 22 Nov 2006 19:38 GMT | 2 |
I have a CSS file which shows things perfectly in IE, but it doesn't work in Opera. If I change the CSS file for opera then it doesn't work in IE. We only support these two browsers. What I need to do is find out which browser I am in. If it is IE then
|
| Interfaces in a separate assembly...remoting | 22 Nov 2006 19:36 GMT | 5 |
Hello, I'm hoping someone might be able to help me out. I'm creating a shared assembly with my interface definitions similar to the following. When I try to compile the RemotingInterface, everything works. When I go to compile the RemotingServer assembly, I receive the following
|
| Listview click question | 22 Nov 2006 19:13 GMT | 2 |
I want to catch the event when I click the listview. However, if the listview is empty, I cannot catch the click event.
|
| UserControl and BindingContext | 22 Nov 2006 18:59 GMT | 6 |
I have created a UserControl that encapsulates a third party data grid. My goal was to create my own DataSource and DataMember properties that forward the binding to the third party grid, then use binding like normal.
|
| Firing Events using reflection | 22 Nov 2006 17:20 GMT | 2 |
I looked high and low for code to do this and finally found some VB code that did it right. This is a C# flavor of it. public event EventHandler<EventArgs> MyEventToBeFired;
|
| C++/CLI managed Enum appears empty in CSharp | 22 Nov 2006 16:35 GMT | 3 |
I'm trying to define an enum which will be used from unmanaged c++, C++/CLI managed c++ and from C#. I defined the following enum in a VS dll project set to be compiled with the /clr switch:
|
| Thread ending | 22 Nov 2006 16:21 GMT | 10 |
Since a thread doesn't have a Stop feature and I'm not supose to use abort, I'm wondering how I stop a thread? My problem is that I simply want to excute a function in the background and possibly "restart" it.
|
| C#.Net in VS8 | 22 Nov 2006 15:56 GMT | 4 |
Where is a Modules window of list of modules in C#.Net in VS8? How to enable and disable Browse info in C#.Net?
|
| attributes on enum members? | 22 Nov 2006 15:44 GMT | 5 |
I have an occasion where it would be useful to add attributes to individual enum members, and I can do that very well enough, the problem is: how do I access them "after the fact"? the obvious
|