Search:
Type: Posts; User: Luthv
Search:
Search took 0.13 seconds.
-
March 27th, 2009, 04:29 AM
you can also try to put sleep command within the loop to ease the CPU load
-
October 4th, 2007, 12:46 AM
Also check out cybera at http://sourceforge.net/projects/cybera/
It's an open source cyber cafe management system written in VB6
-
August 6th, 2007, 10:07 PM
You can use BinaryFormatter and adapter class derived from SerializableAdapter class to workaround that. Have a look at the second post from the last for an example on how to do this.
In short,...
-
August 3rd, 2007, 02:28 AM
This is an old post I made for VB 6 but I think it still holds true for C# RegisterShellHook
-
August 1st, 2007, 11:06 PM
You need to recalculate but it is a simple task to do using the matrix class
using System.Drawing.Drawing2D;
private void ScaleTwiceAsBig()
{
Point[] myPoints;
...
-
July 27th, 2007, 03:01 AM
I couldn't offer any help what so ever, but i would really like to hear how the story ends, or if it's ever have an ending :p
And to think that I would start my own socket project in the next...
-
July 27th, 2007, 02:32 AM
Look for IsVisible method in System.Drawing.Drawing2D.GraphicsPath class, you can create new instance of this class then use method like AddEllipse to add your shape to the path then call the...
-
June 14th, 2007, 03:55 AM
Just find the the real mdiclient control from the form controls collection and use its clientsize property
foreach (Control ctl in this.Controls)
{
if...
-
You can also use UserControl instead of form if you want something like the visual studio option dialog
-
private void comboBox1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{
Debug.WriteLine("enter");
}
}
but beware...
-
Google for "C# PDF library", seems like there are some open source pdf libraries out there. Here's one http://itextsharp.sourceforge.net/
-
If you only want to draw icon with its transparent background then why not use DrawIcon method instead of DrawImage?
-
I don't know if I understand your question correctly but perhaps you can use something like in this example here
http://www.bobpowell.net/transcontrols.htm
-
First of all I would suggest you break down your code into classes, this way it would be much easier to localized the problem, don't put all your codes into one form.
In my attached class I've...
-
This is not exactly what you needed but perhaps it would give some pointers:
http://www.urbanpotato.net/Default.aspx/document/2001
-
Nope, .Net 2.0 have the same problem, so I guess you better use StrectchDIBits with some P/Invoke rather than relying on the .NET interpolation
-
Hi,
Try nearestneighbor interpolation mode if you're using .net 2.0
g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.NearestNeighbor;
-
April 30th, 2007, 06:21 PM
I don't have visual studio handy so this might not 100% correct
[StructLayout(LayoutKind.Sequential)]
public struct SID_SEARCH_RESULT_DATA
{
public ulong ulFieldID;
public ushort...
-
April 25th, 2007, 03:49 AM
you could also delegate IsOperator check to the implementation class so the base abstract class doesn't need any modification when new implementation is added, and the only list you have will be the...
-
April 25th, 2007, 03:30 AM
Just handle the KeyDown event and check e.Control parameter value to see whether the control key is pressed or not
-
April 25th, 2007, 03:09 AM
reset the selectedindex property to -1 before changing the datasource, this way the previously selected item will not be shown
-
April 25th, 2007, 02:49 AM
Running an application on start up usually involves placing a command in windows registry, it doesn't have any direct relation with the application being developed in VB or C#.
So one thing that I...
-
April 25th, 2007, 12:20 AM
I've just remember one thing, you can use ScrollableControl class to support mousewheel, and it already has Mousewheel event built in
public partial class UserControl1 : ScrollableControl...
-
April 25th, 2007, 12:07 AM
I assume that in you placed these labels and text in your user control right? If that's the case then the usercontrol will never gain focus since it will always give focus to it's child control....
-
April 24th, 2007, 11:57 PM
The user control needs to have focus before the mousewheel message is processed. Try clicking in the usercontrol to set the focus to it, and set the break point on if (Mousewheel != null) line
|
Click Here to Expand Forum to Full Width
|