Search results

  1. J

    code to set run permissions on query's

    i want to set the 'Run Permission' property for all querys in my database to 'Owner'. There are around 400 querys in this database and i would not like to do it manually. can i do this programatically? ie. For Each query In my Database Run permission property = Owner Next
  2. J

    check if control has property

    I am trying to cycle through all fields in a form and check to see if the value has been modified. I am doing this by checking to see if control.OldValue = control.NewValue. I seem to be running into problems, however, when the property does not seem to exist. Is there any way that I could...
  3. J

    getting rgb values from a color

    this is what i used: blue = num / 65536 green = (num Mod 65536) / 256 red = (num Mod 65536) Mod 256 seems to work except my green is sometimes one number off depending on the values of red and blue (i have never been the best when it comes to math). any ideas why?
  4. J

    getting rgb values from a color

    thank you very much for your prompt reply. the formula you provided looks to be legit and i will try to work it out from that. I will post the solution when i get it
  5. J

    getting rgb values from a color

    i am trying to figure out a way to get the RGB values from a color. (e.g. if the ForeColor of a label is Green (65280), then i would like to find out that this is (0,255,0)). can anybody help me this this or give me an idea?
Back
Top Bottom