in VB express, me is either the application or the form depending on
context. Is the an object pronoun that points the current sub, function or
event? I want to use that pronoun to display sub name,.... in debug
messages 4 1011
There is no Me-like thing available for this but the following will get you
what you are looking for:
System.Reflecti on.MethodInfo.G etCurrentMethod ().Name
"GS" <gs************ **********@msne ws.Nomail.comwr ote in message
news:OD******** ******@TK2MSFTN GP05.phx.gbl...
in VB express, me is either the application or the form depending on
context. Is the an object pronoun that points the current sub, function or
event? I want to use that pronoun to display sub name,.... in debug
messages
Excellent. thank you very much
"Siva M" <sh******@onlin e.excite.comwro te in message
news:Ol******** ******@TK2MSFTN GP04.phx.gbl...
There is no Me-like thing available for this but the following will get
you
what you are looking for:
System.Reflecti on.MethodInfo.G etCurrentMethod ().Name
"GS" <gs************ **********@msne ws.Nomail.comwr ote in message
news:OD******** ******@TK2MSFTN GP05.phx.gbl...
in VB express, me is either the application or the form depending on
context. Is the an object pronoun that points the current sub, function or
event? I want to use that pronoun to display sub name,.... in debug
messages
have a look at GetCurrentMetho d
hth
guy
"GS" wrote:
>
in VB express, me is either the application or the form depending on
context. Is the an object pronoun that points the current sub, function or
event? I want to use that pronoun to display sub name,.... in debug
messages
thanks but my visual studio vb express 2005 doe snot recognized that. I
wish it does.
"guy" <gu*@discussion s.microsoft.com wrote in message
news:A3******** *************** ***********@mic rosoft.com...
have a look at GetCurrentMetho d
hth
guy
"GS" wrote:
in VB express, me is either the application or the form depending on
context. Is the an object pronoun that points the current sub, function
or
event? I want to use that pronoun to display sub name,.... in debug
messages This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Gabriel B. |
last post by:
Is it just me that can't find a full reference in the docs?
I wanted a list of all the methods of dict for example... where can i find it?
Thanks, and sorry if this question is just dumb, i really can't find it
|
by: Waqas |
last post by:
HI guys,
sorry for being naive, but i have wasted alot of time searching for a
undergrad. project but cannot come up with anything. can someone
generously suggect me something so that i can move forward. I am, I
think, in a lot of mess.
:P I will be waiting for a response.
:)
takecare.
|
by: JohnSouth104 |
last post by:
Hi
I've an asp.net, c#, sql server website and the volumes are starting to
rise quickly. I've been asked to look at improving the memory usage of
the application. I've not looked at this before so these are probably
naive questions:
1. If I close the sql connection every time do I need to close or
dispose of the dataset, command or any other objects?
2. Should I use data adaptor instaed of dataset?
|
by: sillyhat |
last post by:
Hello,
Can someone please help.
I have come across code similar to this which I prepared as an
example:-
/*-------------8<------------------*/
#define ASIZE 10
int main()
{
|
by: Rory Campbell-Lange |
last post by:
I have a number of web applications which have a large amount of their
logic written in plpgsql. For each particular application I have a
separate instance of a database. If I need to update functions I have to
connect to each database and then run \i fn_function_update.sql.
I imagined schemas might allow me to globally update functions across a
database hosting many schemas with the same structure. In this scenario
my webapp would...
| |
by: Rob Clark |
last post by:
Hello all,
I have a design problem for which my current C++ solution
feels more like a hack. :-( I'd like to change that :-)
The real problem can be destilled to something like this:
One client wants to send data using one specific top layer
protocol. At this top layer, there are a number of different
protocols, where each one inherits the main Protocol class.
And every protocol subclass in turn contains several different
|
by: johan2sson |
last post by:
The documentation for PyThreadState_SetAsyncExc says "To prevent naive
misuse, you must write your own C extension to call this". Anyone care
to list a few examples of such naive misuse?
Johan
|
by: pragy |
last post by:
Hey, can any one help me for writing a program of naive gauss
elimintaion technique?
It's a technique to solve system of simultaneous linear equations
using matrix.
thanks
|
by: Christopher Benson-Manica |
last post by:
Some recent posts got me thinking about how one might have dealt with
simplistic malloc() implementations which might return NULL for a 64K
request but might accept two 32K requests or four 16K requests. (I'm
assuming, perhaps incorrectly, that quality modern implementations
will coalesce free space as necessary and if possible to satisfy
requests.) I came up with the following (compilable but untested)
first cut at code to try a...
|
by: mjm2114 |
last post by:
Hi there,
I have a question on a naive implementation of a parallel MT that I've
done using the fortran version of MT19937ar.f posted in Prof.
Matsumoto's website. (http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/
MT2002/emt19937ar.html)
First, I setup a KISS RNG (Marsaglia, 1999)
in the master node and seed it. I then use the first 4 outputs from
the master node to
|
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: 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: 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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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: 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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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();...
| |
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: 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...
| |