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

mahesvs

@mahesvs
About
Posts
12
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problem in using Response.BinaryWrite and changing controls
    M mahesvs

    Used the javascript option but there is no use. It remains the same. I called the javascript function in the clientclick event of the button and gave the following line. document.getElementById("LinkButton1").disabled=false; Thanks Maheshkumar B

    ASP.NET help

  • Problem in using Response.BinaryWrite and changing controls
    M mahesvs

    Hi, I have a button which needs to download the file, simaltaneously it has to enable or disable the linkbutton on a click event. I went for the following code which never works for me.. The problem is there in writing the file in response. Any idea is highly valuable. Thanks in advance.. Given the code below.. ---- LinkButton1.Enabled = false; System.IO.FileStream fs = null; fs = System.IO.File.Open("c://4377.doc", System.IO.FileMode.Open); byte[] btFile = new byte[fs.Length]; fs.Read(btFile, 0, Convert.ToInt32(fs.Length)); fs.Close(); Response.AddHeader("Content-disposition", "attachment; filename=4377.mpp"); Response.ContentType = "application/octet-stream"; Response.BinaryWrite(btFile); Response.End(); ----------- Thanks Maheshkumar

    ASP.NET help

  • integrating 'Microsoft office project' Dcom with asp.net
    M mahesvs

    Hi, I developed a webservice with a web method integrating with Microsoft office project and it reads all the tasks and resources inside it with the help of the DCOM 'Microsfot project basic'. It is working fine when i hosted it in IIS in XP but having the issue while hosting in IIS windows server 2003. I am getting the following error when i open the file and it get resolved after giving the enough permission in DCOM security and restart the server but it was avail only for the first time, when i tested it for the second time that shows me the same error. Given below the error, Kinldy help me out in this. System.Runtime.InteropServices.COMException: Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED)) at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData) at Microsoft.Office.Interop.MSProject.ApplicationClass.Quit(PjSaveType SaveChanges) at Service.CheckProject(String projectID) in C:\vcclient\App_Code\Service.vb:line 41 -- ---------- Private gobjProjectInstance1 As Microsoft.Office.Interop.MSProject.Application gobjProjectInstance1 = New Microsoft.Office.Interop.MSProject.ApplicationgobjProjectInstance.FileOpen(FileName) ---

    COM help windows-admin csharp asp-net com

  • Hosting Webservice in Windows server 2003 IIS
    M mahesvs

    Hi, I have webservice which internally communicates with Microsoft office project using Com component. I retrieve all the tasks from the .mpp file and updates in the database. when i tested in xp, it works fine by running in visual studio and iis but have issue while hosting in windows server 2003. I google out and found i been shortage of giving permissions in dcom, so i gave the permissions for network service account in DCOM but is of no use. Given below the error, Kinldy help me out in this.. System.Runtime.InteropServices.COMException: Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED)) at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData) at Microsoft.Office.Interop.MSProject.ApplicationClass.Quit(PjSaveType SaveChanges) at Service.CheckProject(String projectID) in C:\vcclient\App_Code\Service.vb:line 41 Private gobjProjectInstance1 As Microsoft.Office.Interop.MSProject.Application gobjProjectInstance1 = New Microsoft.Office.Interop.MSProject.Application gobjProjectInstance.FileOpen(FileName) --- Thanks mahe21.tri

    IT & Infrastructure help com sysadmin windows-admin csharp

  • Socket Error
    M mahesvs

    Hi all, I am transfering a 200mb data from my socket program to the client and i have the following error during execution. I guess it because of the huge data but am not sure in rectifying the issue. I have given the error below "An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full" Thanks Maheshkumar B

    C# help data-structures

  • Update panel with response.write
    M mahesvs

    hi, I have a gridview in my page which has the linkbutton as template. I used rowcommand to process in the codebehind and this will download the mpp file to the server. I have an isssue here because am using response.binarywrite in the method. When i googled out i came to knw this can be resolved by adding the control in postback trigger but the control am using is the linkbutton template control in the gridview. Kindly let me know how to pinpoint this control in the trigger. Thanks Maheshkumar B

    ASP.NET database sysadmin tutorial announcement

  • Debuging is not working in visual studio
    M mahesvs

    sorry i forgot to post, It is a web application.

    C# visual-studio debugging csharp

  • Debuging is not working in visual studio
    M mahesvs

    sorry i forgot to post, It is a web application..

    C# visual-studio debugging csharp

  • Debuging is not working in visual studio
    M mahesvs

    Hi I have visual studio 2005 installed in my system and Windows Vista home OS. It is working fine but i cannot debug in the IDE though i gave the breakpoint and run the program in start debugging mode. Your suggestions are highly valuable. Thanks Mahe

    C# visual-studio debugging csharp

  • Protecting the cd from taking copies
    M mahesvs

    Hi, I want to protect my cd to take a second copy or even if they take a copy the application should not work. Looking forward for your reply. Thanks Maheshkumar B

    C#

  • Integration of MS Project with .net
    M mahesvs

    Hi, I wanna change the project work timings of microsoft project using .net. Am in need to change holidays of the project from saturday,sunday to wednesday. Please help me out in this. Thanks Maheshkumar B

    C#

  • Globalization/Localization
    M mahesvs

    I wanna include the images in my windows form where am doing globalization. Normal Label,textbox values are working perfectly but am clueless abt including image

    C#
  • Login

  • Don't have an account? Register

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