As suggested above (thanks Chrissie1), I read the binary file into a dataset with pretty good results. Load time was about 1/10th as long, and the memory used was greatly reduced.
Now the problem I'm having is setting the rows' caption. I need the row header to display the row number in hex...
The grid is 16 columns by 65535 rows on a 512k file. All I need to do it display and edit the binary file, but the datagrid is the only way I know how to do this. I have seen other binary editors load the file VERY fast, but I assumed it's not loading the whole thing.
I'll try the...
Hey all. I have a problem displaying a binary file in a DataGridView control. This program is basically a binary editor/mapper for automotive PCM files. Loading the file in to the array is very fast (less than 5 seconds), displaying in the grid is slow (no biggie), but the biggest problem I...
I am writing an aspx (Visual Basic) logon app for a friend (he needs to be able to reset expired passwords, so the regular windows logon won't work). Everything is in the same domain and secure, so that isn't really going to be a problem.
I created a logon page, that checks user name and...
I am writing an aspx (Visual Basic) logon app for a friend (he needs to be able to reset expired passwords, so the regular windows logon won't work). Everything is in the same domain and secure, so that isn't really going to be a problem.
I created a logon page, that checks user name and...
How about something like this...
SELECT Date, AmountB/F, Repayments, InterestCharged, AmountC/F
FROM table1
INNER JOIN table2 ON table1.Date = table2.Date
INNER JOIN table3 ON table2.Date = table3.Date
Not sure what your table names were, so I used table1, table2 and table3
No, I guess because there is really no window. I am using EnumWindows to get a list of current windows. It lists all windows, but not anything running in the task bar. FindWindow was another option I tried, but with no luck :(
Hello all, I have a problem (duh!) I wrote a shell program a few years back in VB6 that replaces Windows Explorer on startup. This was written for a SysAdmin so his users could only have a few choices when running apps.
The problem I have now is with PCAnywhere. Being that Windows Explorer...
I have an AMD XP 2600+ with 1 gig ram and a 120 gig HDD running Windows Server 2003, Sql Server 2000, Advantage Database Server, and Exchange Server 2003 and have no problems - however, like crobin1 said, there is a lot of disk access to think about. The system has enough RAM, but it does...
if you are not too worried about the exact number (ie. too many decimal points) what about this, figure the number of days, then divide by 30
tmpDate=DateDiff("d","10/1/02","11/15/02")/30
then you could format the result for how ever many decimal points you want...
I had the same problem, I think. I opened a global recordset, and had a form that would add records to it. When I needed to access the added records through the global recordset, they would not be there.
I opened the global recordset with the Dynamic cursor type. Then cleared any filters...
I am trying to select records from a table. I want to display a field called ID. But I want to do this based on 4 fields called "what and a field called "Status". I have attached a small table as an example. I am using a formula like this.
If {table1.id.what} =...
Had the same problem. The user was the one to close Excel, but an instance stayed in memory. This fixed my problem...
'In the declarations:
Dim WithEvents xlBook As Excel.Workbook
'the calling procedure:
Dim ExpName As String
ExpName = xlsfile ' the name of the excel file I am opening...
Hello, I need to export the specifications only that someone else created in a database so I can use the data in a vb project. I need the specifications only, not the data. I will write the code to import the file (a fixed width .txt file with about 50 fields). I can import the file in access...
O.K., My bad. Since this started to be a single user app, I compacted the database on startup. Well, I didn't disable this when I tested it as a multi-user app. You can NOT compact a database that is opened by another user STUPID! Sorry for the bogus post, maybe someone else can use this...
Is it possible for multiple users to access an Access database without using ODBC? I have an app that uses an Access database using
Set db = New Connection
db.CursorLocation = adUseClient
db.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=" + App.Path +...
This is from the Windows API Viewer:
Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As...
I am using VB6 professional (sp5), but the ShellExecute is a Win32 API call. I think I will have to use the CreateProcess call, I just wanted to do it with smaller code. Thanks again for all the help!
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.