|
Hi,
first of all you really need the .Net framework version 1.1. Please check if you have it before any further tries. You should easily get it as its even available via windows update.
Then which link did you follow to download the exe? Its stated in the article that you need the Nortwind database. It is included in this zip. The other demo link wont function because the requred sample database is not included.
If it still doesnt function please include the error message in the next post.
|
|
|
|
|
I have a class that inherites from another class. I launch a WindowsForm within this class and I need to access a function of the base class within this WindowsForm. Any ideas how to do this?
This is what I use in basic:
class BaseClass{...}
...........
class MyClass : BaseClass
{
function open()
{
Form1 myForm = new Form1();
myForm.ShowDialog();
}
}
...........
class Form1
{
public Form1()
{
<< run BaseClass function here >>
}
}
|
|
|
|
|
Depends on the visibility of the method you want to invoke in the base class. If it is public than it could look like this:
class MyClass : BaseClass
{
function open()
{
Form1 myForm = new Form1();
myForm.ShowDialog(this);
}
}
...........
class Form1
{
public Form1(MyClass blubb)
{
blubb.SomeFunction();
}
}
If the method is protected than Form1 cannot call it directly. In this case MyClass will need a public wrapper method which delegates the call further to its base class.
|
|
|
|
|
I'd like to override function calls within an unmanaged application, redirecting them to my own, with the ability to callback the original function if applicable.
I can't find much help browsing boards and google, but I have found the odd (unmanaged) C++ library. These seem to launch the target executible while "injecting" a DLL into the process, which has memory access to change the machine instructions.
Any ideas, examples or advice would be welcome.
|
|
|
|
|
I have this library. What are you intending to do? You won't be able to inject a managed assembly into another app and have it work properly, but you could P/Invoke a "normal" dll into other apps from a managed application. It all depends on what the end result is going to be.
--
Joel Lucsy
|
|
|
|
|
The base application has a string hashtable add function that accepts three pointers as parameters, which is usually called as part of a special interpretted script system, the parameters are: Hashtable pointer (the scripts are non-OO), Name character array pointer, Value character array pointer.
I'd like to "override" this function and use it to issue special commands to an external data access layer which the script language has no support for, while allowing it to have normal functionality. ie.
addItem( table , "SQL:InsertProduct" , "'Compaq Monitor 18\"', $30, 2" );
I have isolated the jump call instruction that needs overriding, presumably it's simply a matter now of somehow changing that with my own instruction.
I need to know:
1) How to "inject" a native DLL into the base process (I'll research this P/Invoke)
2) How to replace function call for another (Perhaps out of the scope of this message board, I just know it has to involve yucky naked ASM.. :/ )
3) How to pass applicable (ie. "SQL:*") calls into my .NET application, perhaps passing a .NET delegate in via a C# extern DLL call.
In time I could probably discover the neccassary articles myself, the least I need is a feasibility check, and a warning of potential pitfalls.
Thanks for any help. I fear I have a lot of reading to do..
|
|
|
|
|
hi.
i have a program with access mdb database and i want to connect my database from pocket pc but when i change a record from each side it will show on each computer(pocket pc and desktop comp) . it could be very nice if someone have an example about it..
or i can chance my desktop database to sql server and pocket pc database to sql server ce but i still need to see changed records online..
thank you
|
|
|
|
|
I moved a c# project from one computer to the other, and when trying to debug gives me the error
"error while trying to run project. The project is not configured to be debugged".
meanwhile in my web.config i have
debug="true"
|
|
|
|
|
Right click startup project
Click Properties
Click Configuration Properties (folder on left)
Check out the debugging settings
|
|
|
|
|
i found the mistake. I didnt create an application name in IIS
|
|
|
|
|
I have been using Visual Studio 6.0 to develop Windows MFC (Via C++) programs, sometimes using ActiveX controls and 3rd party API's.
I have now started to use Visual Studio 7.1 which is .Net?
This is a general question:
Am I programming in .Net or just COM with ActiveX.
I dont see much difference between the two. Is this because I am not using much of the .Net framework?
Comments most welcome.
grahamfff
|
|
|
|
|
You have to add the correct headers, add namespaces, change some syntax and turn on some compiler switches in order to use C++ .NET. Otherwise your still compiling a fully native application.
|
|
|
|
|
I have a user control. I'm opening a Form within this control. I have a Form1 and I use this code to open it:
private void btnShowForm1_Click(object sender, System.EventArgs e)
{
Form1 f = new Form1();
f.Showdialog(this);
}
The problem is, I need to access this parent control properties such Top and Left values in the opened form window but I couldn't do it. I tried to use this.Parent, this.ParentForm, this.Owner and this.GetContainerControl().ActiveControl in the form but athey all gave me "Object reference not set to an instance of an object." error.
What should I do?
|
|
|
|
|
I've downloaded instrumentation widgets 3.0, and added its 'dll' file in references and components for my vb.net project.But the components appear in deactivated form in the tools-components-tab.how do i activate them so tht i can include thm in my form?
aditi_munje
|
|
|
|
|
What u one mean by application domain ?
Patel Neelesh A
|
|
|
|
|
Domain of application
.... From russia with love ....
|
|
|
|
|
Do you think this is funny?
You are having several questions in the forums here but are only making senseless answers to other posters.
|
|
|
|
|
ARE U REALLY FROM RUSSIA...IS THAT THE REASON U ARE BEHAVING LIKE THIS?...OR U JUST CAME BACK FROM A MENTAL ASYLUM...I PITY U DUDE...GET A LIFE
|
|
|
|
|
Hi,
Application domain allows the CLR to provide isolation between applications. The following link will give you more info on Applicationdomains.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconapplicationdomainsoverview.asp
Thanks
SGS
|
|
|
|
|
|
Please provide me advantages/disadvantages regarding the Data Access Application Block in Enterprise Library.
From Russia With Love.
|
|
|
|
|
ADVANTAGE:
FREAKS LIKE YOU DONT KNOW WHAT IT IS
DISADVANTAGE:
I WONDER HOW MANY SOFTWARE APPLICATIONS U WILL BREAK IF U TRY AND USE THIS THING
BOTTOM LINE: ITS NOT MEANT FOR YOU..U ARE BETTER OFF MAKING SENSELESS COMMENTS
-------- FRM RUSSIA WITH LOVE-------
|
|
|
|
|
|
hey can any one tell how is dll hell problem soleve in .net .kindly give the answer in a bit of detail or else pls give some link that explains my
question
Patel Neelesh A
|
|
|
|
|