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
Z

ZenyukIV

@ZenyukIV
About
Posts
13
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • [Message Deleted]
    Z ZenyukIV

    [Message Deleted]

    Database

  • System.Web.Mail.MailAttachment problems with sending a message with attachment file
    Z ZenyukIV

    Thanks for everyone. I've refused using System.Web namespace becouse I've solved the problem with System.Net The problem was pretty stupid. I've downloaded update for Framework 2.0 link[^] and installed it to ALL CUSTOMERS' PCs.

    .NET (Core and Framework) csharp announcement

  • System.Web.Mail.MailAttachment problems with sending a message with attachment file
    Z ZenyukIV

    Dave Kreskowiak wrote:

    And why's that?

    I don't know why MS update for System.Net does't work for me. So I use System.Web

    Dave Kreskowiak wrote:

    Was there any return message?? Some kind of error message?? Anything on the recipients end at all??

    Return message - "protocol is unknown" Exception data - "System.Collections.ListDictionaryInternal" Nothing on the recipients with attached file. But works well without attachment. Thanks for help

    .NET (Core and Framework) csharp announcement

  • System.Web.Mail.MailAttachment problems with sending a message with attachment file
    Z ZenyukIV

    Hello everyone! I know that System.Web is obsolete, but I can't use System.Net. becouse MS update for System.Net does't work for me. So I have to use System.Web.Mail.MailMessage instead. It works fine. But when I try to attach file with mailMessage.Attachments.Add(new System.Web.Mail.MailAttachment(Settings.Default.LicenseFilesStore + licenseFilePath)); My e-mail simply could't be delivered Could someone please provide me with an advice. M.b. suggestion to download & use some custom developed smtp class. Thanks in advance.

    .NET (Core and Framework) csharp announcement

  • publishing resource folder [modified]
    Z ZenyukIV

    The solution is to use Application.UserAppDataPath instead of Application.StartupPath internal sealed partial class Settings { public Settings() { this.SettingsLoaded += new System.Configuration.SettingsLoadedEventHandler(Settings_SettingsLoaded); } void Settings_SettingsLoaded( object sender, System.Configuration.SettingsLoadedEventArgs e ) { String dataDirectory; if (( AppDomain.CurrentDomain.DomainManager != null ) && AppDomain.CurrentDomain.DomainManager.ToString().Contains("VSHost")) { dataDirectory = Application.StartupPath; } else { dataDirectory = **Application.UserAppDataPath**; } this["test1ConnectionString"] = Settings.Default.test1ConnectionString.Replace(".\\", dataDirectory + "\\"); } Thanks to http://blogs.msdn.com/smartclientdata/archive/2005/07/15/439008.aspx[^]

    .NET (Core and Framework) question learning

  • publishing resource folder [modified]
    Z ZenyukIV

    Dear All. When I publish an application, there are 2 root folders created something like the first one ...\Apps\2.0\N2NJKNK\JHKJ7897KJ\**appl..tion**_ace7blkjnjn_0100.0000_534535 - where my app.exe file stored and the second one ...\Apps\2.0\N2NJKNK\JHKJ7897KJ\**appl..exe**_ace7blkjnjn_0100.0000_7689767 - where my resource files stored (some.exe, data.sdf) So to access to my resource (eg data.sdf) I have to do like that: "..\\appl..exe_ace7blkjnjn_0100.0000_7689767\\data.sdf" The question: is there any proper way to get to that "...\**appl..exe**_..." folder

    modified on Friday, December 28, 2007 9:32:45 AM

    .NET (Core and Framework) question learning

  • Publish app for multi user usage
    Z ZenyukIV

    Hello everybody! I would like to know how can I publish an application with VS2005 to make it works not only for a single local user purpose. After installation I can launch my application on local computer only from current (which has installed) user account. But I need this application to be available for any local user account. Thanks in advance. Igor Zenyuk

    C# question

  • WebBrowser control NewWindow event catch & retreive requested URL
    Z ZenyukIV

    I have an WinForm and WebBrowser control on it. WebBrowser generates a NewWindow event (many web links have that settings by default) than I catch it, make it e.Cancel = true. But the question: how to retrieve full requeted URL The code: ... webBrowser.NewWindow += new System.ComponentModel.CancelEventHandler webBrowser_NewWindow); ... void webBrowser_NewWindow( object sender, System.ComponentModel.CancelEventArgs e ) { Console.WriteLine("New window" + (sender as WebBrowser).Url.ToString()); e.Cancel = true; } Thanks in advance!:cool:

    C# tutorial question

  • Nickname changed & I can not find my messages under MessageBoard/C#
    Z ZenyukIV

    Thanks

    The Lounge csharp

  • Nickname changed & I can not find my messages under MessageBoard/C#
    Z ZenyukIV

    I have changed my nickname from ZenyukIV to ZeniukIV and now I can not find my messages under MessageBoard/C# Sorry for troubling You.

    The Lounge csharp

  • Send a string from one form to another forn
    Z ZenyukIV

    Create win app, name main form Sender, add another form - Reciever and code: namespace WindowsApplication1 { public partial class Sender : Form { **Reciever reciever;** public Sender() { InitializeComponent(); reciever = new Reciever(); reciever.Show(); } private void button1_Click( object sender, EventArgs e ) { reciever.Controls["label1"].Text = textBox1.Text; } } }

    C# algorithms help

  • webBrowser.Url == null ?
    Z ZenyukIV

    Thank for all I created additional dictionary to collect URL, becouse it seems to me that WebBrowswer has URL property resolved after "web paged displayed", But I can't create additional thread to wait while it will be finised -- modified at 8:29 Thursday 1st November, 2007

    C# question

  • webBrowser.Url == null ?
    Z ZenyukIV

    Could You please provide me with solution I have a panel and only one control on it - WebBrowser control. When I try to access to webBrowser.name is OK, but webBrowser.Url == null WebBrowser webBrowser = webBrowserTabControl.SelectedPanel.Controls[0] as WebBrowser; webBrowsersCollection.SelectedWebBrowser = webBrowser.Name; currentURL = **webBrowser.Url**.ToString(); Thanks in advance

    C# 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