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
P

Pradyumna Gogte

@Pradyumna Gogte
About
Posts
11
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Javascript problem
    P Pradyumna Gogte

    Hi Chetan, Hello! there is a better way to do this. If you are using ASP.Net and want to create the files on the server then why are you using JavaScript? you could use C# code behind for a much richer functionality. However that is your choice. The problem you are facing is due to permissions. Your JavaScript is not getting permission to write the file, which is what it is designed to do by default. You will have to change the web conf file for your project to grant permission to access the disk resource. Only then can you write to a file. Prady

    Web Development help javascript sysadmin testing tools

  • Suppress an Event
    P Pradyumna Gogte

    zaboboa, Well there is no quick and easy way to do this. However you can do this in two ways. Events on a control are hooked to your function in initialization phase through a simple += statement. before you execute your code you could un hook the event handler add the row and then hook the event handler back in. this is a rather crude way to handle this. the other option is maintain a flag in your code. when adding the row before adding the row set the flag. check this in the columnchanged event handler. if it is set then ignore the event. after the row is added reset this flag. Hope this helps... Prady

    C# css debugging

  • Using ActiveX component in a web page
    P Pradyumna Gogte

    Spaz, Probably nothing in your code. You need to make sure that this activex component is available on the server to be downloaded to the client. Also the client should have permission set to download the activex control and install it on their machine. Hope this helps... Prady

    Web Development com sysadmin help

  • Javascript problem
    P Pradyumna Gogte

    There could be host of reasons for this error. For example no scripting engine is installed on your machine or you do not have permissions to access the filesystemobject, or you do not have permissions to open the necessary files. Are you doing this as a part of your web page? also what os are you using. a lot depends on this too. Prady

    Web Development help javascript sysadmin testing tools

  • Save file
    P Pradyumna Gogte

    No such luck. You have to implement it yourself. Cheers, Prady

    .NET (Core and Framework)

  • which one is better?
    P Pradyumna Gogte

    True, but you did not read my post. I said only if you wanted to do one or two interactions with the control you could use GetDlgIt.. fn. Prady

    C / C++ / MFC question

  • .net equivalent of ddx + q about anchoring
    P Pradyumna Gogte

    Roel, The version 2.0 for the .net framework has the layout mangers in the forms. So may be you can wait for that. Prady

    C# csharp question c++ wpf wcf

  • convert c++ function pointer to c# delegate
    P Pradyumna Gogte

    Hi Adi, Deligates may not be the correct solution for you. As deligates are typically used for even handling. What you would require is a c# wrapper for your c++ code and some of the members of this c# wrapper would be callback functions. Now these call back functions you can pass as parameters to functions. Cheers, Prady

    .NET (Core and Framework) question csharp c++ performance help

  • Loop through combobox items
    P Pradyumna Gogte

    Hi fady, The combobox has a property called Items. This is a collection so you could use something like this: foreach(String str in combobox.Items) { ... } Prady

    C# database question

  • .net equivalent of ddx + q about anchoring
    P Pradyumna Gogte

    Hi Roel, First you have a much better option in c# than the one offered by MFC through the ddx functions. c# or .net controls on your form are true objects and not wrappers as in case of the of MFC. You could directly access the value of the control so in a sence there is no real need to have another variable in the form to store it. You could do something like TextBox.Text to access the value any time you want. However if you still wanted the MFC like functionality then you could probably hook the form validate event and code the actual transfer of data from control to variable manually. Why have this over head when you can access the values directly? For the second problem you cannot do this through setting properties. You have to do this programatically. Cheers, Prady

    C# csharp question c++ wpf wcf

  • which one is better?
    P Pradyumna Gogte

    Hi, Well you could use either method is correct however, using m_Control has a slight overhead. The reason is that m_Controls are MFC controls while the form has windows controls. So when the form is instantiated the MFC code kicks in and creates the m_Controls. I would prefer this method if I have a lot of interaction with the controls. However if I dont have to interact with the controls or have only to interact with them one time then it is better to use the GetDlgItem method. Prady

    C / C++ / MFC 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