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
M

Muhammad Fahim Baloch

@Muhammad Fahim Baloch
About
Posts
21
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • SMPT server not sent an Email to gmail or yahoo mails
    M Muhammad Fahim Baloch

    hi i have an error, i have written a code to send an email. the email was sent to private email address like info@yourdomain.com but the email was not sent to any "gmail or yahoo mail address." when i tried to sent an email to gmail or yahoo account the following error occurs, "Bad sequence of commands. The server response was: This mail server requires authentication when attempting to send to a non-local e-mail address. Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this server." here is my code : protected void SendEmail() { SmtpClient smtpClient = new SmtpClient("mail.mydomain.com", 25); MailMessage Msg = new MailMessage(); //------for Email Data---------------------------------- Msg.To.Add(TxtEmail .Text .Trim ()); Msg.From = new MailAddress("tehnical@mydomain.com"); Msg.IsBodyHtml = true; //----Get Max userid------------------------------ string strConnection = ConfigurationManager.ConnectionStrings["AIGamesConnectionString"].ConnectionString; SqlConnection MaxUserIdCon = new SqlConnection(strConnection); MaxUserIdCon.Open(); string StrMaxUserId = "select max(id) as Id from users"; SqlCommand MaxUserIdComm = new SqlCommand(StrMaxUserId, MaxUserIdCon); SqlDataAdapter MaxUserIdDa = new SqlDataAdapter(MaxUserIdComm); DataSet MaxUserIdDs = new DataSet(); MaxUserIdDa.Fill(MaxUserIdDs); MaxUserIdCon.Close(); int MaxUserId=1; if (MaxUserIdDs.Tables [0].Rows.Count >0) { MaxUserId = Convert.ToInt32(MaxUserIdDs.Tables [0].Rows [0]["Id"].ToString ()); } //------------------------------------------------ StringBuilder bodyMsg = new StringBuilder(); bodyMsg.Append("Thank you for creating your account.\n\nPlease follow this link to activate: "); bodyMsg.Append("

    Activate Your Account"); Msg.Body = bodyMsg.ToString(); //authentication-------------------------------------------------------------------------------- SmtpClient mySmtpClient = new SmtpClient(); System.Net.NetworkCredential myCredential = new System.Net.NetworkCredential("tehnical@mydomain.com", "password"); mySmtpClient.Host = "mail.mydomain.com"; mySmtpCl

    ASP.NET csharp com sysadmin security help

  • I want to use @@indentity Scalar variable in Stored procedure
    M Muhammad Fahim Baloch

    Hy to All; I want to use two insert statement in one stored procedure I have Two Tables "Activitity" (ActivitityId as a primery key) and "TODo" Second Table (TODOId as a primery) and (ActivitityId as a foriegn key) .... So when a value insert into "Activitity" Table ,I want to insert its primery key into "TODO" Table as Foriegn key in a single Stored procedure... So for this purpose I want to use @@indentity variable how can I use @@indentity variable in my stored procedure....

    Database database question

  • Multithreading
    M Muhammad Fahim Baloch

    I think you do not understand the problems exactly. I ahve lots of email addresses in my database . and a single query take a lot of time of its execution. so in this satuation it will happns that may the whole prrocess take few days in completing which is not useful for me. thnks! with best wishes!!!!!

    Visual Basic csharp database help tutorial

  • Multithreading
    M Muhammad Fahim Baloch

    Hi, I am Working on the VB.Net to perform a Multithreading to correct the invalid email addresses in Database. The problem is that I have 22,00,00,000 email addresses. So I want, Multiple threads do work on this process . I am Little bit confusion about how to create more threads and all the threads can work togather but not access the same IDs of Email Address from table . For doing this I ahve created a list box , in which I devided the IDs of email Addressses into many list items . I want that first thread do work on first list item , Second created thread do work on second list item and so on. But the problem is that when i created multithreading some list of item is missing and the threads cannot do work on some list of items. With Regards,

    Visual Basic csharp database help tutorial

  • Ajax Control Toolkit.CascadingDropDown ( Error)
    M Muhammad Fahim Baloch

    Hi, I an getting this error at runtime: "Object reference not set to an instance of an object." And the Stack Trace: "[NullReferenceException: Object reference not set to an instance of an object.] AjaxControlToolkit.CascadingDropDown.CascadingDropDown_ClientStateValuesLoaded(Object sender, EventArgs e) +98 AjaxControlToolkit.ExtenderControlBase.LoadClientStateValues() +240 AjaxControlToolkit.ExtenderControlBase.Page_PreLoad(Object sender, EventArgs e) +5 System.EventHandler.Invoke(Object sender, EventArgs e) +0 System.Web.UI.Page.OnPreLoad(EventArgs e) +75 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3368 All help aprreciated, Thanks

    ASP.NET help design data-structures debugging

  • Full Text Query
    M Muhammad Fahim Baloch

    U know i find the solution . thanku for your Stupid answers you are only time wasted...............ok

    Database database

  • Full Text Query
    M Muhammad Fahim Baloch

    I use every link . but there is no link to be fruite full U know

    Database database

  • Full Text Query
    M Muhammad Fahim Baloch

    Hi Thnks a lot.............................. Thanku agian............................. You are doing greate job Thanks agian,,,,,,, By

    Database database

  • Full Text Query
    M Muhammad Fahim Baloch

    I have been Double posted in last two days but I do not recieve a single ans to help out from this satuation..........yyyyyyyyyyyyy

    Database database

  • Full Text Query
    M Muhammad Fahim Baloch

    I have a table, which has two rows 1.EmailID 2.EmailAddress I have Duplicate Email Addresses and i want to Delete Duplicate Email Addresses from my table except the max(emailId) and I have millions of Duplicate EmailAddresses in my table Plz ans me as soon as possible.... Thanks!

    Database database

  • Full Text Query
    M Muhammad Fahim Baloch

    I have a table, which has two rows 1.EmailID 2.EmailAddress I have Duplicate Email Addresses and i want to Delete Duplicate Email Addresses from my table except the max(emailId) and I have millions of Duplicate EmailAddresses in my table Plz ans me as soon as possible.... Thanks!

    Database database

  • Full Text Query
    M Muhammad Fahim Baloch

    I want to Delete Duplicate records From a table **except the Max(ID)**Using Full Text Query. and Duplicate records are just certain field not an entire row in a table. and I have millions of records in my table.........

    Database database

  • Full Text Query
    M Muhammad Fahim Baloch

    I want to Delete Duplicate records From a table except the Max(ID) Using Full Text Query. I am doing this in vb.net . and Duplicate records are just certain field not an entire row in a table.

    Visual Basic csharp database

  • Delete Duplicate Record
    M Muhammad Fahim Baloch

    I am doing this from vb.net ; And the Duplicate records are just certain field not an entire row

    Visual Basic database

  • Delete Duplicate Record
    M Muhammad Fahim Baloch

    I want to Delete the Duplicate records from a perticular table except the minimum ID of these Duplicate records.............Using Sql Query

    Visual Basic database

  • Get Last ID from a Table
    M Muhammad Fahim Baloch

    hi to all, I want to get last inserted id from a particular table, how i write the sql query.....

    Visual Basic database

  • How do you format the date time to just date?
    M Muhammad Fahim Baloch

    How do you format the date time to just date? for example, this is what i retrievedd from the database: 12/31/2008 12:00:00 AM, but i just want to show the date and no time.

    Visual Basic database tutorial question

  • 2/6/2009 12:00:00 AM
    M Muhammad Fahim Baloch

    I want to remove the time from (2/6/2009 12:00:00 AM ). I want to use only date without displaying the time (in vb.net)

    Visual Basic csharp

  • Synchronizaiton (Multithreading)
    M Muhammad Fahim Baloch

    I make a software in vb.net which is used multithreading I want to Synchronization of threads so that multiple thread cannot be able to access same code at the same time ................ Thanx!!!!!

    Visual Basic csharp

  • Cross thread operation not valid:
    M Muhammad Fahim Baloch

    I have this error, Can any one help me to solve it as soon as possible Cross thread operation not valid: Control textBox1 accessed from a thread other than the thread it was created on.

    Visual Basic help
  • Login

  • Don't have an account? Register

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