Click here to Skip to main content
15,567,466 members
Home / Discussions / C#
   

C#

 
JokeRe: Lock the Computer Pin
Peter_in_27801-Jul-16 13:38
professionalPeter_in_27801-Jul-16 13:38 
GeneralRe: Lock the Computer Pin
Sabry19053-Jul-16 6:17
Sabry19053-Jul-16 6:17 
QuestionRe: Lock the Computer Pin
Eddy Vluggen3-Jul-16 9:48
professionalEddy Vluggen3-Jul-16 9:48 
AnswerRe: Lock the Computer Pin
Sabry19055-Jul-16 1:36
Sabry19055-Jul-16 1:36 
AnswerRe: Lock the Computer Pin
Eddy Vluggen1-Jul-16 5:39
professionalEddy Vluggen1-Jul-16 5:39 
GeneralRe: Lock the Computer Pin
Sabry19055-Jul-16 1:44
Sabry19055-Jul-16 1:44 
GeneralRe: Lock the Computer Pin
Eddy Vluggen5-Jul-16 1:51
professionalEddy Vluggen5-Jul-16 1:51 
QuestionHow to reach a file under a folder inside a solution in VS C# Pin
jasonalien30-Jun-16 22:57
jasonalien30-Jun-16 22:57 
In my project, there is a folder called "Resources" and there is an Excel file called "query.xlsx" inside that folder.
I try to load Excel file like this :
C#
ExcelFile ef = ExcelFile.Load(HttpContext.Current.Server.MapPath("~/Resources/query.xlsx"));

And I get this exception :
HttpContext.Current.Server = 'HttpContext.Current.Server' threw an exception of type 'System.NullReferenceException'

How can I load that Excel file properly? Thanks.
AnswerRe: How to reach a file under a folder inside a solution in VS C# Pin
OriginalGriff30-Jun-16 23:11
mvaOriginalGriff30-Jun-16 23:11 
Questionmultithreaded ping IPs Pin
alireza barzin30-Jun-16 21:16
alireza barzin30-Jun-16 21:16 
AnswerRe: multithreaded ping IPs Pin
OriginalGriff30-Jun-16 22:17
mvaOriginalGriff30-Jun-16 22:17 
QuestionHow to make REST requests with C# Pin
Member 1090638630-Jun-16 11:24
Member 1090638630-Jun-16 11:24 
AnswerRe: How to make REST requests with C# Pin
ZurdoDev30-Jun-16 11:29
professionalZurdoDev30-Jun-16 11:29 
Questionnot save my the data Pin
antonio_dsanchez29-Jun-16 11:43
antonio_dsanchez29-Jun-16 11:43 
AnswerRe: not save my the data Pin
Pete O'Hanlon29-Jun-16 12:28
mvaPete O'Hanlon29-Jun-16 12:28 
AnswerRe: not save my the data Pin
OriginalGriff29-Jun-16 20:02
mvaOriginalGriff29-Jun-16 20:02 
QuestionTrouble With .Net XmlSerializer Pin
Jacob Himes28-Jun-16 23:24
professionalJacob Himes28-Jun-16 23:24 
AnswerRe: Trouble With .Net XmlSerializer Pin
Gerry Schmitz29-Jun-16 6:13
mveGerry Schmitz29-Jun-16 6:13 
QuestionHow do you import and secure a file? Pin
SolJohnston77728-Jun-16 7:21
professionalSolJohnston77728-Jun-16 7:21 
AnswerRe: How do you import and secure a file? Pin
Eddy Vluggen28-Jun-16 8:02
professionalEddy Vluggen28-Jun-16 8:02 
AnswerRe: How do you import and secure a file? Pin
Dave Kreskowiak28-Jun-16 13:20
mveDave Kreskowiak28-Jun-16 13:20 
GeneralRe: How do you import and secure a file? Pin
SolJohnston77730-Jun-16 10:34
professionalSolJohnston77730-Jun-16 10:34 
PraiseWhy don't use C#6 code for ASP.Net MVC application? Pin
Hein Pauwelyn28-Jun-16 4:40
Hein Pauwelyn28-Jun-16 4:40 
AnswerRe: Why don't use C#6 code for ASP.Net MVC application? Pin
Dave Kreskowiak28-Jun-16 4:42
mveDave Kreskowiak28-Jun-16 4:42 
GeneralRe: Why don't use C#6 code for ASP.Net MVC application? Pin
Richard Deeming28-Jun-16 5:01
mveRichard Deeming28-Jun-16 5:01 

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.