Use the .TAB property of the SSTab control like this...
Next button
If SSTab1.Tab < (SSTab1.Tabs - 1) Then SSTab1.Tab = SSTab1.Tab + 1
Previous button
If SSTab1.Tab > 0 Then SSTab1.Tab = SSTab1.Tab - 1
Net_Giant
What fun is a technology if you can't crash the OS?
Maybe I'm not thinking clearly without my usual dose of coffee but ... it looks like you're showing the report (modally) *before* the connection is open and the query has been run.
Do you ever set the recordset of ADODC2? Try changing the OpenReport() method to something like this ...
Private...
Check out the www.vbip.com site for tons of articles, tutorials and code related to net programming with VB.
Net_Giant
What fun is a technology if you can't crash the OS?
Wild suggestions that I don't know much about but may help you in your search ...
Adobe Acrobat can do forms and their viewer is an ActiveX component. Maybe you can automate their form processing.
MS Word can also work with documents as forms.
The down side to both of those is that you...
Try this routine. I didn't write it and I've forgotten where I found it but I think it may give you what you're looking for - the amount of memory used by your VB app. You could even adapt it to work on other processes but I'll leave that up to you. :-)
This is my first TGML code posting so...
Edit the FRM file manually.
Make a backup *before* you attempt the change in case things get out of hand and the file gets mangled. The TabStrip properties in the form probably look like this ...
Begin MSComctlLib.TabStrip TabStrip1
Height = 735
Left =...
Can you post the procedure declaration (not the code, just the name and parameter list stuff).
Net_Giant
What fun is a technology if you can't crash the OS?
Is there a reason why you're using notepad and not a textbox in your VB app? Reading the file into a variable and working with it from there would probably be better.
Somnething like this ...
Dim astrLines() As String
Dim intFile As Integer
Dim strBuffer As String
' Read contents file...
Try specifying the length of the input parameter in the optional size parameter to CreateParameter. Use something like this...
Set prmId = cmdId.CreateParameter("ID", adVarChar, adParamInput, Len(mgrID), mgrID)
Net_Giant
What fun is a technology if you can't crash the OS?
It sounds like this is the sequence of events.
1) app is started in IDE
2) DLL function invoked successfully
3) current directory on the drive with the app is changed
4) app is closed
5) app is started again in IDE
6) DLL cannot be found because it is not in the current directory (changed in...
Are you adding items to a standard Listview control? Have you tried the bound Listview control - DataList? I haven't used it but it may help.
If you can't use a bound control try ...
1) Set the control's .Visible property to false so it won't try to update it's display after every item is...
Wild shot in the dark ... does your app change the active directory? Try this: temporarily move the DLL to one of the system directories (WinNT or WinNT\System32) and see if your app will run more than just the first time.
Windows 2000 and XP (and NT?) use a different search method when trying...
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.