Click here to Skip to main content
12,406,687 members (54,849 online)
   

C#

 
AnswerRe: i want to build a simple metro app private diary Pin
Matt U.12-Nov-12 1:52
memberMatt U.12-Nov-12 1:52 
Question.Net Remoting with multiple NICs Pin
Mehdi_S11-Nov-12 21:31
memberMehdi_S11-Nov-12 21:31 
AnswerRe: .Net Remoting with multiple NICs Pin
HaBiX11-Nov-12 22:21
memberHaBiX11-Nov-12 22:21 
GeneralRe: .Net Remoting with multiple NICs Pin
Mehdi_S25-Nov-12 23:51
memberMehdi_S25-Nov-12 23:51 
GeneralRe: .Net Remoting with multiple NICs Pin
HaBiX26-Nov-12 21:26
memberHaBiX26-Nov-12 21:26 
GeneralRe: .Net Remoting with multiple NICs Pin
Mehdi_S29-Nov-12 9:24
memberMehdi_S29-Nov-12 9:24 
QuestionAny latest good books or tutorial on WPF-MVVM ? Pin
Vijay Kanda11-Nov-12 19:19
memberVijay Kanda11-Nov-12 19:19 
AnswerRe: Any latest good books or tutorial on WPF-MVVM ? Pin
Abhinav S11-Nov-12 19:43
mvpAbhinav S11-Nov-12 19:43 
GeneralRe: Any latest good books or tutorial on WPF-MVVM ? Pin
Vijay Kanda11-Nov-12 20:32
memberVijay Kanda11-Nov-12 20:32 
QuestionThe input stream is not a valid binary format. Pin
RB@Emphasys11-Nov-12 18:53
memberRB@Emphasys11-Nov-12 18:53 
GeneralRe: The input stream is not a valid binary format. Pin
Eddy Vluggen12-Nov-12 0:56
memberEddy Vluggen12-Nov-12 0:56 
GeneralRe: The input stream is not a valid binary format. Pin
RB@Emphasys12-Nov-12 1:42
memberRB@Emphasys12-Nov-12 1:42 
AnswerRe: The input stream is not a valid binary format. Pin
Ennis Ray Lynch, Jr.12-Nov-12 6:44
memberEnnis Ray Lynch, Jr.12-Nov-12 6:44 
QuestionApp.Config Pin
Aduu11-Nov-12 13:52
memberAduu11-Nov-12 13:52 
Hi, I am trying to access a MS Access database using Windows form. I added my connection string in App.congig file.
 <?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <connectionStrings>
 
    <clear/>
    <add name="Constr" providerName="System.Data.OleDb" 
         connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\XXXX\\Documents\\YYYYY.accdb; Persist Security Info=False;"/>
    
  </connectionStrings>
</configuration>

Code I added in my code to read this is

string  connectionstring = ConfigurationManager.ConnectionStrings["Constr"].ConnectionString;


but I am getting following error on this line.

System.NullReferenceException was unhandled
Message=Object reference not set to an instance of an object.
Source=LoadTrackingTool.

I am not getting why I am getting this error. Can anyone please help me out in this. I am new in this functionality.

Thnx,
Aduu
QuestionRe: App.Config Pin
Super Lloyd11-Nov-12 16:23
memberSuper Lloyd11-Nov-12 16:23 
AnswerRe: App.Config Pin
ryanb3112-Nov-12 5:30
memberryanb3112-Nov-12 5:30 
AnswerRe: App.Config Pin
Simon_Whale12-Nov-12 5:49
memberSimon_Whale12-Nov-12 5:49 
Questionis Windows-8 can run Webservice that work with FrameWork3.5? Pin
goldsoft11-Nov-12 9:08
membergoldsoft11-Nov-12 9:08 
AnswerRe: is Windows-8 can run Webservice that work with FrameWork3.5? Pin
Eddy Vluggen11-Nov-12 11:17
memberEddy Vluggen11-Nov-12 11:17 
Questionselection of similar words in textbox c# Pin
MOR8911-Nov-12 6:26
memberMOR8911-Nov-12 6:26 
AnswerRe: selection of similar words in textbox c# Pin
Dave Kreskowiak11-Nov-12 7:09
mvpDave Kreskowiak11-Nov-12 7:09 
GeneralRe: selection of similar words in textbox c# Pin
MOR8912-Nov-12 4:39
memberMOR8912-Nov-12 4:39 
GeneralRe: selection of similar words in textbox c# Pin
Dave Kreskowiak12-Nov-12 4:50
mvpDave Kreskowiak12-Nov-12 4:50 
QuestionXML Serialization with large objects Pin
Kishore Hyd10-Nov-12 12:31
memberKishore Hyd10-Nov-12 12:31 
AnswerRe: XML Serialization with large objects Pin
Eddy Vluggen10-Nov-12 23:35
memberEddy Vluggen10-Nov-12 23:35 
QuestionInheritance of an Abstract Class Pin
ASPnoob10-Nov-12 10:45
memberASPnoob10-Nov-12 10:45 
AnswerRe: Inheritance of an Abstract Class Pin
Mycroft Holmes10-Nov-12 13:21
memberMycroft Holmes10-Nov-12 13:21 
AnswerRe: Inheritance of an Abstract Class Pin
Alan N10-Nov-12 13:27
memberAlan N10-Nov-12 13:27 
GeneralRe: Inheritance of an Abstract Class Pin
ASPnoob10-Nov-12 14:24
memberASPnoob10-Nov-12 14:24 
AnswerRe: Inheritance of an Abstract Class Pin
Richard Deeming12-Nov-12 2:09
memberRichard Deeming12-Nov-12 2:09 
QuestionC# issue: connection string to app.config file Pin
rachel_m10-Nov-12 8:05
memberrachel_m10-Nov-12 8:05 
AnswerRe: C# issue: connection string to app.config file Pin
Eddy Vluggen10-Nov-12 23:38
memberEddy Vluggen10-Nov-12 23:38 
GeneralRe: C# issue: connection string to app.config file Pin
rachel_m11-Nov-12 6:11
memberrachel_m11-Nov-12 6:11 
AnswerRe: C# issue: connection string to app.config file Pin
jschell11-Nov-12 10:39
memberjschell11-Nov-12 10:39 
QuestionSSRS: How to deploy RDLC files with visual-studio 2010 setup Pin
Tridip Bhattacharjee10-Nov-12 7:49
memberTridip Bhattacharjee10-Nov-12 7:49 
AnswerRe: SSRS: How to deploy RDLC files with visual-studio 2010 setup Pin
Mycroft Holmes10-Nov-12 13:17
memberMycroft Holmes10-Nov-12 13:17 
GeneralRe: SSRS: How to deploy RDLC files with visual-studio 2010 setup Pin
Tridip Bhattacharjee11-Nov-12 6:57
memberTridip Bhattacharjee11-Nov-12 6:57 
GeneralRe: SSRS: How to deploy RDLC files with visual-studio 2010 setup Pin
Mycroft Holmes11-Nov-12 11:39
memberMycroft Holmes11-Nov-12 11:39 
GeneralRe: SSRS: How to deploy RDLC files with visual-studio 2010 setup Pin
Tridip Bhattacharjee11-Nov-12 19:35
memberTridip Bhattacharjee11-Nov-12 19:35 
GeneralRe: SSRS: How to deploy RDLC files with visual-studio 2010 setup Pin
Mycroft Holmes11-Nov-12 21:29
memberMycroft Holmes11-Nov-12 21:29 
GeneralRe: SSRS: How to deploy RDLC files with visual-studio 2010 setup Pin
Tridip Bhattacharjee13-Nov-12 19:53
memberTridip Bhattacharjee13-Nov-12 19:53 
QuestionExport data from report to excel in the wrong format Pin
Nguyễn Duy Nhân9-Nov-12 19:29
memberNguyễn Duy Nhân9-Nov-12 19:29 
GeneralRe: Export data from report to excel in the wrong format Pin
Eddy Vluggen10-Nov-12 7:22
memberEddy Vluggen10-Nov-12 7:22 
AnswerRe: Export data from report to excel in the wrong format Pin
Mycroft Holmes10-Nov-12 13:11
memberMycroft Holmes10-Nov-12 13:11 
QuestionExplorerBand,Explorer extending,I want to add a bar to the WindowsExplorer(not IE). Pin
ohsorry9-Nov-12 16:05
memberohsorry9-Nov-12 16:05 
QuestionDirect Sound Pin
Michael Kurdík9-Nov-12 7:41
memberMichael Kurdík9-Nov-12 7:41 
AnswerRe: Direct Sound Pin
Mycroft Holmes10-Nov-12 13:05
memberMycroft Holmes10-Nov-12 13:05 
AnswerRe: Direct Sound Pin
Michael Kurdík17-Nov-12 0:53
memberMichael Kurdík17-Nov-12 0:53 
QuestionVS2012 new WinForms project Pin
John Simmons / outlaw programmer9-Nov-12 2:00
mvpJohn Simmons / outlaw programmer9-Nov-12 2:00 
AnswerRe: VS2012 new WinForms project Pin
Manfred R. Bihy9-Nov-12 3:29
mvpManfred R. Bihy9-Nov-12 3:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.160730.1 | Last Updated 30 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid