Click here to Skip to main content
15,905,616 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Open local programme from email (with link) Pin
Dave Kreskowiak14-Nov-08 3:20
mveDave Kreskowiak14-Nov-08 3:20 
GeneralRe: Open local programme from email (with link) Pin
Tom Deketelaere14-Nov-08 4:27
professionalTom Deketelaere14-Nov-08 4:27 
QuestionQuickbooks integration. Pin
Stephen Lintott13-Nov-08 1:42
Stephen Lintott13-Nov-08 1:42 
AnswerRe: Quickbooks integration. Pin
Christian Graus13-Nov-08 2:29
protectorChristian Graus13-Nov-08 2:29 
GeneralRe: Quickbooks integration. Pin
Stephen Lintott13-Nov-08 2:51
Stephen Lintott13-Nov-08 2:51 
QuestionRemove button from vbnet Pin
popemonica13-Nov-08 1:05
popemonica13-Nov-08 1:05 
AnswerRe: Remove button from vbnet Pin
sph3rex13-Nov-08 7:28
sph3rex13-Nov-08 7:28 
QuestionCalling VB6 form from Windows Form changes controls style Pin
Crazy Joe Devola13-Nov-08 0:54
Crazy Joe Devola13-Nov-08 0:54 
Hi
I have a VB6 ActiveX that displays a form with some controls: text box, buttons, radio buttons, Sheridan date control.
I call this form from a C# Windows form. This is done by a) adding a reference to the COM object b) instantiating the object c) Calling a method that displays the form.

The problem is that when the form is displayed, the controls style changes:
a) The text box becomes flat (not 3D)
b) The command button edges are rounded
c) The date control shows squares and funny shapes instead of numbers
d) The raduo buttons, that are located inside a frame, are black.

a and b are no big deal, c & d are obviously serious problem.

If I display the form from a C# console application then there is no problem: the controls look exactly as they do in the VB design. Also, if I compile the form to an EXE and call the EXE from a C# windows form, there is no problem.

It wasn't always like that: this problem started only recently, possibly as a result of Windows update, service pack... I am not sure what.

Does anyone know of a way to fix that, or some Windows settings to fix the problem?
AnswerRe: Calling VB6 form from Windows Form changes controls style Pin
Dave Kreskowiak13-Nov-08 4:38
mveDave Kreskowiak13-Nov-08 4:38 
GeneralRe: Calling VB6 form from Windows Form changes controls style Pin
Crazy Joe Devola15-Nov-08 20:55
Crazy Joe Devola15-Nov-08 20:55 
GeneralRe: Calling VB6 form from Windows Form changes controls style Pin
Crazy Joe Devola18-Nov-08 22:08
Crazy Joe Devola18-Nov-08 22:08 
QuestionRegads AxMSChart Control Pin
Nanda_MR13-Nov-08 0:08
Nanda_MR13-Nov-08 0:08 
AnswerRe: Regads AxMSChart Control Pin
Dave Kreskowiak13-Nov-08 4:36
mveDave Kreskowiak13-Nov-08 4:36 
AnswerRe: Regads AxMSChart Control Pin
sph3rex13-Nov-08 7:19
sph3rex13-Nov-08 7:19 
Questionvb.net, crystal reports Pin
Asheeqah12-Nov-08 21:38
Asheeqah12-Nov-08 21:38 
AnswerRe: vb.net, crystal reports Pin
Dave Kreskowiak13-Nov-08 4:31
mveDave Kreskowiak13-Nov-08 4:31 
QuestionWhich one is good for Performance [modified] Pin
indian14312-Nov-08 20:41
indian14312-Nov-08 20:41 
AnswerRe: Which one is good for Performance Pin
Rajesh Anuhya12-Nov-08 21:46
professionalRajesh Anuhya12-Nov-08 21:46 
GeneralRe: Which one is good for Performance [modified] Pin
indian14312-Nov-08 22:45
indian14312-Nov-08 22:45 
GeneralRe: Which one is good for Performance Pin
Rajesh Anuhya12-Nov-08 23:04
professionalRajesh Anuhya12-Nov-08 23:04 
GeneralRe: Which one is good for Performance Pin
indian14312-Nov-08 23:50
indian14312-Nov-08 23:50 
GeneralRe: Which one is good for Performance Pin
sph3rex12-Nov-08 23:59
sph3rex12-Nov-08 23:59 
GeneralSorry friend it is completed but still I tried Pin
indian14313-Nov-08 0:26
indian14313-Nov-08 0:26 
GeneralRe: Sorry friend it is completed but still I tried Pin
Dave Kreskowiak13-Nov-08 4:27
mveDave Kreskowiak13-Nov-08 4:27 
AnswerRe: Which one is good for Performance Pin
DrukenProgrammer13-Nov-08 1:25
DrukenProgrammer13-Nov-08 1:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.