473,386 Members | 1,706 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,386 software developers and data experts.

Satellite Assemblies Not Visible from GetCallingAssembly?

I have 3 assemblies... the application, a common assembly
(classlibrary), and a resource assembly (classlibrary).

When the common Assembly calls a function in the resource assembly, in
the resource assembly, I am trying to get the 'assembly' reflection of
the caller, so I am expecting GetCalling Assembly on the following
sequence to return the 'common' assembly...

application->common->resource.method1->resorce.method2 returns
resource as the calling assembly. How can I get the common assembly
to be visible? Walking the stack frame?
Nov 21 '05 #1
1 1190
Hi Schorschi,

If I understand you correctly, you're right; you need to walk the stack. From Assembly you can get the current assembly, the calling assembly or the
application, but anything in the middle you need to get on your own.

Craig VB.Net Team
--------------------------------------------------------------------
This reply is provided AS IS, without warranty (express or implied).

--------------------
From: Sc*******@DSLExtreme.COM (Schorschi)
Newsgroups: microsoft.public.dotnet.languages.vb
Subject: Satellite Assemblies Not Visible from GetCallingAssembly?
Date: 5 Sep 2004 19:16:51 -0700
Organization: http://groups.google.com
Lines: 11
Message-ID: <21**************************@posting.google.com >
NNTP-Posting-Host: 69.167.160.220
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1094437012 21367 127.0.0.1 (6 Sep 2004 02:16:52 GMT)
X-Complaints-To: gr**********@google.com
NNTP-Posting-Date: Mon, 6 Sep 2004 02:16:52 +0000 (UTC)
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXS01.phx.gbl!cpmsftn gxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul. t-online.de!t-online.de! newsfeed.gamma.ru!Gamma.RU!newsfeed.media.kyoto-u.ac.jp!postnews2.google.com!not-for-mailXref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.languages.vb:227573
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

I have 3 assemblies... the application, a common assembly
(classlibrary), and a resource assembly (classlibrary).

When the common Assembly calls a function in the resource assembly, in
the resource assembly, I am trying to get the 'assembly' reflection of
the caller, so I am expecting GetCalling Assembly on the following
sequence to return the 'common' assembly...

application->common->resource.method1->resorce.method2 returns
resource as the calling assembly. How can I get the common assembly
to be visible? Walking the stack frame?


Thanks & Regards
Santhosh Somayajulu
Internet Information Services Team,
Microsoft
Nov 21 '05 #2

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

Similar topics

1
by: Afaq | last post by:
Hi, After adding large number of empty resource files (which will be updated later), we are not able to compile the project. the following is the output of the build process. It fails while...
0
by: thbst16 | last post by:
After a number of weeks of fruitless research and experimentation, I decided to turn to the group with this issue and see if anyone had any experiences or insights that might help me out. Here's...
1
by: Afaq | last post by:
Hi, After adding large number of empty resource files (which will be updated later), we are not able to compile the project. the following is the output of the build process. It fails while...
0
by: Faris Ahmed | last post by:
Dear ASP newsgroup, I have the following environment: 1) VS2005 ASP.NET 2.0 WebApplication called MyApp. 2) MyApp contains Strings.resx, Strings.en.resx and Strings.de.resx in...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.