Hi Everyone.
some values are taken from user using textbox. The format is only digits. following it the sample of that
as we know if we read textbox data this should be in string format. to convert in into original format i use the following code.
Now i want to convert the received data into...
Actually i am coping this data from another file and paste it in the textbox. so the value i entered in a textbox is treated as a string or hex format?
Dear All
I have a string which is actually a HEX representation and i want to convert it into decimal and show on textboxes. following is the string and explaination of it.
Above is the string of HEX without any space. acutally it is like that
01 is Hex and decimal of this is 1 (want to show...
what i done is delete all the DisplayControl label on Design Form. then build the whole project, it compiled without any error then i again add the DisplayControl Label. Now they added and compiled witout any error
You are right. i am declaring in a current solution and it was displaying on the top of toolbox. But now after some changes it is not showing in toolbox and also giving error
i undo the changes but no effect. it is giving error when compile and run
code have only this issue, remaining code...
Dear All
I am writing a code and i define a class for label. Pictures are as follows of Class Display Control, HMI Display and Toolbox
everything was working fine. Then i made some changes in that class (DisplayControl) and delete one of Display Control in Design Form (as shown in the...
Thank Sheeping for your reply. What do you mean by UI? UI means what i am writing code like using timer and it will keep running that code at particular time? OR something else
If we have a start button which Starts the process for one time and we want to continue that loop, can i use timer for this purpose?
which will timely call the routine which i want.
Hi Guys.
I have a very simple question. I am basically a Microcontroller Programmer using C language. In this there is a Main Loop which always executes and we call different functions from here.
In C# Windows form which is the Main Loop which always get executes and do different functions. I...
I tried sometime like belows but it is giving an error
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace serial_testing...
I want to use a serial port as a class. whenever user Click on Connect button , function will be call and Open the serial Port
whenever Disconnect button is pressed, function will be call and Close the serial Port.
Can you guide me where i am wrong?
using System;
using...
I am learning c# and following an example from the docs.microsoft.com, link is below
Classes and objects - Introduction to C# tutorial
code is below
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace classes
{...
Hi Guys
Thanks for your replies. Actually i am confused how to do that?
My main Task is to get input from Textbox (i-e 2345J4567AS09843) then seperate each alphabet, convert it into decimal. After this calculate CRC bytes and then show the complete array on another text box
for your...
Hi guys
I have a simple question. In the following picture there is one Text box which contains numbers as well as alphabets.
I want to break this string and store each letter or number in array. How to do that?
e.g string in text box is 23A45E890, i want it like that array[0] = 2, array[1] = 3...
Thanks SkyDiver
Thanks for your reply
Kindly clear me some points
In your first code
1- The "explorer.exe" is the file which we want to open? like if i have pdf file, i write its name here. for example file1.pdf
2- ""{foldername}"" , what does this describes? should i write it as it is or i have...
Hi
I want to open a pdf file when i click a particular button/link.
Currently i have done this by placing the pdf file in my project folder. like as
and code for this is
This is working fine.
Now what i want is to place all the pdf files in a folder name "documents" which is inside the...
Hi Everyone.
I want to make an application in which different files will be open based on selection from combo box. Below is the image what i want to do
if i select File1.pdf and click Open button then the file open in richtext box. same as for other files (File2.pdf ....so on).
Also if i add...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.