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

thread launch ShowDialog() lock main UI

We have Main form application.  The form has a timer tick that calls our static updater class: MyUpdater.CheckForUpdates();We have a custom form that we use for our message boxes also.  I've included...

View Article


Create/edit contacts?

Hi all, I'm very new to developing and have an idea for an app. Before I start learning developing in VS, I have hopefully a very quick question to find out if my app is actually technically...

View Article


Develop applications for Windows Media Center on Windows 8.1

I've downloaded the (latest?) Windows Media Center SDK (6.0) and I'm having difficulties getting anything built and working with Windows 8.1 (.Net 4.0/4.5)I've noticed that MyMovies seems to be based...

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

dropdown selection

#region TravelHrs public void travelhrs() { if (ddlServicesserv1.SelectedItem.Value == "Travel Time") { DateTime dFrom; DateTime dTo; int val1, val2, val3; string sDateFrom =...

View Article


I AM C# .....HELP HELP HELP!! PLEASE HELP ME !!!!

As we know that, if any function declared as 'private' then you can not access it from out side of the class.But here is an example, that I want to show you, and I want to know that how and why it is...

View Article

How to open a service through C# with admin privileges?

I need to open service through my C# application and currently when I run the application it says that Windows cannot open that service on this computer, How do I open the service with admin rights...

View Article

Strange, i Failed calling this function from another form!

I created two form on my project, Form1 and Form2,on Form1, i create a function like below:public Form1() { InitializeComponent(); this.FillData(); } public void FillData() //tambah public supaya bisa...

View Article


sslstream size limitation

Hi,I am using TCP Client connection and the SslStream to read the data(Download the mails).But when i use the sslStream it returns mi 70 bytes irrespective of the number of bytes specified.Is the any...

View Article


Connect to standalone machine

Hi,I want to connect to the standalone machine.My task is to connect to all machines in my IP range and listout the OS of all machines which is using my internet.When i am performing with WMI i am able...

View Article

Single Login

In Asp.net i want to create a gmail like or yahoo like login where once you logged in to your respective account then same account can not be again logged in until and unless first login is logged...

View Article

VirginiaAutoRentalClasses and Auto-Implemented Properties

I have a couple of questions if you don't mind.I know they are pretty basic but you are familiar with about where I am right now. I have created multiple classes and auto-implemented the properties. I...

View Article

TCP/IP Reconnect feature

Hi All,In my application, i want reconnect a feature for a TCP/IP socket connection. I mean once user clicks connect if the client doesnt get connected in some interval (say timeoutInterval = 3...

View Article


Character conversion XML - Xdocument

HI,I'm creating a application in c#, in application i'm loading xml document using XDocument class, whenever i load and save the document, the special characters are converted. ex: from "–"...

View Article

when I rebuild my C# program, always got error MSB3021. I could not solve...

When I open Microsoft Visual Studio 2010, and open a solution, then rebuild, it works ok.   If I rebuild again, I will got this error.error code is "error MSB3021".When I start debug, it will...

View Article


Always List box index is returns value Zero while moving from source listbox...

hi i am moving items between listboxes. Source listbox values are populating from DataBase SQL server. When I Select an item from Source listbox and click on add button, no matter which item i...

View Article

Three year old code suddenly broke for some servers, and not others

No changes to the code were made, but suddenly File.Exists(path) started returning true even though there was no file there. (and no spaces in the file name.)  It appears to be related to changes in...

View Article


Improve SslStream.Read performance

Hi,    I am using TCP\SSL Stream to access gmail account. However the rate at which i am able to read  is on average 1400 bytes per call to SSLStream.Read() and hence takes a lot of time to download a...

View Article

Image may be NSFW.
Clik here to view.

How do i add the content in the variable string radableRss the same format to...

This is the code in form1 load event:public Form1() { InitializeComponent(); readableRss = RssReader.covertRss("http://rotter.net/rss/rotternews.xml"); lines = Regex.Split(readableRss, "\r\n")...

View Article

what is the common encryption algorithms in c# and c++

i want to encrypt from c# and then decrypt from c++.

View Article
Browsing all 31927 articles
Browse latest View live


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