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

Abbas_Riazi

@Abbas_Riazi
About
Posts
209
Topics
31
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • PDF2Tiff Utility
    A Abbas_Riazi

    Does anyone know about a free command line utility to convert pdf file to a multipage tiff? Best regards, A. Riazi

    C / C++ / MFC tools question

  • ASP.net hosting provider
    A Abbas_Riazi

    The best is DiscountASP.net[[http://www.discountasp.net](<a href= "New Window")[^]">^]. Best regards, A. Riazi

    The Lounge asp-net csharp database com hosting

  • Network Question
    A Abbas_Riazi

    Here is a question that one of my friend asked me but I haven't any answer for it. Then if you know the answer or if you have any idea, please reply: Assume that if layer K of Network Layers has an unreliable and connectionless service, then by adding some overload to (K+1) layer of Network Layers, we can make the service a reliable and connection oriented service. Now think reverse: Assume that the service of layer K is connection oriented, is it possible to have a connectionless services on layer (k+1)? Best regards, A. Riazi

    The Lounge question sysadmin

  • CS0030 error
    A Abbas_Riazi

    The code in previous thread is created by Visual Studio. Its not mine. When I used ASP.NET Development server there is no error. But when I publish the site on IIS, and when I navigate to log_in.aspx, I got the error. I sent you the code (to your hotmail email). Please take a look at it. Best regards, A. Riazi

    ASP.NET help csharp asp-net sysadmin

  • CS0030 error
    A Abbas_Riazi

    The error is as below: Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0030: Cannot convert type 'ASP.login_aspx' to 'System.Web.UI.WebControls.Login' Source Error:

    Line 120: public login_aspx() {
    Line 121: string[] dependencies;
    Line 122: ((Login)(this)).AppRelativeVirtualPath = "~/Login.aspx";
    Line 123: if ((global::ASP.login_aspx.@__initialized == false)) {
    Line 124: global::ASP.login_aspx.@__stringResource = this.ReadStringResource();

    Source File: c:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mygrouptour\f1c3628f\5bb6eba8\App_Web_login.aspx.cdcab7d2.lfujdkcs.0.cs Line: 122 Best regards, A. Riazi

    ASP.NET help csharp asp-net sysadmin

  • CS0030 error
    A Abbas_Riazi

    I have faced with an strange problem. I created a web site with ASP.NET 2. In various pages, I put Login Control as well as PasswordRecovery Control and CreateNewUser control. Everything is OK when you are running the app. But when you publish it into your site, you will got the CS0030 error when visiting the Login and Password Recovery pages. I don't know why. It is strange because the ASP.NET Development Server shows the pages perfectly without any problem. Best regards, A. Riazi

    ASP.NET help csharp asp-net sysadmin

  • I became father again!
    A Abbas_Riazi

    Yesterday I became father again. Now I have two kids, Mohammad (4 years) and Fatima (1 day)! I'm very happy and excited that Allah sent me this gift. A. Riazi

    The Back Room

  • BOOST uBLAS (Basic Linear Algebra)
    A Abbas_Riazi

    Did anyone work with BOOST uBLAS library for linear algebra? I want to create matrices and also apply some functions such as svd (Singular value decomposition), eig (Eigenvalues and eigenvectors), diag (Diagonal matrices and diagonals of a matrix) and pinv (Pseudoinverse). I want to know that uBLAS can do these functions or not? A. Riazi

    C / C++ / MFC question

  • How to access the I/O port under Windows2000
    A Abbas_Riazi

    You must develop a kernel mode driver or may be using the already exist driver such as WinIO. Best regards, A. Riazi

    C / C++ / MFC tutorial question

  • Finding the modem
    A Abbas_Riazi

    :cool: A. Riazi

    C / C++ / MFC tutorial database question

  • Finding the modem
    A Abbas_Riazi

    See my articles: - Enumerate Installed Devices Using Setup API[^] - Enumerate Properties of an installed Device[^] Best regards, A. Riazi

    C / C++ / MFC tutorial database question

  • Embedding Text into PDF
    A Abbas_Riazi

    Does anyone know how can I embedd some text into an existant PDF that can indexed by search engines? I want to hide the embedded text but search engines can index it. Best regards, A. Riazi

    C / C++ / MFC question database hardware

  • BCH Encoder
    A Abbas_Riazi

    I'm writing an application that requires some BCH ECC (Error Correction Coding). I found some code on the net but the result of calculation is different with the results from MATLAB. Is there anyone that has some experience in this field? The MATLAB code is as follow:

    n =31
    k=21

    %gf is Galois field
    msg=gf([1 1 1 0 0 1 1 1 1 0 0 0 0 1 1 0 0 1 1 0 1])

    cbch=bchenc(msg, n, k)

    cbch Array elements =

    1 1 1 0 0 1 1 1 1 0 0
    0 0 1 1 0 0 1 1 0 1 1
    0 1 0 0 1 0 1 0 1

    Here is the C code (console app):

    #include "StdAfx.h"
    #include
    #include
    #include

    int m = 5, n = 31, k = 21, t = 2, d = 5;
    int length = 31;
    int p[6]; /* irreducible polynomial */
    int alpha_to[32], index_of[32], g[11];
    int recd[31], data[21], bb[11];
    int numerr, errpos[32], decerror = 0;
    int seed;

    void
    read_p()
    /* Primitive polynomial of degree 5 */
    {
    // register int i;
    p[0] = p[2] = p[5] = 1; p[1] = p[3] = p[4] =0;
    }

    void
    generate_gf()
    /*
    * generate GF(2**m) from the irreducible polynomial p(X) in p[0]..p[m]
    * lookup tables: index->polynomial form alpha_to[] contains j=alpha**i;
    * polynomial form -> index form index_of[j=alpha**i] = i alpha=2 is the
    * primitive element of GF(2**m)
    */
    {
    register int i, mask;
    mask = 1;
    alpha_to[m] = 0;
    for (i = 0; i < m; i++) {
    alpha_to[i] = mask;
    index_of[alpha_to[i]] = i;
    if (p[i] != 0)
    alpha_to[m] ^= mask;
    mask <<= 1;
    }
    index_of[alpha_to[m]] = m;
    mask >>= 1;
    for (i = m + 1; i < n; i++) {
    if (alpha_to[i - 1] >= mask)
    alpha_to[i] = alpha_to[m] ^ ((alpha_to[i - 1] ^ mask) << 1);
    else
    alpha_to[i] = alpha_to[i - 1] << 1;
    index_of[alpha_to[i]] = i;
    }
    index_of[0] = -1;
    }

    void
    gen_poly()
    /*
    * Compute generator polynomial of BCH code of length = 31, redundancy = 10
    * (OK, this is not very efficient, but we only do it once, right? :)
    */
    {
    register int ii, jj, ll, kaux;
    int test, aux, nocycles, root, noterms, rdncy;
    int cycle[15][6], size[15], min[11], zeros[11];
    /* Generate cycle sets modulo 31 */
    cycle[0][0] = 0; size[0] = 1;
    cycle[1][0] = 1; size[1] = 1;
    jj = 1; /* cycle set index */
    do {
    /* Generate the jj-th cycle set */
    ii = 0;
    do {
    ii++;
    cycle

    C / C++ / MFC database data-structures help question

  • ADOCE.NET
    A Abbas_Riazi

    This is part of Platform Builder 3.0 and if you have not it, the setup will fail. A. Riazi

    Database csharp database visual-studio com question

  • ADOCE.NET
    A Abbas_Riazi

    I want to create an Access database on my PocketPC (WinCE4.2, PocketPC 2003 OS). Then using C# to populate tables, query tables, ... From a simple search on Google.com I find that I must use ADOCE.NET but I didn't succeed to download it and also didn't see any control that I can use from Visual Studio 2003 (I created a project for Smart Mobile Device). Is there any one has experiences doing such kind of work? Best regards, A. Riazi

    .NET (Core and Framework) csharp database visual-studio com question

  • ADOCE.NET
    A Abbas_Riazi

    I want to create an Access database on my PocketPC (WinCE4.2, PocketPC 2003 OS). Then using C# to populate tables, query tables, ... From a simple search on Google.com I find that I must use ADOCE.NET but I didn't succeed to download it and also didn't see any control that I can use from Visual Studio 2003 (I created a project for Smart Mobile Device). Is there any one has experiences doing such kind of work? Best regards, A. Riazi

    Mobile csharp database visual-studio com question

  • ADOCE.NET
    A Abbas_Riazi

    I want to create an Access database on my PocketPC (WinCE4.2, PocketPC 2003 OS). Then using C# to populate tables, query tables, ... From a simple search on Google.com I find that I must use ADOCE.NET but I didn't succeed to download it and also didn't see any control that I can use from Visual Studio 2003 (I created a project for Smart Mobile Device). Is there any one has experiences doing such kind of work? Best regards, A. Riazi

    Database csharp database visual-studio com question

  • ADOCE.NET
    A Abbas_Riazi

    I want to create an Access database on my PocketPC (WinCE4.2, PocketPC 2003 OS). Then using C# to populate tables, query tables, ... From a simple search on Google.com I find that I must use ADOCE.NET but I didn't succeed to download it and also didn't see any control that I can use from Visual Studio 2003 (I created a project for Smart Mobile Device). Is there any one has experiences doing such kind of work? Best regards, A. Riazi

    C# csharp database visual-studio com question

  • matlab.h
    A Abbas_Riazi

    Did you install the MATLAB Compiler Toolbox? What about MATLAB C/C++ MATH Library? Best regards, A. Riazi

    C / C++ / MFC

  • sad day
    A Abbas_Riazi

    :rose: A. Riazi

    The Lounge json
  • Login

  • Don't have an account? Register

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