|
Is there a good simple way to do this... it's just a simple string in c# i'd like to get over to an older vb6 app that will be rewritten later, don't need an extensive framework, just a quick and dirty, but reliable way to do this-- thanks!
also, I can...
Started by Scott Kramer on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Options are available for this.)
If the VB6 program is already running, you could use an ActiveX exe are launching the VB6 program from the C# program, just make the VB6 program itself an ActiveX exe ....
|
|
I'm migrating an application from VB6 to .NET and in VB6 i have a a call to this method: CharToOemA. I don't understand what it does and how I can reproduce this functionality. The line in VB6 is like this: Call CharToOemA(Text, Text), where Text is a...
Answer Snippets (Read the full thread at stackoverflow):
I don't know why your VB6 code wants....
OEM is the character set usually used by console programs.
I'm guessing the VB6 is using it to convert a native VB6 string into an OEM string.
API call, not a native part of VB6.
|
|
VB6 had a reputation for being too forgiving (and thereby allowing bad practices) and hiding complexities that perhaps developers would be better off needing to know. But I found that, say, 90% of applications could be done in VB6.
But I'd like to see...
Started by davek on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Of course Curland's Advanced Visual Basic....
Many VB6 programs are spaghetti, either because embed non-VB6-produced native code into a VB6 application without any external DLLs.
Joel said some good stuff about VB6 back in 2001.
|
Ask your Facebook Friends
|
I know I can receive messages with the code below in c#, how do I send to vb6, and receive in vb6, and send from vb6?
[System.Security.Permissions.PermissionSet(System.Security.Permissions.SecurityAction.Demand, Name = "FullTrust")] protected override...
Started by mikeh on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
To receive in VB6 you Interop instead?....
Here is the source code for the pair of test programs, a C# library and a VB6 FormsTo send in VB6 you need to use an API call ( SendMessage or PostMessage).
Is trickier in VB6.
|
|
I am displaying Japanese characters in a VB6 application with the system locale set to Japan and the language for non Unicode programs as Japanese. A call to GetACP() correctly returns 932 for Japanese. When I insert the Japanese strings into my controls...
Started by fran on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Ship that is VB6)
See http://www.microsoft.com/globaldev/drintl/columns/014/default.mspx#E5B.
|
|
I have some customers who want to use our speech therapy software in Hebrew.
The programs are in VB6. The best option I'm aware of are:
use the Forms 2.0 controls from MS Office, but you can't distribute them. http://www.hexagora.com/en_dw_unictrl.asp...
Started by Clay Nichols on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Microsoft Knowledge Base article, otherwise you could just use the native VB6 controls (bearing in mind that Hebrew is right-to-left positive chatter about it on the....
Don't use Forms 2 - it will crash your VB6 program.
Obviously!).
|
|
I want to put my dependent files in the app directory.
I seem to remember that you can force VB6 to use the files in the local directory only.
Any hints?
Started by Clay Nichols on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
VB6 programs will register the components here via the self-reg entrypoint behind your not meant for use with VB6 programs and if it is used your installer needs to be aware and properly install:
MakeMyManifest....
Machines too.
|
|
I know a lot of question regarding VB6 migration have been asked, but I don't believe my exact situation has been answered in them.
Basically, our company is wanting to migrate our mission-critical VB6 Line-of-business app that is quite large, uses custom...
Started by Dan McG on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
The vb6 program to modules (COM) and incorporate the functionality in a new .net app, then little:
What would eventually happen if we kept the VB6 version around and tried to maintain it The hell in VB6, but 3/4 years ago ....
|
|
I ask this partly because I want to know the best practice way of doing this, and partly because the top google result I got was a forum thread from 2002 in which the question wasn't even answered.
I inherited some VB6 code, and there are some MsgBox ...
Started by Jordan on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You need to make, there's SHMessageBoxCheck function....
Good luck
As far as I know, there is no other way .
I don't know how it is at VB6 but here is how I would do it in C#/VB:
1) make it up when the programs starts.
After a few seconds.
|
|
My company has tons of legacy applications that are written in VB6.
We are in transitions from moving VB6 applications to .NET (3.5 specifically).
What would be the best strategy for moving form VB6 to .NET?
NOTE : Below update should go to "Project Management...
Started by Sung Meister on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
"Hollow out" your existing VB6 apps by moving functionality to .NET bit is an adaptation of my answer to a....
Gradually convert each with COM enabled .NET libraries.
Also all new work must be done in your .net language not in VB6.
Benefit.
|