10,991 Topics

Member Avatar for
Member Avatar for newbie26

hi...can someone help me?? a program that i can print barcode from a vb6 application? once i entered data, (i have already a format for the barcode value), it will print the barcode once.. then, enter again info, then print.. i have a sato barcode printer ct400.is there any configuration …

Member Avatar for rproffitt
0
3K
Member Avatar for Meenakshi_2

Option Explicit Dim cn As New ADODB.Connection Dim rs As New ADODB.Recordset Dim list As ListItem Sub Connection() cn.Open "provider=microsoft.jet.oledb.4.0;data source=C:\Users\Archana\Documents\login.mdb;" rs.CursorLocation = adUseClient rs.Open "ARegistration", cn, adOpenKeyset, adLockPessimistic End Sub Private Sub cboAid_Click() rs.Open "Select * from ARegistration", cn, adOpenDynamic, adLockOptimistic rs.MoveFirst Do While Not rs.EOF If cboAid.Text = …

Member Avatar for Reverend Jim
0
415
Member Avatar for JModak

** Cannot open MSSQLSSQLEXPRESS service on computer'.'. ** **What I have tried:** Dim myController As New System.ServiceProcess.ServiceController("SQL Server (SQLEXPRESS)") ------------------------------------------------------------------------------------------------------------ Private Sub Service_status() If myController.Status = ServiceProcess.ServiceControllerStatus.Running Then TextBox1.Text = "Started" ElseIf myController.Status = ServiceProcess.ServiceControllerStatus.Stopped Then TextBox1.Text = "Stopped" End If End Sub ------------------------------------------------------------------------------------------------------------ Private Sub Button2_Click(ByVal sender As System.Object, …

0
2K
Member Avatar for tomexlfc

Hello, I wrote some codes for student login. the codes checks for the "username", "password" as well as their type of "status", from the database. once this input are met, the student logs in successful, otherwise a message pops up. The problem i encountered is this, i have 11 student …

Member Avatar for The Acnor
0
12K
Member Avatar for johnsonkawemba

KINDLY I NEED HELP I WANT TO LEARN VISUAL BASIC PROGRAMMING IF ANY ONE HELP HOW HIGHLY APPLICIATES THANKS.

Member Avatar for Reverend Jim
-1
285
Member Avatar for Start4me

I've been looking tutorials and examples of setting the value field of a input tag. I'm trying to enter two IP addresses into the text fields on [this](https://www.ipaddressguide.com/cidr) website, under IP Range To CIDR. But my code won't enter anything. There's no ID tag, so I can't use the getElementById …

Member Avatar for Start4me
0
2K
Member Avatar for paul1145

In Visual Studio 2015, under Windows 7, I've created a VB application that fills a Checked Listbox with file names from one of my folders. Some of the file names contain an underscore character but when shown in the listbox, that character is replaced with a space. In the code, …

Member Avatar for rproffitt
0
3K
Member Avatar for Start4me

I'm working in Excel to extract content of a table from a web page and populate Excel sheet cells with it. I'm trying to extract data from a table that gets loaded to a web page after show results method gets called. I have an error that says "Run-time error …

Member Avatar for Ben_32
0
12K
Member Avatar for Thanseeh

I'm very new to visual basic 6.0 and I have a very less knowledge in it. My project is about airport boarding pass generator. In my first form,I have a text box for entering PNR by the user. Here, the program has to search for the PNR already stored in …

Member Avatar for rproffitt
0
1K
Member Avatar for JModak

hello sir getting error when run the loop and going to last value of row count please help and i can not use the 2nd loop in the place of cells(?????) number how can i use this **Index was out of range. Must be non-negative and less than the size …

Member Avatar for Reverend Jim
0
3K
Member Avatar for JModak

Getting error when showing data in list view, please help me..... Error :* Cannot add or insert the item '10-07-2018' in more than one place. You must first remove it from its current location or clone it. Parameter name: item* I use Vb.net 2010 visual basic sql server 2008 r2 …

Member Avatar for JModak
0
633
Member Avatar for Braden_1

I have a text file with the following contents: Andrew Law 32 6'1 123 Pounds Tom Harris 19 5'5 180 Pounds Randy Poffo 45 5'3 141 Pounds Now on my form i have a listbox and four labels. What i would like to do is have the listbox show only …

Member Avatar for Reverend Jim
0
860
Member Avatar for Divinedar

I have a worksheet of about 388 items that each item is exported into a template worksheet that is created to itemize each item. It creates the worksheets but I can't get it to stop looping at the line of code in bold comments icons. The line that it stops …

Member Avatar for xrjf
0
571
Member Avatar for purplegerbil

I am writing an application which will process data over night. When it's finished a report is printed out. I am wanting the report to be printed to 3 different printers on the same network. Is it possible to do this? All three printers are installed on the pc. Thanks …

Member Avatar for TwoFeetDown
0
3K
Member Avatar for jclancy3

Hello all, I am relatively new to Visual Basic and have managed to muttle my way through creating a 2013 Word document that has some ActiveX controls. The final control I put in place is a Command Button that, when clicked, it sends the form off to an email. That …

Member Avatar for Reverend Jim
0
3K
Member Avatar for JModak

I create a project on vb.net 2010 and SQL server 2008r2 I showing a report in listview report am show fine and error free. But now I want to add a sub total column every end of the category. How it is possible please help me sir Please see the …

Member Avatar for Santanu.Das
0
455
Member Avatar for sabiut

hi, i am trying to read from a text file and store the data in an array but i don't know how to get started with my code. can someone please get me started here. i have start with the code for locating the file, but i am having difficulty …

Member Avatar for LordPike
0
13K
Member Avatar for Brage

Can anyone help me to create a code to count how many words that are greater than 6? I am creating a readability test to calculate number of words etc. from three differente txt files. This is from my third and last private function. All help appreciated big time! :) …

Member Avatar for Minimalist
0
412
Member Avatar for hoangnganvy1993

I'm looking for a program reproduces in a picture box the AVI files present within the various files (of course continuous playback and transparent effect including). dll and others, I found one in Visual Basic and it works, but I can not do it Running in VB 10, i have …

Member Avatar for rproffitt
0
370
Member Avatar for JModak

How to change the color of a cell(back or fore color) of listview item according to item value with if condition. I do it but it is not work and show no error Please help me...... For k = 0 To ListView1.Items.Count - 1 If ListView1.Items(k).SubItems(6).Text > 100 Then ListView1.Items(k).SubItems(6).ForeColor …

Member Avatar for Reverend Jim
0
355
Member Avatar for stackOverflow

Hi, Front end Vb6, back end.. access... connection.. ODADB... can someone please help me with the code for login and password.

Member Avatar for Sohan_2
-6
16K
Member Avatar for Dexter_4

i need to format my textbox result into two decimal places after i divide two textbox here is my code. If String.IsNullOrEmpty(txtMonthly.Text) OrElse String.IsNullOrEmpty(txtdr.Text) Then Exit Sub If Not IsNumeric(txtMonthly.Text) OrElse Not IsNumeric(txtdr.Text) Then Exit Sub txtDaily.Text = CDbl(txtMonthly.Text) / CDbl(txtdr.Text) Thanks in Advance

Member Avatar for Reverend Jim
0
419
Member Avatar for peter_73

i somehow got the gist of adding items and filtering the already inputted ones but i cant seem to know how to start a loop where the code searches for similar items in the listbox before adding new items. when trying to run my code, it does filter out the …

Member Avatar for Minimalist
0
445
Member Avatar for rproffitt

Yes, you've been told it's dead, gone and to move off this old beast of a system from 1998 but here you are, tasked with fixing an old legacy app so let me share that I've been there and how I got around some of the issues. These are: 1. …

Member Avatar for Julius_5
1
4K
Member Avatar for paolo_3

I'm looking for a program reproduces in a picture box the AVI files present within the various files (of course continuous playback and transparent effect including). dll and others, I found one in Visual Basic and it works, but I can not do it Running in VB 10, i have …

Member Avatar for Reverend Jim
0
345
Member Avatar for JModak

Vshost.exe has stopped working... Posted A minute ago vshost.exe has stopped working this error showing after using the Crystal Report. The error show when I closed the application. If I not use the crystal report then the error not showing. I am creating a program in vb with visual studio …

Member Avatar for rproffitt
0
671
Member Avatar for Divinedar_1

Ok I have a workbook that have 5 worksheets for a 5 year span. On each of the worksheets are there is a list of countries that make up the combobox (which works perfectly). On my userform I have a frame on the userform that represent each worksheet. **My problem …

Member Avatar for Divinedar_1
0
615
Member Avatar for samuel_23

hello, i dont know much about programming, but i want to find a certain piece of text in a document that was opened using microsoft visual basic 2010 express. below is my code to open the word doc and to find and replace the text but is faulty 'to open …

0
239
Member Avatar for Lol_1

I am a drafter using autocad and I know a littttttle bit of VB6. We just happen to have it installed on our computers and I wanted to create an application that can do this: 1. Takes the # input from text1 and text2 and waits for the user to …

Member Avatar for JustMarkInAz
0
552
Member Avatar for Sara_18

I am working on the workshop selector in Visual Basics 7th Edition chapter 5 and I just can't get the calculate total button to work after trying numerous different codes. Here is the criteria for the program. 3 list boxes, 4 buttons, 2 labels. The application allows the user to …

Member Avatar for rproffitt
0
2K

The End.