Search:

Type: Posts; User: Stryker

Page 1 of 3 1 2 3

Search: Search took 0.06 seconds.

  1. Replies
    14
    Views
    159,783

    Re: Set selected item of combobox (access)

    Well ... starting feel pretty dumb right about now.

    Basically, I added a combobox to an access form, named it newCombo and bound it to a recordset.

    Then I went into the code for Private Sub...
  2. Replies
    14
    Views
    159,783

    Re: Set selected item of combobox (access)

    Well, thats what I thought. But if I try it I get runtime error '7777' - You've used the litstindex property incorrectly.

    Tried setting it to -1, 0 and 1 but same error every time.

    Any ideas? ...
  3. Replies
    14
    Views
    159,783

    Re: Set selected item of combobox (access)

    The control doesnt seem to have that property under access. :confused:
  4. Replies
    14
    Views
    159,783

    Set selected item of combobox (access)

    The subject says it all really.

    I want to set the selected item in a combobox from code. Using VBA in access.

    Basically, I want it to pre-select the first option on load, and I want to be able...
  5. Plus .... it is also important to note that the...

    Plus .... it is also important to note that the details returned by that example (and every other example I have found) are incorrect for file sizes over 2.2Gb.

    And while every one of them uses...
  6. Yeah .... I based the code on the tonnes of...

    Yeah .... I based the code on the tonnes of samples and examples of these API's, but found that when I was trying to implement it in a long running project I am working on, that I couldnt get the...
  7. No feedback at all? Anyone? Anyone?

    No feedback at all?

    Anyone? Anyone?
  8. Just to give you an idea of how to use it, in...

    Just to give you an idea of how to use it, in case you're wondering.

    Create a form and place a list box on it (pretty wide and tall) and a command button. Then just paste this code and run after...
  9. Replies
    6
    Views
    571

    You'll have to bear with me on this, because I'm...

    You'll have to bear with me on this, because I'm just ripping this out of some other code ... I'll try to clean it up as best I can, but yeah.

    Ok ... I'm making some big assuptions here .... for...
  10. Feedback Please - Recursive file search / Info grabber

    I've been tinkering around here on this module to see what sort of solution I could come up with for searching and returning filenames, times, sizes and attributes for all files found, searching with...
  11. I think I can understand what you're saying,...

    I think I can understand what you're saying, though yeah ... its confusing. What I cant figure out is whether you are saying what I am doing should work or if it shouldnt.

    Because ... I've been...
  12. Wow .... post a message, come back a while later...

    Wow .... post a message, come back a while later and theres a stack of solutions.

    I've ended making a routine based on opus' posts, and then found moinkhan's code which made mine look all too...
  13. Trim number without rounding [RESOLVED - Thanks Guys]

    I'm looking for the easiest way to trim a number ... say 2.4392345, back to 2.43.

    My usual way to do this whould be to use the format function, but it rounds it up. Is there a function for doing...
  14. Why dont you use a type? Theres probrably a...

    Why dont you use a type?

    Theres probrably a reason not to, but I find they keep the code a whole lot neater when you've got a bunck of info in an array.


    Private Type typCustom
    ABC1 As...
  15. Everyone is probrably sick of this thread by now,...

    Everyone is probrably sick of this thread by now, but I just thought I'd report what my test found.

    Basically, for files under 4gb, I cant fault this weird method on any filelen function.

    The...
  16. Well ... this is the thing. While I cant say...

    Well ... this is the thing.

    While I cant say the same for the filelen function, the API has a highorder variable which is designed to account for any values over the 4.5 gb limit imposed by the...
  17. Well ... Ok. I can understand that, and live...

    Well ... Ok. I can understand that, and live with it I guess, but I guess the real issue is, is this method a reliable way to determine the file size of files over that 2 and a bit gb file size...
  18. The size returned is -1493279352 and the file...

    The size returned is -1493279352 and the file size in explorer is 2801687944

    So ... yeah ... ((2^31)*2) + -1493279352 = 2801687944
  19. I wouldnt go around taking my suggestions just...

    I wouldnt go around taking my suggestions just because I suggested it. It was just the first thing that occurred to me. I haven't really gone into RichTextBoxes much.

    :D
  20. Just out of interest, same result on the XP box....

    Just out of interest, same result on the XP box.

    Can anyone help me understand this please? :confused:
  21. Dont quote me on this, but I was under the...

    Dont quote me on this, but I was under the impression that if you only used the text aspects of the RichTextBox that it basically was just a feature rich textbox, and that using the RTF aspect was a...
  22. Yeah ... I've searched through for help on these...

    Yeah ... I've searched through for help on these two.

    I cant really use GetFileSizeEx because I need it to be compatible on win95 / win98 machines, and this is unavailable.

    As for the help on...
  23. Just a shot in the dark here, things may be...

    Just a shot in the dark here, things may be different in .NET. Never used it so I dont know.

    But it might help to put a doevents in the long routine. just gives the background processes like...
  24. Thanks for the feedback guys. The return value...

    Thanks for the feedback guys.

    The return value in all scenarios is a long, which judging by the reference to 2^31 covers that part of it.

    I am using win98SE on an 8gb fat32 drive. I will test...
  25. To explain what its doing by the way .... I just...

    To explain what its doing by the way .... I just began to wonder if it wasnt still accurate, but dependant on some calculation to make it work. So basically, I got the value by adding 1 to the...
  26. I have found a way to get the negative value to...

    I have found a way to get the negative value to equal the correct value .... its just that I dont understand why.

    The following will convert it.



    Dim ExtValue As Currency
    Dim FstValue As...
  27. Nobody ever come across this before?

    Nobody ever come across this before?
  28. Replies
    3
    Views
    504

    Personally, I'd recommend cab10.dll, which you...

    Personally, I'd recommend cab10.dll, which you can get info on here

    Dont shoot me ... its just easier, thats all. And win95 compatible.
  29. Replies
    6
    Views
    571

    How are you getting data to the report? I...

    How are you getting data to the report?

    I personally like to attach the database to the report at runtime (because the location of my database depends on where it is installed) and so its simple...
  30. I have had this happen actually, where you dim a...

    I have had this happen actually, where you dim a variable as MyBrandSpankingVariable, and then happily go coding away, and then you'll type it as part of a piece of code, and it will convert them all...
  31. Replies
    3
    Views
    467

    Private CurLoc As Integer Private Sub...

    Private CurLoc As Integer

    Private Sub Command1_Click()

    CurLoc = RTBfind(RichTextBox1, "from", CurLoc)
    If CurLoc = -1 Then MsgBox "Search String Not Found"

    RichTextBox1.SetFocus...
  32. [SORT OF RESOLVED] filelen returns negative value for 2.6gb file

    Hi all, I've been trying to get the size of files as I recurse through a directory, but filelen returns a negative value on larger files (over 2.5gb or so by the looks).

    I've tried the API calls...
  33. Thanks for the reply. No .. I havent tried any...

    Thanks for the reply.

    No .. I havent tried any other methods yet ... but I'm working on a few routines to bring back a list of files in a directory based on a filespec (or group of), recursing...
  34. No takers? Anyone? :(

    No takers?

    Anyone? :(
  35. Replies
    2
    Views
    613

    I dont know about any unique XP ability to create...

    I dont know about any unique XP ability to create Zip files. I did look into it at one point, but it was a while ago ... maybe someone found the way.

    Apart from that, there are a number of...
  36. Converting time returned with FindFirstFile / FindNextFile API

    I'm trying to figure out what I'm doing wrong with the conversion of the UTC values to standard time format.

    I can seem to get the correct date, but the time always seems to be a little off.
    ...
  37. Replies
    6
    Views
    525

    Thanks for the feedback. Do you think you could...

    Thanks for the feedback. Do you think you could give me some code as to how I should do that though?

    I mean .. save and retrieve to database as string in that format OK. But how do I then turn...
  38. Replies
    6
    Views
    955

    Catch undimensioned arrays from function

    Hey all.

    I've got a function running which returns a UDT array from a function, which it does quite well, but I am running into a problem when trying to find out if the array has been dimensioned...
  39. Replies
    6
    Views
    525

    Dateproofing my app

    I'm having some problems with my app, and I cant seem to get a handle on the best way to deal with it.

    The problem relates to the date formats, dd/mm/yy vs mm/dd/yy.

    I'm saving the dates to an...
  40. You're a god. Thanks, works like a charm. I...

    You're a god. Thanks, works like a charm. I knew I'd seen something simple like that which worked.

    :D
Results 1 to 40 of 108
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width