Click here to Skip to main content
15,887,302 members
Home / Discussions / C#
   

C#

 
GeneralRe: c# hide/remove properties from propertygrid Pin
Member 206816923-Dec-09 1:02
Member 206816923-Dec-09 1:02 
GeneralRe: c# hide/remove properties from propertygrid Pin
Jordon4Kraftd23-Dec-09 10:50
Jordon4Kraftd23-Dec-09 10:50 
QuestionHelp, multiple projects solution . Pin
Kobi_Z22-Dec-09 22:13
Kobi_Z22-Dec-09 22:13 
AnswerRe: Help, multiple projects solution . Pin
MatthysDT22-Dec-09 22:36
MatthysDT22-Dec-09 22:36 
GeneralRe: Help, multiple projects solution . Pin
Kobi_Z22-Dec-09 23:23
Kobi_Z22-Dec-09 23:23 
AnswerRe: Help, multiple projects solution . Pin
MatthysDT22-Dec-09 23:39
MatthysDT22-Dec-09 23:39 
GeneralRe: Help, multiple projects solution . Pin
V.22-Dec-09 23:55
professionalV.22-Dec-09 23:55 
AnswerRe: Help, multiple projects solution . Pin
OriginalGriff22-Dec-09 23:47
mveOriginalGriff22-Dec-09 23:47 
Yes, the "new" is causing your problem, since it create a new instance of the VB form.
One of your two projects will be the Startup Project. In that you will be creating an instance of the other - or it wouldn't be displayed. Whereever you create and display the other form, save it and you can access it later.

So, if your startup project is C#, somewhere you will be saying:
ProjectVB.Form1 f1 = new ProjectVB.Form1;
f1.Show();

You can save the value as a class variable, and then call the Fnc_ChangeTxt method in your button handler.

If your startup project is VB, there will be similar code to show the C# form - You can hand it the instance of your VB form and store that as a C# class variable.

The better way to do it would require changes in the same area - create an event in the C# which you throw in your button event, and subscribe to in your VB form. This means that the two projects are more independant of each other.

All those who believe in psycho kinesis, raise my hand.

AnswerRe: Help, multiple projects solution . Pin
#realJSOP23-Dec-09 0:22
mve#realJSOP23-Dec-09 0:22 
QuestionHow do I remove the default support URL from my custom EventLog entry? Pin
MatthysDT22-Dec-09 21:49
MatthysDT22-Dec-09 21:49 
QuestionPolynomial finder Pin
frommi22-Dec-09 21:33
frommi22-Dec-09 21:33 
AnswerRe: Polynomial finder Pin
OriginalGriff22-Dec-09 22:11
mveOriginalGriff22-Dec-09 22:11 
QuestionFont and Size setting in Datagridview Pin
M Riaz Bashir22-Dec-09 20:54
M Riaz Bashir22-Dec-09 20:54 
AnswerRe: Font and Size setting in Datagridview Pin
MatthysDT22-Dec-09 22:27
MatthysDT22-Dec-09 22:27 
QuestionAccess Kernel-Mode dll Pin
AB_dev22-Dec-09 20:45
AB_dev22-Dec-09 20:45 
AnswerRe: Access Kernel-Mode dll Pin
Roger Wright22-Dec-09 21:09
professionalRoger Wright22-Dec-09 21:09 
GeneralRe: Access Kernel-Mode dll Pin
AB_dev22-Dec-09 21:15
AB_dev22-Dec-09 21:15 
Questionno rounds Pin
Kenny Chen22-Dec-09 20:40
Kenny Chen22-Dec-09 20:40 
AnswerRe: no rounds Pin
#realJSOP23-Dec-09 0:25
mve#realJSOP23-Dec-09 0:25 
AnswerRe: no rounds Pin
Jordon4Kraftd23-Dec-09 13:09
Jordon4Kraftd23-Dec-09 13:09 
AnswerRe: no rounds Pin
Kenny Chen23-Dec-09 14:37
Kenny Chen23-Dec-09 14:37 
QuestionCheckbox & CheckedChanged event... really? Pin
BDJones22-Dec-09 14:00
BDJones22-Dec-09 14:00 
AnswerRe: Checkbox & CheckedChanged event... really? Pin
Luc Pattyn22-Dec-09 15:22
sitebuilderLuc Pattyn22-Dec-09 15:22 
GeneralRe: Checkbox & CheckedChanged event... really? Pin
BDJones23-Dec-09 4:33
BDJones23-Dec-09 4:33 
AnswerRe: Checkbox & CheckedChanged event... really? Pin
J4amieC22-Dec-09 21:38
J4amieC22-Dec-09 21:38 

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.