Quantcast
Channel: Visual C# forum
Browsing all 31927 articles
Browse latest View live

What is the difference between C# and C#.Net?

Hi all,What is the difference between two words "C#" and C#.Net"Regards,Benin.

View Article


RDF support in C#

I asked this earlier this week and Neddy Ren moved my post to the off-topic section so I won't get an answer.  I don't know how to move the post back. Neddy Ren claimed that my question had nothing to...

View Article


Image may be NSFW.
Clik here to view.

Padding the List of points is not working good yet. What could be the problem...

This is the method im doing inside the calculation:private static List<PointF> ExtendPoints(PointF pt1, PointF pt4, int numberOfPoints) { if (!extendedPoints.Contains(pt1)) {...

View Article

Image may be NSFW.
Clik here to view.

Become our FIRST Microsoft TechNet C# Guru of 2014!!

Happy New Year!Time for a fresh start!We're looking for the first Gurus of 2014!!This is your chance to make your mark on the Microsoft developer community.All you have to do is add an article to...

View Article

Image may be NSFW.
Clik here to view.

WCF.. Host error can not

I am using this: ("http://localhost:8090/whereever");

View Article


How to place method references into a SortedList

I am looking to create a dispatch table using SortedList.Since I'm using unique text tokens, the key isn't a problem.However, I haven't yet been able to figure out how to place the method references...

View Article

dynamic tool tips for tab control

Hi allI have a tab control with ShowToolTips = true. It works fine for static tool tips that I assigned to the tabs using ToolTipText property. Now I need to make the tool tips dynamic, i.e. change the...

View Article

What is difference between abstraction and abstract class ?

What is difference between abstraction and abstract class ?

View Article


How to refence the folder path in C# from a shared folder

I have a console app that uses a text file to read off of from the same folder as the .EXE.  When I run it directly from the folder on the share drive, it works fine. When I run it from a schedule task...

View Article


ApplicationSettingsBase.Save() works, but where is the saved data?

I have an application with Settings, so it creates all the configuration for me.I have the code like Properties.Settings.Default.MyNumber = 123;   Properties.Settings.Default.Save(); It works fine,...

View Article

Static extension methods

Hi,Anyone knows if static extension methods are on their way for C# 4.0? So people could have methods like Color.ToPoint3, etc.Thanks,Aw

View Article

Populating data from dropdown in one page to textbox in another page

Hi,In Timesheet application services venue Startime Endtime BF Lunch Dinner Total sunlinkbtn txtbx(s1;s2;s3) txtbx txtbx (9:30AM) txtbx(7:00PM) txtbx txtbx txtbx txtbx MonLinkbtn ... tue wed thu...

View Article

Custom C# class library problem: Access VBA generates error 429 ActiveX...

Hi. Tearing my hair out with this one!I've created a simple C# class library using Visual Studio 2010 to compress/decompress files using .NET GZip. It works fine on my development machine but I need to...

View Article


How do i remove from a List dupilcate coordinates ?

This is the code:private static void RemoveSamePoints() { List<Point> PointsInt = new List<Point>(); for (int i = 0; i < extendedPoints.Count; i++) { PointsInt.Add(new...

View Article

Image may be NSFW.
Clik here to view.

problems with Publishing my C# project

I can run my project in debug and it will work,but when I try to Publish it, it get these errors from out of nowhere:

View Article


C# Microsoft SPeech Recognition Enabled Problem? Must repeat word twice.

Each time a word is identified I want to turn one grammar off and the other one on. private void sRecognize_SpeechRecognized(object sender, SpeechRecognizedEventArgs e)        {...

View Article

OleDBConection to worksheet sheet 1

The Following code reads in Sheet one from the Excel file when the Sheet name is EOM. Is there a way to read in sheet 1 with out specifying the sheet name ?conn.Open(); string con = null; if...

View Article


Weird behavior of background worker in windows 8

Hi,I am facing a weird issue regarding the background worker. one of my code written in background worker was running correctly when I was having windows 7 machine but now it is keeps on giving error...

View Article

Understanding IDisposable

A while back we were having issues with memory leakage. So, we went through our system and implemented IDisposable on pretty much all of our controls. Basically, we just created a Dispose method for...

View Article

Cannot list all LDAP attributes using C#

I posted this question up on SO (here: http://stackoverflow.com/questions/20957243/cannot-list-all-ldap-attributes-using-c-sharp), but thought the MSDN forums might be more responsive in getting this...

View Article
Browsing all 31927 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>