20 Most Recent Microsoft Visual Basic 6.0 for PC Questions & Answers


visual basic code of atm machine

Microsoft Visual... | Answered on Dec 21, 2018


click on the link below to download it!
http://www.mediafire.com/?8zukiyimjkt

Microsoft Visual... | Answered on Nov 26, 2018


You might want to re-think the ActiveX Control. The state of hostility concerning web controls make what you're trying to do hard. The link you provided won't even display on my system. a PHP downloader is far easier to program combined with user authentication the security is a little better!

Microsoft Visual... | Answered on Jun 28, 2017


newPath = "C:\Year\" & year(Date)
Call MkDir(newPath)
newPath = "C:\Year\" & year(Date) & "\" & month(Date)
Call MkDir(newPath)

Microsoft Visual... | Answered on Jun 03, 2017


you must register with Benchfolks (http://e-learning.benchfolks.com/) an online e-learning center, they provide the best support for training courses and for placements.
Online IT Training Online IT Certification Training Placement

Microsoft Visual... | Answered on Jan 16, 2017


use adobc <------try this

dim rs as new adobc.recordset
dim cn as new adobc.connection

private sub xn()
cn.cursorlocation = aduseclient
cn.open "CONNECTION STRING" <------
end sub

private sub form_load()
call xn
if rs.state=adstateopen then rs.close
rs.open "select * from TABLENAME" ,cn, adlockstatic, adlockreadonly
if rs.recordcount > 0 then
set datagrid1.datasource = rs
end sub

Microsoft Visual... | Answered on Nov 14, 2016


try to convert it to vb6 file and open it via vb6.... heres the link >>>> http://3d2f.com/tags/vb6/converter/registered/software/

Microsoft Visual... | Answered on Oct 09, 2015


Auto Hot Key is a good software to use. You can do macros for everything that you can do on a computer.

Microsoft Visual... | Answered on Nov 04, 2014


1) It's simple language. Things that may be difficult to program with other language can be done in Visual Basic very easily.
2) Because Visual Basic is so popular, There are many good resources (Books, Web sites, News groups and more) that can help you learn the language. You can find the answers to your programming problems much more easily than other programming languages.
3) You can find many tools (Sharewares and Freewares) on the internet that will Spare you some programming time.
For example, if you want to ping a user over the internet in your program, Instead of writing the ping function yourself, you can download a control that does it, and use it in your program.

Compare to other languages, Visual Basic have the widest variety of tools that you can download on the internet and use in your programs.

Microsoft Visual... | Answered on Aug 07, 2014


Why do you program in c or visual basic
if you can do the job with a database software access for example
and if you want your problem to be solved you must provide more info

Microsoft Visual... | Answered on Jun 05, 2014


'Convert fahrenheit to centigrade
dim cent as int
cent = Val(Text1.Text) // Text1.text as your input
cent = cent - 32
cent = cent * 0.5556
Text1.Text = cent // Converted and changed the same textbox

Microsoft Visual... | Answered on May 08, 2014


Private Function Horoscope(pBirthDate As Date) As String
Dim pMonth As Integer
Dim pDay As Integer
pMonth = Month(pBirthDate)
pDay = Day(pBirthDate)
If pMonth = 3 Then
If pDay >= 21 Then 'And pDay <= 31 Then
Horoscope = "Aries"
Else
Horoscope = "Pisces"
End If
ElseIf pMonth = 4 Then
If pDay >= 20 Then 'And pDay <= 30 Then
Horoscope = "Taurus"
Else
Horoscope = "Aries"
End If
ElseIf pMonth = 5 Then
If pDay >= 21 Then 'And pDay <= 31 Then
Horoscope = "Gemini"
Else
Horoscope = "Taurus"
End If
ElseIf pMonth = 6 Then
If pDay >= 22 Then 'And pDay <= 30 Then
Horoscope = "Cancer"
Else
Horoscope = "Gemini"
End If
ElseIf pMonth = 7 Then
If pDay >= 23 Then 'And pDay <= 31 Then
Horoscope = "Leo"
Else
Horoscope = "Cancer"
End If
ElseIf pMonth = 8 Then
If pDay >= 23 Then 'And pDay <= 31 Then
Horoscope = "Virgo"
Else
Horoscope = "Leo"
End If
ElseIf pMonth = 9 Then
If pDay >= 23 Then 'And pDay <= 30 Then
Horoscope = "Libra"
Else
Horoscope = "Virgo"
End If
ElseIf pMonth = 10 Then
If pDay >= 23 Then 'And pDay <= 31 Then
Horoscope = "Scorpio"
Else
Horoscope = "Libra"
End If
ElseIf pMonth = 11 Then
If pDay >= 22 Then 'And pDay <= 30 Then
Horoscope = "Sagittarius"
Else
Horoscope = "Libra"
End If
ElseIf pMonth = 12 Then
If pDay >= 22 Then 'And pDay <= 31 Then
Horoscope = "Capricorn"
Else
Horoscope = "Sagittarius"
End If
ElseIf pMonth = 1 Then
If pDay >= 20 Then 'And pDay <= 31 Then
Horoscope = "Aquarius"
Else
Horoscope = "Capricorn"
End If
Else 'If pMonth = 2 Then
If pDay >= 19 Then 'And pDay <= 29 Then
Horoscope = "Pisces"
Else
Horoscope = "Aquarius"
End If
End If
End Function

Microsoft Visual... | Answered on May 08, 2014


To Print a Database you would require to create a Report. There were many ways of creating reports in Visual Basic 6.0. Hereby I am giving you an example of Data Report.
Printing a Data Report
Printing a data report can be accomplished in one of two ways. The user can click the Print button that appears on the data report in Print Preview mode (using the Show method), or you can programmatically enable printing using the PrintReport method. If an error occurs during printing, trap it in the Error event.
Choosing to Display a Print Dialog Box
When printing a report programmatically, you have two choices: to print by displaying the Print dialog box, or by printing without displaying the dialog box.
To display the Print dialog box
  1. Add a CommandButton to a Form.
  2. In the button's Click event, place the following code.
DataReport1.PrintReport True The Print dialog box allows the user to select a printer, print to file, select a range of pages to print, and specify the number of copies to print.
Note Printers must be installed on the computer in order to present a choice of printers.

Printing Without a Dialog Box
In some cases, you may wish to print the report without user intervention. The PrintReport method also gives you the option of selecting a range of pages to print, either all, or a specified range.
To print without displaying the dialog box
  1. Add a CommandButton to a Form.
  2. In the button's Click event, place the following code:
DataReport1.PrintReport False
Or, to specify a range of pages to print, use the code below:
DataReport1.PrintReport False, rptRangeFromTo, 1, 2

Microsoft Visual... | Answered on May 08, 2014

Not finding what you are looking for?
Microsoft Visual Basic 6.0 for PC Logo

313 questions posted

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

Ekse

Level 3 Expert

13434 Answers

Lee Hodgson
Lee Hodgson

Level 3 Expert

4810 Answers

efs_perpends
efs_perpends

Level 3 Expert

1997 Answers

Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

View Most Popular

Microsoft Computers & Internet

  • Microsoft Computers & Internet

Most Popular Question

make horoscope code visual baisc 6 0

  • Computers & Internet
Loading...