how do i change the background image of a button from another form
Hai i have problem i want to change the background image of button that is in another formi did this but isnt working// this is the form that im using form1 menu_ratos f4 = new menu_ratos();...
View ArticleCloud Computing
We are working with MVC4,Sql Server. Our client has a private cloud that cannot be accessed by us.We are planning to use another private cloud to host our application on that.Is Windows Azure...
View ArticleHow to extract the Object from Clipboard in excel 2010 64 bit.
Hi,In my C# application extracting the object present in excel 2003 32 bit is worked by using following code.IDataObject iData = Clipboard.GetDataObject();if (iData != null){ string name =...
View ArticleSolving trigonometric equations
Hi ! I am developing a desktop application in c# , intending to solve a trigonometric equation that is stored in a string by a user. string s ="cos(x)+ln(x)-e^x";I want my application to perform...
View ArticleInsert html values into datatable
HiI have a web page that generate some info.I have extracted this info from html code of this webpage. I created a datatable with 5 columns and I would to call each element to be insterted in each...
View ArticleRemove password from Word documents
HI!!! I am using this code to remove password from word documents http://ishwor.cyberbudsonline.com/2013/01/remove-writeedit-protectionenforcement.html?showComment=1374659141159#c1604586394111748506...
View Article2 Classes that share same event handlers
Is it possible to have 2 classes that are slightly different but have the same event handlers? The classes are quite large and there are quite a few EventHandlers. Instead of having duplicate copies...
View ArticleAny Method in Tracking the index of a value of a variable within a for loop
Hias the title states I just want to know is their anyway to find the specific index of a local variable when in iteration.currently I have a variable which gathers a calculation between two times in a...
View ArticleCreating and populating object dynamically - Help
Hi,I am trying to send a sales order to an external web service. Issue is the lines get overwritten so only the last line gets sent to the web service.How to make sure all order lines are packed...
View ArticleScope of try command in Teradata using loop
Hi, I'm sure many of you understand variable scope and encapsulation in dot.net so I apologize, I'm self taught and though I consider myself an intermediate c# coder now, I deal with this stuff as it...
View ArticleRoman Numerals to Arabic Numerals Project
Hello in my class we are creating a program that converts I,II,III,IV,V to 1,2,3,4,5 using if else if as one part and switch as the other part. If anyone could help i would appreciate it because im stuck.
View ArticleFetching currency value from database and store into salesforce Currency Field
Hi,I have one currency column in MS Access.I am fetching the value from database. But i didnt update in Salesforce. How Can i do this?...
View Articlec# - How to create a shortcut combination of "Ctrl + P"
I am working on some shortcut keys but one of the following won't work (unable to trigger Ctrl + P)Here below is the codeprivate void grid_KeyDown(object sender, KeyEventArgs e) {...
View Articlesystem.windows.draw, shapes, media, etc
I am in the processing of learning C# using John Sharp's Visual C# 2020. I'd like to learn more about system.windows.draw, ..shapes, ..media etc. AM ashamed to ask such a dumb question - where do I...
View ArticleError converting data type nvarchar to numeric. (sp runs fine from SSMS)
I have a program that's trapping this error when calling a SQL 2005 stored procedure. The stored procedure runs fine from SQL Server Management Studio. The code for the function is shown below.The...
View ArticleHow to extract the Object from Clipboard in excel 2010 64 bit.
Hi,How to extract embedded the object(*.m File) present in excel file(excel 2010 64 bit) using c#. Any help would be appreciated.Thanks and RegardsSathish,
View ArticleSMTP Google Gmail
Dear all, I am using below setting but find the error: do you know how to solve???publicstaticstring mailHost="smtp.gmail.com"; publicstatic string mailHostPort = "25"; publicstatic string...
View ArticleWindows Form: How do I record textbox to a string only after a button is...
private void Form1_Load(object sender, EventArgs e) { label1.Text = "Input: "; string Playerinput; button1.Text = "Enter"; richTextBox1.ReadOnly = true; richTextBox2.ReadOnly = true; MainChar Player =...
View ArticleBuild is success, but run test fail with error "Exception from HRESULT:...
Result Message:Error calling Initialization method for test class CodedUITestProject2.CodedUITest1: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT:...
View Article