Search:
Type: Posts; User: Stryker
Search:
Search took 0.06 seconds.
-
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...
-
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? ...
-
The control doesnt seem to have that property under access. :confused:
-
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...
-
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...
-
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...
-
No feedback at all?
Anyone? Anyone?
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
The size returned is -1493279352 and the file size in explorer is 2801687944
So ... yeah ... ((2^31)*2) + -1493279352 = 2801687944
-
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
-
Just out of interest, same result on the XP box.
Can anyone help me understand this please? :confused:
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
Nobody ever come across this before?
-
Personally, I'd recommend cab10.dll, which you can get info on here
Dont shoot me ... its just easier, thats all. And win95 compatible.
-
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...
-
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...
-
Private CurLoc As Integer
Private Sub Command1_Click()
CurLoc = RTBfind(RichTextBox1, "from", CurLoc)
If CurLoc = -1 Then MsgBox "Search String Not Found"
RichTextBox1.SetFocus...
-
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...
-
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...
-
-
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...
-
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.
...
-
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...
-
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...
-
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...
-
You're a god. Thanks, works like a charm. I knew I'd seen something simple like that which worked.
:D
|
Click Here to Expand Forum to Full Width
|