|
He means CodeDOM.
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
Do you possibly mean CodeDOM[^]?
Regards,
Tim
|
|
|
|
|
YES...
THANKS FOR MY N
Pavan Pareta
|
|
|
|
|
CodeDOM stands for code document object model. It's basically set of classes and interfaces describing structure of source code. You can read more on MSDN.
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
I need Urgently The Source code for video watermarking..
If Anyone out there has it Please Forward it to me.. Or Please paste it In the Discussion Board.,,
I've created the pseudocode But not sure about how to Implement it or which language should i use.(tyhinkin of VJ#.NET and C#.NEt)_..
i just need a small Utility and the basic idea as of yet is a 1min video.. split it into frames and watermark the frames and recompile images to video..
please help me out.. thank U.
Christin
|
|
|
|
|
Please don't cross post.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Good evening Christian,
Wnt you leave this site for 24/7 hr,days. Why?. If I would have been you, I could be enjoying with my family a lot and lot and lot more. There is lot of life apart from this computer, am I right? I said this because today is Satur Day no. So that you can spend your personal life. I am sorry if you feel bad. I would like to do it. But I cant do, because mine is small company and to become like you, I have to do a lot. Right?
May be I dont know your conditions, why you are doing this(May be only to help others, if its then its great). But its my openion. I am sorry if I said more.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Yep, it's Saturday here.
Truth is, I do 40 hours a week for CP, and I work every evening and through the weekends on other stuff. So long as I am working, I am online, keeping an eye on CP and looking for questions to answer. I work from home, CP is also my social life.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Ok. Then other than that 40 hrs will be hell for us. Specially for me. Because I ask the questions for which nobody will(may be can I dont know) answer. Most of the times I got replies from you. If not from Pete. Few times from others too. Thank you for all those replies. And Salam too.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
I have a REmote Object as given Below
Public Class ClsFixRem
Inherits MarshalByRefObject
Public Delegate Sub EventHlndr(ByVal ObjOrderMsg As ClsFixRem.OrderMsg)
Public Event Evnt As EventHlndr
Public Function MessageSend(ByVal Ds As DataSet) As String
Dim Objmsg As New OrderMsg
Objmsg.OrderNo = "470"
RaiseEvent Evnt(Objmsg)
End Function
End Class
I have a Server Exe Hosting the REmote Object as given Below. It is a winform app.
Dim channel As New Tcp.TcpChannel(8085)
Dim r As New RemLib.ClsFixRem
RemotingConfiguration.RegisterWellKnownServiceType
("RemLib.ClsFixRem, Remlib", "RemLib.ClsFixRem",
WellKnownObjectMode.Singleton)
Obj1 = New RemLib.ClsFixRem
AddHandler Obj1.Evnt, AddressOf handlevent
Event Handler in Server.exe
Public Sub handlevent(ByVal ObjOrderMsg As RemLib.ClsFixRem.OrderMsg)
MsgBox("handleevent")
End Sub
Client.exe
===========
It is asp.net web application.
If ChannelServices.RegisteredChannels.Length = 0 Then
ChannelServices.RegisterChannel(chnl)
End If
Objrelib = CType(Activator.GetObject
("RemLib.ClsFixRem,Remlib",
"tcp://localhost:8085/RemLib.ClsFixRem"),
RemLib.ClsFixRem)
s = Nothing
Dim str As String
str = Objrelib.MessageSend(dsTemp)
=========
The server.exe is connected to a third system thru a tcp socket. the socket connection is opened when the server.exe starts. the connection should be kept open.
When the client activate the remote object (Remlib) and call the method MessageSend. it should fire the EVent which is handled on the server Exe. in this event handler on the server.exe sends data to the socket and it awaits the response from the third system.
The client of the application is a asp.net web application.
Now when the MessageSend method on the Remote object (Remlib) is called from the asp.net application the event handler on the server.exe is not getting handled.
and because of this i could not send the message to the socket.
Can you give a solution for this.
Regards
Pramod Kumar R
|
|
|
|
|
I need to convert some text into an integer array. How do I go about doing this?
thanks for your help,
Mike
|
|
|
|
|
A lookup table, I guess.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
String[] text=originalText.Split(" ");
int[] intArray=new int[text.length];
for(int i=0;i<text.length;i++)
intArray[i]=Convert.toInt32(text[i]);
-- modified at 13:46 Saturday 3rd February, 2007
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[^]
|
|
|
|
|
That depends on what the text contains and how you want to convert it. Do you want to convert each character to it's character code, or does the text contain the textual representation of numbers in any form, that you want to parse?
Does you text look something like this?
"123, 4, 18, 4, 11, 93"
Or something like this?
"123-4-18-4-11-93"
Or something like this?
"4A 10 f8 fe 08 0f"
Or something like this?
"4A10f8fe080f"
Or something like this?
"007, 053, 016, 024, 004, 103"
Or something like this?
"Hello world!"
---
single minded; short sighted; long gone;
|
|
|
|
|
Thank you everyone for your help. I actually meant to post this message in the vb.net section. I hadn't had to do this conversion in a long time so I forgot the function for doing it. I just rememebered today the asc() function in vb.net does this. Although I'm not sure if it would work for any unicode characters.
I'll also try a vb form of the c code you gave me Thomas. That might work if I ever have to deal with a unicode character.
I appreciate everyones help,
Mike
|
|
|
|
|
The Asc function will work just fine with Unicode characters, despite it's name. ASCII was brand new when BASIC was created back in 1963, but now it's kind of outdated...
You should move on into the .NET world, though, and just convert the character to an integer as Thomas suggested. That's what the Asc function does anyway, it's just a wrapper for the real .NET method.
---
single minded; short sighted; long gone;
|
|
|
|
|
The code I wrote was written in Visual C# so it should be easier to convert to VB than if it was in C (which I don't even know ). The code is also is not specific to unicode characters. The Convert.toInt32(Object obj) is a standard method in the .NET framework.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
What about this:
Int32 x = Int32.Parse(string);
|
|
|
|
|
In DataGridView, I'm wanting to create a column of buttons with bitmap faces instead of text. No sweat doing the buttons using DataGridViewButtonColumn. However, I've not found a simple way to put a bitmap or icon on the button face. Anyone done this?
|
|
|
|
|
I am working with large bitmaps (in the range of 5000x5000 pixels) and found no support for loading the image with gray scale. The only supported 4 and 8 bit format is colour, what I found online was the 16 bit format doesn't work. Using a gray scale conversion after the fact was very time consuming. In the end I changed the palette of the 8 bit format using the following code
ColorPalette pal = segyBMP.Palette;
int j = 255;
for (int i = 0; i < pal.Entries.Length; i++)
{
pal.Entries[i] = Color.FromArgb(j, j, j);
j--;
}
segyBMP.Palette = pal;
(The decrementing j is to reverse the black/white - saves me else where is the code.)
Does anyone know if there is a gray scale palette already in the system so I wouldn't have to make my own? Or a better way to handle the gray scale issue? I don't want/need colour and size does matter. I want to keep it to 8 or maybe 4 bit format.
Jim
-- modified at 13:20 Friday 2nd February, 2007
|
|
|
|
|
AFAIK there are no ready-made palettes whatsoever, and I cannot imagine a simpler
way to construct the one you are using.
I trust you use images with PixelFormat=Format8bppIndexed.
Luc Pattyn
|
|
|
|
|
jimwawar wrote: The only supported 4 and 8 bit format is colour, what I found online was the 16 bit format doesn't work.
Interesting. The 16 bit format is interesting, because it stores partial color values. However, it certainly 'works'. 4 and 8 bit have palettes, anything higher, doesn't. My image processing articles show how to convert 24/32 bit to greyscale, making it work with 16 bit is pretty easy.
jimwawar wrote: Does anyone know if there is a gray scale palette already in the system so I wouldn't have to make my own?
No, a palette is just a palette.
jimwawar wrote: I don't want/need colour and size does matter. I want to keep it to 8 or maybe 4 bit format.
I'd be inclined to convert to 24 bit, convert to gray with a color matrix, and convert back. I'm not sure which would be faster, but that seems less error prone.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
Hi ,
I am using a property grid to show some controls property and dynamically set them.I want to remove some property or customized some choosed property .How can I do this.Please help me.It is urgent.
thanks in Advance
Sandy
|
|
|
|
|
If it's urgent, then learn to use google. It is not good form to say that something is urgent, because while it's urgent for you it doesn't affect me one way or the other. Why should I be inconvenienced by your lack of planning?
As a hint, take a look at BrowsableAttribute.
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.
|
|
|
|
|
Hi, all!
I have a following problem, and i can't find a right solution.
Description:
There is a COM server written on C++ and it works through IDispatch and it does't have a TYPELIB. And from another side there is a COM client developed on C#. Through LATE BINDING it uses a COM server
and COM server sends different events to client, but i can't implement COM event handling mechanism.
Please, anybody can help me?!
Thanks in advance!
|
|
|
|