Search:
Type: Posts; User: Pteranodon
Search:
Search took 0.02 seconds.
-
Goshblimey. This is so embarrassing. I meant to say right and bottom. Right and bottom. Right and bottom. I always get my lefts and rights confused (drove the driving instructor crazy...). Yes,...
-
Screenshot below. See that menu has dropped to left. See that buttons on right of underneath form are cut off on right - they do not extend full width. See that one topmost form, form is cut off on...
-
I'm afraid dilettante is closest to the real answer here.
The forms are smaller than the work area. The work area is huge, as you can imagine, at such a high resolution. And no matter where the...
-
A client got a new computer, Windows 7 with an HP TouchSmart screen. Our VB6 app is being cut off on the left and bottom on almost all screens/forms. The screen resolution is currently set to 1600...
-
I'm developing a simple document management system and looking for scanning and probably also an image component. It should be simple to implement and relatively inexpensive to purchase (several...
-
Modified relevant code. This seems to be doing the right thing.
The .Read call does not block execution, which is necessary here, so a loop is still used, but the Thread.Sleep (250) before the...
-
You should also change the scope of the declarations and functions. I posted these out of a larger app but for your purpose you might not need this scope.
-
You can pass any 2 filenames to this function and it will compare them, and return with a yes/no if sFile1 is newer than sFile2.
You can also write a similar function to compare file versions.
-
How is it done/standard industry practice for an application to auto-update itself or its sub-components?
I'm encountering a problem where the end user does not have write permissions on the...
-
Yes.
You can use the code below to compare file times. There is also an API call GetFileVersionInfo you can use to get version/revision info.
Public Type FILETIME
dwLowDateTime As Long...
-
The thing is, even if on the client end the WaitForAcknowledgment is true, the server is not necessarily going to send one. One-way messages are perfectly acceptable. So if an acknowledgement...
-
As per the code below, this app sends a message via TCP sockets and waits for a reply. It should timeout after 3 seconds (the interval set for tmrSend) or after the reply arrives.
The problem...
-
Took a third option: redefined the view to output what I wanted in the column. Thanks!
-
Too many fields. Also, it selects from a VIEW, not a table. Using SELECT * will select all fields from the view even if the underlying view definition changes, which makes changing code easier and...
-
The holy grail of compatibility. I'm trying to figure out a way of working with existing VB code, which is hardcoded for rs!Code. The query resides on SQL Server in a stored proc. That's the one I...
-
There's something interesting about the way ADO chooses a field in a recordset.
This query:
SELECT (CASE WHEN Code = 'BadCode' THEN NULL ELSE Code END) AS Code, T.* FROM Table1 T
will output a...
-
What's a good tool e.g. MS Access, for ad-hoc access to one particular table residing in SQL Server for updating, deleting, and inserting information on another machine?
There's one particular...
-
Thank you. In the GotFocus event of the button, I set the tabindex of the textbox to be one past the button. Then in the textbox's GotFocus event, I set it back to its original tabindex so it...
-
Yes, that's the tabindex. But there are many controls on the form, and I would like to use SetFocus to move the focus back to the textbox after the user tabs on the command button. According to the...
-
I'd like to have a certain subset of controls on a form run through the tab key in a loop, beginning in a textbox and ending in a command button, which if it has focus and the user presses the tab...
-
The application will be doing the file retrieval by file name, not the user by using Windows Explorer. So for example, the user would only need to open the customer's file in the app, and the app...
-
Hi,
This is not strictly a VB6 question, rather more one of Windows file storage, but surely the experts here will have some smart input :)
I'm developing a scanning application. What's a more...
-
This handler
Public Sub SaveCustomTab(frm As Form, rs As adodb.Recordset)
On Error GoTo eh_Save
Dim iColumn As Integer, ifield As Integer
For iColumn = 1 To...
-
I want to get rid of the the app.logevent calls that write to a .log file in the app folder. This is causing too many problems in installs, where the app folder does not have write permission and...
-
-
Thanks for the advice, I made it run as a service using SRVANY.exe.
The only remaining q is, is there any way to see the screen the app has. Even when I clicked "Allow service to interact with...
-
This is not a VB6 question per se, but applies to a VB6 program I have written.
This app is a "listening" app that resides on a server and needs to start up when Windows does. To this effect, it...
-
Why does the .exe file "lose" its icon sometimes when compiling?
I check the project properties and the correct .frm is selected for the app icon. Yet after compiling the app it seems to have the...
-
So no stream.close, stream.dispose, or client.close? Just let the garbage collector take care of all that when the sub exits?
Or rather, try something like Stream.Close(500)?
-
This app is trying to send messages to a client listening on the port. The client's logs show that their port is being opened and closed, but no data coming in.
Is there a bug or something...
-
Yup. Phone numbers and the like also seem difficult. WTH?
-
I will have to if there's no better way, I guess.
-
Would like, the first five digits. Or generally, the results you'd get in VB6 when you use the Format function :)
-
What is the right way to use a custom format string on .e.g a zip code?
The zip code in the database might have 9 characters, but the program should only output five. Using...
-
I've tried several decoders. They all give the same output.
Yes, the first two characters are PK.
-
I wouldn't want to change the output of the downloaded stream to recreate the text file(s) inside the .zip archive, outside. There may be multiple text files inside one zip, there may be folders,...
-
sDecodedContents is a string with some "unreadable" characters. It is declared as string. I have also tried using a byte array instead of a string to read back the contents of the base64-encoded...
-
I downloaded the raw data and the same thing happened when decoding it and outputting it to a .zip file.
Yes, there's plenty of English in there. The body seems to be in human-readable English,...
-
I'm downloading a Base64 encoded string from a webservice, and using the Base64 class here http://www.vbforums.com/forumdisplay.php?f=43 for decoding, then trying to save the decoded string to a file...
-
I am getting a "garbage at end of zipfile" message when trying to open a .zip file created with the decoded contents of a string using this decode code. Different .zip programs, like Enzip and...
|
Click Here to Expand Forum to Full Width
|