473,466 Members | 1,430 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to find Me in a library procedure

I have a procedure and in the procedure I use "Me"
Since I have multiple copies of this procedure in various places I place it
into a library as a Shared Sub.

The problem is in the library I can't use Me so I add an argument like:
( ByVal c as Control, ...)

and call it with Me as the parameter:
Library.DoSub(Me, ...)

Is there a another way?

Can't the procedure figure out who c is from the stack some how?

I've been looking at StackTrace but can't see the solution there.

Can you suggest how this can be done?

Thanks in advance

Jan 23 '08 #1
2 1012
Hi Bill,

Armin is one of the longest and most respected community members of the
International and German VB for Net newsgroups and at least I want to keep
it like that.

He has no problems with any discussion, however in my idea is he not waiting
on a learning tone from a MVP.

Be aware however that in answering questions, we don't always want to be
exactly correct.
That an OP understand it and helped with that is more important than any
theoretical explanation.

I know that Armin knows more from VB (including VB6) than a lot of MVP's

If you want any deeper information about that, then mail Jay, Herfried or
me.

Sorry Armin, I could not resist.

Cor
Jan 24 '08 #2
"Cor Ligthert [MVP]" <no************@planet.nlschrieb
Sorry Armin, I could not resist.
Thanks for the kind words, Cor! I really appreciate all your
contributions, too. However, please no personality discussion. I don't
feel that Bill was disrespectful. I only think it was a kind of
misunderstanding each other.
Armin

Jan 24 '08 #3

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

Similar topics

1
by: compraj | last post by:
I was using the SQL 2000 stored procedure wizard to create stored procedures. I can create insert, delete and update SPs however I am not able to create the select SP. The wizard does not offer the...
1
by: Mike Chamberlain | last post by:
Hi all. I'm trying to extend the Microsoft Enterprise Library Data Access Application Block (http://msdn.microsoft.com/library/en-us/dnpag2/html/daab.asp?frame=true) to work with a Borland...
2
by: Benny Ng | last post by:
The authentication code of enterprise libiary like the following: IAuthenticationProvider authenticationProvider = AuthenticationFactory.GetAuthenticationProvider(); IIdentity identity;...
0
by: Michel Esber | last post by:
Hello, DB2 V7 FP 13 running on Linux. We have developed a C++ shared library that will be called by a db2 stored procedure. Every time my developers generate a new .so shared library, I copy...
3
by: taru | last post by:
Env: DB2 UDB 8.1 on AIX We are executing a db2 sql stored procedure which is invoked from a java client. The stored procedure contains few select, insert and update statements. Using the DB2...
0
by: TattedProgrammer | last post by:
Hello All, I am completely stuck, I have tried for an entire day to get a simple procedure call to my Oracle Db via the enterprise Library 06. I am not an oracle fan to start, but have to deal...
10
by: salty | last post by:
.... when no one here has an answer? Does MS offer support for its programming products where that support doesn't cost an arm and a leg, but where you can at least get a response? I'm not...
0
by: db2user24 | last post by:
I'm trying to invoke a DB2 stored procedure. The stored proc is coded in C and compiled to a shared library, which has been placed in the <DB2 dir>/functions directory. The platform is Linux (using...
3
by: Zudnic | last post by:
Hi, long time listener, first time caller so to speak. Thanks to everyone who has answered other questions that I've found and used. I'm self-taught in Perl and have been hacking at it for more...
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
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
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
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...
0
agi2029
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.