Click here to Skip to main content
15,921,643 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: programming network UDP application Pin
CPallini30-Jan-09 2:45
mveCPallini30-Jan-09 2:45 
AnswerRe: programming network UDP application Pin
karpis_miroslav30-Jan-09 2:47
karpis_miroslav30-Jan-09 2:47 
QuestionRe: programming network UDP application Pin
CPallini30-Jan-09 3:09
mveCPallini30-Jan-09 3:09 
AnswerRe: programming network UDP application Pin
Code-o-mat30-Jan-09 2:47
Code-o-mat30-Jan-09 2:47 
AnswerRe: programming network UDP application Pin
David Crow30-Jan-09 3:27
David Crow30-Jan-09 3:27 
QuestionHow to bypass internet proxy programatically. Pin
SNI30-Jan-09 2:00
SNI30-Jan-09 2:00 
AnswerRe: How to bypass internet proxy programatically. Pin
CPallini30-Jan-09 2:46
mveCPallini30-Jan-09 2:46 
QuestionSytem tray icon. Pin
sam_psycho30-Jan-09 1:53
sam_psycho30-Jan-09 1:53 
AnswerRe: Sytem tray icon. Pin
Code-o-mat30-Jan-09 2:06
Code-o-mat30-Jan-09 2:06 
GeneralRe: Sytem tray icon. Pin
sam_psycho30-Jan-09 2:37
sam_psycho30-Jan-09 2:37 
GeneralRe: Sytem tray icon. Pin
Code-o-mat30-Jan-09 2:43
Code-o-mat30-Jan-09 2:43 
AnswerRe: Sytem tray icon. Pin
Iain Clarke, Warrior Programmer30-Jan-09 2:11
Iain Clarke, Warrior Programmer30-Jan-09 2:11 
QuestionHow will you convert this C# code into VC++? Pin
Nilesh Hamane30-Jan-09 0:04
Nilesh Hamane30-Jan-09 0:04 
GeneralRe: How will you convert this C# code into VC++? Pin
CPallini30-Jan-09 0:09
mveCPallini30-Jan-09 0:09 
GeneralRe: How will you convert this C# code into VC++? Pin
Eytukan30-Jan-09 7:10
Eytukan30-Jan-09 7:10 
GeneralRe: How will you convert this C# code into VC++? Pin
Hamid_RT30-Jan-09 7:21
Hamid_RT30-Jan-09 7:21 
JokeRe: How will you convert this C# code into VC++? Pin
CPallini30-Jan-09 11:11
mveCPallini30-Jan-09 11:11 
GeneralRe: How will you convert this C# code into VC++? Pin
«_Superman_»30-Jan-09 15:02
professional«_Superman_»30-Jan-09 15:02 
JokeRe: How will you convert this C# code into VC++? Pin
CPallini30-Jan-09 22:29
mveCPallini30-Jan-09 22:29 
AnswerRe: How will you convert this C# code into VC++? Pin
Hamid_RT30-Jan-09 1:34
Hamid_RT30-Jan-09 1:34 
AnswerRe: How will you convert this C# code into VC++? Pin
Dave Doknjas30-Jan-09 13:59
Dave Doknjas30-Jan-09 13:59 
C++/CLI:

<pre>private:
static void AddExtension(ReportViewer ^viewer, System::String ^name, Type ^extensionType)
{
const BindingFlags Flags = BindingFlags::NonPublic | BindingFlags::Public | BindingFlags::Instance;
FieldInfo ^previewService = viewer->LocalReport->GetType()->GetField("m_previewService", Flags);
MethodInfo ^ListRenderingExtensions = previewService->FieldType->GetMethod("ListRenderingExtensions", Flags);
IList ^extensions = dynamic_cast<IList^>(ListRenderingExtensions->Invoke(previewService->GetValue(viewer->LocalReport), nullptr));
Type ^localRenderingExtensionInfoType = Type->GetType("Microsoft.Reporting.LocalRenderingExtensionInfo, " + "Microsoft.ReportViewer.Common," + "Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a");
ConstructorInfo ^ctor = localRenderingExtensionInfoType->GetConstructor(Flags, nullptr, gcnew array<Type^> { System::String::typeid, System::String::typeid, bool::typeid, Type::typeid, bool::typeid }, nullptr);
System::Object ^instance = ctor->Invoke(gcnew array<System::Object^> { name, name, true, extensionType, true });
extensions->Add(instance);
}</pre>

David Anton
http://www.tangiblesoftwaresolutions.com
C++ to C# Converter
C++ to VB Converter
C++ to Java Converter
VB & C# to Java Converter
Java to VB & C# Converter
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: convert VB, C#, or Java to C++
QuestionHow to show '&' character not '_' Pin
josip cagalj29-Jan-09 23:59
josip cagalj29-Jan-09 23:59 
AnswerRe: How to show '&' character not '_' Pin
CPallini30-Jan-09 0:06
mveCPallini30-Jan-09 0:06 
GeneralRe: How to show '&' character not '_' Pin
josip cagalj30-Jan-09 0:08
josip cagalj30-Jan-09 0:08 
AnswerRe: How to show '&' character not '_' Pin
josip cagalj30-Jan-09 0:07
josip cagalj30-Jan-09 0:07 

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.