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

Ado.net Entity Framework wcf data services problem

http://msdn.microsoft.com/en-us/library/dd728279.aspxshows This XML file does not appear to have any style information associated with it. The document tree is shown below.      <service...

View Article


visual studio

i use oledb database in my project but when i run my project it will give me error that is microsoft.jet.oledb 4.0 is not registered in local machine. so please give me solution and what can i do for...

View Article


A way to insert result of a sent mail DeliveryNotificationOptions.OnSuccess...

HelloI was asked if it is possible to insert into database if an mail is delivered and mail is read without manually inserting into database?

View Article

carriage return in Notepad

Hi TeamI am  Try into read a  Note Pad through C# . I want to the insert data by reading the file.But the Note Pad Contains a Square Like symbols. How can I detect the Square symbol and split the text...

View Article

Bloquear segunda tela

Estou fazendo um software em WPF que ira possuir uma tela principal e ira ter vários botoes.Ao clicar em um desses botoes ira aparecer uma nova tela.E a tela principal permanece aberta. Só que eu...

View Article


Image may be NSFW.
Clik here to view.

Settings.settings save Pattern type

I am trying to define Patterns on which an E-Mail is saved, in code i have been quite succesfull doing it like this:string Pattern0 = SafeFileName(currMail.SenderName);     string Pattern1 =...

View Article

How can I use LINQ2XML to create a Value Object

What is the best way to use LINQ2XML to generate ValueObjects with subitem lists. Here is an example of what I have in mind:CODE:using System; using System.Collections.Generic; using System.Linq; using...

View Article

save Properties based on ComboBox

hey there, I am currently trying to Change a Name pattern for e-mails that are saved on SharePoint through an addon that I'm developing.I have a Combobox, the pattern properties should Change based on...

View Article


Is it possible to control the initial location of the FolderBrowserDialog()?

Not sure whether it matters, but I am using that control from WPF.Is it possible to control the initial location of the FolderBrowserDialog()?It currently shows up very low.TIA,-Travis

View Article


format string area

using System; using System.Collections.Generic; using System.Collections; using System.Linq; using System.Text; namespace scratchpad2 { class Program { static void Main(string[] args) { int[] state_no...

View Article

How open and use a second Form in a project.

I have Form1 as the main form  and I want be able to open Form2 when I click a button in the main project. Can anyone show me some simple code to achieve this.?

View Article

Pit file and HL7

PIT file format is one of two industry standard formats used for the electronic transfer of investigation information such as pathology.HL7 is Health level 7.Question is how convert pit file to hl7...

View Article

Parallel.ForEach is not working C#

please run my program and tell me why the url is not getting added to listbox. i found also that my program is also freezing. please guide me what i made wrong to use  Parallel.ForEach ?does...

View Article


How do you make line spacing??? The output everything is all smushed together...

usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;namespaceEmployee{    classProgram    {        publicstaticvoidMain(string[] args)        {...

View Article

RadioButton and Throwing Exception

I have two radio buttons for the user to select the type of movie they like. This is just an example program, as I want to understand throwing exceptions better. When the user clicks the display button...

View Article


How to call a website that returns an XML response (Not a Web Service)?

I need to access an external website that returns an XML string (this is not a web service) and need to place the XML response into an XElement object so that I can process LINQ2XML methods on it. Does...

View Article

Help us report spammers!

Hello,I'm one of few members that report spammers regularly to fissues at microsoft dot com and I think everyone in this community should do it the moment they notice spammers, the customer support...

View Article


Write Excel formula in XML and load it dynamically

Hi,I looked in the forum but I didn't find anything close to what I need to accomplish. This requirement I have is a bit complex but at first, I would like to get the needed pieces. So here is the...

View Article

System.Net.Mail.SmtpClient - Error when sending to distribution list.

Hi, we have restriction on distributions lists:  Accept message from authenticated user only.My code is working if I send a mail to normal user but to the list its not working. I have...

View Article

Hide a C# user control class from public view

I am creating a user controls to be used in other user controls.  This user control that is used by other user controls should not be shown when the code is published into a DLL.I have tried to mark it...

View Article
Browsing all 31927 articles
Browse latest View live


Latest Images