Click here to Skip to main content
16,006,432 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Ritchtext box max length Pin
Mycroft Holmes26-Aug-08 15:14
professionalMycroft Holmes26-Aug-08 15:14 
GeneralRe: Ritchtext box max length Pin
moonshaddow26-Aug-08 15:28
moonshaddow26-Aug-08 15:28 
RantRe: Ritchtext box max length Pin
moonshaddow26-Aug-08 17:44
moonshaddow26-Aug-08 17:44 
Questionlistview sort Pin
digicd125-Aug-08 9:33
digicd125-Aug-08 9:33 
AnswerRe: listview sort Pin
Christian Graus25-Aug-08 10:00
protectorChristian Graus25-Aug-08 10:00 
AnswerRe: listview sort Pin
John_Adams25-Aug-08 10:06
John_Adams25-Aug-08 10:06 
AnswerRe: listview sort Pin
AlexeiXX325-Aug-08 10:11
AlexeiXX325-Aug-08 10:11 
QuestionForcing vb.net to use Jet 2.x? Pin
owen hartnett25-Aug-08 5:02
owen hartnett25-Aug-08 5:02 
I've encountered a messy bug that requires that I use Jet 2.x code rather than Jet 4.0 code that causes the problem.

Here's the situation:

I have to deal with a legacy multi-user application that runs Access 2.0. I need to change some of the Access 2.0 tables from my vb.net application. When I use OLEDB (or even ODBC) and the 4.0 Jet provider the following circumstances happen:

Let's say 2 people are running the legacy Access 2.0 application with the .mdb table I need open (which is the usual running state). The .ldb file for this shows the normal computer name strings and User (admin) in single byte per character format. I open the database with the Jet 4.0 driver in vb.net. All is still well, it adds my computer name and user as the third record in the .ldb file. Now, I close the database from vb.net. Jet 4.0 rewrites the .ldb file to show that it is no longer connected, and that the two legacy apps still are -- EXCEPT -- it writes the .ldb file in two byte per character format, which the legacy Access 2.0 apps don't understand. What ends up happening is that the legacy apps continue to run, but I can't start up another legacy app because the .ldb file is "updated," and, if I quit a legacy app, I can't restart it unless I've quit all the legacy apps (thus deleting the .ldb file).

What I need is to have a driver that will rewrite the .ldb file in the legacy format when there are legacy apps using the .ldb file at the same time (i.e. 1 byte per character). VB6 driver would do this, but the new Jet 4.0 driver does the above behavior. I've seen some references to dll's that emulate the old behavior, but I don't know how to put them in place of the 4.0 driver (I see no other providers than the 4.0 driver). Anybody have any ideas?

-Owen

P.S. Yes, I have to use Access 2.0, until they update it to SQL server later this year. The bitch is that it worked with VB6, and now the new update to .NET kills it.

-O
AnswerRe: Forcing vb.net to use Jet 2.x? Pin
Paul Conrad25-Aug-08 8:01
professionalPaul Conrad25-Aug-08 8:01 
AnswerRe: Forcing vb.net to use Jet 2.x? Pin
Dave Kreskowiak25-Aug-08 12:39
mveDave Kreskowiak25-Aug-08 12:39 
AnswerRe: Forcing vb.net to use Jet 2.x? Pin
owen hartnett28-Aug-08 6:34
owen hartnett28-Aug-08 6:34 
Generalproblem on label control Pin
vkumar0925-Aug-08 4:39
vkumar0925-Aug-08 4:39 
GeneralRe: problem on label control Pin
Jon_Boy25-Aug-08 5:05
Jon_Boy25-Aug-08 5:05 
GeneralRe: problem on label control Pin
lisan_al_ghaib25-Aug-08 5:39
lisan_al_ghaib25-Aug-08 5:39 
GeneralRe: problem on label control Pin
Dave Kreskowiak25-Aug-08 12:37
mveDave Kreskowiak25-Aug-08 12:37 
QuestionGet Web Address Pin
nitin_ion25-Aug-08 2:11
nitin_ion25-Aug-08 2:11 
AnswerRe: Get Web Address Pin
jzonthemtn25-Aug-08 6:46
jzonthemtn25-Aug-08 6:46 
AnswerRe: Get Web Address Pin
Dave Kreskowiak25-Aug-08 12:36
mveDave Kreskowiak25-Aug-08 12:36 
QuestionLinkbutton not adding into table cell programmatically( problem ) Pin
Rameez Raja25-Aug-08 0:59
Rameez Raja25-Aug-08 0:59 
AnswerRe: Linkbutton not adding into table cell programmatically( problem ) Pin
jzonthemtn25-Aug-08 6:47
jzonthemtn25-Aug-08 6:47 
QuestionRead for database SQL 2005 with more than 20 columns in a record Pin
DCAUB25-Aug-08 0:44
DCAUB25-Aug-08 0:44 
AnswerRe: Read for database SQL 2005 with more than 20 columns in a record Pin
Colin Angus Mackay25-Aug-08 3:24
Colin Angus Mackay25-Aug-08 3:24 
GeneralRe: Read for database SQL 2005 with more than 20 columns in a record Pin
DCAUB25-Aug-08 3:35
DCAUB25-Aug-08 3:35 
GeneralRe: Read for database SQL 2005 with more than 20 columns in a record Pin
Colin Angus Mackay25-Aug-08 3:47
Colin Angus Mackay25-Aug-08 3:47 
QuestionHow to refresh a combobox in another form after the values of the combo have been updated? Pin
rprateek24-Aug-08 21:01
rprateek24-Aug-08 21: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.