|
I'm browsing the whole day but I got is only examples or basic specifications. I just wanted some practical information...
|
|
|
|
|
Aren't 'examples or basic specifications' some kind of 'practical information', are they?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Both sides can send messages to the other side, it's a two-way communication.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <
|
|
|
|
|
karpis_miroslav wrote: The question is: in UDP do I have to always configure client/server side?
It sounds more like a peer-to-peer rather than a client/server. If you are coding both sides, then whether they need configuring would only be known by you.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Hi,
I would like bypass internet proxy using VC++. Is there any way to do it.
Thanks
SNI
SNI
|
|
|
|
|
You should read 'the little hacker manual' in order to do that.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi all,
I have implemented dialog based application and displayed icon in system tray, but still icon is coming on taskbar I dont want it plz tell me how to do this?
tha nx
|
|
|
|
|
I'm not sure what you mean but if i am right then try removing the WS_EX_APPWINDOW style from your dialog (you can do that in resource manager's dialog editor too if you don't want/need to do it programatically (i assume you are using VS), just set "Application Window" to false).
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <
|
|
|
|
|
I tried your second option..bt it is not working,
and
tell me how to remove the WS_EX_APPWINDOW style from dialog
i tried ModifyStyle() in intitdialog function still it is not working.
where to put ModifyStyle()?
|
|
|
|
|
Note the EX part in WS_EX_APPWINDOW, you need to use ModifyStyleEx[^], like this:
ModifyStyleEx(WS_EX_APPWINDOW, 0, 0);
I guess your OnInitDialog is a good place to try this.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <
|
|
|
|
|
Have a search through the dialog section on codeproject. But good key words for you are stealth and WS_EX_TOOLWINDOW.
Hopefully that gets you going in the right direction!
Iain.
Codeproject MVP for C++, I can't believe it's for my lounge posts...
|
|
|
|
|
//Code
private static void AddExtension(ReportViewer viewer, 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 = ListRenderingExtensions.Invoke(
previewService.GetValue(viewer.LocalReport), null) as IList;
Type localRenderingExtensionInfoType = Type.GetType(
"Microsoft.Reporting.LocalRenderingExtensionInfo, " +
"Microsoft.ReportViewer.Common," +
"Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a");
ConstructorInfo ctor = localRenderingExtensionInfoType.GetConstructor(
Flags, null, new Type[] { typeof(string), typeof(string),
typeof(bool), typeof(Type), typeof(bool) }, null);
object instance =
ctor.Invoke(new object[] { name, name, true, extensionType, true });
extensions.Add(instance);
}
//End Of Code
http://nnhamane.googlepages.com/
|
|
|
|
|
Please don't convert it: let this bad code remain in the C# world.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
OK,. what country just started work for the day ? The ASP.NET forum is flooded with retarded questions. -Christian Graus
Best wishes to Rexx[^]
|
|
|
|
|
You're lucky you didnt say it on the C# world.
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
There I would say the opposite...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Consider Politics as a career?
«_Superman_»
|
|
|
|
|
Nope, unfortunatey in my Country there are clowns (e.g. Mr. Berlusconi) far better than me.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Can you explain about your request? I think we can help you and its better than convert this code to c++.
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
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++
|
|
|
|
|
Hi to all.
I have a small problem, I'm trying to put some text as caption on some control. The text (example, "text & text") contains a '&' character which displays as '_'!?
How to get rid of the underline and get what I need?
Thanks.
P.S.
Placing '\' in front of it does not work.
|
|
|
|
|
"text && text"
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Just figure it out!
Thanks anyway!
|
|
|
|
|
Solved!
placing '&' in front of it!
"text && text" displays as 'text & text'
|
|
|
|
|
Hi All,
I want current x,y coordinates of dialog box? How to get , plz help me?
|
|
|
|