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

making *.MSG message files

I been having some problems getting the information I need or I just don't under stand what I'm reading. Most messages are sent using the MS format of *.MSG. These files are for email and so on. I been...

View Article


How can I get HotSpot and Size of mouse cursor in C#?

Hi dudes, how can I get HotSpot and Size values of any mouse cursor, globally?Following code works only in my own application:Cursor.Current.HotSpot.ToString();Tip for Windows API?

View Article


Need help C# loading a .txt file's contents into a richTextBox

Ok so the way I have my Folder Browser set up is like this : http://gyazo.com/aa9b466649096bbe534282061282c588Anyway, I want to make it so that when i click on the .txt document, it displays the...

View Article

Beginner Question

Hello. I'm doing the online microsoft virtual academy to learn C#. I'd like to get a little practice using what I learned by creating a little console "story". I am unsure what is wrong...

View Article

Application Server - Always needs reboot after application update?

Hi,Every time I release a WPF application (4.5) via copy-paste assemblies) onto a dedicated application server -note I am not updating the version number of the exe or anything special) and override...

View Article


Why are braces used differently in these 2 examples

On the C# tutorial for the PictureViewer, there are differences in the way the [if] statement uses the braces for 2 similar buttons.Here is the 2 variations of code:First for the...

View Article

How to solve "error CS1061" ??

Hi Everyone,I have an error message when I try to run my program, this is error CS1061 like show below. But actually my program is success full to run before.. But I don't know why suddenly when I try...

View Article

C# datagridview backgroundworker update incomplete

my C# main form has many backgroundworker functions and the majority of the backgroundworkers are in the same form class.I have one backgroundworker calling child class which is pass the...

View Article


update datatable via datarow 2nd

Hi list,I have the following datatable, but do not know how to update dt. I can update events, but my aim is to update dt. Any idea please? DataTable dt = new DataTable();...

View Article


Sorting data from a TSV using C#

Hi, I want to sort the data accordinf to the 3rd column which I can but I need to leave the entire heading row intact which means I need to skip a row, dont know how, Also I need distinct data for the...

View Article

Help!!

Hi, I'm doing C# in uni and have a practical assignment. I've got everything else working except one line of codeand could totally do with some help.Basically, I have to create 2 clients, 2 servers and...

View Article

Failure Sending mail

String mail;mail = mailtxt.Text;MailMessagemsg =newMailMessage();msg.From =newMailAddress("kalaime2790@hotmail.com");msg.To.Add(newMailAddress(mail));msg.Subject = "key for joining to the...

View Article

Accessing derived class members: c# vs java

I understand we cannot access derived class members from base class in C#. But, in one of our other applications written in java with hibernate, I see that the application allows and does retrieve...

View Article


how to show snaplines at runtime

i developed drag and drop operations on my form.i have to show snaplines when drag a control to panel,to arrage specific aligment. all this done at runtime. how to done this plz help me.

View Article

How to return a value in Multithreading in C#

How to return a value in Multithreading in C#

View Article


How to sort Column Data of Excel usinf C#

HiHow to sort the entire row of excel based on the selected column using C#.I have an excel sheet containing data in diffrent columns(Say Column A,Column B, Column C), Based on Column A, I want to sort...

View Article

Delete an item from an array.

I want to delete an item from an array. I thought that it is simple but it is not.Say [2 1 9 4 6 56 4 90 3 4] int index = Array.IndexOf(array,x); // to delete x from array List<string> remain =...

View Article


ftp get latest file

Good day allI have a recon windows service which will download a file which is posted on a ftp site each morning.At the moment i am listing the directory, getting the last file , an process that file....

View Article

How to decode Currency Rate in JSON via C#?

After I paste the following URL to the web browser and it returned an JSONThe Link is:http://rate-exchange.appspot.com/currency?from=USD&to=EUR&q=1The Return JSON is: {"to": "EUR", "rate":...

View Article

How to open a URL in a webservice

Hi,In my infopath form, I created a submit data connection, when the form is submitted, it calls a webservice. How should I launch a webpage from this webservice.I tried the following, but it didn't...

View Article
Browsing all 31927 articles
Browse latest View live


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