Monday, 29 July 2024

How to Shut down your computer using user form command button // Shut down your computer using VBA code

 Follow the below Number steps for shut down your computer directly when you click the command button. If you want to know how to create a Command Button then open the MS Excel and fallow step.

A) open developer tab

      If developer tab is not look then click the MS Office logo and click the Excel options and check ✅ show Developer tab in the Ribbon .





B) click the Visual Basic.



C) click the Insert User Form 



D) select the command button in open Tool Box and draw the command button in open User Form.



Step 1:- 

            First you create a Command Button in MS Excel User Form. Then dibble click the command button.


Step 2:-

           Write the below code 



Start code 

On error resume next 

Activeworkbook.save

Application.DisplayAlert = false 

Application.Quit

Shell " Shutdown -s -t 30 "

End code 


Step 3:-

             When you complete the code , then click the run command. Your MS Excel sheet save automatically in your computer and other functions is closed automatically within 30 seconds and your computer is Shut down properly.



Friday, 12 July 2024

Synthesis of Benzoin ( 2-hydroxy-1,2-diphenylethanone ) using Benzaldehyde

 Benzoin:-

                 Benzoin is the organic compound that hydroxyketone with two phenyl group. Formade by the condensation of two molecules of Benzaldehyde.

               This reaction is called Benzoin condensation is classically catalysed by cyanide salts. You can also used thiazolium compound like Thiamine.


Precautions:-

1. Benzaldehyde is toxic .

2. Ethyl alcohol is flammable.

3. Sodium hydroxide is corrosive.

4. Benzoin formed after the reaction is pretty nasty small.

5. Use necessary protection equipment while handling chemical.


Preparation method:-


Mechanisms:-

Step 1.


Step 2. 



Material required:-

1. Thiamine hydrochloride = 3.55g

2. 95% Ethyl alcohol = 35 ml

3. 3M NaOH solution = 8 ml

4. Benzaldehyde = 20 ml


Pratical step:-

1. Taken 100ml Round botal flask and add 3.55g of Thiamine hydrochloride and 8 ml of distilled water and mix then add 95% Ethyl alcohol 35 ml .

2. Now place the Round botal flask in an ice both to cool 0 degree Celsius.

3. Drop - Drop add 3M NaOH in the Round botal flask, then colour is changed white to yellow.

4. Now add Drop - Drop 20 ml of Benzaldehyde in the Round botal flask and mix properly in whole time.

5. Warm the flask generally in a water both 60 degree Celsius for 90 min , yellow colour Cristal is seperate down in the Round botal flask.

6. After the cooling the room temperature again we contect the ice cold water to croud product.

7. Now filter the liquid crystals for simple gravity filter method.

8. Now Recristaliged for hot Ethyl  alkohol .

9. 9.3g Benzoin 23% yeild .


Tuesday, 9 July 2024

Synthesis of Benzil ( 1,2-diphenylethan-1,2-dione ) using Benzoin

Benzil:-

              Benzil is an organic compound and its molecular formula ( C6H5CO )2. It is also known as 1, 2-diphenylethan-1,2- dione . Benzil is yellow in colour and its is one of the most common diketones. 



Preparation method:-

                                     Oxidation of Benzoin ( 2-Hydroxy-1,2-diphenylethanone ) make the Benzil.




Precautions :-

A) Nitric acid is corrosion. Avoid the direct contact.

B) it can even corrode nitrile gloves. 

C) After the reaction the smell of Benzoin is pretty nasty.

D) Use necessary protection equipment while handling chemical.


Material required:-

1. Benzoin - 5g

2. Nitric acid 70% - 20ml

3. Ethanol 96% - 50ml


Pratical step:-

1. Teken 100ml Round botal flask and fix it.

2. Transfer 5g Benzoin in a RB flask.

3. Add 20ml of constrated 70% Nitric acid.

4. After the same time Reaction is opening in the room temperature.

5. Keep the boiling water contener and dip the RB flask and heat the contener in 30 min.

6. Mix the mixture in glass rod when the RB flask is heated.

7. In the end of reaction yellow colour mixture is present in the RB flask.

8. Mix the RB flask liquid in 100ml ice cold distilled water ana water slowly.

9. Filter the liquid in using the simple gravity filter method.

10. For the Recristalization add the hot Ethanol.

11. Yellow colour Benzil Cristal is seperate then again filter the liquid.


Not dry in sun light because it is reached the sun light.






Seperation method of Glucose in Sugarcane using HPLC || HPLC का उपयोग करके गन्ने से ग्लूकोज को अलग करने का तरीका

 गन्ने में मौजूद ग्लूकोज (glucose) की मात्रा का विश्लेषण करने के लिए LC-MS एक बहुत ही प्रभावी तरीका है। यह तकनीक दो प्रमुख चरणों में काम करत...