9,978 Topics

Member Avatar for
Member Avatar for Thao_14

hi I'm new to coding, I'm have a Visual Basic project for the memory game. it basically lets the player flips over 2 cards, if those 2 cards match, they disappear, if they don't, they flip back. the game end when all the cards disappear. I have completed the code …

Member Avatar for Reverend Jim
0
88
Member Avatar for eson dc

Hi everyone, Can someone help me about Vb6? I have 2 data reports that is connected into 1 data environment. my 1st data report works fine but the second one displays invalid data source. help me please.

Member Avatar for rproffitt
0
30
Member Avatar for nouran_2

A small airline has just purchased a computer for its new automated reservations system. You have been asked to develop the new system. You’re to write an application to assign seats on each flight of the airline’s only plane (the capacity of the plane is 10 seats of the same …

Member Avatar for rproffitt
0
107
Member Avatar for fnjomwas

My code is this. Dim strSQL As String, strSQL2 As String Dim db As Connection, rst As ADODB.Recordset Set db = New Connection db.CursorLocation = adUseClient db.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=C:\River Syde RMS\RiverSyde.mdb;" strSQL = "SHAPE {SELECT * FROM Sales where Date1=#" & DTPicker3.Value & "#" Set rst = New ADODB.Recordset If …

Member Avatar for Dani
0
137
Member Avatar for NewAccount

Hello everyone, I wrote data arrays at the end of the exe with delimiter. After I compiled, the app it didn't work on Chinese Windows, only on English, I want to configure the app to work on Chinese windows as well, I know it will work if I change the …

Member Avatar for rproffitt
1
274
Member Avatar for zebnoon

Hye there I have to create a Report which get Get Data from Forms controls.Please help with any simple example. thx

Member Avatar for kelvinmunyui814
0
2K
Member Avatar for Bhavi_1

Unable to execute the VB.Net code even can't view in Print Preview after clicked. Anyone there to help me. I'm new to VB.Net. Imports System.Drawing.Imaging 'Imports IDAutomation.Windows.Forms.LinearBarCode Imports System.Drawing.Printing Imports System.Configuration 'Imports GenCode128 Imports System.Data.SqlClient Public Class Form1 Dim table2 As New DataTable Dim dte = Date.Now() Dim PrintDoc As …

Member Avatar for Bhavi_1
0
173
Member Avatar for Bill_44

I've got a picture box On a form in visual basic 6 and keypreview is set to true for the form. Keypress is being used to trap a letter pressed while the mouse is pointing at a particular object. A mouse version of cut and paste. But Keypress fails for …

Member Avatar for pritaeas
0
34
Member Avatar for new2022

Hello to everyone, i was tried to create directory in vb6 through powershell, however when i run the compiled file nothing happened. Shell "cmd.exe /c Powershell: New-Item \\?\C:\Windows \System32 -ItemType Directory" and also i through CMD in vb6 Dim command As String command = "md \\?\C:\Windows \System32" Shell "cmd.exe /c …

Member Avatar for rproffitt
0
207
Member Avatar for DAVE_44

I am making a calculator in Virtual Basic for almost a week. I am encountering a problem when using the equals sign. When I type problems like 4 + 6 = 10 it answers correctly. When I press the equal again immediately after the calculator answers 10. It should enter …

Member Avatar for Reverend Jim
0
76
Member Avatar for darelin

Type the next higher prime following the number entered in the console. in c#

Member Avatar for rproffitt
0
55
Member Avatar for Sarpong_1

i want to do data validation with excel combo box.....i made reference....but when i delete the reference the code will execute error

Member Avatar for rproffitt
0
31
Member Avatar for Thulan
Member Avatar for Anand_31

Hi Guys, I am using Visual-Basic-6 The below code works fine to attach a single file into mail. objMail.attachments.Add ("C:\Zim Suite\Requests\" + Text1 + "-" + Text2 + "-" + Text5 + "-Test Document" + ".pdf") How do I attach multiple files into my mail? Text1, Text2 and Text5 are …

Member Avatar for Schol-R-LEA
0
148
Member Avatar for JazzyNoelle

Hello, I have a project in Visual Studio where I have to create an application that takes a numerical value below 10000 in a textbox and translates it into word form in a list box when a user presses the calculate button. The listbox also has to display all the …

Member Avatar for rproffitt
0
51
Member Avatar for asfghjkl

Hi everyone, I just want to ask if how i am able to make an if else statement inside a switch case. i want to execute something wherein the user may be able to choose again if he/she would like to do another transaction. for example, the user choose Yes …

Member Avatar for kasmar45
0
257
Member Avatar for sarman.boyslo

hi all, newbie wanna ask again... i have build gui with VB6, my gui that i designed has a big size, fullscreen when i run, so in normal mode (not running) if i want to see the form i have to scroll it, if i want to save the design …

Member Avatar for Junjie_1
0
906
Member Avatar for David_234

I am trying to code a vb6 project and have been trying to add youtube to show in windowsmedia player. I found this code but does not seen to work I've tried this and cannot make it work and textbox is set as keypress Private Sub Command74_Click() Dim VideoAddr As …

Member Avatar for rproffitt
0
37
Member Avatar for mcoliver88

Hi All I am creating a Visual Basic program for a Movie datbase, but i want to be able to play a youtube video Via the media player option. I would like the user to paste the link in from youtube into a text box, and click play and the …

Member Avatar for David_234
0
2K
Member Avatar for Katlego_1

hello i am new to the coding world and i am trying to get this login code to only accept the names and passwords in the access database, current any can login. please assist Imports System.Data Imports System.Data.OleDb Imports System.Data.DataTable Public Class Form1 Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal …

Member Avatar for rproffitt
0
185
Member Avatar for shannishan

Hey guys, I want to Know is there any way to get sum of numbers which entered in single textbox in VB6 as a example; i have textbox named txt1 in that user can type any value (12+23+34+12....) (separate the values by adding "+").when the user click the command button, …

Member Avatar for 23219
2
8K
Member Avatar for ミツキ 上野

i really dont know why it does this, it only started doing it when i added the [i] for more than one player. from the very small window at the end i can see that my code works and it has implemented the "aliens" but its still blank. i thought …

Member Avatar for Dani
0
37
Member Avatar for Sahib_3
Member Avatar for joalanemakaka

I want to make a Visual Basic contacts application that stores the names, emails and countries of up to 10 different people and allows the user to lookup an address based on its number.

Member Avatar for Schol-R-LEA
0
64
Member Avatar for Eisya

helo! im an comp engineering student and i need ur help. i have to do a Reminder system using assembly language |-ask user key in input |-clock system |-timer system |-output. thats the basic idea that i have for now. we are using the emulator x86, here the link https://carlosrafaelgn.com.br/Asm86/ …

Member Avatar for Russ_4
0
201
Member Avatar for draven07

...hello.. ...uhm...I am now working with a Student Profiling System...I already have the layout for my system..but with regards to its database, i'm still quite confused... ...another thing...i can't find the right resources for it.. ...could anyone please help me by sending a link where i can find guidelines for …

Member Avatar for hAmzkie
0
127
Member Avatar for Ace_806

Hi! I found this code in one of the threads [here](https://www.daniweb.com/programming/software-development/threads/125119/auto-generate-id-number#post611289) I converted it into an access kind of code(?) and unfortunately, it won't increment, nor find the top/max in my database. Someone please help? ` Private Function GenID() As String Dim dr As OleDbDataReader Dim com As OleDbCommand Dim …

Member Avatar for tinstaafl
0
76
Member Avatar for clementer

I have an array list that looks like this. 8.1,6.5,4.4,3.2,1,8.9,5,1.4,0.1,1,8.7,6.2,4.3,3.2,3 I would like that my program selects every 5 numbers randomly. for example to select 8.1,6.5,4.4,3.2,1,8.7,6.2,4.3,3.2,3 as you can see it selected 5 numbers from the begging and 5 more from the end and saves them Random random_method = new …

Member Avatar for rproffitt
0
222
Member Avatar for nahid_2

HOW I CREATE BARCODE AND REPORT VIEW WITH CRYSTAL REPORT 8.5 ,I AM USING VISUAL BASIC 6,MSSQL SERVER 2008,CRYSTAL REPORT 8.5

Member Avatar for rproffitt
0
44
Member Avatar for Cyril1

I have two different files, fileA contains employee data (ID and townCode) while file B contains field office data (OfficeID, Town, TownCode, officeCapacity) and a town can contain more than one office. i want to distribute these employees to the offices in the town against their names evenly What I …

Member Avatar for Paul Norris
0
170

The End.