|
Thanks a lot friend now It is giving error on this line
Stream xmlStream = GetStreamFromDataSource();
I am using following code to get values from webservice;
il.co.besttv.mfw32.Front fm = new il.co.besttv.mfw32.Front();
XmlNode resultNode = fm.fetchCategoryFrontXml(customId, guiId, priceId, vodTreeId);
Regards,
Abubakar
|
|
|
|
|
Hi Pete O'Hanlon,
You didn't reply me yet about this line of code
Stream xmlStream = GetStreamFromDataSource();
This is giving a complie time error.
Regards,
|
|
|
|
|
Excuse me, but I give my time freely to this site and don't have time to waste on people who don't want to help themselves. If you think about the code sample for more than a couple of seconds you will see that it can't possibly know about how to get your XML stream, which is why I put a stub method here (cunningly called GetStreamFromDataSource).
I'm sorry, but you are going to have to actually do some work for yourself and figure this one out yourself. I have spent more time on your problem than I normally would have and I've provided code samples for you to look at. At some point you have to engage your brain and actually do some work for yourself.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
I am really sorry for wasting your time. by the way I worked on it 3 hours not couple of seconds. Thanks for comments,
Regards,
Abubakar
|
|
|
|
|
Hi all,
I am working on C# windows applcation..
I want a componet, which will generates the waveform as output..
Hope u understood my requirement please help me as soon as possible
i'd surfed alot, and with no result..plz help
pashi
prashanth,
s/w Engineer,
Syfnosys.
|
|
|
|
|
|
Hi John,
Thnx alot for ut valuable Response,
But Please look at my Requirement Below,
John, My requirement is,
see i have a laser which emits radiation with some frequency, i need to catch that lasers output and I HAVE TO TAKE THIS AS INPUT TO MY COMPONENT...AAnd i have to process this(i've algorithms to process) and MY OUTPUT(i mean my components output) Should be capable of giving output in DIFFERNNT TYPE OF WAVEFORMS(Like sign wave,CW RAMp etc..(ofcource only one at a time))
Thnx in advance,
pashi
prashanth,
s/w Engineer,
Syfnosys.
|
|
|
|
|
I'm really going to have to change my sig. My names Pete not John. John is the name of somebody that I'm quoting.
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.
|
|
|
|
|
oh! sorry mr.pete
i was mistraken.
k about requirement...
did u found/know any tool which can help me
all it should is just -it should be capable of taking inputs and process them in to DIFFERENT KINDS OF WAVEFORMS>....
thnx in advance
pashi
prashanth,
s/w Engineer,
Syfnosys.
|
|
|
|
|
There's always this one from National Instruments. http://ni.com/mstudio/[^] It's expensive, but it does seem to cover what you need.
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 want to view avidio via windows media player i used the media player class
and write this
m.FileName = "Goda-Masri-03.wmv";
m.AllowChangeDisplaySize = true;
m.AutoStart = true;
m.ClickToPlay = true;
m.CurrentPosition = 0;
m.DisplaySize = MPDisplaySizeConstants.mpFullScreen;
m.Enabled = true;
m.EnableFullScreenControls = true;
m.ShowControls = true;
m.ShowDisplay = true;
m.ShowPositionControls = true;
m.VideoBorderWidth = 55;
m.WindowlessVideo = false;
m.PreviewMode = true;
m.ShowAudioControls = true;
m.ShowDialog(MPShowDialogConstants.mpShowDialogContextMenu);
m.ShowDisplay = true;
m.AboutBox();
m.DisplayMode = MPDisplayModeConstants.mpFrames;
m.DisplaySize = MPDisplaySizeConstants.mpDefaultSize;
m.EnablePositionControls = true;
m.ShowCaptioning =true;
MessageBox.Show( m.SourceLink);
m.TransparentAtStart = true;
m.VideoBorder3D = true;
m.SelectionEnd = 66;
m.Play();
but ihad that exeption
Error HRESULT E_FAIL has been returned from a call to a COM component.
iwant know how tosolve this
|
|
|
|
|
Which line is giving the error?
|
|
|
|
|
m.play()
is give the exiption
|
|
|
|
|
Have you set the URL you're trying to play?
|
|
|
|
|
the value which i assinged is only in the first message so
if i didnt write any athintial line tell me
or if u know anther way to run windows mesia player throw c# code or to show vedio throw c# application please tell me
andthank u for ur help
|
|
|
|
|
Can I use a library(dll) created with .net(C#) in a non .net programming language (Borland Delphi for Win32), with .net framework installed?
How do I do that, because I couldn't import the library.
Thanks!
|
|
|
|
|
You could always expose the relevant methods to be used via COM interop.
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.
|
|
|
|
|
thanks!
but how can I do that?
I'm not very experienced with dlls
|
|
|
|
|
Having several million lines of Delphi under my belt... I would advise you not even to try.
There is masochistic... and then there is very masochistic. But even worse... there are giant steps backward in time.
For efficient executables, I recommend moving to MS VC++. If you can live with the "performance" of .Net, go for C#.
|
|
|
|
|
PS. The reason you cannot import the library is it is not compatible with Delphi/Win32.
|
|
|
|
|
ie. To program with the library, it must be a .BPL ("Borland Package Library"). If it were a generic Win32 .dll, you could (otherwise) call into it.
|
|
|
|
|
Hi all,
i want to change color of tab control there is no property to change backcolor.
its there for individual tab pages.
but color of tab buttons remains same
thanks
vivek
vivek
|
|
|
|
|
Have you tried inheriting a new class from TabControl, then doing some custom painting in the OnPaint or OnPaintBackground methods?
|
|
|
|
|
Dear Mazy,
Coloring of the datagrid cell was very very helpful in my recent project.
That's really great.
thank u
warm regards
raja
|
|
|
|
|
That's nice, but why is this a separate thread?
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.
|
|
|
|