Solved

Unicode title/caption for a window?

Posted on 2015-02-11
8
126 Views
Last Modified: 2015-03-17
Is there a way to set a unicode caption/title for a window, without using MS Forms 2.0?
0
Comment
Question by:npaun
  • 3
  • 3
8 Comments
 
LVL 40

Expert Comment

by:Jacques Bourgeois (James Burger)
Comment Utility
Your 3 topics could mean anything.

In what environment do you display your forms?

What tools are you using? VB6, VBA and VB.NET are all different although they look the same.

We need more precisions.
0
 

Author Comment

by:npaun
Comment Utility
@Jacques Bourgeois
Thank you for the comment.
I'm interested in a VB6 applicable solution. However, if such a solution is a possible, I would expect it to be made possible by using the Windows API. If so, than I could use it my VB6 projects...
0
 
LVL 40

Expert Comment

by:Jacques Bourgeois (James Burger)
Comment Utility
MSForms is an ActiveX Control. This is not something that you use through the Windows API, but through references and calls to its constructor in your application.

I wonder why you would want to use MSForms however. This is a 20 years old technology and the forms that are built in VB6 itself offer a lot more possibilities.

And before embarking on your project, ask yourself if VB6 is itself a good technology to use. It is also an old technology. It is not supported anymore. You cannot run VB6 itself in newer versions of Windows, and applications compiled with VB6 in the past are also starting to have problems while Windows goes along but VB6 is stuck in the last century.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:npaun
Comment Utility
@Jacques Bourgeois
I said I do not wish to use MS Forms 2.0

Regarding the comment that VB6 is old technology: Yes, you are right. But I'm really tired from people pointing that obvious fact, especially from experts here. It's as if I'm having an old wife, who is sick, and go to an expert doctor, and ask him, "Doctor, can you help me with my wife's problem?", and he sais "Well, In my opinion, the main problem is that your wife is old and obsolete. I would suggest to switch it for a younger, more modern one. It would elegantly solve most of your problems."
0
 
LVL 40

Accepted Solution

by:
Jacques Bourgeois (James Burger) earned 500 total points
Comment Utility
Ooops, sorry, I did not read the question correctly.

Experts come here to help. The reason why so many of them are talking that way is that they are almost all old VB6 programmers who were confronted to problems with VB6, and they want to help you, that is all.

When a problem happens suddenly with a VB6 application only because you have switched a version of Windows, you are in a bottleneck. When your boss decides that everybody moves to Windows 7, including you, and that your VB6 development environment does not work anymore, you have no choice left. Except that life still goes on while you are rushing to learn .NET, something that cannot be done in a rush.

Learning VB.NET takes a while. Converting a VB6 application to VB.NET takes a while. Both together takes a long while.

Your wife analogy is not good, because the earth does not evolve so fast as to make it obsolete. VB6 is not sick, its is obsolete.

A good analogy would be something like everybody is telling me to stop using 8-track tapes, because you will left with no music once your tape player stops working. And you are completely left out of all the new music that came out in the last 20 years.

One example for the need to move is exactly your problem.

In the years were I was still working in VB6, in consulted with a 2 companies that had the same problem. I was not directly involved in these projects, but I saw what happened in both places. They naturally searched the Internet for code that was supposed to solve the problem. None of them worked. Most were OK with menus or controls, but did nothing with forms.

They had no resort but to buy custom controls. Here they are, I had kept a reference in just in case:

http://www.vbaccelerator.com/home/vb/code/libraries/Subclassing/SSubTimer/VB5_Graduated_Title_Bar_Sample_zip_cTitleBar_cls.asp
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=64867&lngWId=1

Sorry for these first two, they simply show what happens when you wait too long to update programming tools.

These two are still available:
http://www.hexagora.com/en_dw_unictrl.asp
http://www.cyberactivex.com/product008.htm

I look in a hurry, but they seem to still suffer from that same ole limitation: they offer controls, but do not solve the problem for forms. You might inquire to see if it is only something I did not see on their web site.

That is also one of the reasons that push experts to suggest that you update your toolset and environment. You have problems finding parts that still work with the old one, and when you do, they have not been updated or do not do what you want to do.

Sorry if I cannot be more helpful.
0
 

Author Comment

by:npaun
Comment Utility
ok
0
 
LVL 45

Expert Comment

by:Martin Liss
Comment Utility
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now