SlideShare a Scribd company logo
1 of 8
Download to read offline
Visual Basic Assignment
Submitted By
Deepak Soni
BCA – 3rd Year
Dezyne E’ cole College
106/10, Civil Lines, Ajmer
Tel: 0145-2624679
www.dezyneecole.com
2015-2016
A WORK REPORT SUBMITTED
IN PARTIAL FULLFILLMENT OF THE REQUIREMENT FOR
THE DEGREE
Bachelor of Computer Application
Acknowledgement
This color Palette create in “Visual Basic” was developed at Dezyne
E’cole College.
During the making of this project I have learnt a lot and I thank my mentor
Mr. Tarun Sharma for helping us during the making of project.
I thank my college “Dezyne E´cole College” for having conducted this
“Identity” exhibition for helping us to bring out our skill.
With due Regards,
Deepak soni
BCA 3rd Year
Color Palette
CODE:
Dim rr, gg, bb, s1, c1, c2 As String
Private Sub Form_Load()
Label10.Font.Size = 15
Label1.FontBold = True
Label10.ForeColor = vbBlack
rr = "FF"
gg = "FF"
bb = "FF"
End Sub
Private Sub VScroll1_Change()
a = VScroll1.Value
Text1.Text = a
r = Hex(VScroll1.Value)
Text4.Text = r
Label1.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label2.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value)
Label3.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label4.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label5.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label6.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label7.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label8.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label9.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label10.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
End Sub
Private Sub VScroll2_Change()
b = VScroll2.Value
Text2.Text = b
g = Hex(VScroll2.Value)
Text5.Text = g
End Sub
Private Sub VScroll3_Change()
c = VScroll3.Value
Text3.Text = c
b = Hex(VScroll3.Value)
Text6.Text = b
End Sub
Private Sub VScroll1_scroll()
a = VScroll1.Value
Text1.Text = a
' r = Hex(VScroll1.Value)
r = check(a)
Text4.Text = r
Form1.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label1.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value)
Label2.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label3.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label4.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label5.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label6.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label7.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label8.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label9.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label10.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
End Sub
Private Sub VScroll3_scroll()
c = VScroll3.Value
Text3.Text = c
'b = Hex(VScroll3.Value)
b = check(c)
Text6.Text = b
Form1.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label1.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label2.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label3.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label4.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label5.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label6.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value)
Label7.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label8.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label9.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
Label10.BackColor = RGB(VScroll1.Value, VScroll2.Value,
VScroll3.Value)
End Sub
Function check(ByVal a As Integer)
c1 = a Mod 16
c2 = a  16
If c1 = 10 Then
c1 = "A"
ElseIf c1 = 11 Then
c1 = "B"
ElseIf c1 = 12 Then
c1 = "C"
ElseIf c1 = 13 Then
c1 = "D"
ElseIf c1 = 14 Then
c1 = "E"
ElseIf c1 = 15 Then
c1 = "F"
Else
s1 = Str(c1)
End If
If c2 = 10 Then
c2 = "A"
ElseIf c2 = 11 Then
c2 = "B"
ElseIf c2 = 12 Then
c2 = "C"
ElseIf c2 = 13 Then
c2 = "D"
ElseIf c2 = 14 Then
c2 = "E"
ElseIf c2 = 15 Then
c2 = "F"
Else
s1 = c1 & c2
check = s1
End If
End Function
Thank You…
Deepak soni
Bachelor of Computer
Application
Dezyne E´cole College
106/10, CIVIL LINES
AJMER
RAJASTHAN - 305001 (INDIA)
www.dezyneecole.com

More Related Content

More from Dezyneecole

More from Dezyneecole (20)

Pratibha Kumari, Diploma Fashion Design First Year, (Basic Pattern Developmen...
Pratibha Kumari, Diploma Fashion Design First Year, (Basic Pattern Developmen...Pratibha Kumari, Diploma Fashion Design First Year, (Basic Pattern Developmen...
Pratibha Kumari, Diploma Fashion Design First Year, (Basic Pattern Developmen...
 
Shaily Goyar, Diploma Fashion Design First Year, (Basic Pattern Development P...
Shaily Goyar, Diploma Fashion Design First Year, (Basic Pattern Development P...Shaily Goyar, Diploma Fashion Design First Year, (Basic Pattern Development P...
Shaily Goyar, Diploma Fashion Design First Year, (Basic Pattern Development P...
 
Shaily Goyar, Diploma Fashion Design First Year, (Fashion illustration for Fa...
Shaily Goyar, Diploma Fashion Design First Year, (Fashion illustration for Fa...Shaily Goyar, Diploma Fashion Design First Year, (Fashion illustration for Fa...
Shaily Goyar, Diploma Fashion Design First Year, (Fashion illustration for Fa...
 
Shaily Goyar, Diploma Fashion Design First Year, (Embroidery Project)
Shaily Goyar, Diploma Fashion Design First Year, (Embroidery Project)Shaily Goyar, Diploma Fashion Design First Year, (Embroidery Project)
Shaily Goyar, Diploma Fashion Design First Year, (Embroidery Project)
 
Shaily Goyar, Diploma Fashion Design First Year, (Fashion Draping Project)
Shaily Goyar, Diploma Fashion Design First Year, (Fashion Draping Project)Shaily Goyar, Diploma Fashion Design First Year, (Fashion Draping Project)
Shaily Goyar, Diploma Fashion Design First Year, (Fashion Draping Project)
 
Shaily Goyar, Diploma Fashion Design First Year, (Design Basics Project)
Shaily Goyar, Diploma Fashion Design First Year, (Design Basics Project)Shaily Goyar, Diploma Fashion Design First Year, (Design Basics Project)
Shaily Goyar, Diploma Fashion Design First Year, (Design Basics Project)
 
Shaily Goyar, Diploma Fashion Design First Year, (Corel Draw Project)
Shaily Goyar, Diploma Fashion Design First Year, (Corel Draw Project)Shaily Goyar, Diploma Fashion Design First Year, (Corel Draw Project)
Shaily Goyar, Diploma Fashion Design First Year, (Corel Draw Project)
 
Tanya Jain, Diploma Fashion Design First Year, (Fashion illustration for Fash...
Tanya Jain, Diploma Fashion Design First Year, (Fashion illustration for Fash...Tanya Jain, Diploma Fashion Design First Year, (Fashion illustration for Fash...
Tanya Jain, Diploma Fashion Design First Year, (Fashion illustration for Fash...
 
Tanya Jain , Diploma Fashion Design First Year, (Basic Pattern Development Pr...
Tanya Jain , Diploma Fashion Design First Year, (Basic Pattern Development Pr...Tanya Jain , Diploma Fashion Design First Year, (Basic Pattern Development Pr...
Tanya Jain , Diploma Fashion Design First Year, (Basic Pattern Development Pr...
 
Tanya Jain, Diploma Fashion Design First Year, (Embroidery Project)
Tanya Jain, Diploma Fashion Design First Year, (Embroidery Project)Tanya Jain, Diploma Fashion Design First Year, (Embroidery Project)
Tanya Jain, Diploma Fashion Design First Year, (Embroidery Project)
 
Tanya Jain, Diploma Fashion Design First Year, (Fashion Draping Project)
Tanya Jain, Diploma Fashion Design First Year, (Fashion Draping Project)Tanya Jain, Diploma Fashion Design First Year, (Fashion Draping Project)
Tanya Jain, Diploma Fashion Design First Year, (Fashion Draping Project)
 
Tanya Jain , Diploma Fashion Design First Year, (Design Basics Project)
Tanya Jain , Diploma Fashion Design First Year, (Design Basics Project)Tanya Jain , Diploma Fashion Design First Year, (Design Basics Project)
Tanya Jain , Diploma Fashion Design First Year, (Design Basics Project)
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Illustration For Fashi...
Gouri Ramchandani, Diploma Fashion Design First Year, (Illustration For Fashi...Gouri Ramchandani, Diploma Fashion Design First Year, (Illustration For Fashi...
Gouri Ramchandani, Diploma Fashion Design First Year, (Illustration For Fashi...
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Basic Pattern Developm...
Gouri Ramchandani, Diploma Fashion Design First Year, (Basic Pattern Developm...Gouri Ramchandani, Diploma Fashion Design First Year, (Basic Pattern Developm...
Gouri Ramchandani, Diploma Fashion Design First Year, (Basic Pattern Developm...
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Embroidery Project)
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Design Basics Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Design Basics  Project)Gouri Ramchandani, Diploma Fashion Design First Year, (Design Basics  Project)
Gouri Ramchandani, Diploma Fashion Design First Year, (Design Basics Project)
 
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
Gouri Ramchandani, Diploma Fashion Design First Year, (Corel DrawProject)
 
Dimple Mordani, Diploma Fashion Design First Year, (Embroidery Project)
Dimple Mordani, Diploma Fashion Design First Year, (Embroidery  Project)Dimple Mordani, Diploma Fashion Design First Year, (Embroidery  Project)
Dimple Mordani, Diploma Fashion Design First Year, (Embroidery Project)
 
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
Dimple Mordani, Diploma Fashion Design First Year, (illustration for Fashion ...
 
Dimple Mordani, Diploma Fashion Design First Year, (Basic Pattern Development...
Dimple Mordani, Diploma Fashion Design First Year, (Basic Pattern Development...Dimple Mordani, Diploma Fashion Design First Year, (Basic Pattern Development...
Dimple Mordani, Diploma Fashion Design First Year, (Basic Pattern Development...
 

Recently uploaded

An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 

Recently uploaded (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 

Deepak Soni ,BCA Third Year

  • 1. Visual Basic Assignment Submitted By Deepak Soni BCA – 3rd Year Dezyne E’ cole College 106/10, Civil Lines, Ajmer Tel: 0145-2624679 www.dezyneecole.com 2015-2016 A WORK REPORT SUBMITTED IN PARTIAL FULLFILLMENT OF THE REQUIREMENT FOR THE DEGREE Bachelor of Computer Application
  • 2. Acknowledgement This color Palette create in “Visual Basic” was developed at Dezyne E’cole College. During the making of this project I have learnt a lot and I thank my mentor Mr. Tarun Sharma for helping us during the making of project. I thank my college “Dezyne E´cole College” for having conducted this “Identity” exhibition for helping us to bring out our skill. With due Regards, Deepak soni BCA 3rd Year
  • 3. Color Palette CODE: Dim rr, gg, bb, s1, c1, c2 As String Private Sub Form_Load() Label10.Font.Size = 15 Label1.FontBold = True Label10.ForeColor = vbBlack rr = "FF" gg = "FF" bb = "FF" End Sub Private Sub VScroll1_Change() a = VScroll1.Value Text1.Text = a r = Hex(VScroll1.Value) Text4.Text = r Label1.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value)
  • 4. Label2.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label3.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label4.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label5.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label6.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label7.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label8.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label9.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label10.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) End Sub Private Sub VScroll2_Change() b = VScroll2.Value Text2.Text = b g = Hex(VScroll2.Value) Text5.Text = g End Sub Private Sub VScroll3_Change() c = VScroll3.Value Text3.Text = c b = Hex(VScroll3.Value) Text6.Text = b End Sub Private Sub VScroll1_scroll() a = VScroll1.Value Text1.Text = a ' r = Hex(VScroll1.Value) r = check(a) Text4.Text = r Form1.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value)
  • 5. Label1.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label2.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label3.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label4.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label5.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label6.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label7.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label8.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label9.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label10.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) End Sub Private Sub VScroll3_scroll() c = VScroll3.Value Text3.Text = c 'b = Hex(VScroll3.Value) b = check(c) Text6.Text = b Form1.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label1.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label2.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label3.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label4.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label5.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value)
  • 6. Label6.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label7.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label8.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label9.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) Label10.BackColor = RGB(VScroll1.Value, VScroll2.Value, VScroll3.Value) End Sub Function check(ByVal a As Integer) c1 = a Mod 16 c2 = a 16 If c1 = 10 Then c1 = "A" ElseIf c1 = 11 Then c1 = "B" ElseIf c1 = 12 Then c1 = "C" ElseIf c1 = 13 Then c1 = "D" ElseIf c1 = 14 Then c1 = "E" ElseIf c1 = 15 Then c1 = "F" Else s1 = Str(c1) End If If c2 = 10 Then c2 = "A" ElseIf c2 = 11 Then c2 = "B" ElseIf c2 = 12 Then c2 = "C" ElseIf c2 = 13 Then c2 = "D" ElseIf c2 = 14 Then c2 = "E"
  • 7. ElseIf c2 = 15 Then c2 = "F" Else s1 = c1 & c2 check = s1 End If End Function
  • 8. Thank You… Deepak soni Bachelor of Computer Application Dezyne E´cole College 106/10, CIVIL LINES AJMER RAJASTHAN - 305001 (INDIA) www.dezyneecole.com