Type: Posts; User: Twodogs
Search took 0.08 seconds.
June 11th, 2010, 12:56 AM
I have a small problem where a 3rd party MS Access (97) application is running on a server and occassionally the .ldb file remains when all users are logged off. In order for us to carry out some...
April 3rd, 2008, 10:05 PM
Actually Wizbang, I hate to disagree with you, :cool: but this time you're incorrect. In the past, this is how we did dynamic web pages (CGI) prior to anyone thinking of ASP. The only thing is,...
March 2nd, 2008, 09:14 PM
Try calling the code from something other than the _click() event - perhaps the 'onlostfocus'. Click event will be fired when you click in the combo box, which is perhaps not exactly what you want.
February 28th, 2008, 09:44 PM
You might get more help in the .NET forum - this is VB6 but your code is .NET
February 28th, 2008, 09:40 PM
Dim uname As String
uname = Environ$("Username")
MsgBox "Username = " & uname
February 20th, 2008, 08:38 PM
if f = SendMessage(RTBQUE.hwnd, EM_GETFIRSTVISIBLELINE, 0&, 0&)
returns a 0, then your line
RTBQUE.Height = RTBQUE.Height + h * f
will also return 0
Put a breakpoint on the sendmessage line,...
February 20th, 2008, 08:25 PM
Even though I am (still) at lunch (diff day though), what I *really* meant was to use
If fso.FolderExists(w_root_dir_pdf) Then
February 19th, 2008, 08:10 PM
Copious amounts of beer and pizza might go a long way to making me feel better :cool:
February 19th, 2008, 07:52 PM
You will probably find that you have to alter the path to your Adobe reader (diff versions seem to install into diff places)
February 18th, 2008, 08:47 PM
February 18th, 2008, 08:45 PM
Using Aio's code above, you would probably do something like this (not sure if it will work though.) I've done something similar in the past, but it was quite a few years ago and I can't find the...
February 18th, 2008, 08:34 PM
This is what you get when writing code straight out of your memory during lunchtime... :sick: I feel so bad now.... :blush:
February 18th, 2008, 08:31 PM
At least he searched the forum(s) before asking the question :)
I like people who do that - they're obviously trying to help themselves BEFORE they ask the rest of us :) :thumb: :eek:
February 17th, 2008, 08:25 PM
Or you could use the FileSystemObject;
Add a reference to Microsoft Scripting Runtime
Public Sub FindMyFolder(byval strFolderName as string)
dim fso As Scripting.FileSystemObject
February 17th, 2008, 08:18 PM
Public glPid As Long
Public glHandle As Long
Public colHandle As New Collection
Public Const WM_CLOSE = &H10
January 20th, 2008, 09:36 PM
When I ran your code inside vb6, it seemed to break a line in the middle of tblRequests, but still seemed to compile ok & give me a resulting string. Perhaps this may work (just added a couple of...
January 20th, 2008, 09:22 PM
What's the code you have in your form_keypress event?
January 13th, 2008, 05:04 PM
There's quite a few reasons for that "DSN not found" error message - cut and paste the text of the error message (or the error number) into the search function on MSDN (msdn.microsoft.com) and see...
January 13th, 2008, 04:56 PM
Or you could create a collection or property bag, then do a "For Each x In xxxx"
January 13th, 2008, 04:40 PM
Private Type Bogus
value1 as Integer
value2 as Long
stingbean as String
Dim test1 as Bogus
Dim test2 as Bogus
Dim bSame as boolean
January 10th, 2008, 08:40 PM
Give it a chance to actually save, save the worksheet first, then the workbook:
January 7th, 2008, 09:08 PM
I'm not that familiar with vbscript, but without knowing exactly what your problem is, try this:
resultSet.Open strSQL, objConn, 1, 2
' Removed error resume, so you get a notification of the...
January 6th, 2008, 08:56 PM
I can only answer for Kodak cameras - and the answer is Yes.
Kodak provide an SDK which is freely downloadable. I think Canon do as well, but haven't had the need to download it yet. (My main...
March 21st, 2007, 12:19 AM
That was what I did yesterday (I guess I should've mentioned that...) I found two possibilities, WUAUCLT.exe and SYSTEM - googling both of them showed that while both are valid files, there are two...
March 20th, 2007, 06:13 PM
Indexing service is turned off but the problem still exists.
We're about to re-image the PC with one (exact same configuration) that actually works. Our suspicion is that the user has installed /...
Click Here to Expand Forum to Full Width