User Profile

Collapse

Profile Sidebar

Collapse
Mikael
Mikael
Last Activity: Mar 25 '07, 11:31 PM
Joined: Nov 2 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Mikael
    started a topic VB Script for New User on AD

    VB Script for New User on AD

    Help! I am getting an error in this script. It is my first attempt at creating a script to create a new user in Active Directory.

    Code:
    'New User
    
    firstname = InputBox("Enter First Name: ")
    lastname = InputBox("Enter Last Name: ")
    username = InputBox("Enter username: ")
    
    
    Set objOU = GetObject("LDAP://OU=xxx,dc=xxx,dc=xxx")
    
    Set objUser
    ...
    See more | Go to post
    Last edited by willakawill; Feb 23 '07, 10:36 PM. Reason: please use code tags when posting code

  • Mikael
    started a topic Best Procedure for Image Handling

    Best Procedure for Image Handling

    I have a database made up of students' profiles. I would like the form to have an object that displays the student's picture. I used to use gifs and ole object fields, but I recently switched to Access 2003 and this is no longer an option. After much reading online, it seems like the best option is BLOBs.

    Can someone give me a practical application of using BLOBs with Images?

    I have this kb article as reference...
    See more | Go to post

  • Mikael
    replied to Image BLOBs Please Help!
    How could I appropriately use the kb article:

    http://support.microsoft.com/defaul...;EN-US;Q103257&

    I would like to have a field that pulls in jpeg pictures....
    See more | Go to post

    Leave a comment:


  • Mikael
    replied to Image BLOBs Please Help!
    Just wanted to move this article back to the top. If nobody has a solution, how easily can I create a new database, and import all the tables, forms, etc, from my old database?
    See more | Go to post

    Leave a comment:


  • Mikael
    replied to Image BLOBs Please Help!
    You are correct. Thank you. I must have went with a test copy i was working with, and never realized it.

    But back to the matter at hand. I created a completely blank database, and the original kb article works fine. BUT, my current db will not work. The error is still the most recent....
    See more | Go to post

    Leave a comment:


  • Mikael
    replied to Image BLOBs Please Help!
    Hello all,

    I apologize for my extremely late response. Thank you for all the help, but its still not working. I tried setting T as DAO.Recordset, but now its complaining about:

    FileLength = T(sField).Field Size()

    Also, I created a blank mdb and put in just the BLOB stuff, and it seemed to work. Whats up with that? I noticed when I compiled the new database it says Compile: db2.mdb (the name of the database),...
    See more | Go to post

    Leave a comment:


  • Mikael
    replied to Image BLOBs Please Help!
    this is an mdb. I'm just not sure what is going on. I am doing exactly what the article says. Do you have Access 2003?
    See more | Go to post

    Leave a comment:


  • Mikael
    replied to Image BLOBs Please Help!
    Never tried. I changed the code back to the original article, and hit debug -> compile test. Now I get a method or data member not found compile error on this line:

    T.Edit
    See more | Go to post

    Leave a comment:


  • Mikael
    replied to Image BLOBs Please Help!
    Thank you so much, I have gotten no help on this subject for weeks!
    See more | Go to post

    Leave a comment:


  • Mikael
    replied to Image BLOBs Please Help!
    Error, Type Mismatch, same line.
    See more | Go to post

    Leave a comment:


  • Mikael
    replied to Image BLOBs Please Help!
    What do you mean here? Remove it from where, the constants above?...
    See more | Go to post

    Leave a comment:


  • Mikael
    replied to Image BLOBs Please Help!
    I just recreated the incident. I followed the article exactly, and then when I type the:

    CopyFile "c:\windows\win file.hlp", "c:\windows\win fil_1.hlp"

    I get an error (type mismatch) on this line:

    Set T = db.OpenRecordse t("BLOB", dbOpenTable)

    Is Access 2003, 2.0? I tried uncommenting the lines the initializations at the top, incase it is, but the same error...
    See more | Go to post

    Leave a comment:


  • Mikael
    replied to Image BLOBs Please Help!
    The error is this line:

    Set T = db.OpenRecordse t("BLOB", dbOpenTable)

    I tried using the constants on top, and replacing dbOpenTable with what its supposed to actual be, but still no luck.
    See more | Go to post

    Leave a comment:


  • Mikael
    started a topic Image BLOBs Please Help!

    Image BLOBs Please Help!

    I am using Access 2003. I would like to use BLOB to display an image on a form. I have referred to the kb article: http://support.microsoft.com/default...EN-US;Q103257&

    But the code is not compiling. Could someone give me some help? I haven't found any references for helping with BLOB.
    See more | Go to post

  • Mikael
    replied to stable sort
    in C
    What sort of mergesort are you trying to do? Basically, you have seperate sorted arrays/files, or whatever you are using, and then you merge them together, to create one single sorted file....
    See more | Go to post

    Leave a comment:


  • Mikael
    started a topic Image BLOB

    Image BLOB

    I'm fairly new to Access, however I have decent experience with a variety of programming languages. I created a database for students profiles at my company. The profiles contain various data, plus the student's picture. I did this with Access 2002, and saved the pictures as gifs, and added them as OLE objects.

    Now I have upgraded to Access 2003, and I can no longer add pictures this way. I have looked into it and realized that...
    See more | Go to post
No activity results to display
Show More
Working...