|
i have written a program to convert the XML file into the DATAGRID view using C#.
Now i need a help regarding..
when we change the values in DataGrid it shloud reflect the XML also..
Usyra
modified on Tuesday, January 08, 2008 7:09:55 AM
|
|
|
|
|
You should ask about something you do not understand or do not know how to use.
Nobody will do your homework
SkyWalker
|
|
|
|
|
I have a video blender application which uses 3vix MP4 codecs and DirectShow. In the project I need a P/Invoke call like private static extern int GetRunningObjectTable(int r, out IRunningObjectTable pprot); . This is in ole32.dll. Now I am converting this project to MONO, and I analyzed this with MOMA. But it is showing P/Invoke can't be added to MONO. Anybody knows any workaround for this issue ? I have tried installing ANTS PInvoke.NET and checked for any managed code exist.But it given me no results. Any help would be appreciated.
|
|
|
|
|
I have read somewhere that you can make P/Invoke work on MONO using wine[^] but I haven't tried it myself.
|
|
|
|
|
Giorgi Dalakishvili wrote: I have read somewhere that you can make P/Invoke work on MONO using wine[^] but I haven't tried it myself.
Thanks. I have checked WINE documentation and looks like they don't have implementation for DirectShow. Let me try it out. Thanks again
|
|
|
|
|
hi all. i saw keyboard logger in vc++ .
can do this in C#.
i want to log mouse click and time of visit each web site in c# can anyone help me?
sepel
|
|
|
|
|
In fact, if you write an app that has a web browser control, it will get events for any web browser on the PC, so you could log it that way.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
so tanks sir.
really my control can handle mouse click and keyboard of all open pages in browser?
not need to use any hook to windows event?
can you introduce me some simple example.
sepel
|
|
|
|
|
Hi firends,im working with webform of C#.I would like to send mail with or without smtpserver.please kindly send me the code with explanation.Thank you in advance.
Hi,Im Razana
|
|
|
|
|
Hey Razana. YOu need to specify what version of C# you're using. But, you'd do better to type it directly into google. There are tons of examples on this on the web. Of course, without a server, you can't send mail, it's not possible.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi friends this is the error what im receiving in my application.
Server Error in '/afxisityro' Application.
--------------------------------------------------------------------------------
The transport failed to connect to the server.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: The transport failed to connect to the server.
Source Error:
Line 35:
Line 36: SmtpMail.SmtpServer="afxisi.com"; //your real server goes here
Line 37: SmtpMail.Send(mail);
Line 38: // Put user code to initialize the page here
Line 39:
Source File: c:\inetpub\wwwroot\afxisityro\sendmail.aspx.cs Line: 37
These are the code what im using in my web application
MailMessage mail=new MailMessage();
mail.From ="rinooza@gmail.com";
mail.To="razanabanu@gmail.com";
mail.Subject ="HI";
mail.Priority =MailPriority.Normal ;
mail.BodyFormat =MailFormat.Html ;
mail.Body="Hi! ";
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", "465");
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1"); //basic authentication
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "rojabanu.m@afxisi.co.in"); //set your username here
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "8A4904"); //set your password here
mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpusessl", "false");
SmtpMail.SmtpServer="afxisi.com"; //your real server goes here
SmtpMail.Send(mail);
// Put user code to initialize the page here
Hi,Im Razana
|
|
|
|
|
razanabanu wrote: SmtpMail.SmtpServer="afxisi.com"; //your real server goes here
Gee - did it occur to you to read the comments and put a real mail server in there ? Like I said, you cannot send mail without a server.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Have a chat with your mail server administrators to ensure you have the correct mail server name and port. Also check that traffic on this port is not blocked from PCs in your organisation. Where I work, I cannot connect to the SMTP server from my PC, I have to use a development server when I want to test the sending of emails.
|
|
|
|
|
I have a Custom Control Listbox L1 and a panel P1. I need to handle Mouse Wheel movement on Panel P1 without giving it focus. I cannot use MouseWheel Event as it fires ONLY when the underlying control has focus.
Any suggestions?
Sukhjinder
|
|
|
|
|
I guess you need to catch the event where you have focus and pass it to your control.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi, One of my controls is a Custom ListBox L1 which handles MouseWheel Events for itself so I cannot intercept its mouse wheel events and use it. Also this does not look & feel elegant. Also I have few Push Buttons and I dont want to handle their mouse wheel events...
|
|
|
|
|
Well, if mouse wheel events only get sent to the control that has the focus ( as all mouse events do ), the only other solution I can think of is if there's an API you can call to get the wheel pos, on a timer. That's not elegant, it's ugly. And, I don't think it works, from memory, the mouse wheel events pass a number that tells you the direction the mouse moved in and how fast, not a number that defines a finite position.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I want to add flash to my Application plz provide a good link or suggestion.
|
|
|
|
|
No one will help you if you just demand link and don't search yourself.
There are several articles which show to embed and play swf files in winforms application. All the articles can be easily found by a quick google search.[^]
|
|
|
|
|
Hi All,
I am working on the project using c# 2.0. I am using the browser control in this project.
I need to get the contents of status bar of the browser and save into string variable.
Please help if you can.
Thanks in advance.
A.Asif
|
|
|
|
|
Hi,
WebBrowser class has a ProgressChanged event, and WebBrowserProgressChangedEventArgs
offers current and max byte counts.
|
|
|
|
|
Hi
I have a requirement to get the Word Document as BLOB(Binary Large OBject) and send this value to Message Queue and also save it back to another Word Document with another name.
The problem is I am not getting the Data correctly into a string and while saving it back to Queue or Word Document, the data is coming as some encoded characters.
Somebody please help me in solving this. If possible please give me a sample code in C#.
With Regards,
Abraham Chethuvelil
|
|
|
|
|
I have so many rows in thr grid
the cells contains 1.raja 2.raja 3.raja
I want to merge these raja into single cell raja
How to do it in .net 2003 grid
|
|
|
|
|
How to merge the cells in the grid of .net 2003
|
|
|
|
|
A datagrid ? You mean so that you have a layout where some rows have different size columns ? You can't.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|