Is it possible to add a button to Internet Explorer's main toolbar (next to the "History"-button)? Andreas Philipson
Andreas Philipson
Posts
-
Adding a button to IE's main toolbar? -
Using ::SendMessage in C#After changing the solution to
[DllImport("user32.dll", CharSet=CharSet.Ansi)]
static extern int SendMessage(IntPtr hWnd, int msg, int wParam, [Out]StringBuilder lParam);It works perfectly! Thanks again! Andreas Philipson
-
Using ::SendMessage in C#Thanks for the help! I'll try it when I get home. And regarding my use of this code - I'm trying to create a Password Manager which allows Drag&Drop to any edit control. Andreas Philipson
-
Using ::SendMessage in C#I need to get the following code working in C#:
char szText[255];
::SendMessage(hwndCurr, WM_GETTEXT, 255, (LPARAM)szText);
m_strPassword = szText;And I've defined the SendMessage function
const int WM_GETTEXT = 0x000D;
[DllImport("user32.dll")]
static extern int SendMessage(IntPtr window, int message, int wparam, [Out]long lparam);Does anybody know what I should do to make this work? Andreas Philipson
-
Cell Phones With CamerasSlightly OT but... How do you transfer your pictures from your T610 to your computer? I have searched for a program to do this but all I have found is programs to move images from the computer to the t610... Andreas Philipson
-
Mouse LocationTry using the static
System.Windows.Forms.Form.MousePosition
. Andreas Philipson -
Int textBoxJust handle the KeyPress event of the textbox check each character...
textBox1.KeyPress += new new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
private void textBox1_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { if (!Char.IsDigit (e.KeyChar)) { e.Handled = true; } }
Andreas Philipson
-
More on C# / DX9I hade the same problem and solved it like this: In the extracted files, locate and copy the folder .\Bin\DXUtils\Visual Studio 7.0 Wizards\C#\VC#Wizards\Mdx9AppWizard Go to \Program Files\Microsoft Visual Studio .NET\VC#\VC#Wizards and delte the folder named Mdx9AppWizard and then paste the one you copied from the extracted files... This made it work for me... Andreas Philipson
-
Recieve ÅÄÖ with HttpWebRequest?That was my first thought too, but none will give the right result :(. Andreas Philipson
-
Recieve ÅÄÖ with HttpWebRequest?Hi! I'm having a problem with the HttpWebRequest - when I recieve the stream it looses the ÅÄÖ (and some other...). The Code:
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create ("http://www.dvdforum.nu");
HttpWebResponse response = (HttpWebResponse)request.GetResponse ();StreamReader reader = new StreamReader (response.GetResponseStream ());
StreamWriter writer = new StreamWriter ("google.html");string buffer = "";
while ((buffer = reader.ReadLine ()) != null)
{
writer.WriteLine (buffer);
}reader.Close ();
writer.Close ();System.Diagnostics.Process.Start ("google.html");
Any idea how to fix this? Andreas Philipson
-
getting the size of the working areaSystem.Screen.WorkingArea[^] ;) Andreas Philipson
-
.NET Framework SP2:laugh: Andreas Philipson
-
"Shattering Windows"http://security.tombom.co.uk/aboutfoon.html[^]: Able to program in 23 languages on 14 platforms, Foon takes an average of 3 days to learn a new programming language.:laugh: Andreas Philipson
-
Hax0r champoo:laugh::laugh::laugh: http://koti.mbnet.fi/~smith/humor/1/AUSSIE_W.jpg[^] - The new start button & IE text is brilliant!!! :-D http://koti.mbnet.fi/~smith/humor/1/america.gif[^] Andreas Philipson
-
Floating ToolbarsMagic Library 1.6 Andreas Philipson
-
[Yet Another Q] making a non-resizable formCheck out the
System.Windows.Forms.FormBorderStyle
- this will make the dialog fixed:this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
Also, set theMaximizeBox
tofalse
Andreas Philipson -
Spotted at /.Very Tom Green of him... Andreas Philipson
-
Magic Library 1.6Very nice! :jig: Two thoughts: *I need to create a Context which starts as AutoHidden - is this possible? *When an item is autohidden, the title is not shown - instead there's just a blank square... Andreas Philipson
-
TypingI agree, looking at the keyboard just makes me "stumble" on the keys... Andreas Philipson
-
KazaaI recommend Kazaa Lite which doesn't include all the spyware... Andreas Philipson