473,659 Members | 2,666 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

calling private assembly from vfp8 application

Hi,
I have a vfp8 application xx.exe, and a private assembly
yy.dll, I use regasm.exe export the yy.dll to yy.tlb and
register it; in xx.exe will create an object of yy
(something like oApp = createobject("y y.clsTest")), but
when I deploy the xx.exe and yy.dll to a test machine
(Win98), and registered the yy.dll, xx.exe will be crashed
if the yy.dll and yy.tlb in the different folder from the
xx.exe("OLE error code:0x80040154 ), if I put the yy.dll
and yy.tlb in the same folder of the xx.exe, it's running
OK, I really want to put the dll library in a different
folder from the application exe file, can anyone teach me
what I can do?

Regards
Jul 21 '05 #1
0 875

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

Similar topics

2
672
by: Yang Liu | last post by:
Hi all, I have a .net windows application xx.exe, which reference a private assembly yy.dll, the property "local copy" of the yy.dll reference is automatically set to true, so the yy.dll will be copied to the output folder, which is the same folder as the xx.exe, that means when I deploy the application xx.exe, I must include the yy.dll to the same folder as the xx.exe exists in, but I want the folder that include the xx.exe(it's always...
0
1150
by: Alex | last post by:
Hi I have an external assembly which I call from a windows forms application. What I want to do is terminate the calling application from within the assemnly - or otherwise ensure that the calling application has terminated before the code in the assembly starts executing. Anyone know how I would do this? Thanks Alex.
0
884
by: Boris Kagan | last post by:
I have existing database in VFP8 with some stored procedures in it. Front-end has been developed in ASP.NET and C#. How to call these SPs and return results in XML format? Thanks.
0
2567
by: Mike Collins | last post by:
I apologize for using this newsgroup for what seems like a VB6 question, but I did not see a newsgroup for VB6. I also think I may not have the C# code setup correctly for calling from VB6. If anyone can please help, I would greatly appreciate it. I have a C# DLL, code below that I am trying to call from a VB6 program. I read an article that said to run RegAsm.exe from the .Net SDK and this would enable you to reference the C# DLL from...
0
627
by: Yang Liu | last post by:
Hi, I have a vfp8 application xx.exe, and a private assembly yy.dll, I use regasm.exe export the yy.dll to yy.tlb and register it; in xx.exe will create an object of yy (something like oApp = createobject("yy.clsTest")), but when I deploy the xx.exe and yy.dll to a test machine (Win98), and registered the yy.dll, xx.exe will be crashed if the yy.dll and yy.tlb in the different folder from the xx.exe("OLE error code:0x80040154), if I put...
2
2436
by: Sky | last post by:
Hello: I'm trying to make sense of snk files, when to use, under what conditions to regenerate new ones,...can someone take a look if these statemes make sense? And then the final questions at the end that they first statements bring up in my mind... a) Because two developers, unbeknownst to each other, can end up releaseing different dll's with the same name, one should sign an assembly with a unique tag. right?
2
2321
by: D2 | last post by:
Hi, I have a requirement where I need to call a generic method without knowing the class name i.e. I'm getting class name from xml file. Given below is a replica of the scenario we are having. The generic method shown is just to explain the scenario, actually its somewhere outside. private void Form1_Load(object sender, EventArgs e) {
7
2677
by: =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post by:
I have a C# logging assembly with a static constructor and methods that is called from another C# Assembly that is used as a COM interface for a VB6 Application. Ideally I need to build a file name based on the name of the VB6 application. A second choice would be a file name based on the # COM interface assembly. I have tried calling Assembly.GetCallingAssembly() but this fails when I use the VB6 client. Is there a way to get this...
8
1983
by: Derek Hart | last post by:
I am unclear about what all the requirements are to call a simple vb.net application, installed in the GAC, from COM (such as writing vba in Word to call the dotnet dll). I believe I have installed the dll in the GAC. It is in there and has a public token. I did not create a key-value pair. I believe it is strong named, as it shows up in the GAC. How do I browse the objects of it? I would like to call it late bound, but the errors I...
0
8330
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,...
0
8850
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, 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...
0
8746
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 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...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4175
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...
0
4334
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2749
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
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.