|
hi
dear hassan mallah sahab
your proposed solution is given at
<a href="http://www.youtube.com/watch?v=gZzTwuR4y3E">http://www.youtube.com/watch?v=gZzTwuR4y3E</a>[<a href="http://www.youtube.com/watch?v=gZzTwuR4y3E" target="_blank" title="New Window">^</a>]
you can also read
<a href="http://www.cscjournals.org/csc/manuscript/Journals/IJAE/volume3/Issue1/IJAE-82.pdf">http://www.cscjournals.org/csc/manuscript/Journals/IJAE/volume3/Issue1/IJAE-82.pdf</a>[<a href="http://www.cscjournals.org/csc/manuscript/Journals/IJAE/volume3/Issue1/IJAE-82.pdf" target="_blank" title="New Window">^</a>]
|
|
|
|
|
I want to change my Logon picture.
I want to use my picture insteed of windows picture.
can you Help me?
Pishi#
|
|
|
|
|
Control Panel -> User Accounts.
|
|
|
|
|
is that a C# related question?
if you are asking about the General Windows logon, then ya you just go to control panel and click user accounts.
You will be able to know what to do next.
Keshav Kamat
India
|
|
|
|
|
Hi everybody.
Is there any way to attach two graphs to one web camera?
I need to have a preview on Panel Control, and also saving the video, at the same time in addition I need to devide video into files each one, for example 5-10 min. without stoping the preview on the label. Is that possible?
If yes, then what shall I do? How to build a graph in the right way??
Please, help!
|
|
|
|
|
up...
|
|
|
|
|
what is namespace in C#.net windows application?
|
|
|
|
|
I didnt get you . Can you please explain what do you want??
Cheers,
Suresh
|
|
|
|
|
|
|
Very simply, it's just a logical grouping of classes, structures, etc. If you'd like a filesystem analogy, think of a class as a file and a namespace as a directory. The BCL is divided up into several namespaces:
- System.IO (contains framework I/O classes)
- System.Text (contains localization and text manipulation classes)
- etc.
|
|
|
|
|
Namespaces are to dot net what packages are to java. Probably over simplified but take it as you will.
_____________________________________________________________________
Our developers never release
code. Rather, it tends to escape, pillaging the countryside all around.
The Enlightenment Project (paraphrased comment)
Visit Me at GISDevCafe
|
|
|
|
|
private void CodetextBox_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
{
if(e.KeyCode.Equals(keys.f2))
{
messagebox.show("choose code feature not available");
}
}
when i run the above C#.net code windows form means the following error is display.
"The type or namespace name 'messagebox' could not be found (are you missing a using directive or an assembly reference?)"
how to clear this error?
|
|
|
|
|
|
try using MessageBox.Show. Be very careful of the uppercase/lowercase combination.
Keshav Kamat
India
|
|
|
|
|
Hi!
I want to send a mail via a Microsoft Exchange Server. Does anybody know how I can realize it?
regards
spotl
|
|
|
|
|
There are several interfaes you can use to connect to an Exchange server:
- WebDAV
- Outlook automation
- MAPI / CDO 1.21
- CDOEx / ADO
- the .NET-Classes in System.Web.Mail
WebDAV is easy to implement and seems to be very reliable. You can find a lot of example code with the Google newsgroups search.
Outlook or MAPI require Outlook to be installed and configured on every local machine.
CDOEx works only on the machine that runs an Exchange server and hosts the mailbox profile you want to use.
System.Web.Mail requires a cdosys.dll which is usually (but not always) installed together wich Outlook.
I recommend you get some sample code for WebDAV. System.Web.Mail or Outlook automation may be easier to implement, but they depend on additional client software on the local machine. WebDAV uses only HTTP, so it will work on every machine.
____________________________________
There is no proof for this sentence.
|
|
|
|
|
Hi,
Using System.Net.Mail class in .NET 2.0\
using System.Net.Mail;
{
string mailFrom = "abc@cdf.com"//From address goes here
string mailTo = "xyz@klm.com"//To address goed here
MailMessage mailMessage = new MailMessage(mailFrom, mailTo);
mailMessage.Subject = "Test";//Your mail Subject goes here
mailMessage.Body = "This is just a test";//Your mail body goes here
mailMessage.Priority = MailPriority.Normal;
string server = "SMTPServer Name goes here";
SmtpClient client = new SmtpClient(server);
//Send the email
client.Send(mailMessage);
}
|
|
|
|
|
Thank you for your help, but I want to send a mail via Exchange Server and not via Smtp Server. Sending a mail via Smtp does already work
regards
spotl
|
|
|
|
|
private void EnterTIR( string myMSEL, int myPTNumber, int myEntryOrder, int myPTSUBNr )<br />
{<br />
<br />
string url = "../TCAIMS/Forms/NewTir.aspx?MSEL='"+ myMSEL.ToString() +"'&PTNumber=" + myPTNumber.ToString()+"&EntryOrder="+ myEntryOrder.ToString()+"&PTSUBNr="+ myPTSUBNr.ToString()+"&UID='"+LoginID.Text+"'";<br />
string windowName = "NewTir";<br />
<br />
<br />
string openParams = "width=700,height=800,toolbar=1,resizable=1";<br />
StringBuilder sb = new StringBuilder();<br />
sb.Append("<script language=\"javascript\" type=\"text/javascript\">" + Environment.NewLine);<br />
sb.Append("window.open('" + url + "', '" + windowName + "','" + openParams + "');");<br />
sb.Append("</script>");<br />
Page.RegisterStartupScript("openWindowScript", sb.ToString()); <br />
<br />
<br />
}
It just wont open my window, the debugger steps through it all.
|
|
|
|
|
Okay, after I removed my varibles at the end of my stringurl, it functioned, am I writing something wrong hterE?
|
|
|
|
|
Do you really want the apostrophes around the values in the query string? They will end up as part of the value when you read the values from the query string.
If any of the values in the query string may contain any characters that has a special mening in an url, they have to be url encoded (using the Server.UrlEncode method).
If you really want the apostrophes in the values, you have to encode them as \' when putting the url in the Javascript string, otherwise the first apostrophe in the url will end the string.
And on a side note: Why on earth are you using string concatenation when you have a StringBuilder? Use the Append method to add each string to the StringBuilder instead of first concatenating strings and then adding them.
sb.AppendLine("<script language=\"javascript\" type=\"text/javascript\">");
sb.AppendLine("window.open('").Append(url).Append("','").Append(windowName).Append("','" ).Append(openParams).Append("');");
sb.Append("</script>");
---
single minded; short sighted; long gone;
|
|
|
|
|
I did use string bulider. Do I need to use string bulider to bulid the url string?
|
|
|
|
|
"String bulider does not contain a defination for appendline."
|
|
|
|
|
Right. That is only available in framework 2.0.
Use .Append(...).Append(Environment.NewLine) instead.
---
single minded; short sighted; long gone;
|
|
|
|