Windows API in VBA - Strings (Part 2) - Unicode vs. ANSI

  Рет қаралды 2,681

codekabinett.com/en

codekabinett.com/en

Күн бұрын

Пікірлер: 29
@bounsanongvongphachanh823
@bounsanongvongphachanh823 Жыл бұрын
You are helping people around the world that struck on this message box with thier language popup not correctry including me, you are professional vba, thanks alots.......
@又大又黑又粗又久
@又大又黑又粗又久 2 жыл бұрын
I'm so appreciated that your video series that how to call api in vba, Respectly!!!!
@bluxer4225
@bluxer4225 2 жыл бұрын
99% of VBA content on youtube is Excel-oriented. So, this VBA Access channel is mostly unique. (personally i'm a Word guy :))
@codekabinettcomen
@codekabinettcomen 2 жыл бұрын
Thank you! For the Win-API-Series I would like to stress it is completely agnostic of the host application and you can use all this in Word, Excel, and Outlook all the same.
@martinleduc
@martinleduc Жыл бұрын
Thanks! I really appreciate the explanations on "Why" things work this way.
@fengqingchu8399
@fengqingchu8399 2 жыл бұрын
Hi,Nice to see you again.Your Windows Api contents are of vital importance for VBA developers to step into the next hight level!
@Dyxacm
@Dyxacm Жыл бұрын
Respect for your position and for useful lessons aswell! 👍
@peterwooldridge7285
@peterwooldridge7285 Жыл бұрын
That was really exciting, like reading mystery novels...great and Informative
@codekabinettcomen
@codekabinettcomen Жыл бұрын
Thank you very much!
@giuseppefruci4383
@giuseppefruci4383 2 жыл бұрын
Good video, unravelling the mysteries of the API is a always a challenge.
@codekabinettcomen
@codekabinettcomen 2 жыл бұрын
There are more mysteries to come. :)
@xavierbatlle1828
@xavierbatlle1828 Жыл бұрын
Thanks! Very interesting and useful.
@RICARDOHERNANDEZ-rf3ug
@RICARDOHERNANDEZ-rf3ug 2 жыл бұрын
A very clear explanation, it was what I was looking for, thank you very much
@murtazaibrahim6560
@murtazaibrahim6560 2 жыл бұрын
Good research mate. Your video topics are unique and indeed learn something new.
@redhaakhund1271
@redhaakhund1271 Жыл бұрын
Excellent top👍👍👍👍👍🙏
@omidmehdi
@omidmehdi Жыл бұрын
Very useful video Please complete this playlist about this conviloluted Winapi that we see from time to time in vba Beste Grüße
@codekabinettcomen
@codekabinettcomen Жыл бұрын
Thank you. I'll try to pick up this series.
@Alexey0795
@Alexey0795 Жыл бұрын
2:37 Нет войнЫ => Нет войнЕ how would I translate it: there is no war => (say) No to war
@عليعلي-ن1خ3ص
@عليعلي-ن1خ3ص 2 жыл бұрын
Nice video ! Question: Since Strings in the vba runtime are unicode, why does the VBA standard MsgBox (which is part the vba runtime) always displays ANSI characters ?
@ericturner5154
@ericturner5154 2 жыл бұрын
Hey! Where’s did u go? Hope all is ok…
@codekabinettcomen
@codekabinettcomen 2 жыл бұрын
Thank you for asking. I'm fine but I'm dealing with some issue and currently neither have time nor motivation doing new videos. - I'll be back.
@thomas.a.lassen
@thomas.a.lassen 17 күн бұрын
In my team we are trying to put together VBA code that communicates with an application via the Windows SendMesage-api. But we are having trouble sending a message back to the VBA code. Do you have any reference on achieving something like this?
@codekabinettcomen
@codekabinettcomen 17 күн бұрын
Use a different way of communicating with that app if you can. If you can't, you must overwrite the WindowProc of one of your Access windows to process the messages sent to that window. It's possible but has unpleasant side effects... Keyword: Subclassing (I've got this on my list for future videos, but don't hold your breath for it to arrive.) Alternatively, create a COM DLL that handles the communication and then add this DLL as a reference to your VBA project.
@legionssssss3865
@legionssssss3865 2 жыл бұрын
Hi there, thanks for the informative tutorial. I currently have an VBA code to save a file to .txt FileFormat: xlUnicodeText Is there a line of code I can add to change the encoding from "Unicode" to "ANSI"?
@codekabinettcomen
@codekabinettcomen 2 жыл бұрын
The XlFileFormat enumeration has several options for non-unicode text. I suggest you check out the documentation if any of those solves your problem.
@tommik1283
@tommik1283 2 жыл бұрын
Not only this unicode thing shows how little MS cares about Office VBA in modern times and it is not likely to get better. Yet another pain is the "usage" of VBA calling API functions in 64 bit Windows - for example try to call external process and get its stdout straight into VBA variable. Something that is quite trivial in .NET VB, practically impossible in VBA...
@thomasfergusen5144
@thomasfergusen5144 2 жыл бұрын
Hello, i have a question: "thisworkbook.save" code takes alot of time (even i did "Application.CalculateBeforeSave = False" and "Application.Calculation = xlCalculationManual") so i decided to use that code only in "Private Sub Workbook_BeforeClose(Cancel As Boolean)" subroutine. But the problem is when electric is off or somehow programme get a runtime error vba does not read the code. ( i dont want to get recovery offering because of users not familiar that) so what to do? Thanks!
@codekabinettcomen
@codekabinettcomen 2 жыл бұрын
Sorry, I don't fully understand the problem. It seems to complex to be answered in a short comment here.
Windows API in VBA - Strings (Part 1)
30:44
codekabinett.com/en
Рет қаралды 3,2 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 78 М.
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 7 МЛН
Who's spending her birthday with Harley Quinn on halloween?#Harley Quinn #joker
01:00
Harley Quinn with the Joker
Рет қаралды 27 МЛН
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 40 МЛН
Query Performance Tuning - Basic, Universal Rules
32:59
codekabinett.com/en
Рет қаралды 3 М.
Windows API in VBA - First Steps
17:47
codekabinett.com/en
Рет қаралды 9 М.
Enums(Enumeration): The Key to Cleaner, More Efficient VBA Code
9:58
Excel Macro Mastery
Рет қаралды 32 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 322 М.
How to Use Global Variables in Microsoft Access VBA
13:25
Sean MacKenzie Data Engineering
Рет қаралды 8 М.
Watch these 28 minutes if you want to become an Advanced VBA user...
29:01
Excel Macro Mastery
Рет қаралды 55 М.
The Basics of Error Handling in VBA
23:59
codekabinett.com/en
Рет қаралды 1,7 М.
Making API Requests in VBA | JSON
26:17
Sigma Coding
Рет қаралды 44 М.
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 7 МЛН