Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Mtlca401

    Add text to specific line in text file???

    I am working with a text file and adding lines to it using the for append as. I have five different controls that add a file name to the text file by clicking them. If I click on the first control it adds lets say text1 which is fine. Then if I click on the third control it adds text3. Which...
  2. Mtlca401

    Access 2007 - Why doesn't the VBA work?

    I didn't know about that feature, so I changed it to enable all and it works for now. thanks
  3. Mtlca401

    Access 2007 - Why doesn't the VBA work?

    I am try to build some code in Access 2007, but can't figure it out. I am not a beginner, but I can't get just a simple code like this: msgbox "testing" to work when I add an event procedure. Even when I mark the line to debug it it doesn't go through the event. It does nothing. Is there...
  4. Mtlca401

    Random name problem

    perfect, thanks
  5. Mtlca401

    Random name problem

    ..._ "Mindy", "Gook", "Brett", "Jamie", "Peter") ReDim arrayName(1 To 5) As String For i = 1 To 5 Randomize intRnd = Int((5 - 1)* Rnd) + 1 arrayName(i) = strName(intRnd) Next i End Function Can anyone help? because I do not know anything about random generators. Thanks
  6. Mtlca401

    Need Help Dragging Window

    actually I did try that and it didn't work. Is there any type of skinning tutorial? No MFC and no VC++. I want to see if I am doing any thing wrong.
  7. Mtlca401

    Need Help Dragging Window

    I have a bitmap loaded as the parent window because I am working on skinning a program. Well I am trying to drag the window with the mouse by clicking anywhere on it; eventually I'll put a caption bar on it, but for now I am just dragging from clicking on the window. The problem I am having is...
  8. Mtlca401

    How do I add controls to dialogs?

    How can I add a Status bar and a Toolbar into my window? I have looked at www.winprog.net/tutorial/app_three.html, but it doesn't make any sense.
  9. Mtlca401

    How do I add controls to dialogs?

    Well I just wanted to learn how to do it for my own knowledge. Luckily I did figure it out. I am just having problems right now with checkboxes and radio buttons. I don't know how to make the label for them. Other than that the code for the controls is quite easy.
  10. Mtlca401

    How do I add controls to dialogs?

    I have visual studio and know how to add controls that way, but would like to learn how to add controls using another compiler that is not visual based. The other compiler I have is bloodshed devC++. I have managed to add a button but that's it. I am looking for tutorials mainly, but anything...
  11. Mtlca401

    "The setting for this property is too long" Listbox

    I looked at the callback function and don't understand what to do with it. I want to try the callback just to see what it actually does.
  12. Mtlca401

    "The setting for this property is too long" Listbox

    Oh....I thought they would be the same thing. I'll try and see what I can do. thanks
  13. Mtlca401

    "The setting for this property is too long" Listbox

    access is telling me that the rowsource of a listbox only accepts 2048 char max. Now I know this can't be true because I put a column from a table with more than 2048 char in the listbox, and it worked fine. I am setting this through a string. I can set the same string to a text box, but not the...
  14. Mtlca401

    AllowByPassKey problem

    If you want to hide the toolbars then use: DoCmd.ShowToolbar "Name of Toolbar", acToolbarNo To show them: DoCmd.ShowToolbar "Name of Toolbar", acToolbarYes put this in on open Also if you want to hide the database window: DoCmd.RunCommand acCmdWindowHide but you might have to disable the...
  15. Mtlca401

    How can I find the smallest # from a series #s

    Ok cool that worked. I also did it backwards to get the highest, but what about the middle number?
  16. Mtlca401

    How can I find the smallest # from a series #s

    I have 3 strings with 3 different numbers in them. Is there some way to find out which of those strings has the smallest number?
  17. Mtlca401

    Color palette Dialog

    I know how to call the color palette dialog but was wondering if there's a way to call the smaller color palette dialog. The one in the display properties under the appearance tab.
  18. Mtlca401

    Trying to get Users Full Name from Network

    I had a few people here at work do that. I know how to do it too, I just wanted to pull it straight from the Network. It seems like this is not that possible for access97. Thanx anyway though.
  19. Mtlca401

    Make code faster for searching a table for date field, run code...

    No problem you do have in there rs.movelast because if not then it will never know how many records there are.
  20. Mtlca401

    Make code faster for searching a table for date field, run code...

    That might be because you have set rs = nothing rs is not set anymore so it doesn't know where to look.

Part and Inventory Search

Back
Top