![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
This is the sub it is complaining about. When message window pops up it says an error has occured on sub_logsegment, formatexception.
Sub LogSegment myvalue(1) = txtx1.Text myvalue(2) = txty1.Text myvalue(3) = txtx2.Text myvalue(4) = txty2.Text myvalue(5) = txtr.Text myvalue(6) = myColor table1.AddRow(myvalue(0),myvalue(6),myvalue(1),myv alue(2),myvalue(3),myvalue(4),myvalue(5)) table1.Refresh mnulabel1.Text = table1.RowCount End Sub It runs fine on desktop but not ppc. dennishea
__________________
Using 6.30 dennishea
|
|
|||
|
Thanks alfcen. I checked myvalue(0) and it was ok. I was sure once saw your question that that was it. Then I thought I never really checked that whole array so I did to discover that one them was null so to solve that problem I checked it before adding the row and if it was blank stuck a zero in it. Again thank for your help.
dennishea
__________________
Using 6.30 dennishea
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Format Exception Error | Zenerdiode | Questions & Help Needed | 2 | 09-03-2008 04:12 PM |
| Door Library Null Reference Exception | sahoopes | Bug Reports | 1 | 07-15-2008 05:46 AM |
| Out of Memory Exception Error on Load | willisgt | Questions & Help Needed | 9 | 03-01-2008 12:18 PM |
| SIP Exception | davidmw | Bug Reports | 8 | 07-05-2007 05:32 PM |
| Exception Handling | Astragali | Questions & Help Needed | 2 | 05-23-2007 01:44 AM |