Hi everybody,
About 5 years ago I created a program using Visual Basic in Excel 2003. This has always worked perfectly in our company.
Problem now is that one of the pc's it ran on has crashed, I re-installed Windows XP, and Office 2003 with original disks but when running this excel file is gives an error concerning missing DLL's but does not say which one.
The program still works on the other pc's so it must be something with the installation of Office I think.
I noticed that .NET is also installed upto version 4.
Could that be the culprit ?
Anyone got any ideas as to what could be going wrong.
Thanks a lot for your info.
Andy
6 2724
Is it possible to install XP and office 2003 on a blanco new PC without .net?
Run the VB program and=>
- If it's not working then you are missing DLL's who are not in the original packet.
- If it's working, then the software XP and office is OK and is on the original PC the DLL deleted or overwritten with a new version in which the called functions in the VB are not present or changed ?.
Do you have the source of the VB program?
Are there function call's?
Are all the DLL's in these call's present?
Are there References linked?
Are these DLL's present?
Guido, thanks for your reply.
Here is your answer with my comments.
Weird that it works on all other machines.
Andy
Is it possible to install XP and office 2003 on a blanco new PC without .net? Not possible as the .net is neccessary for another program.Run the VB program and=>
- If it's not working then you are missing DLL's who are not in the original packet.
- If it's working, then the software XP and office is OK and is on the original PC the DLL deleted or overwritten with a new version in which the called functions in the VB are not present or changed ?.
Do you have the source of the VB program? Yes, I wrote it myself
Are there function call's? The first error mentioned is when I try to give a variable a value
Are all the DLL's in these call's present? That's the problem, which DLL's are missing and which do I need ?
Are there References linked?
Are these DLL's present?
- By a blanco PC I mean an other PC: new or old with nothing on the HD.
Just for testing XP, office and your program.
- A variable in a "Declare function..." or a variable "Dim"med by your own?
Guido,
Ik heb geen 'lege' pc beschikbaar.
De code dat een fout geeft is....
datetot = DateSerial(2010 , 2, 10)
Met deze variabele (datetot) ga ik de datum van vandaag verglijken en naargeland eerder of later wordt er een bericht getoond.
Heeft jaren gewerkt, nu met deze pc (na her-installeren) niet meer.
Wat nog raarder is dat als ik deze sub-routine en de call ernaartoe verwijder werkt het nog niet, geeft steeds melding ivm dll's.
Ik heb nu .net versie 4 er vanmorgen verwijderd en ga straks proberen met Office 2003 opnieuw te installeren. Misschien dat dit werkt.
Alvast bedankt voor je tijd en raad.
Andy
Please Andy, can we continue in English ? (house rule of Bytes) so everyone can read it and learn from our problems and solutions.
Do you know the "Object browser" in VBA ?
It tells us in which DLL the function "Dateserial " is found. (see attachments)
Dateserial is in the VBA DLL location: (click on the green VBA at the bottom)
C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6 \VBE6.DLL
Is this file OK?
Guido,
Sorry for the Flemish text, I forgot for a moment that others might also read this.
Appologies to all readers.
My problem is solved !
How did I solve it ?
As I said, yesterday I removed .net version 4 (VBA still gave errors)
This morning I removed Office 2003 and re-installed it (VBA still gave errors)
I installed service pack 2 from disk (VBA still gave errors)
I installed service pack 3 from MS-site (VBA works)
Thanks again for taking the time to read and reply to my messages.
I'll certainly be back if I need more help on VBA in the future.
Kind regards,
Andy
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: cybertof |
last post by:
Hello,
Is there a way to connect (through automation) a c# application to a
running Excel 2003 instance on a specific workbook ?
In the past, i used to use GetObject(...) function in VB6.
Regarding C#, I have heard about
System.Runtime.InteropServices.marshal.GetActiveObject
("Excel.Application")
|
by: kosecki |
last post by:
Hi,
I can't find the way to do something from vb .net in current copy of
Excel. All posts which I read tell how to make application.excel object
and do something. I need to write something like addin for eg:
-Excel is activated and some file is loaded
then i'd like lounch my .net program which has some button
when I press the button some text is jot down in
activesheet/activecell.
|
by: Dominic |
last post by:
Hi
I've done a lot in Excel Automation in prior C# and VB.Net Versions...but
I've no chance just to open an Excel Workbook with Visual Studio 2005. I've
go always these HRESULT-Failures...:-(
Thanks for your help...
Here's one of the code trials:
|
by: Mike in Santa Rosa |
last post by:
I'm trying to get a simple c# app built that can launch/manipulate an excel
workbook, sheet. I've chased down several examples and can't any of them to
work. So I must be doing somethnig obviouslt wrong.
Most examples to get things started include something:
using Microsoft.Office.Interop.Excel;
or
using Excel;
or
using Excel = Microsoft.Office.Interop.Excel;
|
by: Darragh |
last post by:
I'm encountering some serious problems trying to set Access 2000 querys
(parameters and views) as data sources for my mail merge documents
(Word 2003). After spending hours scouring the web for some existing
help and coming up with nothing, its time to admit defeat and ask here
!
Trying to set the data source to a preexisting query via DDE results in
an 'Unable to establish DDE connection' - similar to the error
described at...
| |
by: =?Utf-8?B?U3R1YXJ0?= |
last post by:
Hi There
I have been having a play around with the following code to display a
datagrid in Excel (all from Steve Orr's site):
Private Sub btnTechServAccred_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles btnTechServAccred.Click
Dim AcredDT As DataTable = UserSession.Current.AcredTable
Dim aExcel As New Microsoft.Office.Interop.Excel.Application
|
by: liam_jones |
last post by:
I'm very new to Python, well IronPython to precise, and have been
having problems when using Excel.
The problem I'm having is the closing of my Excel object. I'm able to
successfully quit the Excel Application that I create, but when I open
a Workbook in the Application I can't successfully Quit Excel (by this
I mean I can quit it, but the Excel process isn't getting killed and I
have to manually go this through Task Manager).
I've...
|
by: lilmunchkin97 |
last post by:
I don't know if I'm in the right place or not, but I'm using Excel 2003 and I'm trying to make the white checkbox larger. I've changed the height and width numbers, but that only makes the white space around the checkbox, larger.
Anyone know how to get that fricken box bigger? When I print it out, it's sooo small that you can barely tell there's even a checkmark in it.
Thanks
Rebecca
|
by: =?Utf-8?B?THluZXJz?= |
last post by:
Hello All,
We have a VB.NET application writen using VS 2003. This application apens an
excel file from a vendor, reads the data and performs whatever functions it
needs. We recently upgraded our sytems to Excel 2003 from Excel 2000. Our
application started erroring out because it was having a problem with opening
the Excel file.
From troubleshooting, the exact problem is in Excel 2003, it does not like
the sheet name (even though the...
|
by: bcr123 |
last post by:
As I couldn’t find suitable calculation by using Google:
I am using Excel 2003 and I am trying to calculate maximum drawdown for given data sample.
Various data is recorded in column D (positive and negative values), with D3 being first cell that has numeric value while D500 has last numeric value.
I’ve created graph for range L3:L500* and from it I can manually calculate maximum drawdown and I would like to learn how to create formula...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |