Click here to Skip to main content
15,891,704 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: problem to translate C# to VB .NET Pin
Ray Cassick10-Jan-11 6:42
Ray Cassick10-Jan-11 6:42 
QuestionError: Length of Data to decrypt is invalid Pin
crain19819-Jan-11 5:10
crain19819-Jan-11 5:10 
AnswerRe: Error: Length of Data to decrypt is invalid Pin
crain19819-Jan-11 5:11
crain19819-Jan-11 5:11 
AnswerRe: Error: Length of Data to decrypt is invalid Pin
Simon_Whale9-Jan-11 22:06
Simon_Whale9-Jan-11 22:06 
QuestionSound Recognition Pin
Synth_Boy7-Jan-11 22:10
Synth_Boy7-Jan-11 22:10 
AnswerRe: Sound Recognition Pin
Bernhard Hiller10-Jan-11 0:04
Bernhard Hiller10-Jan-11 0:04 
GeneralRe: Sound Recognition Pin
Synth_Boy10-Jan-11 0:08
Synth_Boy10-Jan-11 0:08 
QuestionStrange SQL Compact Problem - Vista Pin
TheComputerMan7-Jan-11 7:23
TheComputerMan7-Jan-11 7:23 
This snippet of code runs OK on an XP machine. The database is a SQL Compact 3.1 and I am using VS2005

On a customer's Vista machine it causes an error saying that there is no Column 4 - even though there is!

The remed out bit is some diabnostics trying to solve this. The dtblLoc.Columns.Count must be returning 4 instead of 5 on the Vista machine as it responds for 4 columns but crashes on 5

The value of PLACE_COL is 3 and PROV_COL is 4

If bHasData = True Then
    'intColumnsFound = dtblLoc.Columns.Count
    'If bDiagsMode Then
    '    sw.WriteLine("-----------------Columns Found--------------------")
    '    sw.WriteLine(intColumnsFound.ToString)
    'End If
    If dtblLoc.Rows.Count = 1 Then
        '================================================================================
        '                SINGLE RESULT AREA
        '================================================================================
        If ListProcessing = True Then
            strReturn = dtblLoc.Rows(0).Item(PLACE_COL).ToString & "|" & dtblLoc.Rows(0).Item(PROV_COL).ToString
            If bDiagsMode Then


Has anyone come across this kind of error, or got any ideas?
AnswerRe: Strange SQL Compact Problem - Vista Pin
Richard MacCutchan7-Jan-11 21:16
mveRichard MacCutchan7-Jan-11 21:16 
GeneralRe: Strange SQL Compact Problem - Vista Pin
TheComputerMan8-Jan-11 16:26
TheComputerMan8-Jan-11 16:26 
GeneralRe: Strange SQL Compact Problem - Vista Pin
Richard MacCutchan8-Jan-11 21:39
mveRichard MacCutchan8-Jan-11 21:39 
GeneralRe: Strange SQL Compact Problem - Vista Pin
TheComputerMan9-Jan-11 1:59
TheComputerMan9-Jan-11 1:59 
GeneralRe: Strange SQL Compact Problem - Vista Pin
Richard MacCutchan9-Jan-11 2:25
mveRichard MacCutchan9-Jan-11 2:25 
GeneralRe: Strange SQL Compact Problem - Vista Pin
TheComputerMan9-Jan-11 2:38
TheComputerMan9-Jan-11 2:38 
GeneralRe: Strange SQL Compact Problem - Vista Pin
Richard MacCutchan9-Jan-11 4:21
mveRichard MacCutchan9-Jan-11 4:21 
GeneralRe: Strange SQL Compact Problem - Vista Pin
TheComputerMan9-Jan-11 5:02
TheComputerMan9-Jan-11 5:02 
AnswerRe: Strange SQL Compact Problem - Vista Pin
Dave Kreskowiak8-Jan-11 4:25
mveDave Kreskowiak8-Jan-11 4:25 
GeneralRe: Strange SQL Compact Problem - Vista Pin
TheComputerMan8-Jan-11 16:30
TheComputerMan8-Jan-11 16:30 
AnswerRe: Strange SQL Compact Problem - Vista Pin
Luc Pattyn8-Jan-11 16:35
sitebuilderLuc Pattyn8-Jan-11 16:35 
GeneralRe: Strange SQL Compact Problem - Vista Pin
TheComputerMan9-Jan-11 2:01
TheComputerMan9-Jan-11 2:01 
GeneralRe: Strange SQL Compact Problem - Vista Pin
Dave Kreskowiak8-Jan-11 18:22
mveDave Kreskowiak8-Jan-11 18:22 
GeneralRe: Strange SQL Compact Problem - Vista Pin
TheComputerMan9-Jan-11 1:58
TheComputerMan9-Jan-11 1:58 
GeneralRe: Strange SQL Compact Problem - Vista Pin
Dave Kreskowiak9-Jan-11 3:36
mveDave Kreskowiak9-Jan-11 3:36 
GeneralRe: Strange SQL Compact Problem - Vista Pin
TheComputerMan9-Jan-11 3:45
TheComputerMan9-Jan-11 3:45 
GeneralRe: Strange SQL Compact Problem - Vista Pin
TheComputerMan14-Jan-11 11:16
TheComputerMan14-Jan-11 11:16 

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.