|
__Stephane Rodriguez__ wrote:
SSCLI
The Windows Forms Namepsace isn't implemented in the SSCLI/Rotor.
Norm Almond: I seen some GUI's in my life but WTF is this mess
Leppie: I made an app for my sister and she wouldnt use it till it was colorful enough
Norm:good point leppie, from that statement I can only deduce that this GUI must be aimed at children
Leppie:My sister is 25
-Norm on the MailMagic GUI
|
|
|
|
|
I agree. But you get the idea.
She's so dirty, she threw a boomerang and it wouldn't even come back.
|
|
|
|
|
Is there a way to write a program that would connect to Hotmail, so that it could get/send messages without using the web browser - I mean a stand alone mail client.
Why do I want to do this? I want to try sending messages, that are automatically encrypted, compressed or in some way proccessed before retrieving or sending and I do not have a normal POP3 mail account.
|
|
|
|
|
Zibar wrote:
Is there a way to write a program that would connect to Hotmail, so that it could get/send messages without using the web browser - I mean a stand alone mail client
yes of course!
It's a simple POP3 server, so you just send POP3 commands to the server.
I don't know how to download the attatchments (or how to spell it )...
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
do you mean if I use pop3.hotmail.com and smtp.hotmail.com i could use any mail client to read/send messages with hotmail.com? what about yahoo.com lycos.com etc?
...and I even could write my email program that would send/read email msgs?
|
|
|
|
|
Zibar wrote:
do you mean if I use pop3.hotmail.com and smtp.hotmail.com i could use any mail client to read/send messages with hotmail.com
Short answer: Yes!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
|
Hello, It's possile to implement shared memory in C# without resorting to P/Invoke or IJW (Win32 api) ?
Cheers,Joao Vaz
And if your dream is to care for your family, to put food on the table, to provide them with an education and a good home, then maybe suffering through an endless, pointless, boring job will seem to have purpose. And you will realize how even a rock can change the world, simply by remaining obstinately stationary.-Shog9
|
|
|
|
|
I don't think that there's a high level .NET API for this. If not using P/Invoke is a requirement, you can acomplish this by using a ServicedComponent that's called by the two applications needing to share the memory, but this is ugly. But even then, there would be IPC, not exactly memory sharing.
My latest articles:
Desktop Bob - Instant CP notifications
XOR tricks for RAID data protection
|
|
|
|
|
Daniel Turini wrote:
ServicedComponent that's called by the two applications needing to share the memory, but this is ugly. But even then, there would be IPC, not exactly memory sharing.
My thought was implementing a volatile cache system in memory ...
Thanks.
Cheers,Joao Vaz
And if your dream is to care for your family, to put food on the table, to provide them with an education and a good home, then maybe suffering through an endless, pointless, boring job will seem to have purpose. And you will realize how even a rock can change the world, simply by remaining obstinately stationary.-Shog9
|
|
|
|
|
This should be a nice easy question...
What's the C# replacement for the MFC SetRedraw?
I'm trying to kludge a fix on a databound TrackBar. I need to set the minimum and maximum values to +/- 32000, set the value of the bar, then set the true minimum and maximum values. Otherwise, it just doesn't work.
Unfortunately, this makes the bar's tick marks fluctuate wildly.
I thought it would be SuspendLayout and ResumeLayout, but that is still redrawing it.
Thanks for your time!!
|
|
|
|
|
Try BeginUpdate()/EndUpdate()
--
Russell Morris
"Have you gone mad Frink? Put down that science pole!"
|
|
|
|
|
TrackBars don't have BeginUpdate/EndUpdate, but thanks for replying!
ListBox, ListView, TreeView, and ColumnBoxes do
|
|
|
|
|
I had a similar type of problem with a RichTextBox where I had to "pause" the drawing, so I could do some formatting. It goes as follows, just drop into class and define SendMessage and the WM_SETDRAW constant:
[Browsable(false),
DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public bool FreezePainting
{
get {return mFreezePainting > 0;}
set
{
if (value & base.IsHandleCreated & base.Visible)
{
if (mFreezePainting == 0)
{
User32.SendMessage(base.Handle, Constants.WM_SETREDRAW, 0, 0);
}
mFreezePainting++;
}
if (!value)
{
if (mFreezePainting > 0)
{
if (mFreezePainting == 1)
{
FreezePaintingEnd();
}
else
{
mFreezePainting--;
}
}
}
}
}
int mFreezePainting;
private void FreezePaintingEnd()
{
if (mFreezePainting > 0)
{
mFreezePainting = 0;
User32.SendMessage(base.Handle, Constants.WM_SETREDRAW, 1, 0);
}
this.Invalidate(true);
}
[edit] &^%&^$&^% VS.NET's crap formatting [/edit]
Hope it works
Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.
|
|
|
|
|
Thanks Leppie! It's perfect now.
|
|
|
|
|
It was some good VB.NET code I converted, has been handy
Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.
|
|
|
|
|
Hello,
I created a COM object in ATL, that copy the screen and
retrurn it, by: HBITMAP struct.
When I add a reference, the: .NET, convert this type to:
IntPtr.
OK, I call to the function, get the: IntPtr. And use:
Bitmap bmp= Image.FromHbitmap(myIntPtrObj);
But than I get this exception:
System.Runtime.InteropServices.ExternalException
with this describe:
A generic error occurred in GDI+.
Please help me, how to solve this exception...
Thank's alot,
Itay.
|
|
|
|
|
I have tried the sample post on this site. It works well, but I can't find a way to auto disconnect connexion after idle time.
I tried the rasgetentryproperties but I 've an got invalid parameter error.
Does anyone got an idea?
|
|
|
|