Search:
Type: Posts; User: DEXWERX
Search:
Search took 0.08 seconds.
-
So something like If Not Mid() Like
-
It's too bad the IDE messes with bracketed string literal casing too. a future VB7 would do well to just leave bracket and ! casing alone.
-
try
{
Cn.Open();
}
catch
{
MessageBox.Show("Invalid Username/Password.");
}
-
@wqweto do the line numbers correlate to the actual line numbers in the file? 'cause that would be slick.
Also would oJson!path!to!array work with a default property?
-
yes but he's showing a WINAPI/STDCALL calling convention on the C function... although he's got it spelled with an odd case, maybe typo?
-
Trick already caught the wrong types being used. But you should also be aware of VB's automatic
Unicode<-->ANSI conversions when using string parameters.
-
@Trick That's my go-to method. Haven't you illustrated modifying a ref parameter's address (on the stack) in previous threads?
(just make sure the assume no-aliasing opt is off)
-
You might want to start by posting some C code and the VB code that is calling it. As already pointed out - the most obvious issues are calling convention, and the VB declaration.
-
https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-enumdisplaymonitors
https://docs.microsoft.com/en-us/windows/desktop/api/Winuser/nf-winuser-getmonitorinfoa
-
https://docs.microsoft.com/en-us/windows/desktop/hidpi/declaring-managed-apps-dpi-aware
-
originally the best practice was to install 32bit office in enterprise environments mostly due to compatibility with all the existing plugins and ODBC drivers. Someday that may change - when all...
-
https://support.jaybirdsport.com/s/article/HID-and-keyboard-codes-for-Logitech-R400-R700-and-R800-presenters
-
Not to complicate things, but patched versions of 32bit office are LAA.
-
Once you've got the hWnd, couldn't you just iterate all your child controls, looking for you hWnd?
-
ah the old crash at shutdown of a manifested comctl app. you need to load shell32.dll prior to comctl32.dll.
are you using non-VBCCR controls on the form?
-
Ah windows 7. Does he have microsoft office installed? It's possible not.
-
standard practice is to let the server do the heavy lifting using SQL.
-
The O/S might be good to know. Also any debugging logs would help.
What bitness is the form's icon. What are the dependencies.
-
you can start by minimizing all the conversions to/from unicode / byte arrays. Try and do all your operations in a single domain.
-
nope you're right. a fast crc32 should be quicker than say an MD5.
-
that's what hashes are for :)
NOTE: of course a hash is only faster if you pre-compute the hash for the existing file.
-
I've used MZ Tools for that in the past. Older versions were free for VBA/VB6. (try the wayback machine)
-
Given that D2D is an API that is COM based, it's actually easier to use in VB6 than in C++. (The resource management part is automatically handled) No need to wrap a flat API, like they did with GDI+...
-
How to open a Large recordset and respond to user events, without hanging the form ---> FOLLOW THIS LINK...
-
https://cosxoverx.livejournal.com/47220.html
-
-
No need to complicate things by jumping to VB.NET -- ADO has async functionality built in.
https://support.microsoft.com/en-us/help/190988/how-to-open-ado-recordsets-asynchronously-using-withevents
-
Triggering an access violation with VB6's array syntax, is the definition of broken.
Your "feels" however are still welcome.
Yup - SAFEARRAYs have always marshalled correctly when packed in a...
-
Who doesn't like new features that degrade gracefully on older OSes :)
-
Returning Arrays from functions was new to VB6. Beware though - MS kind of hacked it in, and wasn't fully tested before it made it to release - so it can be quite buggy in edge cases. Of course MS...
-
That's dumb... Even Microsoft doesn't recommend that.
Last I checked the default install media was 32bit, and you had to jump through hoops to get 64bit installs, but it's been a few years since I...
-
Did you check if the "Project file is read only" ?
Also welcome to the forums. Questions on VB6 go in the VB6 forum. --> http://www.vbforums.com/forumdisplay.php?1-Visual-Basic-6-and-Earlier
...
-
Last I checked, Google was still making progress with Fuchsia, and it's on top of it's own non-linux kernel (Zircon).
https://fuchsia.googlesource.com/zircon <-- last commit 11 hours ago.
...
-
zing! (of course I can't really criticize MSSQL as an avid VB6 user, where you have to do all sorts of goofy things that are better supported in other languages)
-
-
yeah... I came from Oracle too, and thought MySQL was great. MSSQL however... well I use it everyday and I still hate it.
CHAR_LENGTH also works fine for me.
165027
-
Definitely check out wine, it's a great project. - they are also working on android support as well.
-
has anyone (@baka?) attempted a D3D10/11/Direct2D App on Wine(linux) in VB6 yet?
I actually am a huge fan of D2D in VB6 now, and the latest MS Office also uses DXGI/Direct2D as well.
-
From what I understand this has been an existing bug with even the original ImageList. (One of several backwards incompatible bugs)
A run-time check/warning depending on OS however would be nice.
-
speaking of hiding a GoTo in an Exit:
Dim I As Long
For I = 0 To 10: Do
If I < 5 Then Exit Do
Debug.Print I
|
Click Here to Expand Forum to Full Width
|