Click here to Skip to main content
12,074,308 members (62,101 online)
   

C#

 
QuestionUsage of Google API in windows application Pin
ukraju24-Dec-12 2:05
memberukraju24-Dec-12 2:05 
AnswerRe: Usage of Google API in windows application Pin
frazzle-me24-Dec-12 3:25
memberfrazzle-me24-Dec-12 3:25 
AnswerRe: Usage of Google API in windows application Pin
Sajeesh Payolam24-Dec-12 21:28
memberSajeesh Payolam24-Dec-12 21:28 
QuestionDetecting a 3G connection in Windows 7 and 8 in a desktop application Pin
REDSERPENT724-Dec-12 2:04
memberREDSERPENT724-Dec-12 2:04 
AnswerRe: Detecting a 3G connection in Windows 7 and 8 in a desktop application Pin
MaulikDusara24-Dec-12 21:44
memberMaulikDusara24-Dec-12 21:44 
GeneralRe: Detecting a 3G connection in Windows 7 and 8 in a desktop application Pin
REDSERPENT729-Dec-12 22:33
memberREDSERPENT729-Dec-12 22:33 
QuestionIpstatus.Success answer twice !! Pin
Alex1971_rm24-Dec-12 1:15
memberAlex1971_rm24-Dec-12 1:15 
QuestionHow do i create an object of partial class in user control Pin
swapnil709022-Dec-12 21:27
memberswapnil709022-Dec-12 21:27 
AnswerRe: How do i create an object of partial class in user control Pin
nainakarri22-Dec-12 23:03
membernainakarri22-Dec-12 23:03 
Questionerror i declaring null arrays Pin
tashee22-Dec-12 6:22
membertashee22-Dec-12 6:22 
AnswerRe: error i declaring null arrays Pin
Richard MacCutchan22-Dec-12 7:40
mvpRichard MacCutchan22-Dec-12 7:40 
GeneralRe: error i declaring null arrays Pin
tashee22-Dec-12 8:39
membertashee22-Dec-12 8:39 
GeneralRe: error i declaring null arrays Pin
PIEBALDconsult22-Dec-12 9:11
memberPIEBALDconsult22-Dec-12 9:11 
GeneralRe: error i declaring null arrays Pin
harold aptroot24-Dec-12 1:52
memberharold aptroot24-Dec-12 1:52 
Actually, you do know what's wrong: you're using an unassigned local variable. It will even tell you that strPLatitude is the culprit.
How to fix? Assign something to it, obviously. Most C# compile errors are easy like that.

You wanted a null array? Then make a null array: double[] strPLatitude = null;

That doesn't make the code work, I grant you, but it fixes this problem.

However, this:
tashee wrote:
declared a null array but when i try to use this array to store my values
Reveals a deeper problem. You can't use something that doesn't exist. Like Richard wrote, "You must allocate some space to it before you can store anything in it". Your reply to him seems to imply you didn't really get it.

This is like saying "I have a place where a bookshelf should go but there isn't one there yet, why do things go wrong when I try to store books in it?"

Don't use something that doesn't exist. You need an actual bookshelf, not just a place where a bookshelf could go.

PIEBALDconsult suggest you use a List, you should probably do that. Be sure to Add[^] the items to the list, don't try to stuff them into positions that do not exist.
QuestionWorking with data base Pin
columbos1492722-Dec-12 5:26
membercolumbos1492722-Dec-12 5:26 
AnswerRe: Working with data base Pin
PIEBALDconsult22-Dec-12 6:07
memberPIEBALDconsult22-Dec-12 6:07 
GeneralRe: Working with data base Pin
SledgeHammer0122-Dec-12 10:38
memberSledgeHammer0122-Dec-12 10:38 
GeneralRe: Working with data base Pin
PIEBALDconsult22-Dec-12 13:58
memberPIEBALDconsult22-Dec-12 13:58 
GeneralRe: Working with data base Pin
jschell22-Dec-12 15:05
memberjschell22-Dec-12 15:05 
GeneralRe: Working with data base Pin
Simon_Whale23-Dec-12 1:05
memberSimon_Whale23-Dec-12 1:05 
AnswerRe: Working with data base Pin
Abhinav S25-Dec-12 5:49
mvpAbhinav S25-Dec-12 5:49 
Questionhow to mark my location and my neighbor location in sample map(not google map) ? Pin
Deenuji vellore22-Dec-12 3:15
groupDeenuji vellore22-Dec-12 3:15 
AnswerRe: how to mark my location and my neighbor location in sample map(not google map) ? Pin
Simon_Whale22-Dec-12 5:15
memberSimon_Whale22-Dec-12 5:15 
GeneralRe: how to mark my location and my neighbor location in sample map(not google map) ? Pin
Deenuji23-Dec-12 20:02
groupDeenuji23-Dec-12 20:02 
Questionmultiple user chat appliction Pin
minu r21-Dec-12 21:56
memberminu r21-Dec-12 21:56 
AnswerRe: multiple user chat appliction Pin
Simon_Whale21-Dec-12 22:33
memberSimon_Whale21-Dec-12 22:33 
QuestionHow to make .net DLL to reference its dependent DLLs present in other folder. Pin
KASR121-Dec-12 20:57
memberKASR121-Dec-12 20:57 
Questionweb content management system Pin
nishant231021-Dec-12 7:51
membernishant231021-Dec-12 7:51 
AnswerRe: web content management system Pin
Pete O'Hanlon21-Dec-12 10:53
protectorPete O'Hanlon21-Dec-12 10:53 
GeneralRe: web content management system Pin
nishant231026-Dec-12 6:39
membernishant231026-Dec-12 6:39 
Questionam i doing something wrong with the and operator? Pin
crohnsandme21-Dec-12 6:29
membercrohnsandme21-Dec-12 6:29 
AnswerRe: am i doing something wrong with the and operator? Pin
PIEBALDconsult21-Dec-12 6:32
memberPIEBALDconsult21-Dec-12 6:32 
GeneralRe: am i doing something wrong with the and operator? Pin
crohnsandme21-Dec-12 6:44
membercrohnsandme21-Dec-12 6:44 
GeneralRe: am i doing something wrong with the and operator? Pin
crohnsandme21-Dec-12 6:47
membercrohnsandme21-Dec-12 6:47 
GeneralRe: am i doing something wrong with the and operator? Pin
PIEBALDconsult21-Dec-12 8:12
memberPIEBALDconsult21-Dec-12 8:12 
AnswerRe: am i doing something wrong with the and operator? Pin
Richard MacCutchan21-Dec-12 7:27
mvpRichard MacCutchan21-Dec-12 7:27 
GeneralC# and PostgreSQL Pin
tashee21-Dec-12 3:22
membertashee21-Dec-12 3:22 
GeneralRe: C# and PostgreSQL Pin
Keith Barrow21-Dec-12 4:02
mentorKeith Barrow21-Dec-12 4:02 
QuestionC#.Net error(Front end Visual studio 2010,Back end:SQL server 2008)) Pin
S Akshay21-Dec-12 0:54
memberS Akshay21-Dec-12 0:54 
AnswerRe: C#.Net error(Front end Visual studio 2010,Back end:SQL server 2008)) Pin
Dave Kreskowiak21-Dec-12 5:12
mvpDave Kreskowiak21-Dec-12 5:12 
GeneralRe: C#.Net error(Front end Visual studio 2010,Back end:SQL server 2008)) Pin
S Akshay21-Dec-12 5:42
memberS Akshay21-Dec-12 5:42 
GeneralRe: C#.Net error(Front end Visual studio 2010,Back end:SQL server 2008)) Pin
Dave Kreskowiak21-Dec-12 5:53
mvpDave Kreskowiak21-Dec-12 5:53 
QuestionCapture HttpRequest from Fiddler or WinpCap, then reconstruct a HttpRequest object? Pin
devvvy20-Dec-12 15:50
memberdevvvy20-Dec-12 15:50 
AnswerRe: Capture HttpRequest from Fiddler or WinpCap, then reconstruct a HttpRequest object? Pin
Super Lloyd20-Dec-12 19:19
memberSuper Lloyd20-Dec-12 19:19 
GeneralRe: Capture HttpRequest from Fiddler or WinpCap, then reconstruct a HttpRequest object? Pin
devvvy22-Dec-12 0:01
memberdevvvy22-Dec-12 0:01 
Questionsending messages with smart bro using c# Pin
Glendonz20-Dec-12 7:23
memberGlendonz20-Dec-12 7:23 
AnswerRe: sending messages with smart bro using c# Pin
jschell20-Dec-12 9:37
memberjschell20-Dec-12 9:37 
GeneralRe: sending messages with smart bro using c# Pin
Glendonz20-Dec-12 17:21
memberGlendonz20-Dec-12 17:21 
GeneralRe: sending messages with smart bro using c# Pin
jschell22-Dec-12 14:52
memberjschell22-Dec-12 14:52 
GeneralRe: sending messages with smart bro using c# Pin
Glendonz30-Dec-12 6:36
memberGlendonz30-Dec-12 6:36 

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
Web03 | 2.8.160208.1 | Last Updated 11 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid