Sorry but I'm quite new in c# and I don't know exactly what u mean, could u please explain it? When I add my Ax control "myCtrl" in the aplication, I think Aximp.exe creates AxmyCtrl which is the wrapper for my control and is dervied from AxHost. However, if I derive this class, I can't find the protected methods u talked about. I've looked in the help for the members of AxHost and I don't find those protected methods. Could u tell me more exactly what should I do? thx for everything, ORi.
ORi x
Posts
-
ActiveX and c# -
ActiveX and c#Hi ! I'd like to know how can I pass parameters to an ActiveX in a c# windows application. As far as I know, the ActiveX control implements IPersistPropertyBag so that the container in html can pass the params through the Tag PARAM in the HTML tag OBJECT. However, I don't know how to do it within a c# application. Please, somebody could help me ??? thx in advance,
-
What do you listen to?My playlist: Kraftwerk (Trans europe express) Covenant (united states of mind) s.p.o.c.k (never trust a klingon) NeuroticFish (Velocity) Apoptygma Berzerk (7) And One (Flop!) ORi :-D
-
ADO Connectiontry catch (_com_error &e)
-
How long have you been in your current job?:-D :-D :-D :-D
-
How long have you been in your current job?Have been in my current job for 10 months but I'm changing next week because some jerks from a consultant company told my actual boss to change applications to Java because has more future than .NET and he believed them. Talking about that I'd like to know your opinion about consultant companies (not trying to offend anyone who might work as a consultant) because my experience with them has been horrible. 4 months ago I was talking with two consultants (I must admit they were'nt programmers) and suggested us to change to an easier programming language to reduce costs (and YES, they suggested VB) so I'm still laughing when I remember that... Well, the fact is that now we're changing to Java and this is why I'm leaving to another company. ORi
-
Terrorism and the UKObviously you won't treat the same a terrorist band from your country than a foreigner one since I don't think bombing your own country will ever be supported by the people. ORi.
-
Terrorism and the UKUps, does it mean we'll see the American army in Spain fighting against ETA? I hope not because I don't have place in my house for a tomahawk missile. ORi.
-
CarefullyI'd like to say that is one of the best posts that I've read since the terrorist attack. Not intending to offend anyone since I also live in a country where we've been under the terrorist threat for 20 years from now, I'd like to point that the important question we all shall ask us is what is happening to the world if someone gives his life for something like that. At first I thought they where just people without any culture being dominated for somebody using their religion as the motive, but recently I've read that the terrorist weren't like that. They had already studied and grown up in foreig countries, so they sure had an opinion and knew what were they going to do. It may seem it has no significance who they where, but in my opinion it has, and a lot. You can easily dominate and convince somebody to give up his life if he has no culture and is obfuscated by religion but it's really harder to do it if that person has his own opinion, that means that he really believes in what he is doing and has thought about it. Finally point that, as history has shown us, the force has never been a solution to this problem, by "nuking Afganistan" you will only get thousands of innocent deaths and nothing more. Or if you could get the authors of the attack, if we don't know why they did it and try to solve it in some years another terrorist band will grow up. ORi.
-
Re-design In Order?I don't think it's a good solutions since is an oportunity for a possible terrorists. They wouldn't have to worry for introducing a weapon in a plane since there's already one in it. This is the principle for not carrying armed guards in planes, if terrorists reduced them (and they can be as trained as the guard) they would easily get a weapon without having done any control in the airport.
-
Education is the solutionDo you really think education is the solution? Education may stop (or decrease) suicide attacks, but I'm from a country with over 20 years of terrorism without any suicide. There are a lot of countries with non-islamic terrorists and a good education. Increasing their education would only translate into better formed terrorists. That is not the solution. To finish with terrorism is not just a matter of force, as history has shown us, the key is in the dialog between the parts trying to reach an accord (Actually most of the wars/terrorist acts respond to particular interests). I know all this might sound a topic but lately (and I really understand it since I've had the same thoughts when it happened near me) I've been reading some posts that I'd like to think that have been impulsive and due to the magnitude of the situation. To find a solution to this problem is a responsability for all the mankind and is the only way we will reach anything other than another killing. At last but most important, I'd like to say that I feel really sad for what has happened and I hope this meaningless scene won't happen again, and we have to work for that.
-
Freezing a list controluse InsertItem(&Item) where item is a LVITEM structure and has stateMask = 0 this does exactly what you want, it inserts the new item without focusing on it. ORi.
-
Do you do nature? Or is safari.com your lot?I'm from Barcelona and have been this holidays in Africa (Kenia & Tanzania), did a lot of safaris in Serengeti and it's the first time I've done something like this. I must admit I was a bit scared (one day an elephant got angry with us and almost made us crash with the car!) and since I'm used to live surrounded by buildings I found it really incredible. I'd never been in a place like that, where you turn around and you can't see anything done by humans, just savanah. Really nice place, must admit it. ORi.
-
How can i dynamically change the edit control's bkcolor ?Handling WM=CTLCOLOR you can set the back color of the control, use pDC->SetBkColor(COLORREF) ORi
-
A language by any other nameActually meta is a word that comes from the greek and stands for "beyond", that would be a more approximate translation. For example, metaphisics is beyond-phisics ORi
-
Lines of code...Some time ago, I programmed an application for a small company and my employer asked me to use a lot of lines of code because if not, that company would think it didn't worth what they pay for it (we gave them the source code), they just wanted to open the project and see thousands of lines so it's the most commented project I've ever programmed, every line had it's comment ! If ( a == b ) { //this is an if } else { //this is an else } ORi:)
-
A language by any other nameI agree with that. XML is a storage format, some kind of data structure, the programming language would be XSL ORi.
-
Does not ANYONE know how to kill this bug?!?!!?!?!Sorry!!!! My English isn't very good so when I read left I understood right! Now I've tried what you said with the nested splitter windows on the left and YES it happens also to me! It must be some bug...
-
Does not ANYONE know how to kill this bug?!?!!?!?!You've described exactly the main window of my application and is where I tried it. So I repeat everything went fine! ORi
-
Does not ANYONE know how to kill this bug?!?!!?!?!I'm using a lot of nested splitter windows in my current application and it doesn't happen to me.