Jump to content
Xtreme .Net Talk

PROKA

Avatar/Signature
  • Posts

    255
  • Joined

  • Last visited

About PROKA

  • Birthday 06/23/1982

Personal Information

  • Visual Studio .NET Version
    Visual Studio Enterprise 2005
  • .NET Preferred Language
    VB.NET, C#

PROKA's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello, I would like to have a custom button, near minimize and maximize buttons in the Caption Bar and be able to write code behinde for that button, just like some applications do, like GetRight or TeamViewer. See the picture. Thank you
  2. Hello. I have the following code: Dim mail As New MailMessage(email_from, email_address, Subject, body) If EmailBCC <> "" Then mail.Bcc.Add(EmailBCC) Dim client As New SmtpClient(email_smtp) client.UseDefaultCredentials = False client.Credentials = New Net.NetworkCredential(email_user, email_pass) client.DeliveryMethod = SmtpDeliveryMethod.Network mail.IsBodyHtml = True If CuAtasament = True Then mail.Attachments.Add(New Attachment(pdf_stream, "Factura " & NrFactura & " - " & Utilizator & ".pdf")) End If Dim dac As New DataAccess Try client.Send(mail) Call pdf_stream.Dispose() Call mail.Dispose() Return True 'Succes Catch ex As Exception Problem is RAM is loading up, and if i have 3000 emails to send, eventually it will crash. Any ideeas on how to clear data from memory?
  3. found this before you post it, tried it and still I get the same error :(
  4. I am sending emails containing large attachments (~8 MB) and it takes more than 60 seconds to send the email. It cannot send the email and I get "The operation has timed out." is there a way to set unlimited timeout for sending emails? I'm using the MailMessage class in System.net.Mail Thanks.
  5. how does this help me?
  6. Ok You didn't quite understood me. So I use a literal control to inject html, but also I want to modify that html according to the database. I want to be able to work with divName.InnerHtml = ...
  7. Any Ideea? PLS :(
  8. OK so have a default.aspx page. All I have in this page is a div <div id="test" runat="server"></div> doing some little magic in code behind I can insert html into that div. Ok. What I want to do is to insert a whole page.html there and after the page is inserted, work with the <div runat="server"> from the page.html let's say the page.html looks like this: <div id="id1" runat="server"></div> <div id="id2" runat="server"></div> first I want to replace the "test" div with the content from the page.html . then I want to use the id1 and id2 divs to work with .innerhtml = etc (I'm trying to do some kind of easy skinning system) HOW?
  9. You need Ajax Extensions, not ajax Toolkit. So you know it's installed when you have the option to create a new "Ajax Enabled Web Site" within Visual Studio. Check out the videos on http://www.asp.net/ajax they're pretty good.
  10. Ok so I've build a very small cms. Now I want to add plug-ins to it. I was thinking about web controls. I want to create a web control in a separate web project. Then, I want to upload it via FTP to the server and in the administration panel, I want somehow the cms to find the control (directory scanning or something) and add it to the desired page, in the desired div (Or something like that) Any ideeas on how to implement this?
  11. Yeah I thought I did that already, still it doesn't work :(
  12. So, nobody knows how to disable ASP.NET Development Server and use IIS debuggin' instead? Nobody? :(
  13. Oups, I thought it works, but it doesn't :( http://img180.imageshack.us/img180/3126/99079577ps4.jpg http://img84.imageshack.us/img84/1049/71876915iu0.jpg http://img84.imageshack.us/img84/3033/11104645sl4.jpg
  14. Thanks, I tried before with /CMS but it didn't work. Now it works. Are you a magician? 10x!
  15. http://img261.imageshack.us/img261/8364/35243224yc5.jpg http://img261.imageshack.us/img261/9025/55228780nl8.jpg http://img149.imageshack.us/img149/2123/40218207kg1.jpg Dunno what to put there to use IIS.
×
×
  • Create New...