Question about Computers & Internet

1 Answer

VISUAL BACSIC 6.0

HOW TO WRITE THE CODE AND GIVE ME SOME EXAMPLE WITH CODE

Posted by on

  • Roberto Steffen May 11, 2010

    How to write the code for what?

×

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Hot-Shot:

    An expert who has answered 20 questions.

    Corporal:

    An expert that hasĀ over 10 points.

    Mayor:

    An expert whose answer gotĀ voted for 2 times.

  • Contributor
  • 38 Answers

Using ActiveX Components in Visual Basic 6.0

' Dim as New:
Dim ftp As New ChilkatFtp2

' Alternatively, Dim and instantiate later:
Dim x as ChilkatFtp2
Set x = New ChilkatFtp2
' Note: The WithEvents can only appear in the declaration
' section of a module, and cannot be local to a procedure.
' Also, it cannot be used with the "New" keyword.
' The object creation must occur in a separate step, typically
' in the Form load.
Dim WithEvents ftp As ChilkatFtp2
Private Sub Form_Load()
Set ftp = New ChilkatFtp2
End Sub
Private Sub ftp_AbortCheck(abort As Long)
End Sub
Private Sub ftp_PutProgress(ByVal pctDone As Long)
End Sub

Posted on Sep 20, 2008

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

What is the code for round robin in visual basic 6.0


That's not a question easily answered in the sense of a "language" (like VB, C or otherwise).

Round-Robin is actually a term for sharing a "time-slice"...

Meaning.. lets say there are 3 parties... each want 70% utilization of the processor (or time)... But.. obviously... 100% is all you have.

So.. How do you "fairly" share the time? There's a couple of ways, round-robin (for interrupts for example on x86 based processors) is a method.

What it means is-- regardless of how much time you want, or need.. the kernel (Operating system) will give you so long to get "whatever you are doing"...Done.

If you don't get it done in time... the next guy gets to do his job..for a similar amount of time... and the next guy.. and then..say-- back to you.

Hence..Round-Robin.. we all get a slice, and if we don't get it done in-time... next time around we'll another slice to get more work done... maybe the other 1 or 2 or N guys... are done, and we'll get move time..maybe others have joined in, and we'll get less-- its to-be-determinned at run-time...

That's not a code answer... I know.. but the question was a little abstract, if you can be more specific (code wise), I may be able to give more of an example..but for now, explaining WHAT it is may be more useful.

Oct 19, 2012 | Microsoft Visual Basic 6.0 (361-00686) for...

1 Answer

Give me an example of code that convert pounds to kilogram or kilogram to pounds in visual basic.


Pounds to Kilogram - multiply by 0.4535924.
Example: 2.5pounds to kilograms = 2.5 x 0.4535924
= 1.133981

Kilogram to Pounds - divide by 2.2046224
Example: 4.32kilograms to pounds = 4.32/2.2046224
= 9.325553

Jul 29, 2011 | Microsoft Office Professional 2007 Full...

1 Answer

Can give an example of search command code?in visual basic 6.0


If you click on the following link you will find tutorial of Visual Basic and You will als so find example commands including some examples for parameter searches http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/109244

hope it helpss rick

May 18, 2011 | Computers & Internet

1 Answer

What does Dim, Try , Me , Private Sub means in Visual Basic


Dim allows you to declare a variable. It is short for "Dimension", and is an old old keyword. For example if you want to declare a variable called i that can hold an integer you would write:
Dim i As Integer
The Try keyword is used to allow you catch errors when they occur. If you didn't catch them, they would cause the program to end with an error report.
Try ' Code goes in here that might throw an error Catch Ex As Exception ' Code goes here to deal with any error End Try
The Me keyword refers to the current instance of the class in which the word appears. For example if the class is called Form1, then Me allows you to refer to the current instance of the class when the code is running.
Private Sub is formed from two Keywords. Private is an "Access modifier". When applied to a Sub it means that the Sub would not be visible outside the class. Sub is short for "Subroutine". A subroutine is a section of code that performs some useful function that you might want to run many times. For example you might want to do something whenever a button is clicked, and so you would write a subroutine with code in that will run whenever the button is clicked.
It would be better to ask programming questions in a visual basic forum. There are many on the internet. Search the internet for "visual basic forum". Also note that when you are using Visual Studio 2005, you can press the F1 key when you have placed the cursor in a word that you do not understand, and it will open the help and the relevant page.
These terms are very very difficult to understand when you have never programmed before. Usually it is best to take a lot of it on faith, and move on through the book or example that you are following without completely understanding it all. Over time, with practice, repetition and perseverance you will start to develop an understanding of the underlying concepts. They are hard to explain and hard to learn.

Jun 06, 2010 | Microsoft Visual Studio 2005 Standard...

3 Answers

Product id of visual studio 6 enterprise edition


Hi,

you can use dummy product id:
112-11111 (second box as many 1's as can)

Thanks.

Mar 17, 2009 | Microsoft Mlf Visual Studio Enterprise...

1 Answer

What is the compatible database for visual basic 6.0?


Microsoft Access uses the Jet Engine. In VB 6, you can create a data connection using ODBC or OLE DB. Here is an example of OLE DB:

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\YourAccessDB.mdb;User Id=;Password=;" Good luck

Mar 09, 2009 | Microsoft Press MS Access 2000 and Visual...

1 Answer

Cannot install


Hey,u need first to install that, IIS(Internet Information Service) component because this is web technology.

Jan 14, 2009 | Microsoft Visual Basic Professional...

1 Answer

VBA not working in all Office products


There is setting for VBA in office 2007.
Go to Excel options-->Trust center--> trust center setting and configure the required settings

Jan 04, 2009 | Microsoft Office Standard for PC

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

105 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

kakima

Level 3 Expert

98868 Answers

David Payne
David Payne

Level 3 Expert

14086 Answers

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

Answer questions

Manuals & User Guides

Loading...