Category: Soft/Programming

  • http://www.stumbleupon.com

    Что-то сегодня с этого сайта прет очень много людей. Идут на страницу с ShowPW
    Уже за полдня было более 2 тыс.человек. Прямо в данную секунду там 62 человека

    Видно кто-то запостил ссылку и она сейчас висит сверху. Либо у кто-то из популярных там авторов пропиарил меня.

    PS: программа фриварная с блоком из AdSense. Посетители оттуда рекламу не щелкают:-( Хотя всплеск посещений неплох.

  • parser for Skype log-files (.dbb)

    New TSMImportFromSkype component added in SMImport suite
    The log files (.dbb) processed.

    PS: not all tag/record processed but most popular are there

  • DreamSpark нахаляву

    Microsoft раздает нахаляву всем студентам-аспирантам свои девелоперские тулзы:

    http://blogs.gotdotnet.ru/personal/kichik/PermaLink.aspx?guid=18aa5b84-09c2-48e8-aec7-8ea75f72148f
    http://dreamspark.ru

    В настоящее время по программе DreamSpark доступны следующие инструменты:

    • Visual Studio 2008 Professional Edition
    • Visual Studio 2005 Professional Ediation
    • SQL Server 2008 Developer
    • Windows Server 2008 Standard
    • Windows Server 2003
    • Expression Studio 2
    • XNA Game Studio 2.0
  • IsThirdPartyWorld

    function IsThirdPartyWorld(const Country: string): Boolean;
    begin
      if (Country = ‘USA’) or
         (Country = ‘AU’) or
         (Country = ‘AT’) or
         (Country = ‘BE’) or
         (Country = ‘CA’) or
         (Country = ‘DK’) or
         (Country = ‘FI’) or
         (Country = ‘FR’) or
         (Country = ‘DE’) or
         (Country = ‘IS’) or
         (Country = ‘IE’) or
         (Country = ‘IT’) or
         (Country = ‘JP’) or
         (Country = ‘NL’) or
         (Country = ‘NZ’) or
         (Country = ‘NO’) or
         (Country = ‘PT’) or
         (Country = ‘ES’) or
         (Country = ‘SE’) or
         (Country = ‘CH’) or
         (Country = ‘US’) or
         (Country = ‘UK’) then
        Result := False
      else
        Result := True;
    end;

  • Spanish translation for msgview

    Thanks to Igor Martinez

    Now we have the translated strings for Spanish language for Viewer for MS Outlook Messages and Viewer for TNEF-files (winmail.dat)

  • ShareIt Control Panel

    Сегодня ShareIt в очереной раз обновил свою контрольную панель. Из того положительного, что видно сразу же – в списке неоплаченных заказаов видна причина.

    Например, для WireTransfer – “Payment request sent to customer”. А вот для одного поляка сейчас светится “Payment not possible”. Наверное его банк отклонил транзакцию по карте

  • .mht files

    Today I modified the parser for .eml-messages (TSMEMLFile component) and now .mht-files (MHTML Documents) parsed correctly too.

    So I created the new TSMMHTFile component in SMMsg suite and updated our viewer for emails

  • to get the current directory

    String s = Directory.GetCurrentDirectory()

    For Compact .NET:
    String s = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase);

  • to read the IMEI in Compact .NET

    //Import cellcore.dll
    
    [DllImport("cellcore.dll")]
     internal static extern int lineGetGeneralInfo(IntPtr hLine, byte[] bCache);
    
    // code to get IMEI
    private void getIMEIInfo()
    {
    string IMEI;
    Tapi t = new Tapi();
    t.Initialize();
    Line _line = t.CreateLine(0, LINEMEDIAMODE.INTERACTIVEVOICE, LINECALLPRIVILEGE.MONITOR);
    
    byte[] buffer = new byte[512];
    //write size
    BitConverter.GetBytes(512).CopyTo(buffer, 0);
    
    if (lineGetGeneralInfo(_line.hLine, buffer) != 0)
    {
    throw new System.ComponentModel.Win32Exception(System.Runtime.InteropServices.Marshal.GetLastWin32Error(), "TAPI Error: " + System.Runtime.InteropServices.Marshal.GetLastWin32Error().ToString("X"));
    }
    
    int serialsize = BitConverter.ToInt32(buffer, 36);
    int serialoffset = BitConverter.ToInt32(buffer, 40);
    IMEI = System.Text.Encoding.Unicode.GetString(buffer, serialoffset, serialsize);
    IMEI = IMEI.Substring(0, IMEI.IndexOf(Convert.ToChar(0)));
    
    AppSettings.SetIMEI(IMEI);
    _line.Dispose();
    t.Shutdown();
    }
    

    To get the TAPILib: http://www.alexfeinman.com/download.asp?doc=tapi1.1.zip