12,425 Topics

Member Avatar for
Member Avatar for cheikh06

Hello friends I would love to have your help with a blocking for hours. In summary, I have to read an XML file and retrieve information with the VB.Net language. I would like to recover the "name", the "checkvalue" and the "compositekey" That's the structure of my xml file: <supercollection …

Member Avatar for Reverend Jim
0
1K
Member Avatar for Lante

I'm trying to connect a database with a login form to verify user as an existing one or a new one to sign up Private Sub Command1_Click() Adodc1.RecordSource = "select *from newcustomer where firstname='" + Text1.Text + "' and surname='" + Text2.Text + "' and customerid='" + Text3.Text + "' …

Member Avatar for RobDownUnder
1
2K
Member Avatar for Tajar2019

Hi guys, im a newbie in programming, please i need help in populating ms datagrid from ms sql table, can anyone suggest me something thnx

Member Avatar for rproffitt
0
349
Member Avatar for johndohmen1963

I have a problem with my datagridview. And the following happens I have several buttons to load the datagridview. All these buttons are working correct So datagridview is loading as expected. Only when i press the right or the left arrow butoon and when then datagridview wil be selected with …

Member Avatar for johndohmen1963
0
2K
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
425
Member Avatar for TinyikoB75

Hi There! I'm working with application for adding contacts using Visual Basic 2012. The application have textboxes to add data, control buttons and ListView to display contents in columns. I want to save the information in listView box where a user click save button and savedialogbox open in order to …

Member Avatar for Reverend Jim
0
230
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 B_3

Hi, I am using node and refactoring an older database. Therefore, i want to ensure i incorporate correct practices from the start. I know that this is a debated topic and that there is not nessecarily a correct answer but i want to see what people have to say about …

Member Avatar for Dani
1
2K
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
287
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 Vinod_16

Dear Friends, can any one help me to find IP address of my computer with the help of simple programing in visual basic?

Member Avatar for Reverend Jim
0
380
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
643
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
868
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
589
Member Avatar for Rafael

Web languages — HTML, CSS and JavaSscript are the best choice for kids and for amateur programmers, because they are very simple, and with them you can create many interesting things: sites, mobile and desktop applications, web servers and robotics — what else an amateur programmer needs for happiness? **Visual …

Member Avatar for LearnTheNew
0
471
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 Liam_8

Hi guys. I'm about to embark a new journey of learning how to create a android game. So, I don't have to publish it yet. I want to do self-learning. I also want to learn animation along the way. Maybe 2d if 3d is too time-consuming? I've read animation takes …

Member Avatar for anaconda
0
610
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
456
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 Shkelzen_1

I need to Retrieve the values from a XML file i have seen many example but none of them is like the XML I have. My XML look like this <component> <section> <code code="31011" codeSystemName="Codifica Interna Laboratorio" displayName="Etanolo (urine)"> <!--TRASCODIFICA ANALISI NON DISPONIBILE--> </code> <text> <paragraph> </paragraph> <table> <thead> <tr> …

Member Avatar for xrjf
0
576
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
421
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
373
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
358
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
426
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
448
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
346
Member Avatar for Alphex_1

I have an anti-virus in **Visual Basic .Net**. I want to have a real-time protection engine in my program, but I'm having some issues with the code I'm using now, which is this: Private Sub FileSystemWatcher1_Changed(ByVal sender As System.Object, ByVal e As System.IO.FileSystemEventArgs) Handles FileSystemWatcher1.Changed Try labellastreal.Text = e.FullPath ListBox3.Items.Add(labellastreal.Text) …

Member Avatar for rproffitt
0
510
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
674
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
618
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
242
Member Avatar for wa0h@arrl.net

i want to convert my old desktop windows program to a language that is independent of microsoft .. don't ask why. ----------------------------------------------------------- .. my old program is written in visual-basic (vb.net) and works with microsoft access databases. .. the old program contains about 20 different forms for data input/output. .. …

Member Avatar for pty
2
498
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
558
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
Member Avatar for Izzah_2

ive been develop a project known as ordering system i need to delete data from db by clicking the button ive follow a tutorial from utube and to the exact same code he been used error "object reference not set to an instance of an object" ive double check my …

Member Avatar for Santanu.Das
0
868
Member Avatar for gautamraj.saxena

Need to program timeseries using RStudio in visual basic. Am trying to use time series forecastingto predict a critical newborn baby’s possible outcome in a intensive care unit so as to alert caregivers to possible detrioration.

Member Avatar for rproffitt
0
140
Member Avatar for Vinod_16
Member Avatar for LesF
0
558
Member Avatar for Jean-Claude

Hi, I run a VB6 programm that open Excel.xlsm I close the VB6 programm Excel.xlsm is always open I run a VB6 programm How can I work on the already ope n Excel.xlsm and not open an other Excel.xlsm? My OS = Windows 10 Thanks in advance for your help …

Member Avatar for Neena_3
0
671
Member Avatar for dibakarmishra

I'm working with VB.net 2010. I need an windows form where i can select scanner's connected to my pc and then scan image and save it by a save dialogbox.... Waiting for help.....

Member Avatar for Mr.M
0
2K
Member Avatar for John_192

I have an Epson receipt printer (Model number: TM-T88V), but I cannot use it. I do not have a POS (point of sale) software that will let me do what I need to do, nor do I have the knowledge I need to understand the developers guide manual that comes …

Member Avatar for rproffitt
0
825
Member Avatar for Obbie_1

INGGRIS How to connect device scanner with visual basic, its analogy I made button scan in vb and typing button scan in press scanner live and walk .. how? Help me sir

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

Hi, I have one doubt. I did creat a new software from vb 6.0. Database management system. I am using MS access database. that is saved and connectivity in my C drive. And I did out put the exe file. What i need na, i did install this software one …

Member Avatar for Schol-R-LEA
0
447

The End.