Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Andy Rama

@Andy Rama
About
Posts
227
Topics
101
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Writing vKVM/VNC/Remote Desktop Server using C in LINUX
    A Andy Rama

    Hi All, I am working on my college project "Virtual Keyboard Video Mouse (vKVM) Server using C on LINUX". (Probably Server will have Graphics Data available in provided memory location) I searched on Internet. It's similar to to "Virtual Networking Computing (VNC)" & "Remote Desktop". VNC uses Remote Frame Buffering (RFB) Protocol for it. I studied "LibVNCServer" but couldn't use it. Please suggest me how to approach for this project? How should I start writing code for it? Initial requirement of project is Basic Server to transmit video/desktop data is also fine. Please help me for that. Thanks & Regards, Aniket A. Salunkhe

    C / C++ / MFC graphics sysadmin linux performance help

  • For Multilingual Application
    A Andy Rama

    Thanks again.

    C# tutorial question

  • For Multilingual Application
    A Andy Rama

    Thank you very much for ur help. I will try it. I have to use character code tables ISO/IEC 8859-5 to ISO/IEC 8859-15 & few others (from Annex A.2 of 'Specification for Service Information (SI) in DVB systems' http://www.dvb.org/technology/standards/a038r6.tm1217r17.en300468v1.11.1.pdf[^]. Will it work with it? Is there any way to identify character code table of a given string? Thanks & Regards, Aniket A. Salunkhe

    C# tutorial question

  • For Multilingual Application
    A Andy Rama

    Hi to all, I want to know, How to convert => A string of "char" into Text or Bytes information coded using (ISO/IEC 8859-x) character sets according to language used for string of "char" ? Language can be any regional or international. Thanks & Regards, Aniket A. Salunkhe

    C# tutorial question

  • How to store & retrieve Paragraph Data using XmlSerializer in XML
    A Andy Rama

    Following is working properly, without taking care of carriage return. Here I am using XmlTextReader & XmlTextWriter instead of FileStream. //XML to .NET Object (Reading XML) using (XmlTextReader xtr = new XmlTextReader(new StreamReader(sXmlPath))) { XmlSerializer xserObject = new XmlSerializer(typeof(Child)); objChild = (Child)xserObject.Deserialize(xtr); //objChild = xserObject.Deserialize(xtr) as Child; xtr.Close(); } //.NET Object to XML (Writting XML) using (XmlTextWriter xtw = new XmlTextWriter(new StreamWriter(sXmlPath))) { XmlSerializer xserObject = new XmlSerializer(typeof(Child)); xserObject.Serialize(xtw, objChild); xtw.Flush(); xtw.Close(); } Once again thanks for your support.

    C# csharp xml tutorial question

  • How to store & retrieve Paragraph Data using XmlSerializer in XML
    A Andy Rama

    Thanks for reply. Where & How to put carriage return? If I am getting a value for an attribute as "Test Line1\nTest Line 2\nTest Line3" from XML; then do u mean to convert it to "Test Line1\r\nTest Line 2\r\nTest Line3". Thanks & Regards, Aniket A. Salunkhe

    C# csharp xml tutorial question

  • How to store & retrieve Paragraph Data using XmlSerializer in XML
    A Andy Rama

    Hi to all, I am writting a C# Windows Application in which it uses XML to store & retrieve Student Data (like Name, Addres, DOB, Educational Details, Economical Conditions, etc). To store & retrieve data from XML, I am using XmlSerializer class. But some student data are in form of paragraph (like Educational Details, Economical Conditions, ..). How to store & retrieve that data using same XmlSerializer class? Thanks & Regards, Aniket A. Salunkhe

    C# csharp xml tutorial question

  • Generating Crystal Reports from class objects
    A Andy Rama

    Hi to all, I have a 'Child' class as follows, public class Child { public string FirstName, MiddleName, LastName; public string Sex; public DateTime DOB; public string EducationDetails; public string Health; } In my application, I am having multiple objects of 'Child' class storing information of each Child. Using those objects, I want to generate Crystal Reports for each child showing his details. And then I will convert those reports to PDF files. How to do this? How to generate multiple crystal reports from multiple objects of 'Child' class or any class? Please help. I appreciate any and all comments and suggestions. Thanks & Regards, Aniket A. Salunkhe

    C# help tutorial question

  • Generating formatted file
    A Andy Rama

    Thank you very much. It is very helpful for me, to generate a file with formatted text & image. Thanks & Regards, Aniket A. Salunkhe

    C# tutorial question

  • Generating formatted file
    A Andy Rama

    Thank you. I think it is be helpful for me. Provided class has AddImage method too. I will reply to you, as soon as I complete my task. Thanks & Regards, Aniket A. Salunkhe

    C# tutorial question

  • Generating formatted file
    A Andy Rama

    Thanks for suggestion.

    Natza Mitzi wrote:

    You can also try reposting your question and give the options you are trying (rtf, macro etc.) I am interested in hearing the solution you find.

    I will do that. Now I am using StreamWriter to create a rtf file as per your suggestion. I have 2 questions, 1. Can I add image using StreamWriter? & How? 2. If now possible to add image using StreamWriter. Can I creat/append a file using existing file which is having some data (for example image)? I tried to add image using StreamWriter, but didn't get any solution. Thanks & Regards, Aniket A. Salunkhe

    C# tutorial question

  • Generating formatted file
    A Andy Rama

    Thanks for the suggestion. I tried it. But it is not going to work properly with a Paragraph (from multiple lines textbox). Is there any formatting function availables with StreamWriter? Else do you know how to use macro ( written by Microsoft Word in VB ) in C#? Thanks & Regards, Aniket A. Salunkhe

    C# tutorial question

  • Generating formatted file
    A Andy Rama

    Thanks for suggestion. With the help of your code, I have wriiten statements as follows, line = String.Format("Name: {0} {1} {2}", txtLastName.Text, txtMiddleName.Text, txtFirstName.Text); writer.WriteLine(line); writer.WriteLine(); line = String.Format("Date OF Birth: {0}", dtDateOfBirth.Value.ToString("dd-MMM-yyyy")); writer.WriteLine(line); writer.WriteLine(); line = String.Format("Address: {0}", txtAddress.Text); writer.WriteLine(line); writer.WriteLine(); writer.WriteLine(); line = String.Format("Education: {0}", txtEducation.Text); writer.WriteLine(line); writer.WriteLine(); writer.Flush(); Output file is as,

    Name: ASD FGH JKL

    Date OF Birth: 30-Feb-2009

    Address: Block Number,
    Area, City
    PinCode

    Education: Done School in 1999, with % of Marks.
    Done PG in 2004 with % of marsk.</

    But I want output file as with 'Justify' alignement,

    Name: ASD FGH JKL

    Date OF Birth: 30-Feb-2009

    Address:
    Block Number,
    Area, City
    PinCode

    Education:
    Done School in 1999, with % of Marks.
    Done PG in 2004 with % of marsk.

    How to do this? Thanks & Regards, Aniket A. Salunkhe

    C# tutorial question

  • Generating formatted file
    A Andy Rama

    Hi to all, I want to create multiple documents or reports (Word Files or PDF Files) as following format,

    Reference No:

    Name:
    ----------- -------------- ---------------
    Surname First Name Middle Name

    Date Of Birth:

    I have to fill the content in blan spaces. How I can do above formmating while generating files? In one forum, it is written to use StreamReader & StreamWriter classes to create formatted files. How to use StreamWriter using content of a StreamReader (from a fixed file), to generate new formatted file? Regards, Aniket A. Salunkhe

    C# tutorial question

  • Need a AVC/H.264 Video Decoder
    A Andy Rama

    Hi, I think I am missing some thing while creating H.264 video output pin to "MPEG-2 Demultiplexer". Because that pin is not connecting to most of the H264/AVC Video Decoder. Please guide me to create video output pin (for H.264) to "MPEG-2 Demultiplexer". Actually I want to render multiple multicast sources which are in H.264 format. Thanks & Regards, Aniket A. Salunkhe

    C / C++ / MFC

  • Need a AVC/H.264 Video Decoder
    A Andy Rama

    Guid H264SubType = new Guid("8D2D71CB-243F-45E3-B2D8-5FD7967EC09B");

    C / C++ / MFC

  • Need a AVC/H.264 Video Decoder
    A Andy Rama

    Hi, I am creating a filtergraph in DirectShow (windows). How can I use libavcodec in my case? Simulated filter graph is, "MPEG-2 Multicast Receiver" --> "MPEG-2 Demultiplexer" --> "Video Decoder" --> "Video Renderer" It is receiving H264 ASI Stream. I am creating an output video pin 'v1' to "MPEG-2 Demultiplexer" with following settings, VideoInfoHeader hdr = new VideoInfoHeader(); hdr.BmiHeader = new BitmapInfoHeader(); hdr.BmiHeader.Compression = 0x68323634; vid_media.majorType = MediaType.Video; vid_media.subType = ExtraFunctions.MediaSubTypeH264; vid_media.formatType = FormatType.Mpeg2Video; vid_media.fixedSizeSamples = false; vid_media.temporalCompression = false; vid_media.sampleSize = 0; vid_media.formatSize = Marshal.SizeOf(hdr); vid_media.formatPtr = Marshal.AllocCoTaskMem(vid_media.formatSize); Marshal.StructureToPtr(hdr, vid_media.formatPtr, false); Pin 'v1' is not connecting to "ffdshow Video Decoder". I can connect pin 'v1' to "MainConecpt AVC/H.264 Video Decoder". "MainConecpt AVC/H.264 Video Decoder" is not having resolution setting, which I want to set as 'Quarter'.

    Michael Schubert wrote:

    http://ffmpeg.mplayerhq.hu/index.html\[^\] ?

    How can I use libavcodec? Is there any onther video decoder? Is there any thing wrong in video output settings? Thanks & Regards, Aniket A. Salunkhe

    C / C++ / MFC

  • Need a AVC/H.264 Video Decoder
    A Andy Rama

    Hi to all, Please suggest me a good 'AVC/H.264 Video Decoder", having 'Quarter Resolution' property. Thanks & Regards, Aniket A. Salunkhe

    C / C++ / MFC

  • Need help to create DirectShow filter to read RGB 32/RGB 24 bit pixels
    A Andy Rama

    Thanks for reply. Custom Filter with RGB24, a Color Space Converter filter gets added between custom filter & video renderer. While with RGB32, it is directly connecting to video renderer. I am using Elecard Video Decoder.

    Code-o-mat wrote:

    experimenting with a different filter to see how it behaves

    I tried with different video deocders, but i m getting more issues with other deocders, like inverted video, green video, etc

    C / C++ / MFC help question

  • Need help to create DirectShow filter to read RGB 32/RGB 24 bit pixels
    A Andy Rama

    Hi, First I am conecting as MPEG-2 Video Decoder --> My Custom Filter --> Video Renderer & run the graph Input Pin Properties of My Custom Filter Major Type : Video Sub Type : RGB32 Format : RGB 720x480, 32 bits Output Pin Properties of My Custom Filter Major Type : Video Sub Type : RGB32 Format : RGB 720x480, 32 bits And in output I get video cropped at bottom --------------------------- Then I am conecting as MPEG-2 Video Decoder --> Video Renderer & run the graph Input Pin Properties of Video Renderer Major Type : Video Sub Type : DXVA_ModeMPEG2_A Format : NV12 704x576, 12 bits Aspect Ration: 4x3 Interlace format: Interleaved Bob Only proper video output --------------------------- After that I am conecting as MPEG-2 Video Decoder --> My Custom Filter --> Video Renderer (again) & run the graph Input Pin Properties of My Custom Filter Major Type : Video Sub Type : RGB32 Format : RGB 704x576, 32 bits Output Pin Properties of My Custom Filter Major Type : Video Sub Type : RGB32 Format : RGB 704x576, 32 bits And in output I get am getting proper video

    C / C++ / MFC help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups