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
N

Nematjon Rahmanov

@Nematjon Rahmanov
About
Posts
38
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • directshow dinamic format change problem
    N Nematjon Rahmanov

    Hi. I'm writing my own filter in C++ and C#. How i can change audio format ac-3 to lpcm , during playing video/audio ? How i can do dinamic format change? Can anybody help me ? Thanks.

    We are haven't bug,just temporarily undecided problems.

    C# help csharp c++ question

  • Using C++ class in C#
    N Nematjon Rahmanov

    Thanks for reply. I know how to use class methods with pinvoke. But i need use that class (NO METHOD) ? Any ideas? thanks.

    We are haven't bug,just temporarily undecided problems.

    C# csharp c++ help tutorial question

  • Using C++ class in C#
    N Nematjon Rahmanov

    Hi. In my project have 3 module. 1 and 2 nd module writen in c++ and 3th module - Application module written in C#. Every module different parts of projects. My first module have like that class :

    class __declspec(dllexport) MyClass1
    {
    public :
    int n;
    MySimple1()
    {
    n=0;
    }
    ~MySimple1()
    {
    }

    int Plus(int a,int b)
    {
    
    	return n=(a+b);
    }
    

    };

    In my second module have like that class. And this class use 1 th class.

    class __declspec(dllexport) MyClass2
    {
    public :

    MySimple2(MyClass1 a)
    {
    	
    }
    ~MySimple2()
    {
    }
    
    ...
    

    };

    Can i use MyClass1 fields (i know how to use methods) in my C# app? In my C# app , how i can send MyClass1 like parameter to 2nd class ? How i can use like that in my C# app ?

    public MyClass1 my1=new MyClass1();
    int n=my1.Plus(10,12);

    MySimple2(my1); // calling through PInvoke.

    Thanks.

    We are haven't bug,just temporarily undecided problems.

    C# csharp c++ help tutorial question

  • MFC to C# HELP ?
    N Nematjon Rahmanov

    Hi. Anybody know how to equivalent in C# following types : CInternetSession session; CHttpConnection* pServer = NULL; CHttpFile* pFile = NULL; Thanks .

    We are haven't bug,just temporarily undecided problems.

    C# help csharp c++ tutorial question

  • C# XML Atribute help? [modified]
    N Nematjon Rahmanov

    :rose::rose:

    We are haven't bug,just temporarily undecided problems.

    C# help csharp xml question

  • C# XML Atribute help? [modified]
    N Nematjon Rahmanov

    Hi . I have xml file .

    XmlWriter writer = XmlWriter.Create(path + "\\playbackmanu.xml");
    writer.WriteStartDocument();
    writer.WriteStartElement("PlayBack");

    for(int i=1;i<=nCount;i++)
    {
    writer.WriteStartElement("ItemInfo");
    writer.WriteElementString("itemimgpath","img"+ i.ToString() + ".jpg");
    writer.WriteElementString("itemname", "");
    writer.WriteElementString("itemtitle", "Title "+i.ToString());
    writer.WriteElementString("itemcommand",i.ToString());
    writer.WriteEndElement();
    }

    writer.WriteEndElement();
    writer.WriteEndDocument();
    writer.Close();


    #PlayBack#
    #ItemInfo#
    #itemimgpath#img1.jpg#/itemimgpath#
    #itemname##/itemname#
    #itemtitle#Title 1#/itemtitle#
    #itemcommand#1#/itemcommand#
    #/ItemInfo#

    #ItemInfo#
    	#itemimgpath#img2.jpg#/itemimgpath#
    	#itemname##/itemname#
    	#itemtitle#Title 2#/itemtitle#
    	#itemcommand#2#/itemcommand#
    #/ItemInfo#
    

    #/PlayBack#

    is < and >


    How i can add atribute first node ? #PlayBack testAtribute="Hello world"# Thanks.

    We are haven't bug,just temporarily undecided problems.

    modified on Wednesday, April 14, 2010 6:24 AM

    C# help csharp xml question

  • How i can create dvdplayer in directshow?
    N Nematjon Rahmanov

    Hi. I want to create dvdplayer like CiberLink or WinDVD. I can create sample player (run video file,show mediaposition,play,pause,stop,...) with IGraphBuilder,IMediaControl,IMediaPosition and so on. (directshownet) But same dvdplayers have more functionality , for example, fast forward 32x,16x,... , fast backward -32x,-16x,... How i can create dvdplayer with directshow? How to use IDvdGraphBuilder and IDvdControl2 ? If you have some code sample or link, please link it me. Many Thanks!

    We are haven't bug,just temporarily undecided problems.

    C# tutorial com graphics game-dev help

  • send email in asp.net
    N Nematjon Rahmanov

    Hi . I want send email in my asp.net app. I using this code :

    MailMessage objEmail = new MailMessage();
    objEmail.To = "nzoneboy@mail.ru";
    objEmail.From = "nematjon@doda.uz";
    objEmail.Cc = "rnematjon@gmail.com";
    objEmail.Subject = "Test Email";
    objEmail.Body = "my body" + ", " +
    "my comment";
    objEmail.Priority = MailPriority.High;

        try
        {
            SmtpMail.Send(objEmail);
            Response.Write("Your Email has been sent sucessfully - Thank You");
        }
        catch (Exception exc)
        {
            Response.Write("Send failure: " + exc.ToString());
        }
    

    I get following exception: Send failure: System.Web.HttpException: The "SendUsing" configuration value is invalid. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Anybody help me . Thanks.

    We are haven't bug,just temporarily undecided problems.

    ASP.NET help csharp asp-net com workspace

  • try catch in C#
    N Nematjon Rahmanov

    you mean ,

    try
    {
    int i=0;
    int j=2;
    if(i==0)
    {
    throw new ArgumentNullException();// or your exception class
    }
    int k=j/i;
    }
    catch(Exception e)
    {
    messagebox.show(e.Message);
    }

    We are haven't bug,just temporarily undecided problems.

    C# question csharp help tutorial

  • ListView Label Edit help ?
    N Nematjon Rahmanov

    Hi, Thanks for reply. In ListView cantrol haven't selectedtext , startposition. I'm using C# .net framework 2.0. I'm not shure , other .net framework versions have selectedtext property. Anybody help ?

    We are haven't bug,just temporarily undecided problems.

    C# help tutorial question

  • ListView Label Edit help ?
    N Nematjon Rahmanov

    Hi. How i can edit listview item label like windows? For example , in my listview have item and its text is "MyFile.exe" . When i try edit, this label text selected fully:MyFile.exe. But , in vista text selected without extention:MyFile.exe How i can do it ? Thanks .

    We are haven't bug,just temporarily undecided problems.

    C# help tutorial question

  • C# and mobile phone ?
    N Nematjon Rahmanov

    Thank you guys .:rose:

    We are haven't bug,just temporarily undecided problems.

    C# csharp ios help question

  • C# and mobile phone ?
    N Nematjon Rahmanov

    Thanks for reply. What mean of "a third party library" ? :doh: Thanks.

    We are haven't bug,just temporarily undecided problems.

    C# csharp ios help question

  • C# and mobile phone ?
    N Nematjon Rahmanov

    Hi. I'm C# developer. I want to know possible write app in C# for mobile phones ? (IPhone , Google phone , Nokia , Samsung , Motarolla , SonyEricson , LG and ...) Thanks.

    We are haven't bug,just temporarily undecided problems.

    C# csharp ios help question

  • Drag&Drop to Windows Explorer ?
    N Nematjon Rahmanov

    Good day. In my app have ListBox and i items draged.How to know Drag&Drop to Windows Explorer ? My draged items size will be very big , like 4,5 GB, so i can't use MemoryStream. Please help me. Thanks .

    We are haven't bug,just temporarily undecided problems.

    C# help tutorial question

  • How i can protect my C# app Reflector (Red Gate) and other disassemblers ?
    N Nematjon Rahmanov

    Thanks keefb and Abhinav. I was try Dotfuscator. It only renaming methods , fields name.But ,i think , after that can understand. Any ideas? Thanks.

    We are haven't bug,just temporarily undecided problems.

    C# csharp visual-studio algorithms help question

  • How i can protect my C# app Reflector (Red Gate) and other disassemblers ?
    N Nematjon Rahmanov

    Hi. I'm using Visual Studio 2008.I'm writing apps under C#. Some disassemblers (like Reflector) can see my source code. I searching in internet.There are so many app - anti disassembly.And they not free. How i can protect my C# app ? Thanks.

    We are haven't bug,just temporarily undecided problems.

    C# csharp visual-studio algorithms help question

  • Process Exit problem !
    N Nematjon Rahmanov

    Thanks John. Yeah , like notepad , MS Office and so many files working well. But some files like cs , cpp files not working ? Thanks , again for reply.

    We are haven't bug,just temporarily undecided problems.

    C# help csharp c++ visual-studio tutorial

  • Process Exit problem !
    N Nematjon Rahmanov

    Hi John. Thanks for reply. My code :

    Process proc = new Process();
    proc.StartInfo.FileName = fileName;//c:\\test.cs
    proc.Start();

    bool closed = false;
    do
    {
    try
    {
    // try to open a file stream
    using (FileStream fs = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.None))
    // if we get here, we didn't get an exception and the file is ready to be used
    closed = true;
    }
    catch (Exception ex)
    {
    if (ex != null) {}
    }
    } while (!closed);

    Everytime i get closed=true. So i can't detect when file closed. My scenario is correct ? Thanks.

    We are haven't bug,just temporarily undecided problems.

    C# help csharp c++ visual-studio tutorial

  • Process Exit problem !
    N Nematjon Rahmanov

    Thanks. I try

    "\"c:\test.cs\""

    . I just want know when test.cs file closed. Thanks.

    We are haven't bug,just temporarily undecided problems.

    C# help csharp c++ visual-studio tutorial
  • Login

  • Don't have an account? Register

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