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
A

asma_panjabi

@asma_panjabi
About
Posts
37
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • linq in VS 2008
    A asma_panjabi

    can any body give me Idea about linq in VS 2008

    C# csharp visual-studio linq

  • how to restart application after updating version
    A asma_panjabi

    http://msdn2.microsoft.com/en-us/library/system.windows.forms.application.restart(VS.80).aspx[^] Note: This method is new in the .NET Framework version 2.0.

    C# csharp question announcement tutorial

  • how to restart application after updating version
    A asma_panjabi

    in C#.net 1.1 i dnt have Application.Restart();

    C# csharp question announcement tutorial

  • how to restart application after updating version
    A asma_panjabi

    hello, m working on win forms using C#.net i use Appupdater to update version. My application gets updated but the application doesnt restart. When i manually start the application it starts with new version. How do i relaunch my application after Updation?

    C# csharp question announcement tutorial

  • 403 Forbidden error
    A asma_panjabi

    i have checked for access it gives me all rights

    C# csharp sysadmin announcement windows-admin xml

  • 403 Forbidden error
    A asma_panjabi

    Hello, I am working on win forms C#.net and i use AppUpdater to update my version. i Use ServerManifest check option for updating. i have a xml file on server to indicate version and folder to download. i have given all permission from IIS to my folder still i get error as

    Auto update Failed: with network error the remote server returned an error :(403)Forbidden.
    TO correct try rebooting or relaunching application.
    Some suggestions please. thanks in advance

    C# csharp sysadmin announcement windows-admin xml

  • Appupdater problem
    A asma_panjabi

    I have checked n debugged with the URL it exixts and i get it properly.

    C# csharp help announcement sysadmin

  • Appupdater problem
    A asma_panjabi

    Hello, m working on C#.net windows application. for version updation i use appupdater dll where in i use virtual directory to update. When i call

    appupdater.CheckForUpdates()

    i get an exception

    System.Net.WebException: The remote server returned an error(404) file not found

    Can you give me some suggestions over it.

    C# csharp help announcement sysadmin

  • Copying file error.
    A asma_panjabi

    This is the error m getting System.UnauthorizedAccessException: Access to the path "C:\Documents and Settings\abc\Desktop\Debug\Temp\mani.bmp" is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite) at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)

    C# csharp help question

  • Copying file error.
    A asma_panjabi

    Other bmp files work properly even the temp folder exists only some bmp files dnt work

    C# csharp help question

  • Copying file error.
    A asma_panjabi

    I have debugged the code i get proper values in filename and fname. Folders and file have all permissions

    C# csharp help question

  • Copying file error.
    A asma_panjabi

    I have debugged the code i get proper values in filename and fname

    C# csharp help question

  • Copying file error.
    A asma_panjabi

    I have trapped the exception in try catch block.

    C# csharp help question

  • Copying file error.
    A asma_panjabi

    Hi m trying to copy image file from one location to other as below in openDialog box C#.net

    if (openFileDialog1.ShowDialog() == DialogResult.OK)
    {
    string filename = System.IO.Path.GetFileName(openFileDialog1.FileName);

          string fname = Application.StartupPath + "\\\\Temp\\\\" + filename;
                File.Copy(openFileDialog1.FileName, fname, true);
    

    }

    I get Exception as Unknown software Exception(0xe0434f4d) ocurred in application at location 0x7c59bcb1 It works for all files except for .bmp file Ne help for it?

    C# csharp help question

  • Display image on Bitmap
    A asma_panjabi

    Please itz urgent

    C# csharp graphics

  • Display image on Bitmap
    A asma_panjabi

    I need to send the image from one user to other so i have to copy the file to my drive. So

    File.Copy(openFileDialog1.FileName, Application.StartupPath + "\\Temp\\" + filename, true);
    string fname = Application.StartupPath + "\\Temp\\" + filename;

    I have removed Graphics grphs = CreateGraphics(); from try catch but no gain in that. Plz help

    C# csharp graphics

  • Display image on Bitmap
    A asma_panjabi

    sometimes it executes for .jpg but it never takes .gif file. Please some solution for it.

    C# csharp graphics

  • Display image on Bitmap
    A asma_panjabi

    It doesnt work for any size of file

    C# csharp graphics

  • Display image on Bitmap
    A asma_panjabi

    i am trying to pick a image file from open dialog box and send to other user in C#.net

    private System.Windows.Forms.OpenFileDialog openFileDialog1 = new OpenFileDialog();
    openFileDialog1.RestoreDirectory = true;
    openFileDialog1.FileName = "";
    openFileDialog1.Filter = "Graphic Interchange Format (*.gif)|*.gif|" +
    "JPEG File Interchange Format (*.jpg;*.jpeg)|*.jpg;*.jpeg";
    if (openFileDialog1.ShowDialog() == DialogResult.OK)
    {
    string filename = openFileDialog1.FileName.Substring(openFileDialog1.FileName.LastIndexOf("\\") + 1);
    File.Copy(openFileDialog1.FileName, Application.StartupPath + "\\Temp\\" + filename, true);
    string fname = Application.StartupPath + "\\Temp\\" + filename;
    if(File.Exists(fname))
    WhiteBoard1.iSelected = fname;

    FileInfo info = new FileInfo(WhiteBoard1.iSelected);
    long filesize = info.Length;
    if(filesize>0)
    {

    WhiteBoard1.strConfid = strConfid;
    WhiteBoard1.LoadImage();
    }
    }

    In whiteboard class

    public void LoadImage()
    {
    try
    {
    Graphics grphs = CreateGraphics();

    if(File.Exists(iSelected))
    {
    Image img1 = Image.FromFile(iSelected);
    pict.Image=img1;
    }
    }
    catch(OutOfMemoryException)
    {

    MessageBox.Show(msg.ToString());

    }
    }

    I get exception as OutofMemory Exception

    C# csharp graphics

  • Custom protocol handler
    A asma_panjabi

    Hi i have created a URL protocol handler for my desktop application. I want to pass values to the application and access them in my application how do i proceed.Example username password. My protocol is HKEY_CLASSES_ROOT alert (Default) = "URL:Alert Protocol" URL Protocol = "" DefaultIcon (Default) = "alert.exe" shell open command (Default) = "C:\Program files\Alert\alert.exe" "%1"

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