Click here to Skip to main content
15,916,835 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralData form wizard Pin
tabarta17-Jun-04 16:03
tabarta17-Jun-04 16:03 
GeneralRe: Data form wizard Pin
Dave Kreskowiak18-Jun-04 2:51
mveDave Kreskowiak18-Jun-04 2:51 
GeneralRe: Data form wizard Pin
tabarta22-Jun-04 14:37
tabarta22-Jun-04 14:37 
Generalmailto urlencode problem Pin
skoizumi2911017-Jun-04 10:14
sussskoizumi2911017-Jun-04 10:14 
Questiondeserializing xmlfile to array? Pin
mrdance17-Jun-04 8:14
mrdance17-Jun-04 8:14 
AnswerRe: deserializing xmlfile to array? Pin
Dave Kreskowiak17-Jun-04 8:22
mveDave Kreskowiak17-Jun-04 8:22 
GeneralRe: deserializing xmlfile to array? Pin
mrdance17-Jun-04 8:56
mrdance17-Jun-04 8:56 
GeneralRe: deserializing xmlfile to array? Pin
mrdance17-Jun-04 23:57
mrdance17-Jun-04 23:57 
Ok, I have succesed without using Option Strict On but I would like some help to prevent having that Off. Here is the code:

Dim objStreamReader As New System.IO.StreamReader("jobs.xml")
Dim jobarray(0) As Job
Dim i As Integer
Dim x As New XmlSerializer(jobarray.GetType)
jobarray = x.Deserialize(objStreamReader)

The error is on the last line which says:

C:\Documents and Settings\Henrik Erlandsson\Skrivbord\VisualCron\2004-06-16\modMain.vb(74): Option Strict On disallows implicit conversions from 'System.Object' to '1-dimensional array of project.Job'.

Hope can I ctype or something to tell that jobarray is not 1-dimensional?


--- neteject.com - Internet Solutions ---
GeneralRe: deserializing xmlfile to array? Pin
Dave Kreskowiak18-Jun-04 2:49
mveDave Kreskowiak18-Jun-04 2:49 
GeneralRe: deserializing xmlfile to array? Pin
mrdance18-Jun-04 4:55
mrdance18-Jun-04 4:55 
GeneralRe: deserializing xmlfile to array? Pin
Dave Kreskowiak18-Jun-04 12:25
mveDave Kreskowiak18-Jun-04 12:25 
GeneralRe: deserializing xmlfile to array? Pin
mrdance19-Jun-04 12:52
mrdance19-Jun-04 12:52 
GeneralDebugging Problem in Halvorson's Book Pin
tanstaafl2817-Jun-04 7:24
tanstaafl2817-Jun-04 7:24 
GeneralRe: Debugging Problem in Halvorson's Book Pin
Dave Kreskowiak17-Jun-04 7:45
mveDave Kreskowiak17-Jun-04 7:45 
GeneralRe: Debugging Problem in Halvorson's Book Pin
tanstaafl2817-Jun-04 8:38
tanstaafl2817-Jun-04 8:38 
GeneralRe: Debugging Problem in Halvorson's Book Pin
Steven Campbell18-Jun-04 3:18
Steven Campbell18-Jun-04 3:18 
GeneralRe: Debugging Problem in Halvorson's Book Pin
tanstaafl2818-Jun-04 6:35
tanstaafl2818-Jun-04 6:35 
GeneralFTP implementation Pin
hmshmsm17-Jun-04 4:12
hmshmsm17-Jun-04 4:12 
GeneralRe: FTP implementation Pin
Dave Kreskowiak17-Jun-04 4:24
mveDave Kreskowiak17-Jun-04 4:24 
GeneralRe: FTP implementation Pin
Dave Kreskowiak17-Jun-04 4:30
mveDave Kreskowiak17-Jun-04 4:30 
GeneralRe: FTP implementation Pin
hmshmsm17-Jun-04 4:57
hmshmsm17-Jun-04 4:57 
GeneralRe: FTP implementation Pin
Dave Kreskowiak17-Jun-04 5:29
mveDave Kreskowiak17-Jun-04 5:29 
GeneralRe: FTP implementation Pin
hmshmsm17-Jun-04 5:46
hmshmsm17-Jun-04 5:46 
GeneralRe: FTP implementation Pin
hmshmsm17-Jun-04 5:48
hmshmsm17-Jun-04 5:48 
GeneralRe: FTP implementation Pin
Dave Kreskowiak17-Jun-04 6:01
mveDave Kreskowiak17-Jun-04 6: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.