This is marked as Resolved, but after reading the 'discussions' I am not so sure ?
I came across these free controls, that future Googlers (readers of this thread) may care to try -
UniSuiteFree...
Type: Posts; User: Bobbles
This is marked as Resolved, but after reading the 'discussions' I am not so sure ?
I came across these free controls, that future Googlers (readers of this thread) may care to try -
UniSuiteFree...
Will this help -
http://www.vbforums.com/showthread.php?643387-RESOLVED-Make-my-application-run-at-startup-Windows-Seven-Problem
They have to get up early in the morning to fool me.
OOPs
If it was free, you could post the link, and one of us can give it a run
I have learned to not stuff with the Form_Load event.
And I even go further, and I am selective about what code I place in there (Some goes in to Form_Activate, with a wee flag to avoid the code...
What I have done in the past is use a Shape control.
You can play with it's properties, until the border is what you want.
If you have multiple Textboxes you can use a control array of shapes.
You...
Yup the solution given years ago, and forgotten by me, works.
Here is the solution (for future Googlers) -
frmDefaultCancelProps references isButtonTest.isButton - isButtonTest is the library...
Thanks for responding Bonnie.
Still getting same error.
My Googling has come up with another hit, where I asked the same question years ago.
I am (still) old, so had forgotten that.
I am...
The solution here, is not working for me.
I have a form in an existing (large) project. It has the IsButton User Control on the form....
You have not shown us all the code prior to making the call
What may be causing your problem is using declarations similar to this -
Dim strSQL, m_database As String
Instead use -
Dim strSQL as...
I know from past experience that Win 7 can differ (from XP) in the way that apps get/maintain focus.
If the form is meant to be 'active' all the time, perhaps use a timer, and an API call like...
See my post 11 above
It is just the keyboard shortcuts for the menu items -
Saving your current page ALT fs (ALT File Save)
And ALT rf (ALT Run Fullcompile)
And you can do them in one ALT fsrf...
If my Alt fsrf does not help, I could tell you a story about what happened to me a few years ago.
Have you noticed any other minor irritations with VB6 IDE ?
I cannot recall how many months this...
Have you tried my
Alt fsrf
to force all errors to be notified ?
Firstly please don't use Data Controls.
Secondly why hide the search form. Unload it instead.
When a form is shown VBModal, and that Form is then Unloaded, control is returned to the original...
I would not be messing around in the Form_Load event.
If it ain't broke, don't fix it.
I do not sprinkle DoEvents everywhere.
But if I see something is 'living in the past', and the controls Refresh command does not help, then it cops a DoEvents.
I...
I have not simulated your example today, and have not been in the IDE for some time.
Notwithstanding that, my recollections may be handy.
In the past, when expected Tooltip info was not appearing,...
I was going to give you a hard time for not upgrading from VB5 to VB6 (as VB6 has better ADO interaction, and a couple of other small but great improvements).
I am glad I didn't, as I would have...
Is it a normal combobox ?
What style is it set to ?
My quick test was style = 0, and I could do this -
Private Sub Form_Click()
Combo1.Text = "Rob"
End Sub
And "Rob" appeared
Rob
And I...
I haven't studied your code YET, however sometimes a 'focus' problem can be solved by just hiding your app.
EG Your program is running (minimized into Taskbar)
User has 'focus' (it is active) on a...
Could you specify your needs.
Please take the time to do that thoroughly and in detail.
If you tell us 35% of what you need, then it can be a long and confused and tortuous journey before arriving...
I downloaded it to have a wee peek.
You would be better off finding another example, because -
- It uses the Data Environment
- It (probably) uses Data Controls, and possibly Binding (They are...
What I believe is desired by the OP is (was ?) A bottommost API = His Form stays beneath all others.
I am not really thinking of multiple Sticky Notes, but probably could work for those as well.
I...
Use a string variable to compose/resolve your query, and then Debug.Print it to see what it looks like.
Dim sSQL As String
sSQL = "Select * from Table_Name WHERE Field1 like '" &...
First question:
I will be sticking with
Text1.Text = ""
I have been rubbing garlic on my neck for decades, and never had a vampire bite.
I have been using "" for decades, and never had a problem....
I have XP Pro SP3
I cannot see WMI in my list of Exceptions ?
What DataMiser said (is 100% of what I nearly said)
Instead of giving us tiny portions of information (and some guessing by us), describe fully what you are doing.
It is the last time I will ask.
Dim sLineOfText As String
Dim sLineOfTextShortened As String
sLineOfText = "1234567890abcdefgh"
sLineOfTextShortened = Mid(sLineOfText, 11)
Knock up a small project, and attach it.
And either here, or in comments in the program state what you want it to do.
Done (with 3 votes ? ?)
Rob
PS This is being run by Visual Studio Mag, which I gave up subscribing to, when they abandoned VB6.
But the much bigger abandonment was by MS who purged samples(etc)...
I have not worked with Winsock, so I don't know how the data (strings) look, and what the delimiters will be like.
But it is possible you could use one the useful features that VB6 introduced -...
Just to aid communication, let us say there is an 'Allowed List' and a 'Currently Running' List
Are you looking up BOTH OF THOSE LISTS every 2 seconds ?
- - - - ALLOWED LIST
Why do you have to...
"bobbles, i need to check on the db frequently for any changes in the whitelist or in the processes. "
Which of those peeks into the DB requires it to be every 2 secs and why so frequent ?
What...
Elaborate on why you need to check the DB so frequently.
The more detail you provide, the more likely you will receive a quick solution
Not sure if it will still be used. (I will be 121 then, but If I am still alive, it will still be being used.)
What history will record is -
- XP was the pinnacle of MS OS's. It was downhill from...
They should put the button back in the 'Quick Reply'.
With the current way you first have to work out how to 'upload it'.
Then (if you have a large history of uploads), you need good eyesight to...
Do you know how to attach your project ?
I only ask because it is not as easy as I recall.
I recently attached something, and I am sure it was easier the previous time that I did it (mind you I...
Your line and the line I posted earlier ARE DIFFERENT -
YOURS
result = ShellExecute(Me.hWnd, "Open", sPathAndFile, ",", SW_SHOWNORMAL)
MINE
result = ShellExecute(Me.hWnd, "Open", sPathAndFile,...