|
by: Rakehs |
last post by:
Hi,
I have a method Show() which is invoked by several
methods at different intervals. I want to identify the
calling method within Show() whenever it is invoked. How
do i do this?
Thanks in advance
Rakesh
|
by: Gaetan |
last post by:
I would like to extend the capabilities of my application by calling a user method
residing in a client provided assembly without having to recompile my application.
Things would work like this:
1- Read a configuration file where the client provides the assembly name (DLL) and the
method name.
2- Detect the existence of the assembly file.
|
by: John F |
last post by:
Hello,
I'm dynamically loading a child form saved in a DLL. I have this code
working and it's pretty straightforward.
What I'd like to do is pass an object type to an invoked method in the child
form as soon as it's loaded. It seems I can get the invoke working just
fine, but I can't get the object successfully cast inside the invoked method.
Thanks in advance,
|
by: Gaetan |
last post by:
Is is possible in C# to have the equivalent of an array of function pointers in C?
I have a situation where a top level class exposes methods like Add, Delete, ... and a few
child classes with the same methods. Depending on a configuration parameter, the child
method will be invoked when the top level class is invoked.
I would like to avoid having to do something like this:
int configuration;
|
by: Tyler |
last post by:
Can someone help by explaining why the following class will not compile
(VS2005), and what can be done to pass the function pointer to the "C"
method?
When I compile the following program, I get "error C2664: 'CMethod' : cannot
convert parameter 1 from 'Test::DoItFn ^' to 'void (__cdecl *)(void *)':
#include "stdafx.h"
void CMethod(void (* pfvFunPointer)(void *), void * pfvValue)
|
|
by: ddtl |
last post by:
Hello everybody.
Consider the following code:
class A(object):
def met(self):
print 'A.met'
class B(A):
def met(self):
|
by: rn5a |
last post by:
The .NET 2.0 documentation states the following:
When using a DataSet or DataTable in conjunction with a DataAdapter & a
relational data source, use the Delete method of the DataRow to remove
the row. The Delete method marks the row as Deleted in the DataSet or
DataTable but does not remove it. Instead when the DataAdapter
encounters a row marked as Deleted, it executes its DeleteCommand
method to delete the row at the data source. The...
|
by: gwoodhouse |
last post by:
Hello all, Ive been trying to get a helpful progress bar at the bottom
of my app to simply fill up and then disapear.
Unfortunatly, i get this error message when i try to change the .Value
field of the progress bar: "A first chance exception of type
'System.InvalidOperationException' occurred in
System.Windows.Forms.dll" which may be THE most unhelpful error
message ever.
Here is the code:
|
by: Nick |
last post by:
Hi there,
Is it possible to tell how a WebMethod was invoked? For example I would
like to determin if it was invoked via SOAP or HTTP Post. Other than
creating 2 methods I am no sure if I can do this.
Many thanks for your time.
Nick.
|
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: 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: 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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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.
|