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

Are Windows Services restricted from IO operations ?

Good Morning, Gurus.I'm having a bit of a problem with converting a conventional Windows App to a Windows Service.I have narrowed the problem down to a single (small) function as follows ... using...

View Article


array visibility question

I have an array that I am filling with data read in from a text file in a button click event and I am setting the size of the array based on the size of data read in.  In another click event I am...

View Article


Image may be NSFW.
Clik here to view.

PhraseCell, ImageCell , DrawLine Error in i textsharp C#

Dear All,May i know how to solve the error ? i had using system.itextsharp.text     cell = ImageCell("~/OUM/northwindlogo.gif", 30f, PdfPCell.ALIGN_CENTER); cell = PhraseCell(phrase,...

View Article

Migrating .net 2.0 C# web applications from server 2003 to server 2008

Hello,I have 2 really big websites that were developed in C# with .net 2.0 many years ago.  The server that is currently hosting the site is being retired and we are getting a Windows server 2008...

View Article

execution time of a method

How to track execution time for a method? Consider below method.GetData();//It can be a service call or database call etc...If GetData method takes more than 10 seconds, how to know as soon as TENTH...

View Article


Java soap message not getting deserialized in c# APP + SGEN

One of the Java webservices that I consume within my c# application has a returned type "marketCalendar" defined like following in the wsdl. WSDL's Target name space is http://www.xyz.com<?xml...

View Article

Summury button that holds data from previous caclulations

I NEED HELP. I cant find info on this any where.I made an application that adds up values from the selected check boxes you choose and puts the results into a label.I want to have a button that when...

View Article

Image may be NSFW.
Clik here to view.

How can I add a title on the button when I pass the mouse on it c#

How can I add a title on the  button when I pass the mouse on it like this image

View Article


overflowException on myDataset.Account.NewRow()

I know that overflow exception on database bound dataset.sometable.NewRow simply means there is the inconsistency of the sometable  in respect to the corresponding table definition.for example the...

View Article


Property template feature [C#6.0 new feature request]

I suggest a feature that help us to create similar propeties.This feature improve language productivity and maintainability.We frequently create properies something similar like this.  public String...

View Article

C# visual studio 2010 Dice program

i want to create an application in C# that rolls a die 60,000,000 times and displays 1's,2's,3's,4's,5's,6's but im not how to start it.

View Article

How to Add different colors to rich text box.

Hi,I would like to add different colors for different text inside a textbox / richtextbox / any other similar control. A simple example is in Yahoo Messenger, we can see different color for the user...

View Article

Way to get the list

Hi, Can you please share the way to list out all emails of friends, or any other email addresses to which the relevant account has ever send any mails, per the given valid Yahoo/Gmail account?Many...

View Article


Question with assemblies.

I have an older .NET solution that has some web forms and a controller to post an email. I'm trying to add a .NET Ajax controller so that I can handle some Ajax I want to add to the page. The problem...

View Article

Image may be NSFW.
Clik here to view.

C# Select all columns in a row based on disctinct value

Hi, I have excel like thisand I want to select disctint on Column 2, and I want result return as below I used the following code, but it only return value on column 2 which is only countrystring...

View Article


Visual Studio 2012 Blend WPF

Hi,I have installed the Updated 4 for Visual Studio 2012 Ultimate. How do I use Blend in Visual Studio 2012 to create a WPF application?Sincerely,Thiam Huat

View Article

Help with DllImport

I am trying to make a C++ native dll, then link that to a dll in C#. So from my understanding to do this, I have put in my C++ dll this:// dllmain.cpp : Defines the entry point for the DLL application....

View Article


Export Dataset into Excel Sheet in C#

Hi ,How to export data set into a new excel sheet in C#?Can you please help me?

View Article

Problem with OleDBConnection and WindowForm

Hello,this is my first post here, so dont get me wrong :p I have 2 diffrents problems with OleDBConnection. First problem is that when i open for example. access database my window from get smaller and...

View Article

Play a video with C#

Hello guys. I'm play a vide with Microsoft.DirectX.AudioVideoPlayback in C#. i'm tried to 'freeze' the last scene from video. I don't succeed, so I decide to show a picture with last sceen. And I don'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>