10,992 Topics

Member Avatar for
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
112
Member Avatar for Farwa_3

I want to filter the datagridview on Search button click,i am using 3-tier architecture,the grid should be updated with the search result

0
24
Member Avatar for JModak

how can i configure ip address, submask, getway, DNS1 and also DNS2 please help me i use this code but DNS not added what is the actual code for add all with DNS1 &2 Please help me Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click Button2_Click(sender, …

Member Avatar for markanderson_1
0
241
Member Avatar for andrea.fornaro

ciao a tutti, qualcuno mi può dare una mano...vorrei fare un form con un pulsante che al click inserisce i dati in un db access, avrei bisogno del codice per la connessione al db, e lo statement per il pulsante grazie

Member Avatar for Dani
0
77
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
143
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
292
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 heylol

Hey can someone please tell me how to assign keys to buttons, I tried with a code but it only works once or it only works when I have to press the button on the screen and then use the key but it only works once Can someone please help …

Member Avatar for rproffitt
0
56
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
205
Member Avatar for Vmr_574

Hello all, I have a question I have a list view in eg and there are songs in it now I want when I click on a button that he plays all the music in succession but I can't get that done can someone send me an example? Thank you

Member Avatar for rproffitt
1
68
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
37
Member Avatar for Logang

I am using the code below to populate the DataGridView. I need help in that the Barcode Image is not being generated according to the txtLab.text amd the alphamumeric value. Please see attached image. Thanks Private Sub btnAdd_Click(sender As System.Object, e As System.EventArgs) Handles btnAdd.Click Dim alphaNumeric As String = …

Member Avatar for rproffitt
1
63
Member Avatar for joshi1984

Hi, I had a longer break, but now I want to continue working on my little project to make my work easier. I have an Excel file which I converted to CSV because there is no Excel on the target system. I would like to search for a number or …

Member Avatar for jamesfilipson
3
807
Member Avatar for nurman_1

I want to insert the deleted data into another table (Like table history) in sql server database using visual basic 2008 by scanning QR Code data. What I have done in my source code program is like this; Private Sub btnDel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDel.Click …

Member Avatar for pritaeas
0
65
Member Avatar for Android Oyunlar

how to use splitter to resize container (splitter is inside of it and docked to left,container is toolstripcontainer) in vb.net

Member Avatar for pritaeas
0
167
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
223
Member Avatar for JModak

How can I check special characters are there (String) or Display on label? I Use this but it is only count Dim input As String = "Hi! Hello, How are you?" Dim pattern As String = "[!""#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~\s]" Dim matches As MatchCollection = Regex.Matches(input, pattern) MessageBox.Show(String.Format("There are {0} special characters in …

Member Avatar for Minimalist
0
742
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
99
Member Avatar for emmanuelroa50
Member Avatar for fx.eko

hi everyone can you give an example of coding in vb.net vs2010 how to make a report in crystal report 2013 with sub report thanks for advanced

Member Avatar for xrjf
0
324
Member Avatar for darelin

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

Member Avatar for rproffitt
0
59
Member Avatar for Arkilem

Hi ! I'm using Visual Studio 2017 to do a windows form app, and I have an issue with labels and images. I'm trying to create a label that contains an arrow image (left arrow), but when the label is clicked on the arrow image has to change for the …

Member Avatar for Reverend Jim
0
235
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
34
Member Avatar for Thulan
Member Avatar for RalphGarner

I am a profession (retired) visual basic programm and have devleoped an stock market application, which work just fine on my pc. Basicall, it reads file for yahoo and creates local file, and analyses the data and rearranges the data in 20 difference way to help user decide how to …

Member Avatar for pritaeas
2
249
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
168
Member Avatar for Aja_630

we already have the barcode maker that can scan but we dont know how to save it to an attendance using excel.

Member Avatar for rproffitt
0
46
Member Avatar for Zerrin_1

Hello! *I need help * I need to calculate average of the elements of the matrix in **vb.net ** 5 2 1 2 5 5 2 -2 1 5 -1 1 1 -1 -5 -2

Member Avatar for Schol-R-LEA
0
165
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
53
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
275
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
1,000
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
39
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 Edin_2

Hello, i started to learn coding if you call it for c++ (windows forms). I created a button with a Fixed Text and a Button to Copy the text. What i need now is a "Add" button that adds alot of desired numbers and shows them in a second TextBox. …

Member Avatar for rproffitt
0
86
Member Avatar for TomTom2525

A University wants to make a basic graphical display to show how many people received different grades for a piece of work on a module (histogram). You are required to write a program in C++ that achieves this. The program consists of the following three tasks: Task1 The program should …

Member Avatar for rproffitt
0
61
Member Avatar for Phillip_8

Hi guys im trying to do a Login system in Wpf with Visual Studio I got the code and DB working fine with Windows Forms in Visual Studio I have changed the code 3 times and they all work on Windows forms but not with Wpf Forms. Below is the …

Member Avatar for Santanu.Das
0
141
Member Avatar for minoesje

Hello I'm trying to create an update statement where it updates inlever_datum with a date from now + 7 days later I already have this case "0": //doesn't work $id = $_GET['id']; $date = date("Y-m-d"); $new_date = date('Y-m-d', strtotime($date. '+7 day')); // je moest '' eromheen zetten $sql = "UPDATE …

Member Avatar for AndrisP
0
64
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
194
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 Vinod_16
Member Avatar for SoftBa

Hi guys, I have one question about Visual Basic and DataGridView behaviour. So, after I type all the text boxes and click on button (save data), I would like user to get focus on that new data. Now, each time button is clicked, DataGridView goes on a first row. New …

Member Avatar for SoftBa
0
277
Member Avatar for amroasm

How to create sql Query..table_Transaction Ref_No Trn-Date Cust_Code Debit Credit how to create closing balance,Opening Balance Filter by Cust_Code And Trn_Date

Member Avatar for rproffitt
0
26
Member Avatar for Hammed_1

Hello I have VB.NET System ; I wanna to make setup (.exe) for the program. The Program depend on SQL Server Database. How I can make it exe file with the database, and to install all the configuration on any PC. What I shall do according to the connection string …

Member Avatar for rproffitt
0
48
Member Avatar for I_GEVO

hi, I put a button to run the batch file and everything is fine But when the file works it asks for other files that are complete to run it and I did not know how to merge it together to work properly and these pictures ![1.png](https://static.daniweb.com/attachments/4/83b5662430989d1e87d8ad82ef1a2851.png) ![3.png](https://static.daniweb.com/attachments/4/7a92fe7a9051f62f3c292b5b8830433a.png) ![Screenshot_13.png](https://static.daniweb.com/attachments/4/cc156d0fa8215abef8802da216cc1a96.png) ![2.png](https://static.daniweb.com/attachments/4/18a4dd6b1d04de74b1629bd70a0ee460.png)

Member Avatar for tinstaafl
0
110
Member Avatar for Logic_Brown

I found this peaice of code to import a Access database table to sql server Private Sub btnImport_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnImport.Click Dim fileName As String = "" Dim ofd As New OpenFileDialog If ofd.ShowDialog = Windows.Forms.DialogResult.OK Then fileName = ofd.FileName PerformImportToSql(fileName) End If End …

Member Avatar for SoftBa
0
633
Member Avatar for wes.e.gifford

VB6 app developed on Win XP with DAO 3.6. Compiles and runs in XP with the db updating correctly. When app.exe file is copied to and run in Windows server 2012, the app runs and sees the incoming data but will not write to the mdb database. Any ideas?? Thanks.

Member Avatar for wes.e.gifford
0
206
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
40
Member Avatar for aichakh

Hey guys im new here n i need some help uploading image in windows form with vb.net and i don't mean picture box Thnx in advance, its so urgent

Member Avatar for rproffitt
0
220
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
67

The End.