Click here to Skip to main content
15,911,531 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionvb.net 2005 Scheduler Pin
Subjugate19-Oct-06 17:06
Subjugate19-Oct-06 17:06 
QuestionVisual Studio 2005 Windows Installer Custom Actions Pin
Computer_Guy19-Oct-06 16:35
Computer_Guy19-Oct-06 16:35 
AnswerRe: Visual Studio 2005 Windows Installer Custom Actions Pin
Kschuler20-Oct-06 5:40
Kschuler20-Oct-06 5:40 
QuestionDatabase Queries, Etc. Pin
j5matt19-Oct-06 10:26
j5matt19-Oct-06 10:26 
AnswerRe: Database Queries, Etc. Pin
Christian Graus19-Oct-06 10:42
protectorChristian Graus19-Oct-06 10:42 
GeneralRe: Database Queries, Etc. Pin
Colin Angus Mackay19-Oct-06 13:53
Colin Angus Mackay19-Oct-06 13:53 
GeneralRe: Database Queries, Etc. Pin
Christian Graus19-Oct-06 14:33
protectorChristian Graus19-Oct-06 14:33 
QuestionImplicit conversion from System.ValueType with FileGet Pin
Dick Bellnier19-Oct-06 5:03
Dick Bellnier19-Oct-06 5:03 
I'm in the process of converting an application written in VB from VS2003 to VS2005, which has numerous random access files and structures. I am receiving warnings that read "Implicit conversion from 'System.ValueType' to StructureName in copying the value of 'ByRef' parameter 'Value' back to the matching argument. The application does function as designed, but I would like to correct the code to remove these warnings.

I have been searching the internet for weeks and have found many folks with the same problems, but no solutions have been posted. A sample of the associated code is listed below. With the statement
"FileGet(intCarFileNum, MyCellCarriers, intL)", the structure "MyCellCarriers" is underlined in green.

Any suggestions would be greatly appreciated.

Public Structure struCellCarriers
<vbfixedstring(3)> Public cIndex As String
<vbfixedstring(1)> Public cSep1 As String
<vbfixedstring(48)> Public cCarrier As String
<vbfixedstring(1)> Public cSep2 As String
<vbfixedstring(1)> Public cCR As String
End Structure
Public MyCellCarriers As struCellCarriers

intCarFileNum = FreeFile()
FileOpen(intCarFileNum, strCarFile, OpenMode.Random, , OpenShare.Shared, Len(MyCellCarriers))

intCarRecCnt = LOF(intCarFileNum) / Len(MyCellCarriers)
cboCellCarrier.BeginUpdate()
cboCellCarrier.Items.Clear()
For intL = 1 To intCarRecCnt
FileGet(intCarFileNum, MyCellCarriers, intL)
With MyCellCarriers
If .cCarrier.Trim > "" Then
cboCellCarrier.Items.Add(.cCarrier.Trim)
End If
End With
Next intL
FileClose(intCarFileNum)
QuestionMicrosoft Flexgrid Pin
viji]18-Oct-06 21:25
viji]18-Oct-06 21:25 
AnswerRe: Microsoft Flexgrid Pin
nlarson1119-Oct-06 4:29
nlarson1119-Oct-06 4:29 
GeneralRe: Microsoft Flexgrid Pin
viji]21-Oct-06 18:34
viji]21-Oct-06 18:34 
GeneralRe: Microsoft Flexgrid Pin
nlarson1122-Oct-06 4:33
nlarson1122-Oct-06 4:33 
QuestionActivedocument error - word addin problem [modified] Pin
K edar V18-Oct-06 20:08
K edar V18-Oct-06 20:08 
AnswerRe: Activedocument error - word addin problem Pin
Edbert P19-Oct-06 19:26
Edbert P19-Oct-06 19:26 
GeneralRe: Activedocument error - word addin problem Pin
K edar V19-Oct-06 20:16
K edar V19-Oct-06 20:16 
GeneralRe: Activedocument error - word addin problem Pin
Edbert P19-Oct-06 20:26
Edbert P19-Oct-06 20:26 
GeneralRe: Activedocument error - word addin problem Pin
K edar V19-Oct-06 20:43
K edar V19-Oct-06 20:43 
GeneralRe: Activedocument error - word addin problem Pin
Edbert P19-Oct-06 21:06
Edbert P19-Oct-06 21:06 
GeneralRe: Activedocument error - word addin problem Pin
K edar V19-Oct-06 21:23
K edar V19-Oct-06 21:23 
QuestionDecryption(plz urgent,,,_ Pin
ravimorampudi18-Oct-06 19:39
ravimorampudi18-Oct-06 19:39 
AnswerRe: Decryption(plz urgent,,,_ Pin
Dave Kreskowiak19-Oct-06 4:55
mveDave Kreskowiak19-Oct-06 4:55 
GeneralRe: Decryption(plz urgent,,,_ Pin
Colin Angus Mackay19-Oct-06 13:48
Colin Angus Mackay19-Oct-06 13:48 
GeneralRe: Decryption(plz urgent,,,_ Pin
Dave Kreskowiak19-Oct-06 18:02
mveDave Kreskowiak19-Oct-06 18:02 
AnswerRe: Decryption(plz urgent,,,_ Pin
Colin Angus Mackay19-Oct-06 13:51
Colin Angus Mackay19-Oct-06 13:51 
QuestionAccessing Controls On Other Forms Pin
johngod18-Oct-06 19:19
johngod18-Oct-06 19:19 

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.