|
a simple windowsHook can filter out SendInput
|
|
|
|
|
I need help for this program i dont know how do this program...
|
|
|
|
|
Then you should get a book, read, understand and then try. Or search google. Or pay someone to write code for you. It is not likely that you would get a source code from here.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
try
System.Diagnostics.Process.start("calc");
|
|
|
|
|
Creating calculators is just the most basic one of C# windows programming. I think you need to read the basics first before you go with any code.
Regarding your requirement here is it :
A Calculator using C#[^]
|
|
|
|
|
Now you just know that code is going to turn up in a school paper, hopefully this person is dumb enough not to file off the serial numbers, then again they will probably break the code trying.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Mycroft Holmes wrote: then again they will probably break the code trying.
I guess you are right. Thats why I suggested him to read basic books.. and AFAIK, most of the books has this example in the first chapter...
|
|
|
|
|
I am looking for an SMPP client to use to send SMS on .NET? anyone knows where can I get? otherwise, is it easy to develop it?
|
|
|
|
|
try this. [www.inetlab.ru]
You can create your own also but for this you must have enough time and you must understand the SMPP spcification. Sure this will take lot of time for beginners. GOOD LUCK
Regards
Aftab Sindhi
.NET Application Developer
U.A.E
|
|
|
|
|
Well.. I think i can help you regarding this.... Please let me know the following:
(1) You are using SMPP over TCP/IP.. Is there any chance to integrated HTTP over TCP/IP.
(2) You are sending only 160 Char text message or it may others hex data i.e., wap push, logo, mono ring tone, etc.
(3) Do you need the SMS delivery notification from the SMSC.
(4) Do you use any SMSC gateway APIs to connect the SMSC.
Thanks
Md. Marufuzzaman
Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you.
I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
|
|
|
|
|
(1) You are using SMPP over TCP/IP.. Is there any chance to integrated HTTP over TCP/IP.
I don't think HTTP will be fine on WinForm specially with volume messages?!
(2) You are sending only 160 Char text message or it may others hex data i.e., wap push, logo, mono ring tone, etc.
Just text messages... No logos or pictures but I am not sure if it's onlt 160 specially with long messages.. do you mean long sms will be splitted? what about unicode messages?
(3) Do you need the SMS delivery notification from the SMSC.
No in the current stage.
(4) Do you use any SMSC gateway APIs to connect the SMSC.
I will connect through Clickatell.
|
|
|
|
|
|
You may also consider this commercial component:
SMSC client .NET [^]
This component supports advanced SMPP operations and is both 32 and 64 bit .NET managed assembly plus it can also be used through COM interface (as ActiveX or OCX). It also supports other messaging protocols (UCP, CIMD2 and SEMA) popular elsewhere in the world.
modified on Saturday, April 30, 2011 6:52 AM
|
|
|
|
|
Dear coders,
I think i am fallen in simple problem but i can't fix it.Please Help me.
Problem is:i take a combobox in a datagridview. i just change the Column type and i wrote this code:
RoomTypeBLL objRoomTypeBLL = new RoomTypeBLL();
colType.DataSource = objRoomTypeBLL.GetAllRoomTypeData();
colType.ValueMember = "fldRoomTypeAutoID";
colType.DisplayMember = "fldTypeName";
How i save combobox value member value into database?
Thanks in advance
|
|
|
|
|
I am confused. What is actually the problem? Does your code not compile? Does it crash at run-time? Does it not display the data correctly? Can't you edit it?
Or it it that you don't know how to save to the db? If so, what does it have to do with the combo box? Databases usually don't have strong opinions about how data should be edited outside of the database. Most of them are only fussy about who they give out data to and who gets to update them, and sometimes what data they will accept.
Also, from the code you posted it appears you are using some form or shape of business layer, so saving is probably done by calling a method on the business object. But how people out here in the world can be expected to know the design of your business objects better than you do is beyond me.
|
|
|
|
|
Sir,
I am Prakash Halder, facing some problem in message box in C#, as follows,
I am writing the code for dispalaying message in MSVS2005 as:
using System.Windows.Forms;
MessageBox.show("Hello World");
error: namespace Windows is not exist in namespace System.
how can I solve this problem.
Thanking you
Prakash Halder
|
|
|
|
|
add in the reference system.windows.form.
then write this code above: using system.windows.form
it will run.
Happy Coding
|
|
|
|
|
Probably you are missing the reference...
Thanks
Md. Marufuzzaman
Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you.
I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
|
|
|
|
|
hi..
i don't know how to handle mouse events.. i know the logic that when mouse left button is down it will chechk the cordinates if the square is drawn on those cordinates it will turn into diamond..i have drawn square i have drawn diamond but dnt know the actual thing how to do it..
[code]
private void Shapes_Paint(object sender, PaintEventArgs e)
{
e.Graphics.DrawRectangle(Pens.Blue, 180, 80, 80, 80);
e.Graphics.DrawPolygon(Pens.Orange, new Point[] { new Point(300,
100), new Point(400, 300), new Point(300,
500), new Point(200, 300) });
}
|
|
|
|
|
Message Closed
modified 23-Nov-14 7:24am.
|
|
|
|
|
i did it like this:
private void Shapes_MouseDown(object sender, MouseEventArgs e)
{
if (e.X > 179 && e.X < 259 && e.Y > 79 && e.Y < 159)
{
// Draw shapes here...
e.Graphics.DrawPolygon(Pens.Orange, new Point[] { new int(300,
100), new Point(400, 300), new int(300,
500), new Point(200, 300) });
}
}
as i draw the square in paint event..but now it gives this error..
'System.Windows.Forms.MouseEventArgs' does not contain a definition for 'Graphics' and no extension method 'Graphics' accepting a first argument of type 'System.Windows.Forms.MouseEventArgs' could be found (are you missing a using directive or an assembly reference..
|
|
|
|
|
I would advice you to carefully read the compiler output and take some time to reflect upon what it means.
Are you missing a using directive or an assembly reference?
It may be that the solution was right in front of you all along.
|
|
|
|
|
i have fixed that problem...now i want that when this polygon is drawn the square becomes invisible which was already on the form..
private void Shapes_Paint(object sender, PaintEventArgs e)
{
if (Square.Checked == true)
{
e.Graphics.DrawRectangle(Pens.Red, 180, 80, 80, 80);
}
if (Triangle.Checked == true)
{
e.Graphics.DrawPolygon(Pens.Red, new Point[] { new
point(300, 150), new Point(400,
250), new Point(200, 250)});
}
}
private void Shapes_MouseDown(object sender, MouseEventArgs e)
{
if (Square.Checked == true)
{
if (e.X > 179 && e.X < 259 && e.Y > 79 && e.Y < 159)
{
g.DrawPolygon(Pens.Orange, new Point[] { new Point(300,
100), new Point(400, 300), new Point(300,
500), new Point(200, 300) });
}
}
}
|
|
|
|
|
hello....
i am working on a project(c#).. i need a module to read bar code (EAN-13).
plz help me ... it,s urgent...
|
|
|
|
|
AFAIK you dont need to do anything on your application. Just place the cursor on correct textbox and read the barcode, the barcode will be copied to your textbox.
In addition to this it also places one acceptkey, so you can do the searching just after the barcode gets into the textbox.
|
|
|
|