|
Thanks 4 Ur Help.
I did nt get the way to keep panel at (0,0) position.
infact i am not using any panel...., can u please tell me, what is panel.. and how to keep it (0,0) position,
Please help me..
Thank U
|
|
|
|
|
create report finish but next day open project run, report error message "Queries Engine error and path to finame.rpt"
Who meet this error can help me"
Thanks
|
|
|
|
|
Hi All,
I have been getting stuck with the weirdest error to do with SMTP. I set up a mail system for a website ive been working on which automatically sends an email when someone submits a form. It was working at first but i hadnt changed the code for a week and when i tried using it again it spat an error. I cut the code down to basics for testing and it still threw an error.
CODE doen in C#.NET {
System.Web.Mail.MailMessage msg = new System.Web.Mail.MailMessage();
msg.To = "anemail@hotmail.com";
msg.From = "anemail@hotmail.com";
msg.Subject = "subject";
the error ---> *****msg.BodyFormat = System.Web.Mail.MailFormat.Html;*****
msg.Body = "body";
System.Web.Mail.SmtpMail.SmtpServer = "localhost";
System.Web.Mail.SmtpMail.Send(msg);
}
The email works without formating to HTML, (ie if it is just text)... but it used to work even with HTML. Im assuming some IIS setting were changed but i can not see how it would allow the email to be sent in text format and not HTML.
------------------------------------------------------------------------------------------
The error is :Exception Details: System.Runtime.InteropServices.COMException: Unknown Error
Stack Trace:
[COMException (0x80040605): Unknown Error]
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) +0
System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) +473
System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args) +29
System.Web.Mail.LateBoundAccessHelper.SetProp(Type type, Object obj, String propName, Object propValue)
System.Web.Mail.LateBoundAccessHelper.SetProp(Object obj, String propName, Object propValue)
[HttpException (0x80004005): Could not access 'CDO.Message' object.]
System.Web.Mail.LateBoundAccessHelper.SetProp(Object obj, String propName, Object propValue)
System.Web.Mail.CdoSysHelper.Send(MailMessage message)
System.Web.Mail.SmtpMail.Send(MailMessage message)
ASP.testmail_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in c:\inetpub\wwwroot\changerequest\testmail.aspx:19
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
System.Web.UI.Control.Render(HtmlTextWriter writer)
System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
System.Web.UI.Page.ProcessRequestMain()
----------------------------------------------------------------------------------------
If anyone can help me it would be greatly appreciated.
Thanks for your time
Chris Clayko
chris
-- modified at 4:15 Thursday 25th May, 2006
|
|
|
|
|
Hi
I think you have two errors,
1.The Mail Message Format error so you have to set the mail format . There are two formats TEXT and HTML.
SMTPMail.SMTPServer="Mail Server IP";
mailMessage msg=new MailMessage();
msg.To="To address";
msg.From="from Address";
msg.Format=MailFormat.Text;
SMTPMail.Send(msg);
2.The Invalid SMTP mail server identification for CDO Object error so mention right IP address for that one.
SMTPMail.Server="Mail Server IP";
best wish's
ranandbe
-- modified at 8:04 Thursday 25th May, 2006
|
|
|
|
|
I have 2 forms where the 1st one passes variables to the 2nd form. How then can I go back to the 1st form programmatically by clicking a link on the 2nd form?
-- modified at 4:24 Thursday 25th May, 2006
|
|
|
|
|
u might be disposing the second form
r u working on windows form?
rahul
|
|
|
|
|
yes, I'm using windows form.
But I don't want to dispose the second form. Just bring the 1st form to the front and make one of the tabpages active. How do I do this?
|
|
|
|
|
if u r passing string parameter from form2 to form1
then u can activate tabpage in following way
first u recieve string parameter in the constructor of form1
then try following codes in constructor
foreach(TabPage tb in tabControl1.TabPages)
{
if(tb.Text==recieved string)
this.tabControl1.SelectedTab=tb;
}
rahul
|
|
|
|
|
Hi,
What is reverse engineering and is that possible to reverse engineer now?Will it not an inefficiency?
Let me know the answer!
Thank you!
Deepa!
Be the Change you want to See!
|
|
|
|
|
Reverse engineering is examining a product and recreating the engineering documents (plans and/or code) from that examination.
This is typically done with the unique aspects of a product (the bulk of most products can be created using standard knowledge. For example, you don't need to reverse engineer menus or most dialog boxes in software since how to do them is quite obvious to an experienced developer.)
Another form of reverse engineering in software is to decipher, or crack, formats for data streams, databases or other forms of I/O, often so another program can import the data to its format.
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
Hi!
Ever thought about searching here[^]?
Regards,
mav
--
Black holes are the places where god divided by 0...
|
|
|
|
|
Dear all,
i want to make cashier program so,
how i can read product barcode's from scanner using C#?
thanks
plz help me
A.shawky
-- modified at 4:33 Thursday 25th May, 2006
|
|
|
|
|
Depends on the scanner. There are types that get plugged in between the keyboard and the PC. In that case, the scanned information appears (to the PC) to have been typed in really fast. In that case, you'd handle scanned information the same way you'd handle typed information.
-Daniel
Typing too fast fro my owngood
|
|
|
|
|
Hi,
i want to display all folder and subfolder of MS outlook in Treeview control so if any sample is available here than reply
For Oriensoft Technologies Pvt. Ltd.
Govind Yadav
Software Developer
E-mail: govindy@oriensoft.com
Tel: +91-22-67111555 Fax: +91-22-67111666
24 x 7 Support & Sales Toll Free : 1-800-22-5171 (India Only)
Web : http://www.oriensoft.com
|
|
|
|
|
Hello,
I want to write some function header, variables, property header as remarks so that while using the function or variable we should be able to see the comments. These comments should be displayed with intelliscence whenever we highlight it.
I wrote these comments in between the XML tags but it does not display the comments in intelliscence.
Is there any settings i need to do.
Please help!
Thanks You.
Gajesh Mangal
Pune(India)
-- modified at 2:28 Thursday 25th May, 2006
|
|
|
|
|
Hi,
You do like this it will come:
private int testFunc(int a, int b)<br />
{<br />
return a+b;<br />
}
Hope this will help.
Best Regards,
Apurva Kaushal
|
|
|
|
|
You need to run something like this:
/// <summary>
/// Function description.
/// </summary>
/// <param name="param1">function parameter.</param>
/// <returns>Result of function.</returns>
function MyType MyFunc(ParamType param1){
}
Best regards, Alexey.
|
|
|
|
|
Thanks Alexey
Actually i did in the same way as u explained.
I am writing a class library and this library will be used by somebody else.
I want that whenever the functions are displayed in intelliscene the remarks should be appered when these functions are highligted.
for fg. when i convert int var to string using ToString(), i got remarks like "returns a system.strings that represent the current system object".
I want my messages for the functions to be displayed whenever they are accessed.
So is there any settings i need to do or something else.
Thanks.
|
|
|
|
|
i have a table named customers (in sql server 2005). from this table i want two fields in my application (customerId and customerName) to be displayed in the combo box.
in visual basic form2 combo it is possible. but i don't know how it could be done in v c#.
thanks in advance for solving this problem.
|
|
|
|
|
i don't know the combobox string like this"001 littlefinger" is what you want.if so you can do :
foreach(datarow dr in ds.tables["customers "].Rows){
this.comboboxname.items.add(dr[0].tostring() + dr[1].tostring());
}
|
|
|
|
|
Just seperate columns with space
<br />
this.comboboxname.items.add(dr[0].tostring() + " " + dr[1].tostring());
|
|
|
|
|
Search the articles here, there are plenty of custom controls you can use: Search for combobox and multicolumn[^]
Regards,
mav
--
Black holes are the places where god divided by 0...
|
|
|
|
|
Hi,
I have an Activex control with VARIANT* parameter type. I want to pass an Array from CSharp how can i pass it.
|
|
|
|
|
|