|
i am facing a problem when m trying to send mail through remoting as system.net.mail.mailmessage is not serializabe..plz help me out
thanx
|
|
|
|
|
i think u should implement the system.net.mail.mailmessage at remoting server and from client side just send the simple text to server ....
than server sends the mail for u
|
|
|
|
|
I am developing an window application in C#.NET and i need to save data in image format so i am using Draw To Bitmap method to do that my code is
Bitmap bi = new Bitmap(panel1.Width, panel1.Height);
bi.SetResolution(3000, 3000);
panel1.DrawToBitmap(bi, new Rectangle(0, 0, panel1.Width, panel1.Height));
bi.Save(@"c:\abc.bmp", ImageFormat.Bmp);
But using this code i am able to get image but that image is not clear can any on help me so i can get clear image..
|
|
|
|
|
What do you mean when you say that the image "is not clear"?
Why are you specifying the resolution for the image? What are you going to use it for?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
i have 5 scanners attached with my system. when i am scanning a barcode i want to know which scanner has scanned it. Its vert urgent....plz help if somebody knows it.....
modified on Wednesday, February 27, 2008 4:41 AM
|
|
|
|
|
In my experience - all barcode scanners act purely as a keyboard once installed. As far as I'm aware, multiple keyboards(which is effecively your scenario) CAN be used but there is no way of telling which device sent what.
There may be a way if the manufacturer(s) have provided something in the drivers than you can interact with - you need to contact them / read any documentation that came with them.
Dave
|
|
|
|
|
Dear Dave....thanks for your nice suggestion...but i have tried with all manuals came along with device..no such type of feature is mentioned....but this is the requirement and the way should be universal...means it should work with all scanners(different company's scanners).
|
|
|
|
|
What you require is probably impossible unless you write your own generic driver though I haven't a clue where you should start. C++ time for you I think - Good luck!
Dave
|
|
|
|
|
Hi,
Kindly help me, that, I want to change back ground color of any particular cell in dataGridview.
Thank you in advance
(Riaz)
|
|
|
|
|
Ever tried the BackColor property??
dataGridView1[2,3].Style.BackColor = Color.Red;
Will change the cell in row 2 column 3 BackColor to Red funnily enough.
He who makes a beast out of himself gets rid of the pain of being a man
|
|
|
|
|
|
Hi All,
how to identify when the current window is inactive and get it back to active.( other than using Form1_deactivate() event)?
Please help me in this task.
Thanks in Advance,
SMARTech
|
|
|
|
|
Why can't you use myForm.Deactivate event? Sounds like thats exactly what you need and when it fires you could call myForm.Activate();
He who makes a beast out of himself gets rid of the pain of being a man
|
|
|
|
|
thanks for your response,
But I want other than Form1.Deactivate() event? could you please tell me if any alternatives for this?
Thanks,
SMARTech
|
|
|
|
|
|
try to use "BringWindowToTop" user32 api function
|
|
|
|
|
if (Form1.ActiveForm == null)
Form1.Activate();
something like this ?
|
|
|
|
|
Hi, This is my first post. Plz help me
I've created a chat applicat ion. i.e. server and client. It is windows application in c#
It is running perfectly on LAN.
Now I want to deploy my chat server on web.
What steps should i follow
Should I make my server a webservice or
I can deploy it as it is(windows application) and run it. If so,how is it possible?
Any Idea,suggestions will most appretiable
Thank u
|
|
|
|
|
i never done that...
but i think u have to make your server accessible to outer world.
I think for that web service or web application is the best option
|
|
|
|
|
I have a combobox on datagrid.
I want that when the cursor in combobox. If I press key down. the combobox show all item that it have(not use mouse)and I can chose one of them.
Please help me!
Thank a lot,
|
|
|
|
|
just press F4
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
You need to capture the KeyPress event of your comboBox and use the eventargs to determine which key was pressed and then perform the actions you wish if it was the Down key. Do you wish to prevent use of the mouse for the comboBox entirely?
He who makes a beast out of himself gets rid of the pain of being a man
|
|
|
|
|
I have another problem. If I press enter the cursor jump from [0,0] to [3,0] I want that if I press enter next it jump to [4,0] but if I press shift+enter it have to jump to [0,0](not[2,0]).
So difficult!.
Help me please,
Thz,
|
|
|
|
|
hi all,
I have a dataset which has four tables. say for eg, Table A, Table B, Table C and Table D. Table A and Table B are related using PK - FK relation.Table B and Table D are related using PK - FK relation.
Table A and Table C are related using PK - FK relation.
i need to create a xml file based on these relations.
i need to have a node which has the related values of all the tables.
I tried using a single query to extract values based on inner joins. but that comes as a single table and the nodes are repeated.
or can anybody suggest me how to group two tables into a single node in xml. i can do all this by manually creating a xml file from the dataset. but I am using dataset.WriteXml method to create the xml file.
Is there any option to do this?
Thanks in advance.
Regards
Anuradha
|
|
|
|
|
I am also having a problem like that. I have have an XML file, and i created a key in the XML Schema. My problem is that if i load my xml file into a dataset and try to "find[primary]", the compiler generates an exception that there is no primary key defined.
Can u help?
|
|
|
|