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
R

Ray170

@Ray170
About
Posts
5
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Downloading zip files
    R Ray170

    Cracked it. Was using Star Downloader, but deleted this so I was downloading with the Windows utility and hey presto all was well. Never thought this was the problem because Star Downloader downloads other stuff ok. Just goes to show, problems usually have a simple solution - just takes a liitle while for the penny to drop. Many thanks for your interest and suggestions Ray

    The Lounge question

  • Downloading zip files
    R Ray170

    Got WinRAR, but get message "The archive is either unknown format or damaged". Looking at zip files that I create (with Winzip 8.0 )they start with PK.......Lw6i..+i. then a title. But files from CodeProject start \ \ \ \The Code Project - Member Logon - which doesn't seem like a zip file. What ever is going on? </x-turndown>

    The Lounge question

  • Downloading zip files
    R Ray170

    Thanks for all the interest. I am using XP (SP2) and have WinZip 8.0 installed. I get the same problem whether I use WinZip or the extract tool built into XP. I have tried for some considerable time to open zip files downloaded from Code Project with always the same result (zilch). I regularly zip up files and send them to others for work with no problem. I can open and extract zip files that I make and which work sends to me ok. I haven't tried downloading and extracting files from any other URL since this hasn't arisen. The properties of the downloaded zip files are as they should be, not locked. I have 3 XP machines and they all do the same thing with Code Project files. Ray

    The Lounge question

  • Downloading zip files
    R Ray170

    Just a simple question. When I download zip files from Code Project, they download ok but when I try to extract the contenet I get a box which says "Cannot open file: it does not appear to be a valid archive" Can't seem to crack this, anyone any suggestions? Ray

    The Lounge question

  • Simple MAPI can't fill address field
    R Ray170

    I am trying to send email using the simple mapi. I cannot download the example because the server seems to be unavailable, so I wonder if anyone can help. The problem I have is how to handle the MapiRecipDesc field in the MapiMessage structure. Apart from this it all works except I can't fill the Address field. I have the following declarations [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)] public class MapiMessage { public uint ulReserved=0; public string lpszSubject=""; public string lpszNoteText=""; public string lpszMessageType=""; public string lpszDateReceived=""; public string lpszConversationID=""; public uint flFlags=0; public MapiRecipDesc lpOriginator; public long nRecipCount; public MapiRecipDesc lpRecips; public ulong nFileCount=0; public MapiFileDesc lpFiles; } [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)] public class MapiRecipDesc { public ulong ulReserved=0; public ulong ulRecipClass=0; public string lpszName=""; public String lpszAddress=""; public ulong ulEIDSize=0; public IntPtr lpEntryID = IntPtr.Zero; } and in the body I do public const uint MAPI_TO=1; MapiMessage message= new MapiMessage(); MapiRecipDesc recipDesc =new MapiRecipDesc(); recipDesc.ulRecipClass = MAPI_TO; recipDesc.lpszName = "Fred"; recipDesc.lpszAddress = "someone@somewhere" message.lpszSubject = "test subject"; message.lpszNoteText = "test message"; message.nRecipCount = 1; message.lpRecips = recipDesc; Ray

    C# help tutorial sysadmin
  • Login

  • Don't have an account? Register

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