Click here to Skip to main content
15,919,500 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# to Excel Pin
aaraaayen20-Jul-06 23:49
aaraaayen20-Jul-06 23:49 
GeneralRe: C# to Excel Pin
Nader Elshehabi21-Jul-06 3:26
Nader Elshehabi21-Jul-06 3:26 
AnswerRe: C# to Excel Pin
stancrm21-Jul-06 1:38
stancrm21-Jul-06 1:38 
QuestionIn C# ,How can i use a C++ DLL with a class being defined in head file. Pin
dfbx20-Jul-06 17:43
dfbx20-Jul-06 17:43 
AnswerRe: In C# ,How can i use a C++ DLL with a class being defined in head file. Pin
Andrei Ungureanu20-Jul-06 19:47
Andrei Ungureanu20-Jul-06 19:47 
GeneralRe: In C# ,How can i use a C++ DLL with a class being defined in head file. Pin
dfbx20-Jul-06 20:37
dfbx20-Jul-06 20:37 
AnswerRe: In C# ,How can i use a C++ DLL with a class being defined in head file. Pin
Andrei Ungureanu20-Jul-06 22:35
Andrei Ungureanu20-Jul-06 22:35 
GeneralRe: In C# ,How can i use a C++ DLL with a class being defined in head file. Pin
dfbx23-Jul-06 16:21
dfbx23-Jul-06 16:21 
QuestionHow to support right-click *on* WinForms context menu items? Pin
cpeterso20-Jul-06 15:07
cpeterso20-Jul-06 15:07 
AnswerRe: How to support right-click *on* WinForms context menu items? Pin
Judah Gabriel Himango20-Jul-06 16:12
sponsorJudah Gabriel Himango20-Jul-06 16:12 
AnswerRe: How to support right-click *on* WinForms context menu items? Pin
Nader Elshehabi20-Jul-06 22:40
Nader Elshehabi20-Jul-06 22:40 
QuestionMy ASP.NET 2.0 Web Pages do not run inside IIS Pin
tedhill1320-Jul-06 14:17
tedhill1320-Jul-06 14:17 
AnswerRe: My ASP.NET 2.0 Web Pages do not run inside IIS Pin
Andrei Ungureanu20-Jul-06 19:52
Andrei Ungureanu20-Jul-06 19:52 
GeneralRe: My ASP.NET 2.0 Web Pages do not run inside IIS Pin
tedhill1323-Jul-06 9:23
tedhill1323-Jul-06 9:23 
QuestionPictureBox in mdi form Pin
Saamir20-Jul-06 11:32
Saamir20-Jul-06 11:32 
AnswerRe: PictureBox in mdi form Pin
Ed.Poore20-Jul-06 12:50
Ed.Poore20-Jul-06 12:50 
QuestionRe: PictureBox in mdi form Pin
Saamir20-Jul-06 16:45
Saamir20-Jul-06 16:45 
AnswerRe: PictureBox in mdi form Pin
Ed.Poore20-Jul-06 21:07
Ed.Poore20-Jul-06 21:07 
Question.insert is inserting 2 entries instead of one... please help. Pin
jaman4dbz20-Jul-06 11:02
jaman4dbz20-Jul-06 11:02 
AnswerRe: .insert is inserting 2 entries instead of one... please help. Pin
Ed.Poore20-Jul-06 12:48
Ed.Poore20-Jul-06 12:48 
AnswerRe: .insert is inserting 2 entries instead of one... please help. Pin
Alexander Wiseman20-Jul-06 13:33
Alexander Wiseman20-Jul-06 13:33 
AnswerRe: .insert is inserting 2 entries instead of one... please help. Pin
jaman4dbz20-Jul-06 14:09
jaman4dbz20-Jul-06 14:09 
GeneralRe: .insert is inserting 2 entries instead of one... please help. Pin
Alexander Wiseman20-Jul-06 14:26
Alexander Wiseman20-Jul-06 14:26 
I'm glad you figured it out!

You said in the first part of your response:

"i tried changing it to new tabpage(); then making the tabpage equal to my blanktabpage"

Setting the tabpage equal to blanktabpage would defeat the purpose, because you are changing what your variable refers to. The main point was to create a wholly new tab page and add that to the tab control. I see that is what you did, which is great.

As far as two tab pages getting added, I have an idea about it. I did not want to mention it in my previous post because I wasn't sure if this was the issue. Here goes:

I was thinking that perhaps you did not actually have two tab pages being added, but rather the first tab page in your control changing to look exactly the same as the other tab page, since you only really have one tab page in memory. Thus, when your function got called, the tab page in memory got changed to look exactly the same as the "new" tab page you were adding. You could verify this by checking how many tab pages total there are before and after the call to your function. If there are two more than before, then I am simply wrong. If there is only one more tab page total, then I think what I said is happening. If you get a chance, could you check it out, I would like to know. This is a really interesting issue!

Sincerely,
Alexander Wiseman
GeneralRe: .insert is inserting 2 entries instead of one... please help. Pin
jaman4dbz21-Jul-06 6:21
jaman4dbz21-Jul-06 6:21 
QuestionSecurity Permissions Pin
JuanAlbertoMD20-Jul-06 10:21
JuanAlbertoMD20-Jul-06 10:21 

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.