Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > The Community > The Coffee Lounge
Reload this Page Programmers, can you help me?
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

The Coffee Lounge General chat about anything that goes, a good place to introduce yourself and say hi, tell a Joke, or just relax.

Site Navigation
Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 03-22-2004   #11 (permalink)
Linux User
 
Join Date: Jan 2003
Location: Cardiff, Wales
Posts: 478
searching

I did some searching and some digging.

Basically, i used the object browser to look up the exact syntax of the event. which you had correct except for a few poss errors (using the fuill name for objects can prevent some strange sounding errors). So that didn't work. Seacrhed some forums and found other people complaining about it. and some discussion about different version numbers of the ADO controls.

And eventually tracked down enough to work out which version(s) worked. Microsoft make no mention of this bug so we assume they have fixed it! I teach VB as part of my job - so I was interested enough to track this down for you.

I have emailed you the OCX file. Normally you have to regsiter ocx and dll files with windows. but as this is a new version I'm not sure. I would rename the old one (found in C:\windows\system32\MSADODC.OCX) to something else. then copy the new one in there.

you can manually register the file by opeining a command prompt and cd'ing to windows system32 then type:
Code:
regsvr32 MSADODC.OCX
that should register it. Now open your vb program and change the code as mentioned before. I have sent you two other files MSADODC.oca and MSADODC.DEP which might be needed by the ocx file. If all this fails, you'll need to download the service pack. Or if since you're in swansea I could post it to you on CD. You a student down there ICEMAN?
__________________
No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.
kpzani is offline   Reply With Quote
Old 03-22-2004   #12 (permalink)
Linux Newbie
 
Join Date: Feb 2003
Location: Swansea (UK)
Posts: 221
yeh i'm a college student, i made a website about vb actually for my college coursework: http://www.iceman-online.co.uk

p.s. Thx mate, works good and proper....... this was the only error left and i couldn't figure it out, thx

also you can download my phonebook at http://www.iceman-online.co.uk/phonebook.zip

Last question: Would it be a breach of copyright or any other similar law to include Microsoft Visual Basic Service Pack 4 with my program?
danbo is offline   Reply With Quote
Old 03-23-2004   #13 (permalink)
Linux User
 
Join Date: Jan 2003
Location: Cardiff, Wales
Posts: 478
enterprise edition

if you have a good enough version of vb6 - say enterprise edtion. then you will have the package and deployment wizard. It under add ins you might have to enable it - then look back again.

This will build full installers for your program inc all ocx files required.

Otherwise, providing you have a non-educational version of VB you can ship the executable along with the relevent files it requires to run. like all the ocx's. I don't think you can distibute MS service packs as they don't like it. Have you noticed that pc mags no longer come with these on?

If you haven't got the addin. finish your prog - send it to me and I'll build the installer for you. It will jump to about 10Mb. but it is worth it!
__________________
No trees were harmed during the creation of this message. Its made from a blend of elephant tusk and dolphin meat.
kpzani is offline   Reply With Quote
Old 03-23-2004   #14 (permalink)
Linux Newbie
 
Join Date: Feb 2003
Location: Swansea (UK)
Posts: 221
I used the Visual Studio Installer
danbo is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Job Search
keyword location
Post a Job »
job title, keywords or company
city, state or zip jobs by job search

Free Magazines
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say. So when it comes right down to it, how does the Google selection stack up against the rest of messaging security's big guns?
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 02:07 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0