Hi, I am having problems installing a service I coded.
Per http://support.microsoft.com/kb/816169, I've added a project installer to it with a serviceProcessInstaller and serviceInstaller using the "Add Installer" option on the service. I then added a Setup project to the solution, added my...
I am having an issue releasing a file opened using the MODI library. Here is the code (docTif is the MiDocView object on my form):
Dim tmpTif As String
Dim tmpDoc As Document
Dim tmpImg as MODI.Image
...
(a TIF is created and saved to disk. the name of the file is stored in tmpTif)
...
Set...
Hi,
I'm writing an app that strips .tif images from a file that contains a concatination of tifs, and then displays them, but I'm running into some problems regarding access errors. Here's the code that strips the .tif and displays it:
Dim arImage() As Byte
Dim ff As Integer...
Hi, I'm trying to allow an open of a file browsing window in my app. I found some code and inserted it into a module. The code looks like so:
Private Const BIF_RETURNONLYFSDIRS As Long = &H1
Private Const BIF_DONTGOBELOWDOMAIN As Long = &H2
Private Const BIF_RETURNFSANCESTORS As Long = &H8...
I am reading a *.csv file into my program, but when the program finishes grabbing each field from the first row, it returns an EOF condition. Here is a snippet:
i = 1
while i <= lastRecord And Not exportError
Input #nFile(1), strRecord
If EOF(nFile(1)) Then
MsgBox "EOF on " & i &...
I'm a vb newbie, and I am trying to retrieve some variable length strings (City names) from a binary file. The binary file contains data from which I can determine the strings' locations and lengths. Right now, I am just trying to display the data, but I'm having problems. My code is as...
Hi, I am trying to read a binary file to update a table. The data is packed, and some of it is contained in one byte as packed decimal. Is there an quick way to convert this data to an integer?
x'20' should convert to 20, not 32.
I am reading a text file as input and inserting some data into a table. I have a while loop that reads a record, and then inserts into the table, but the process is incredibly slow. I thought there was a way to do something like:
insert into table
values ("a","b","c")...
I'm coding an application that must run a .bat. I'm trying to use Shell, but nothing seems to happen - no error, etc. Here is a code snippit of a simple test I tried which still did not work.
strFTPCommand = "T:/Table Maintainer/battype.bat"
Call...
Is there a way to disable the close button on the Access application itself so the application can only be terminated using the 'quit' button I provided?
I know this sounds basic, but I can't figure it out. I used the report wizard to create a report, and it's orientation was set to portrait. Now, I would like to change it to landscape, but I cannot find anywhere in the properties this attribute is set. When I print the report, I can change it...
I am trying to create a "status" text field on a form that is several lines high. Is there a way to create a string with a new line character (similar to "/n" in Java) so that I can keep appending status messages to the text field so that each new message appears on its own...
Hello,
Does anyone know how to control how many detail lines will be shown at one time before scrolling is necessary? I have created a continuous form, but it will only show one record at a time - it makes the detail section the height of one row. If I try, in the design view, to make the...
Hi,
I am writing an application in which a continuous form is used to search for records using filters based on search parameters you supply. The continuous form provides you with a list of records of which you can hilight one and press a "Select" button on the bottom which fills in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.