473,394 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Code move

Dear all,

I've moved all my VB-code from one PC to another. I load a project and when
I try to run it, it abends on a

Mid(Date,1,2)

with Date highlited.

When I put this line in comment, it stops on

Mid(variable,1,5)

with Mid highlited.

Error is something like

"Syntax error : could not load project or library"

It looks like basic keywoards are no longer recognized. Any idea what could
be the cause?

Thanx in advance
Jul 17 '05 #1
3 2381
Got to Project References, and ensure the first four items selected are (in
this order):

Visual Basic for Applications
Visual Basic runtime objects and procedures
Visual Basic objects and procedures
OLE Automation

--

Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.
"Eddy Scheire" <ed**********@skynet.be> wrote in message
news:3f**********************@news.skynet.be...
: Dear all,
:
: I've moved all my VB-code from one PC to another. I load a project and
when
: I try to run it, it abends on a
:
: Mid(Date,1,2)
:
: with Date highlited.
:
: When I put this line in comment, it stops on
:
: Mid(variable,1,5)
:
: with Mid highlited.
:
: Error is something like
:
: "Syntax error : could not load project or library"
:
: It looks like basic keywoards are no longer recognized. Any idea what
could
: be the cause?
:
: Thanx in advance
:
:
Jul 17 '05 #2
> "Syntax error : could not load project or library"

It looks like basic keywoards are no longer recognized. Any idea what could
be the cause?

Sounds like your library is not registered properly. Did you try
un-registering and reregistering the library and then recompiling?
Jul 17 '05 #3
"Eddy Scheire" <ed**********@skynet.be> wrote in message news:<3f**********************@news.skynet.be>...
Dear all,

I've moved all my VB-code from one PC to another. I load a project and when
I try to run it, it abends on a

Mid(Date,1,2)

with Date highlited.


go to Project / References and see if anything is flagged as 'Missing'
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Mohammed Mazid | last post by:
Hi folks! Can anyone please help me with this? I am developing a Quiz program but I am stuck with "multiple answers". Basically I need some sort of code that would select multiple answers...
1
by: Sean McIlroy | last post by:
There's something quite simple I'd like to do, but I'm hampered by lack of knowledge regarding Tkinter. If someone could help me out with a snippet of maximally-simple code showing, in general...
1
by: LenS | last post by:
If this is the wrong place to post this, please advise better place. Otherwise, I have created the following python program and it works. Running on XP. I think I am now at that stage of learning...
6
by: allyn44 | last post by:
Hi---I have to import some data from excel into an Access table--the code below is working ok but I would like to condense it by running a loop. The number of records can vary from 1 to 30 in each...
0
by: Norbert Heidbüchel | last post by:
Hi all, I have read a lot of postings and web pages about drag and drop and treeviews, but could not find an answer to my problem. Sorry, if I missed something. I am trying to drag and drop...
6
by: James Allen Bressem | last post by:
I was searching through the MSDN documentation trying to figure out how to do drag n drop and I found a sample program. The sample program did all sorts of fancy junk like dynamically create it's...
1
by: Eric | last post by:
When I run my script it gives error on the following line: strEmail = Right(strEmail, (Len(strEmail) - 1)) I enclose my code and the sample text file too Thanks,...
0
by: =?Utf-8?B?U00=?= | last post by:
Hi, We had the following code in our global.asax.cs file when our code was in ..net 1.1 Please note that our production environment uses SSL ad windows authentication based single sign on. ...
17
by: radhikams | last post by:
Hi I want to create a drag drop tool box using javascript... Can anyone please guide me in this regard Thanks
4
by: honey777 | last post by:
Problem: 15 Puzzle This is a common puzzle with a 4x4 playing space with 15 tiles, numbered 1 through 15. One "spot" is always left blank. Here is an example of the puzzle: The goal is to...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.