12,155 Topics
I'm trying to call an executable from my VBA code so that I can run it from that code. I can do this using the 'Shell' directive but what I can't do is receive a return value (the output) from that exe file. I'm not sure where to post this …
i have 3 textbox text1 & text 2 for input & text3 for sum of text1 and text2.plss help me guysss
hi every body , i have recently developed a system using vb6 forms but i need a help o f how to save and view a file with the pdf and .dwg and view it in a form , any help plz ??
i'm using visual studio 2008 implementing a project in vb data base is ms access. its about 500 lines of code. its taking llllllllllllllllllllllot of time for execution. can any one help me please to improve speed...?
I have an issue within VB Express 2008 which I am struggling to resolve. I am trying to take the information from 3 columns in a CSV file (ServerRef, ServerName, ServerIP) with no header row and populate 3 combobox's for users to select from to initiate an RDP connection. So …
I use this to make a VB6 program, the program was created in order to enter a lot of the songs on the list with a single select listbox and press the save button once. happens after the first song on the list that has been stored, then the process …
hi, to print a form just code printform and it will print the form, but what if there are 3 printer connected to the pc, how a program will choose what printer will be use to print a form? can u help me thanks ~~~
hi every body , i am finishing the design of crystal report that connected to data base and i have an Project in vb6 how i can add these report to the project ??
Private Sub CommandButton1_Click() Dim rowCount As Long 'Range("A2")=UserForm1.TextBox1.Value 'Range("B2")=UserForm1.ComboBox1.Value 'Range("C2")=UserForm1.TextBox2.Value 'Range("D2")=UserForm1.TextBox3.Value 'Range("E2")=UserForm1.ComboBox2.Value 'Range("F2")=UserForm1.OptionButton1.Value 'Range("G2") UserForm1.OptionButton2.Value 'Range("H2")=UserForm1.OptionButton3.Value rowCount = Sheets("Data").Range("A2").CurrentRegion.Rows.Count With Sheets("Data").Range("A2") .Offset(rowCount, 0) = Now .Offset(rowCount, 1) = UserForm1.TextBox1.Value .Offset(rowCount, 2) = UserForm1.ComboBox1.Value .Offset(rowCount, 3) = UserForm1.TextBox2.Value .Offset(rowCount, 4) = UserForm1.TextBox3.Value .Offset(rowCount, 5) = UserForm1.ComboBox2.Value If UserForm1.OptionButton1.Value Then Sheets("Data").Cells(nextrow, 6) …
Hi! Is any one can help me how to set landscape orientation using Data Report in Visual Basic 6.0:)
hi every one , can some one give me an idea or code of how to save .PDF file and .dwg into sql server and preview these file using image box in vb6 if can ????
Hi All, I have a an error: "Type Mismatch" on the line that has the stars next to it. Can someone please help? I appreciate all the help. Option Explicit Dim cn As ADODB.Connection ' Establishing a Connection Object that provides a connection to the data Dim rs As ADODB.Recordset …
Codes for "Already exist Record"[VB 6.0] a very simple one that I can understand. and with explanations. not too familiar with SQL codes. and Im using ADODC not ADODB.
Hi guyz I'm trying to create a logIn form in VB6 to check against an access database for login details and grant if the username and password exist in the database or deny access if they don't. Any help Please!
Hello all, I am having an issue with saving data entry from a vb6 form to a microsoft access 2003 form. Can anyone please help? I am getting the error "Operation is not allowed when the object is closed." I appreciate all your help! Option Explicit Dim cn As ADODB.Connection …
dear all, i am trying to enter data into a flex-grid from a text box and combo box by pressing a command button. after that i need to be able to se my data to a recordset. my code works fine when i enter one record but when i try …
i am working on a project and theres a feature that i seemingly want to include, it is the attachment of a word file in an email and the values that are included in the letter are imported from the database using vb.net is there a way to import values …
A simple timer for Excel VBA Excel VBA does not have a timer control. The alternative is to use the Timer() Function, and that leaves much to be desired. This code should be placed in a code module. My need was to tend to an abandoned program that was waiting …
So what I am trying to do is copy a row of information when an item in the 'k' column which will say 'recieved'. So what my code needs to do is copy the row of information on that row that says 'recieved' to sheet 2 and then remove it …
I'm trying to do a project at schooL but I need help on how to choose a simple working system for a certain company.
Hi I have been trying for about a week to connect VB6 to MySQL and have so far been unsuccessful. What I am trying to do is have a login system in VB6 which, when the login button is pressed, searches the "userlogin" table in MySQL. If a matching result …
Hi, luc001! I am using VB 2008 Express Edition and Access 2007. Here, i want some codes over the database connection issues like successful record updates after the connection is get closed, report generations and all with error handlings. So ll u please help me out with the issues.
i would like to know how to return to the code after packaging the project
hi, I want to ask about read data from .txt file and show them all to texbox in VB6 i just can do it for 1 line anyone can help me? sample like this : Dim OutputPath As String Dim sBaris$ Dim DROP() As Byte Dim strTeks As String OutputPath …
I have developed a project using API functions in vb6. But it is detected as virus .Is there is anyway to solve this problem.. thanks in advance
hi, i have a datagrid which looks like: subject students eg1001 182737H 29837B 29837C 19282W eg1002 192837C 32810H so on and so forth. how can i do a counter and put into a column between subject and students? like: subject numberofstudent students eg1001 4 182737H 29837B 29837C 192823W eg1002 2 …
Hi DW I've created a program in java and now because I'm also new in java but I know better visual Basic i couldn't complete the program the way I wanted because there are features I find it hard to do so I just completed the main program on java …
hi could anyone help me come out of this problem.. I've my project with one mdi and three child forms.. when i run the mdi child forms vb6 stops working and it shows the following: Problem signature: Problem Event Name: APPCRASH Application Name: vb6.exe Application Version: 6.0.81.76 Application Timestamp: 3592011f …
hillo everybody I'm Younis , (48) years old, living in Elkhomos-Libya ,I have started selfstudy Visual basic Language since 2009 really, I had many problems but at the end solved only by reading and searching.
How to Extract url links to a url web address. Hello everyone i hope all is well. I want to extract all link to a Url Address in a list. for Example: i have a url link : www.geynstuff.com now we want to get all Url link in a listbox …
is it possible to use two different databases in vb 6.0? I will use DB A to fetch the records and save it to DB B,,Thanks :) Godbless
Hi all, Could someone please explain me why "Listview.Selected" alway retuns a value? After I upload data into list view, system will highlight first line in list veiew. Although I dehighlight it and my UI will not see any selected item, but my softwre always get "return value = 1" …
Hello. I'm going through LazyFoo.net's SDL tutorials and right off the bat I got stuck. I am using Visual Basic and it is giving me an error saying that the identifier 'args[]' in the main function (line 5) is undefined. Anyone have a solution? //Headers #include "SDL.h" #include <string> int …
Hi, I am new to this place and found this by searching for a log in system tutorial for a Visual Basic 2008 Express Edition. So far I have been able to put a code to have 3 users on: [code=Visual Basic]Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, …
dim x as integer dim myday as string myday = format$(now,"mm") for x = 0 to 11 image(x).picture = image(index).picture next if myday = myday then image1(index).picture= app.path & "\*.jpg" ' that's okej Now is the question when I have in app.path 12 pictures numbered from 01 to 12 How …
I'm trying to add [this](http://www.codeproject.com/Articles/15559/A-Windows-Forms-based-text-editor-with-HTML-output?msg=4610424#xx4610424xx) to my existing project. I'm right clicking the toolbox-> chose items-> select the exe. It automatically adds a reference to my existing project. But after I drop the control onto my form it gives me: "LiveSwitch.TextControl.Editor is not defined" 2 times and 1 "LiveSwitch is …
I want to make a interface in vb6 which deals with excel file. Where we can select drive from drive box and select a excel file which is a source file and copy the value of cell from the source file and paste it into destination file's cell. my problem …
Hi I have a progressbar and it's going from left to right but what I will it to do that it goes from right to left with full and take one step backwards after pressing commandbutton each time Le Nenne
hi!im Nikka Ros i am a second year college taking up comp.prog.but the problem is i just have a few thing knew in creating a program then our instructor give us a final requirements is to create a system using vb...can you help me guys..please i'm begging you....god bless
i need some help... please help me convert this code into vb .net im using a device w/c is digital persona fingerprint scanner, the code works but it does not show any scanned image of the fingers in vb .net Private Sub cmdCancel_Click() op.Cancel lblMessages.Caption = "Operation canceled" Set op …
I have a vb6 frame which is on a form. I want to copy this frame or the entire form to a MS Word Document which I have opened. I need help with the VB6 code to do this. Thanks.
Hi folks I wonder if this code can bee converted to VB6 or there are a simular code. Lenny Dim strMSG As String > strMSG = "This Demo Has Expired" & vbCrLf & "Please Contact Me to Obtain > the Full Version" > > If DCount("[autonumberID]", "app.path/phonetel.mdb") > 20 Or …
can u help me, i need to get the data from the table, but the table will be based on the text on textbox, like the fieldname that will be based on aniTypes.text ... AnimalRS.Open ("select * from & AniKindtxt.text & where AniTypes='" & AniTypestxt.Text & "'"), Animals this is …
hellow guys please make me understand what is the advantage of using ado(active data object)over dao(data access object) please assist me to understand the difference
Anyone can tell me what is a module actually? how it differs from others files?
Hi I m a civil engineer. I have basic Idea in PHP and VB Now I want to make a civil engineering database software for PC windows. Which software will be good and easy for me. Thats mean Visual basic or any other softwaree. Please suggest me. Remember that I …
I want to try to show barcode in crystal report and print it on a printer through a crystal report, there is of a friend who can give me an example of a small program thanks in advance
Greetings I am working on a mail client in visual basic, till now i can only send emails using smtp, but i am having troubles finding how to receive them. Could you help me with a working simple code on how to read/receive emails using visual basic using .Net framework …
The End.