Is there a way to show/hide all of the tooltips on a form programatically? I want to use them as sort of a help function by creating a button that toggles their view. I have found ways to show individual tooltips momentarily or allow the hover to work even if the form is not the focused form...
I am looking for a way to prevent reentrance on the same thread. The problem is that I have a static function that is called from a form in a couple of ways (button, timer), and I have been using a lock to prevent reentrance from other threads and that portion seems to be working fine. However...
Hello,
My app has this funny habit of crashing and burning without the slightest hint of what happened. One moment it is running along (in debug mode) without issue, and then all of a sudden it just disappears. There were no warnings, pop-ups, exceptions caught, etc. I am curious of there are...
Hello,
How do I go about making a static method synchronous? I have a static method which gets called by multiple UI events, but I want the last one to complete before the latest call gets processed.
I tried to use 'lock', but only to find out that it only blocks between separate threads. Any...
Is there such a thing as an inline macro within sql? I am not sure I am using the right terminology, but below is what I am looking for:
MACRO myRemoteTableMacro "OPENDATASOURCE('SQLNCLI','Data Source=myRemoteSvr;Integrated Security=SSPI').myDb.dbo"
select * from myRemoteTableMacro.table1
The...
Hello,
I am curious if anyone knows why my controls automatically resize themselves after I change the height within the designer while on a form. This is only the case when the control width is less than 10 (pixels I think).
For example, if I add a button to my form and manually change its...
Hello,
Does anyone have any tips on replacing every character in a string with "something1" except for "something2"? For example:
Given string "xxAyxx", replace every character which is not an 'x' with a 'g'.
Start: "xxAyxx"
Result: "xxggxx"
Thanks
Hello,
Is it possible to add a DLL as a project resource? I would like to have a second DLL which I am using in my application be somehow included within my .EXE to alleviate having to keep track of it.
If it is in fact possible, any tips on how to do it? Thanks.
Does anyone have an idea why the query below results in an error? The problem appears to be centered around the field named "bit_length". If I use query for only "name" or "*" instead, the query returns just fine.
Error:
failed to retrieve the required data from the database...
I’m having trouble retrieving just the 1st record where there are two available. Here’s an example table:
My table:
Name Address
---- -------
Bob 1st street
Bob 4th ave
Ann 3rd street
Ann 7th ave
What I’d like to retrieve:
Name Address
---- -------
Bob 1st street
Ann 3rd street
I don’t...
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.