Question about Microsoft Visual Basic 6.0 for PC

2 Answers

To open a pdf file from a vb application (path secified)

The path to the pdf file is specified in application
so now when this file name is clicked-->i want that specific file to be opened.

Posted by on

2 Answers

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 1 Answer

I want to open pdf files in vb6

Posted on Nov 28, 2012

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 1 Answer

How can i annimate the gif file in vb

Posted on Dec 30, 2008

Add Your Answer

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

1 Answer

Codes of c++


Microsoft Visual C++ 6.0 is an integrated development environment, or IDE, released by Microsoft in 1998. An IDE allows the user to create a computer application by using pre-designed functions, tools and other resources. Microsoft Visual C++ 6.0 features a source code editor, a compiler, a debugger and graphical user interface.

Install Microsoft Visual C++ 6.0 on your computer. The installation process is fairly simple. Just follow the prompts. Run the program. A window will appear asking you to create a new application. On the "Project" tab, choose "Win32 Console Application." This means that you will create an application with an EXE file extension that can work with 32-bit Windows operating systems after compiling the project. Also, specify the project's name and the location where it will be saved. Click "OK." Click"OK" in the dialog box that will appear next. You will choose to start an open project. Double-click on the form in the center of the screen. Type: #include <iostream.h> int main() { cout <<"This is my first project!!! Hello everybody! \n" return 0; } Press "F5." This will build and run the project. Microsoft Visual C++ 6.0 will compile your project into an EXE file. Then it will open this file. You will see a new window open in which you'll see your greeting, " This is my first project!!! Hello everybody!" Press any key to exit the application. http://elvis.rowan.edu/~kay/cpp/vc6_tutorial/ http://msdn.microsoft.com/en-us/visualc/ee340952.aspx

Feb 03, 2013 | Microsoft Visual Basic 6.0 for PC

Tip

Download and convert YouTube videos to MP3 simultaneously


Currently, it is easy to download various video resources from YouTube, besides the wonderful image contents, the audios in these video files are attractive as well. Want to extract your preferred movie soundtracks or classic dialogue, or a talk show, a speech of political figures, or other audio files from YouTube, but have not found a practical application to achieve this goal? In that case, this article will definitely do you a favor. It will introduce you an all-in-one program to assist you to finish downloading and converting YouTube videos to MP3 simultaneously. The program is called Pavtube YouTube Converter. The following is its detailed instruction, please feel free to read on it.
Step 1: Download, install and run Pavtube YouTube Converter
After launch this program, the main interface will appear as below:

Step 2: Add URL, and select MP3 as output format
This tool allows user to download and convert YouTube video simultaneously. What you need to do is just clicking “Add URL” on the above window, and then copy and paste the URL of the YouTube videos which you want to download and convert into the textbox after “URL” in the following interface.

By the way, this program will generate file name and specify save path automatically, if you want to save the output file with the name and path you specified, you can type file name into the textbox after “Save as” and click on the ellipsis icon at the end of “Save to” to indicate destination folder.
Meanwhile, you should click on the drop-down list of “Convert to”, and then choose “Common Audio” and “MP3” as the following interface showing:

Step 3: Adjust audio parameters
Click “Custom” button, then you can adjust audio parameters like codec name, sample rate, bit rate, audio channels on the following interface.

Step 4: Download and convert
After all the above settings are completed, you can click on “OK” button, and then Pavtube YouTube Converter will start downloading and converting YouTube videos to MP3 automatically.
For more: http://www.pavtube.com/youtube-converter/

on Feb 03, 2010 | Compilers & Programming Tools

1 Answer

How to convert vba macros to visual studio?


  1. Clean your code. There are built in Application specific functions which don't work in VB Studio. Some will require you pre-load the application first, others just don't work at all.
  2. Save the VBA module as a BAS file. This is just a text file with the module code in it.
  3. Export your forms to file.
  4. Open Visual Studio
  5. Import your forms and modules
  6. Clean it up.
  7. Compile it

Apr 28, 2010 | Microsoft Visual Studio 2008 Professional...

1 Answer

VB6 error 432 File or Class name not found during automation


The GetObject function requires either a valid file name with a path specification, or the name of a class that is registered with the system. This error has the following cause and solution:

The name specified for file name or class in a call to the GetObject function could not be found.
Check the names and try again. Make sure the name used for the class parameter matches that registered with the system.

Mar 08, 2010 | Compilers & Programming Tools

1 Answer

Developing an application with vb.net 2008 and i'm finding it


You need to set up an ODBC DSN and use this in your connection string then instantiate an ODBC connection. For example:

Dim MyConnectionString As String = "Driver={MySQLDSN};SERVER=localhost;DATABASE=MySQLDatabase;" '
Dim conn As New OdbcConnection(connectionString)
conn.Open()
Dim da As New OdbcDataAdapter("SELECT * FROM Customers", conn)
Dim ds As New DataSet()
da.Fill(ds, "Customers")
dataGrid1.DataSource = ds.DefaultViewManager
conn.Close()

Sep 04, 2009 | Microsoft Compilers & Programming Tools

1 Answer

HOW 2 OPEN RUNTIME PDF FILE IN VB 6.0?


A pdf file is a text document and can't be 'opened' as such in VB. Try copying all the text in the pdf file, open VB, start new project, and paste.

Jun 14, 2009 | Microsoft Visual Basic 6.0 for PC

1 Answer

I want full pdf for vb


Your question isn't clear but if you want source for VB I suggest you www.codeproject.com and if you want PDF file about VB just mail me, I have some and I can send it for you, my address mail is: hussein@fardinfard.com

Feb 24, 2009 | Compilers & Programming Tools

2 Answers

Visual Basic 6.0


1. IDE is Integrated Development Environment
2.With VB 6, one can develop applications with feature rich GUIs (Graphical User Interface). Many varieties of general purpose software can be created with little effort, including, but not limited to, image editing software, text editor and database applications.
3.Windows Application Template
-----------------------------------------------------
Used to create Windows-based applications that run locally on users' machines. You can build anything from a simple single-window tool like Windows Calculator to a complete application with multiple windows and advanced capabilities.

Class Library Template
-----------------------------------------
Used to create reusable classes or components that can be shared with other projects.

Console Application Template
----------------------------------------------------
Used to create command-line applications, programs that run from a Windows command prompt and have no visual interface.

My Movie Collection Starter Kit Template
-------------------------------------------------------------------------
Used to create the pre-built My Movie Collection sample application, which you can customize to meet your own needs. For more information, see Starter Kits: Getting Up and Running Quickly.

Screen Saver Starter Kit Template
-------------------------------------------------------------
Used to create the pre-built Screen Saver sample application, which you can customize to meet your own needs. For more information, see Starter Kits: Getting Up and Running Quickly.
4.FormShaper lets you change the shape that windows draws your forms. You can have rectangles, rounded rectangles, ellipses, polygons and any combination of the above! Even save the shapes to a file for use in other projects! See readme.txt in the zip file for more details

5.Description
Used at script level to force explicit declaration of all variables in that script.
Syntax
------------
Option Explicit
Remarks
----------------
If used, the Option Explicit statement must appear in a script before any procedures.
When you use the Option Explicit statement, you must explicitly declare all variables using the Dim, Private, Public, or ReDim statements. If you attempt to use an undeclared variable name, an error occurs.
--------------------------------------------------------------------------------

Use Option Explicit to avoid incorrectly typing the name of an existing variable or to avoid confusion in code where the scope of the variable is not clear.

Feb 20, 2008 | Compilers & Programming Tools

1 Answer

Export data in excel sheet and in specific column


I did not write this but look towards the end of the code and it will give you an idea on how to do it

Sub ExportToExcel(strOutputFile As String, Optional boolSuppressMessages As Boolean = False)

Dim strTemplateFile As String
Dim fso As Scripting.FileSystemObject
Dim cnn As ADODB.Connection
Dim rstTarget As ADODB.Recordset
Dim rstCustomers As ADODB.Recordset
Dim rstServiceReps As ADODB.Recordset

On Error GoTo ErrorHandler: On Error GoTo 0

Set fso = New Scripting.FileSystemObject

' Get template file path
strTemplateFile = CurrentProject.path & "\CompaniesEmployeesList.xlt"

' Copy template to the target
fso.CopyFile strTemplateFile, strOutputFile, False

' Open a connection to the workbook
Set cnn = New ADODB.Connection
cnn.Provider = "Microsoft.Jet.OLEDB.4.0"
cnn.ConnectionString = "Data Source=" & strOutputFile & ";" & _
"Extended Properties=""Excel 8.0"""
cnn.Mode = adModeReadWrite
cnn.Open

' Open the target recordset (the Excel sheet)
Set rstTarget = New ADODB.Recordset
rstTarget.Open "SELECT [ID], [Name], [City] " & _
"FROM [Sheet1$]", cnn, adOpenDynamic, adLockOptimistic

' Open Customer data recodset
Set rstCustomers = New ADODB.Recordset
rstCustomers.Open "SELECT CompanyID, CompanyName, City " & _
"FROM Customers " & _
"WHERE City = 'Madrid' " & _
"ORDER BY CompanyName", CurrentProject.Connection

' Open Service Rep data recodset
Set rstServiceReps = New ADODB.Recordset
rstServiceReps.Open "SELECT EmployeeID, [LastName] & "", "" & [FirstName] AS Name, City " & _
"FROM Employees " & _
"WHERE City = 'Madrid' " & _
"ORDER BY [LastName]", CurrentProject.Connection

' Loop through Customers result set and copy to target
Do While Not rstCustomers.EOF
rstTarget.AddNew
rstTarget![ID] = rstCustomers!CompanyID
rstTarget![Name] = rstCustomers!CompanyName
rstTarget![City] = rstCustomers!City
rstCustomers.MoveNext
Loop

' Insert blank line between result sets.
rstTarget.AddNew
rstTarget![ID] = ""
rstTarget![Name] = ""
rstTarget![City] = ""
rstTarget.Update

' Loop through Service Reps result set and copy to target
Do While Not rstServiceReps.EOF
rstTarget.AddNew
rstTarget![ID] = rstServiceReps!EmployeeID
rstTarget![Name] = rstServiceReps!Name
rstTarget![City] = rstServiceReps!City
rstTarget.Update
rstServiceReps.MoveNext
Loop

rstTarget.Close
rstCustomers.Close
rstServiceReps.Close

cnn.Close

If Not boolSuppressMessages Then
MsgBox "Workbook Created", vbInformation + vbOKOnly, "ExcelExport"
End If

ExitHere:
On Error Resume Next
Set rstTarget = Nothing
Set cnn = Nothing
Set rstCustomers = Nothing
Set rstServiceReps = Nothing
Exit Sub

ErrorHandler:
Eval "MsgBox(""Error " & Err.Number & "@" & Err.Description & "@"")"

On Error Resume Next

If Not cnn Is Nothing Then
cnn.Close
End If

Resume ExitHere

End Sub

Jan 03, 2008 | Compilers & Programming Tools

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

Related Topics:

379 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Compilers & Programming Tools Experts

Robin Hill
Robin Hill

Level 3 Expert

1251 Answers

Alex Krenvalk

Level 2 Expert

401 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Are you a Microsoft Compiler and Programming Tool Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...