Click here to Skip to main content
15,914,488 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionfreehand draw problem Pin
O.G.I.10-Dec-09 10:19
O.G.I.10-Dec-09 10:19 
QuestionSOAP/VB6 Reading Arrays Pin
ffowler10-Dec-09 5:37
ffowler10-Dec-09 5:37 
QuestionAntivirus Bloking My Application [modified] Pin
Anubhava Dimri10-Dec-09 1:54
Anubhava Dimri10-Dec-09 1:54 
AnswerRe: Antivirus Bloking My Application Pin
EliottA10-Dec-09 2:44
EliottA10-Dec-09 2:44 
GeneralRe: Antivirus Bloking My Application Pin
Luc Pattyn10-Dec-09 2:57
sitebuilderLuc Pattyn10-Dec-09 2:57 
QuestionApproximate zero values in an array Pin
Johnkokk9-Dec-09 23:52
Johnkokk9-Dec-09 23:52 
AnswerRe: Approximate zero values in an array Pin
Richard MacCutchan9-Dec-09 23:56
mveRichard MacCutchan9-Dec-09 23:56 
GeneralRe: Approximate zero values in an array Pin
David Skelly10-Dec-09 2:02
David Skelly10-Dec-09 2:02 
It's not really the average, though, if I've understood the question.

The sequence 23, 0, 20 becomes 23, 21.5, 20.

18, 0, 0, 24 becomes 18, 20, 22, 24

20, 0, 0, 0, 16 becomes 20, 19, 18, 17, 16.

Not sure what the technical term for that is. Interpolation? Even so, it is still simple maths. The only tricky bit is handling the end conditions if a 0 occurs at the first or last position in the array.
GeneralRe: Approximate zero values in an array Pin
Richard MacCutchan10-Dec-09 2:41
mveRichard MacCutchan10-Dec-09 2:41 
GeneralRe: Approximate zero values in an array Pin
EliottA10-Dec-09 2:45
EliottA10-Dec-09 2:45 
GeneralRe: Approximate zero values in an array Pin
Johnkokk10-Dec-09 6:08
Johnkokk10-Dec-09 6:08 
GeneralRe: Approximate zero values in an array Pin
nlarson1110-Dec-09 8:46
nlarson1110-Dec-09 8:46 
GeneralRe: Approximate zero values in an array Pin
Johnkokk10-Dec-09 20:52
Johnkokk10-Dec-09 20:52 
GeneralRe: Approximate zero values in an array Pin
nlarson1111-Dec-09 2:05
nlarson1111-Dec-09 2:05 
GeneralRe: Approximate zero values in an array Pin
Gideon Engelberth11-Dec-09 4:56
Gideon Engelberth11-Dec-09 4:56 
GeneralRe: Approximate zero values in an array Pin
Gideon Engelberth11-Dec-09 4:51
Gideon Engelberth11-Dec-09 4:51 
GeneralRe: Approximate zero values in an array Pin
peterchen11-Dec-09 2:43
peterchen11-Dec-09 2:43 
QuestionHow to get Hexadecimal code Pin
Pasan1489-Dec-09 23:01
Pasan1489-Dec-09 23:01 
AnswerRe: How to get Hexadecimal code Pin
Luc Pattyn9-Dec-09 23:38
sitebuilderLuc Pattyn9-Dec-09 23:38 
AnswerRe: How to get Hexadecimal code Pin
David Skelly10-Dec-09 2:16
David Skelly10-Dec-09 2:16 
Questionmimic HTML frame - Access subforms Pin
john john mackey9-Dec-09 12:47
john john mackey9-Dec-09 12:47 
AnswerRe: mimic HTML frame - Access subforms Pin
_Damian S_9-Dec-09 19:13
professional_Damian S_9-Dec-09 19:13 
GeneralRe: mimic HTML frame - Access subforms Pin
john john mackey10-Dec-09 5:30
john john mackey10-Dec-09 5:30 
QuestionKey press problem Pin
Pasan1489-Dec-09 6:58
Pasan1489-Dec-09 6:58 
AnswerRe: Key press problem Pin
Dave Kreskowiak9-Dec-09 7:25
mveDave Kreskowiak9-Dec-09 7:25 

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.