Question about Microsoft Visual Basic 6.0 for PC

1 Answer

I want to open a jpg and doc file through command button in vb6

I want to open a jpg file and doc file .in vb6 form we entered file name in a text box and click a command button that file will be open

Posted by on

  • ashok4104 Feb 28, 2009

    i have same problems not install

  • felizdacers Mar 09, 2009

    limiting two decimal

×

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Corporal:

    An expert that hasĀ over 10 points.

    Mayor:

    An expert whose answer gotĀ voted for 2 times.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 16 Answers

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

Posted on Feb 28, 2009

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

Private sub cmdEdit_click ( ) what is the right code to work the edit buton


You will probably want to be able to update some value of some field when doing database programming. This is done with Edit and Update. We will try to change the value of the "Phone" field by editing the text in the text box and clicking a button.
Put a command button on the form and name it "cmdUpdate". Then copy the following code to the project.
Private Sub cmdUpdate_Click()

rsMyRS.Edit
rsMyRS!Phone = txtPhone.Text
rsMyRS.Update

End Sub
Could it be that simple? Yes. This changes the phone number of our selected person. Or to put it technically: This changes the value of the "Phone" field of our current record. Imagine the current record being a set of boxes, with a field in each box. T he Edit method takes the lid off all of the boxes and Update puts them back on. When we write rsMyRS!Phone = txtPhone.Text we replace the content of the "Phone" box with the content in the text box.

Dec 16, 2010 | Microsoft Visual Basic 6.0 for PC

1 Answer

How to store in an array the records in a listview


create form1 with one list box and form2 with text boxes and command button.
Go to project >project properties>start object will be form2..
Here i takenexamble of two textboxes..code is below
Private Sub Command1_Click()
Form1.List1.AddItem Text1.Text, 0
Form1.List1.AddItem Text2.Text, 1
Form1.Show
End Sub


hope this will help you...Thank you,....

Nov 11, 2009 | Microsoft Visual Basic Professional...

2 Answers

How to make a code for log in using database?


RIGHT CLICK ON MY COMPUTER AND SELECT THE MANAGE AND SELECT USER AND GROUPS CLICK YOUR USER ON WHICH YOU WANT CREATE PASSWORD RIGHT CLICK THE USER AND SET PASSWORD AND FILL THE PASSWORD AND ENTER NOW YOUR PASSWORD WILL SET ENJOY

Oct 21, 2009 | Microsoft Visual Basic 6.0 for PC

1 Answer

I want the code to open the following files(.jpg,.bmp.doc.ppt) using the command button in vb 6.0 can any one help me?


Are you looking for Open Dialog box options?
Then this can help you...
http://vbadud.blogspot.com/2007/06/visual-basic-common-dialog.html
even look at this too..
http://msdn.microsoft.com/en-us/library/256tssz7.aspx

Oct 19, 2009 | Microsoft Visual Basic 6.0 for PC

1 Answer

Problems with VB6 Make .EXE command:


I guess your compiling logs are absent, or have been corrupted, which are only used to when you publish/make an executable.

To Confirm this, Make your EXE through Command Line Compiler, and How See this

If its still not working and your Project is important, then make a blank project and copy paste all Source and Objects there.

Regards,
Waqar.

Aug 18, 2009 | Microsoft Computers & Internet

1 Answer

I want to map ip to hostname in visual basic 6.0 code can anyone know any library class which will resolve the DNS names in VB code pls send me mail as soon as possible


This is handled by the "hosts" file on a machine. That file lives in the folder: C:\Windows\System32\drivers\etc

This file (named "hosts") is there for this purpose. You can modify it as you would any text file using VB6. Just be sure to maintin the file's contents format.

Apr 15, 2009 | Microsoft Mlf Visual Studio Enterprise...

1 Answer

Write into excel format


You can use ADO or SQL to open the excel file directly (provided it is constructed correctly, ie fields names) and write the data to it without Access.
That might be eaiser thatn converting it from Access to Excel, if that can even be done.

Feb 17, 2009 | Microsoft Visual Basic 6.0 for PC

1 Answer

To fix the page layout to


Oomar,

Using Word with VB6, I show how you set the page size to A5:

Sub AutomateWord()
' Declare the variable.
Dim objWD As Word.Application
' Set the variable (runs new instance of Word.)
Set objWD = CreateObject("Word.Application")
' Add a new document.
objWD.Documents.Add
' Add some text.
objWD.Selection.TypeText "This is some text."
'Set Page Size
objWD.ActiveDocument.PageSetup.PaperSize = wdPaperA5
' Save the document.
objWD.ActiveDocument.SaveAs FileName:="mydoc.doc"
' Quit Word.
objWD.Quit
' Clear the variable from memory.
Set objWD = Nothing
End Sub

Hope this helps!

Mar 18, 2008 | Computers & Internet

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

Related Topics:

734 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

micky dee

Level 3 Expert

2635 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18333 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

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

Answer questions

Manuals & User Guides

Loading...