User Profile

Collapse

Profile Sidebar

Collapse
Mudassir
Mudassir
Last Activity: Feb 24 '18, 10:59 AM
Joined: May 30 '12
Location: Karachi,Sindh,Pakistan
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Mudassir
    started a topic SQL server consuming 100% disk usage

    SQL server consuming 100% disk usage

    Dear All,
    I've an Asp.net application which runs on a machine on our intranet, Sometimes the application works really slow and when I investigated, I found that the sql server is causing 100% disk usage in the task manager.
    How can i fix this issue? I've tried number of solutions found on the google, but none of them worked, any help will be appreciated.

    Regards,
    See more | Go to post

  • Mudassir
    started a topic Paypal IPN Issue

    Paypal IPN Issue

    Dear all,
    I have an application which processes online payments. there are also some monthly subscriptions. I have set an IPN listener on my web server. Every time a transaction goes through, paypal sends a notification to the url set in IPN settings in paypal account. However, when a subscription is renewed, no notification is sent. Does paypal really send notification when subscription is renewed the next month ?

    Regards,
    See more | Go to post

  • Mudassir
    started a topic Paypal Refund in C# - Error

    Paypal Refund in C# - Error

    Hi every one,
    i am using paypal sdk to refund a payment in c#. the code i wrote to refund is as follow

    Code:
    string ClientId = "my client id";
            string ClientSecret = "my client secret";
    
            OAuthTokenCredential tokenCredential = new OAuthTokenCredential(ClientId, ClientSecret);
            string accessToken = tokenCredential.GetAccessToken();
            APIContext
    ...
    See more | Go to post

  • Mudassir
    replied to Changing IP Address
    arifemre61:
    here is my code which i used to switch ip address.
    Code:
    private string changeIP(string _currentIp)
            {
                DataSet ds = GetDataSetForGridView("select IP from tbl_IPs where IP <>'" + _currentIp + "' and Used=0 order by NEWID();");
                if (ds.Tables[0].Rows.Count > 0)
                {
                    string newIP = ds.Tables[0].Rows[0]["IP"].ToString();
    ...
    See more | Go to post

    Leave a comment:


  • Execution of authentication request returned unexpected result: 404

    Dear all
    i was using
    Google.GData.An alytics
    and
    Google.GData.Cl ient
    to retrieve some google analytics report in my web application and the code was as follows
    Code:
                string username = "abc@gmail.com";
                string password = "myPasswordHere";
                string profileId = "ga:88376970";
                string _from = Convert.ToDateTime(dtpFrom.SelectedDate.Value.ToString()).ToString("yyyy-MM-dd");
    ...
    See more | Go to post

  • Mudassir
    started a topic Retrieve Facebook Fan Page Insights in C#

    Retrieve Facebook Fan Page Insights in C#

    Dear all,
    i need to get the facebook fan page insights reports in C# web application. any guidance or samples will be greatly appreciated.

    Regards:
    See more | Go to post

  • Mudassir
    started a topic Auto Login to Gmail Account

    Auto Login to Gmail Account

    Dear all,
    i need to develop a website which will login the users to gmail account from my website. the users will enter their gmail id and gmail password in two textboxes on my website's page and click on the button on my web site and will be logged in to gmail account.
    any help and sample codes will be greatly appreciated..

    Regards:
    See more | Go to post

  • thanks Joseph.!
    i did that using System.Net.WebC lient object...
    See more | Go to post

    Leave a comment:


  • C# copy files from local computer to online server

    Dear all

    i have a desktop application in which i want to copy files from my local computer to an online server. I have the user name and the password of the server. is there any way like
    file.copy(sourc ePath,destinati onPath) to copy the files where the
    destinationPath will be something like "192.168.x. xx/files" ..

    any help will be greatly appreciated.
    Regards:
    See more | Go to post

  • Mudassir
    started a topic Domain Canonicalization in C#

    Domain Canonicalization in C#

    Dear All,
    i am developing a desktop application which will check the domain canonicalizatio n. i.e. it will check it the site is redirecting to preferred domain or not. like if i have a site test.com and the preferred domain is with www, so if someone type http://test.com , it shoud redirect automatically to http://www.test.com.

    i want to build an application which will get all the urls from database table and for each url, it...
    See more | Go to post

  • Mudassir
    replied to Changing IP Address
    thnx Luuk for your reply but i solved the problem by making some changes in my code..

    Regards:
    See more | Go to post

    Leave a comment:


  • Mudassir
    replied to Changing IP Address
    Dear Luuk.
    i used following code with netsh command
    Code:
    string command = "netsh int ip set address= \"local area connection\" static " + ip_address + " 255.255.255.0 192.168.0.1";
                ProcessStartInfo procStartInfo = new ProcessStartInfo()
                {
                    RedirectStandardError = true,
                    RedirectStandardOutput = true,
                    UseShellExecute
    ...
    See more | Go to post

    Leave a comment:


  • Mudassir
    started a topic Run cmd prompt as administrator in C#

    Run cmd prompt as administrator in C#

    Hi
    i am trying to change the ip address of computer in windows 7 using netsh command in C# with the following code
    Code:
    string command = "netsh int ip set address= \"local area connection\" static " + ip_address + " 255.255.255.0 192.168.0.1";
                ProcessStartInfo procStartInfo = new ProcessStartInfo()
                {
                    RedirectStandardError = true,
    ...
    See more | Go to post

  • Mudassir
    replied to Changing IP Address
    Thnx Luuk,
    can you plz explain it in some detail???
    See more | Go to post

    Leave a comment:


  • Mudassir
    started a topic Changing IP Address

    Changing IP Address

    Dear all

    i am developing an application which will change the ip address of the server. the Ip is configured manually (i.e static ip configuration). i have written the following code to do so
    Code:
    private void setIP(string ip_address, string subnet_mask)
            {
               ManagementClass objMC = new ManagementClass("Win32_NetworkAdapterConfiguration");
                ManagementObjectCollection objMOC
    ...
    See more | Go to post

  • Mudassir
    started a topic Find Keyword ranking of my website in C#

    Find Keyword ranking of my website in C#

    Dear all
    i need to develop an application which will find the keyword's ranking of certain website in certain regions. for example
    the application will take 3 inputs from the user
    1. web URL
    2. Keyword
    3. Region (country)
    and will display that keyword's ranking in google search.

    is there any google api available for that?
    sample codes will be greatly appreciated..

    Reg...
    See more | Go to post

  • can you plz write a sample ??
    See more | Go to post

    Leave a comment:


  • Select Email From Parent Table if it Exists More than 3 times in Child Table?

    Dear all
    i have 2 tables
    table 1
    email name
    email1@gmail.co m name 1
    email3e3@gmail. com name 2

    table 2
    id email
    1 email1@gmail.co m
    2 email1@gmail.co m
    3 email1@gmail.co m
    4 ...
    See more | Go to post

  • Mudassir
    replied to Need help in writing sql query.
    Thanx dear i got the idea. Will try it and hope it will work as per my requirement.
    See more | Go to post

    Leave a comment:


  • Mudassir
    replied to Need help in writing sql query.
    Dear rabbit
    the results i want from tbl_leads_cerre spondence are

    Name leadid
    wilfred 4
    Wilfred 5
    Wilfred 6

    The record against wilfred also exists with lead id 1. But that was initiated by waqas. And the leadIds 4,5,6 were started by wilfred in the correpondence table.
    i hope i make myself clear now..
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...