|
The OCX you created the wrapper for, as well as the wrapper, must be installed on the client in order for the OBJECT tag in the HTML to use them. You did NOT remove the requirement for a client-side installation, you've actually created a second installation requirement to get your code to work.
If these components are not installed on the client side, you'll see a little red X where the component should show up. This is because the browser can't find the components you specified in the OBJECT tag.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I dont know whether I need to install the ocx or not in this situation, but let me check with it. What essentially I need is I want to run the code whatever I wrote in that assembly this is very imp for me now, mainly I wrote the code for displaying and editing a word content in it. But I am not getting it. I would be thankful if you could help me in this problem. Please.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Yes, you do! You didn't convert the thing to a .NET assembly. You created a .NET wrapper around the control. It won't work without the original control being present and INSTALLED.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
indian143 wrote: I have seen your article it is very nice,
*grin* you're not posting in response to an article, you're posting in the .NET framework forum
indian143 wrote: At the place of the control its giving a red mark.
Best guess would be that you have a permissions problem. If I were you, I'd create a very simple windows control, forget the DSO Framer control. Get that working in IE, then you will know you've worked through all issues for the simplest possible case, then you can insert the DSO thing into the windows control. It's possible that it's detecting that Active X is in use, and Active X settings need turning on as well.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
He's trying to do this so there is nothing that has to be installed on the client-side to show Office documents in a web browser. He's got it stuck in his head that he converted the .OCX control to a .NET assembly and that'll remove the requirement that the client installs a component.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
*sigh* he's deleted his posts. I've been trying to help him for days, but he doesn't seem to listen, and takes any negative comments about his approach personally.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Christian Graus wrote: and takes any negative comments about his approach personally.
Sadly, it's for this very reason that he won't make it in this business.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
yeah - I spent days trying to help him, and he kept acting like I was trying to take shots at him, b/c I told him he was barking up the wrong tree ( and that he needed to do some work instead of asking over and over for something that obvioulsy doesn't exist ).
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Yeah, I agree with you, but what should I do, I followed according to my thoughts. I feel sorry for that, may be according my experience my level of thoughts may reach to this level only. Thats why I am posting it to share it with all the people. I am sorry if its making inconveinience to you. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
No Christian its not because of permissions. It may be because of any problem in creating and registering assembly because here ocx is being converted in to .net assembly, so it must be perfectly converted otherwise it will give problems.
May be in installation process, unknowingly I might have done any mistake.
The 3rd and important problem may be in referring attribute in object tag(like class id etc.). If you can, please guess it. I am in that process only.
About the windows control, how can I display office content in to a windows control, if you could give me some hint. I will deffinitely try with that. Please tell me if you have any idea.
Very important please tell me the meaning for *grin*. Whats that.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
indian143 wrote: Very important please tell me the meaning for *grin*. Whats that.
A grin is a little smile.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Christian,
If I write the code to diplay word by using aspose for a windows control and then place it in a web page will it be ok. Please tell me if you have any alternate option. Dont be too hurry to reply first complete your work and then only try to help me. Because dont get disturbed in your work for my sake. Ok. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
*grin* I obviously answer when I am happy to make time.
I really don't know how I'd display a Word doc in a web page. But, if I had a control that did it, I'd use it and tell my client that's how it was.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Well. Good luck with that then.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
This is toomuch arent you serious about any thing even if some one is putting all his efforts to do it. Thank you for your courtesy, if you dont want dont reply thats the best thing to avoid this.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
indian143 wrote: This is toomuch arent you serious about any thing even if some one is putting all his efforts to do it. Thank you for your courtesy, if you dont want dont reply thats the best thing to avoid this.
Yes - I am. However, there were no details as to what was wanted and therefore there was no way that I could offer any advice. However, as he would receive an emailed reply to his post I hoped that a lighthearted approach might alert him to the fact that the details weren't present.
If you look around the boards, you will find that I put a lot of time into giving people constructive advice. You may remember that I even offered you a lot of constructive help.
If somebody is serious, and doesn't abuse the boards, then I will help. Occassionally I will point them to google and sometimes I will give them code or pseudocode. But, I can only do this if there is sufficient information to do so. Where the requirements are missing, I can only let them know that they haven't given sufficient detail - and at least I avoid the normal habit of using smileys to get this point across.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
I see that you probably think this was a reply to your question. It wasn't - the original thread that I replied to has been deleted. Take a look at the timestamps.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Its Ok, I will give you the details, I am using an activeX control in a Windows class library. Then after passing from many hurdles I could able to compile it, register it and install it in GAC. It has become an assembly. By using the link http://msdn.microsoft.com/msdnmag/issues/02/01/UserCtrl/, I tried to access it in to my web application as an <object..............> tag but, it is showing nothing. A red X symbol with empty control. Control is visible but not showing any thing in it.
Actually in the load event of the control assembly I wrote to access a word document. I am able to get it(the doc), when I use the same code in windows forms application. But whats wrong with this. Now I am afraid to ask "help", if you can otherwise as your choice. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Don't be afraid to ask for help. That wasn't the problem that I had. It was cross-posting that I objected to. I was the person who went across to the Lounge yesterday to ask if anybody could help you.
Anyway, to your problem. Here's a typical .NET configuration:
<object id="dsoFramer1" classid="DsoFramerControl.dll#AkebonoSoft.DSO.Framer"
width = "600" height="300">
<object>
The classid portion is the critical one. The first part is obviously the name of your DLL in the GAC. The second part (the bit after the #) is the namespace and class that you have created. In this instance, the namespace is AkebonoSoft.DSO and the class is Framer.
Your object must look like that. Note that you may want to put some paremeters between the tags - that really depends on what your implementation looks like.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
I have been trying in that way only, even I am not getting where I might have done the mistake. This problem is really hectic Pete. Why MS did this kind of mistake and put lot of security holes and installation headaches. May be for more user friedliness. I dont know.
Let me have a cup of tea and then think about this.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Really, I reaching the target Pete, I converted the ocx in to .Net assembly and put it in GAC to, it ia really big thing to do, any way I did it. But the only thing that is left is to display the word content in to it. If I could do that, then it means it is complete.
If you know tell me. Thank you in advance.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Last time. You did NOT convert the OCX to a .NET assembly. You mearly created a wrapper for it. You installed the wrapper into the GAC, but it won't work unless the original .OCX control is installed and registered also.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Pete could you please tell me what is Akebonosoft, DSO and Framer clearly and how they are created and their hierarchy and all. May be problem lies here only. If you could give me the data, I can analyse the things in better way.
One more question if you dont mind, when we install our assembly in to GAC, will it create some different name and how to access assmblies in our application which are installed in GAC. Will it store the assembly in to network server give some full details as much as you can.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
The example I gave featured a fictitious namespace and class. AkebonoSoft just related to the name of your company and DSO was because it was the DSO framer control. I haven't forgotten your query - I've knocked together a quick sample and tried it (using an ActiveX control that I quickly created). Unfortunately, all I get appears to be an iframe, so I'm not sure what's going on there. If I get any further with it, I will let you know.
the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Does .NET Framework provide support for developing a Winsock LSP?
Thanks.
Ken....
|
|
|
|