Search results for query: *

  1. A

    Question how to disable column tab in datagridview

    a very annoying problem when working with datagridview is accidently pressing the column tab which changes the order of the data in the grid. i would very much like to to disable that feature or at least override it with my own sort method. i have tried the following with no effect: foreach...
  2. A

    Question bring form to front

    in a c# windows form project i have created and showed a new form within the main form load the problem is nothing is working to bring it to the front and since its a setting dialog for new users and required for the program to run i need the 2nd form to show on top of the main form all of these...
  3. A

    Question packaging up a completed project

    visual studio 2015 c# .net form
  4. A

    Question packaging up a completed project

    im just about finished with a project that I have been working on for a while. and I have a few questions. 1. how to create and install file or package the exe for distribution 2. how to include data files into the project as of now i just place then in the open source folder
  5. A

    Answered read only folder

    theres direct upload of the video it contains all the code need to answer my question. "its like having to ask a lawyer questions just obey the law" -me its obvious that microsoft has implemented windows such that this problem exists for the reason being .why would one ever need to copy a file...
  6. A

    Answered read only folder

    i just caught it again here and recorded the exception getting thrown in the debugger
  7. A

    Answered read only folder

    and then all of the sudden it throws the exception again
  8. A

    Answered read only folder

    oh i see all of the sudden there it is.. System.IO.DirectoryInfo directoryInfo = new DirectoryInfo(textBox2.Text); DirectorySecurity ds= directoryInfo.GetAccessControl(); directoryInfo.Attributes = FileAttributes.Normal; "is it all some type of breeding machine where...
  9. A

    Answered read only folder

    ok i see in attributes value that the folder is sealed now how to change that
  10. A

    Answered read only folder

    the folder changes to read only after i uncheck the box. i built a simple app to choose a random file and copy it into another folder. the exception is thrown when trying to delete the file in the copy folder. because for some odd reason the folder is read only. i guess my question is how to...
  11. A

    Answered read only folder

    im having some problems when accessing a folder that spontaneously switches to read only after each time i change the properties of the folder by hand. this is throwing an exception each time i try to change the contents of the folder in my code. i have tried to search google and all the code i...
  12. A

    Resolved on key press

    i ordered that book and opened it up it wasn't anything but garbage no code at all. its in the trash can now.
  13. A

    Resolved on key press

    i have written a app to run along side a game. and as of now i need to use the windows button to remove focus from the game to add focus to the app to press a button. i would like to wire a key that i can press without having to removed focus from the game. see this demo: please dont direct me...
  14. A

    button event handler

    I use one event handler for all my button clicks. I use statics because its convenient not only for events but for creating controls. But whatever your saying. Its a simple problem. How to access a sperate control from within an event handler.
  15. A

    button event handler

    calling a click event from within the button event does not do anything either. One should be able to understand what I am trying to do fromt his photo. When a talent is selected its photo and label need to be added to the build. This problem is preventing me from finishing this project.
  16. A

    button event handler

    its a windows forms c# app. calling get control to get a button other than the one that was clicked. returns a control that when modified has no effect. here is my get control method public static void GetAllControl(Control c, List<Control> list) { foreach (Control control in c.Controls)...
  17. A

    button event handler

    yeah that works for the button that called the event handler but what im actually trying to do is access a different button using a get control method.
  18. A

    button event handler

    I have created a dynamic button and a general event handler in a sperate class that catches the click event public static void buttonClick(object sender, EventArgs e) However in this handler I am unable to do things like change the button text and image although the debugger hits the lines...
Back
Top Bottom