16,916 Topics

Member Avatar for
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
236
Member Avatar for igor_10

Hey guys I've a problem on my code, when I open my code on visual studio code, on live server system, the slide get column, but when I open the .html without the live server, the slide it gets in row. ![Captura_de_tela_2022-02-20_120343.jpg](https://static.daniweb.com/attachments/4/5748cda0e5698f8862109ff9832a8a58.jpg) ![Captura_de_tela_2022-02-20_120319.jpg](https://static.daniweb.com/attachments/4/692941b3ec3212a0f288908be6314c14.jpg)

Member Avatar for Dani
0
45
Member Avatar for priyamtheone

I'm using Visual Studio 2017. After installing Productivity Power Tools 2017/2019 extension, I can't use the copy operation. The first time I try to copy a line or block of code after installing the extension, Visual Studio generates an error saying: > "Type library exporter encountered an error while processing …

Member Avatar for priyamtheone
0
74
Member Avatar for complete

In a C# solution, how do I add an .EXE project to a solution of DLL project's? This is using Microsoft Visual Studio Professional. I have been handed a solution file which contains three projects. But all three projects generate DLL files. It is kind of unique because I have …

Member Avatar for tinstaafl
0
176
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
35
Member Avatar for Micheal87

Hi, I try to show up a notification when an if statement is true, but it doesn't show up also I checked the win 11 notification is something was on, but all things is off. In case I can only create a custom one. S.O = Win 11 Version of …

Member Avatar for Micheal87
0
120
Member Avatar for UKnod

I am using visual studio / basic 2019. using the windows media to play sounds (WMPLib.WindowsMediaPlayer). It works great, I can play multiple sounds etc. However what I realy want to do is play some sounds on sound card A. And other sounds in sound card B. I am thinking …

Member Avatar for UKnod
2
784
Member Avatar for complete

I am starting a new coding job with a new client. The problem I am having is that a lot of issues with namespaces that can not be found or maybe missing directives or an assembly reference. This, I think, is a common thing. So I am wondering where I …

Member Avatar for rproffitt
0
65
Member Avatar for Thulan
Member Avatar for Adm666

I'm trying to authenticate to Sharepoint site i've made (it has a list with 2 items in it), i need to print its title to the console - really simple approach. with OfficeDevPnp.Core Nuget installed i tried the AppOnly following code: public static void AppOnlyAuthCall() { using (var clientContext = …

Member Avatar for pritaeas
0
70
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 Gonzalo_3

Hello. I want to start studying the Golang language but I can't find any IDE that I can configure well, can you tell me an IDE that is good for Go and how to configure it (explained for fools in Spanish), please? I have tried with Sublime, Visual Studio Code …

Member Avatar for rproffitt
0
65
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 LucianAdamson

Using: Visual Basic .NET 2012 Problem: I am using the code below to get the version information from a system dll. It returns a version number and I check the file manually by going to C:\windows\system32, right clicking, going to properties, clicking on Details and the version number that VB.NET …

Member Avatar for phinisdo
0
2K
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
54
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 TimTheCoder

Am trying to implement face detection using the PCA algorithm in C#,I have a button on my windows forms that is supposed to intitiate the learning process once it is clicked. It should use the images in a folder called training to compute the eigen values and eigen vectors so …

Member Avatar for rproffitt
0
92
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
65
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
195
Member Avatar for Brandon_30

I'm getting an error I'm very new to vb.net and designing an application with visual studio 2019. My application is to Read the registry key open subkey to retrieve displayname and displayversion. I would like to add an array to read multiple key values under the key locations for both …

Member Avatar for rproffitt
0
1K
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 kasmar45

Hello. In a previous post I said I was working on a calculator program, and when I finished it I would share it with you all. Well, I finished the first draft. If anybody would like to see it, I will share it here. It is fully functional. You will …

Member Avatar for Dani
1
31
Member Avatar for complete

This is on a Windows 10 computer. I have successfully completed setting up IIS and system settings for running a web page written in Classic ASP. I can launch it from my IIS manager and it comes up in my default browser. iis: Enable Client-side debugging: true Enable Server-side debugging: …

Member Avatar for rproffitt
0
22
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
111
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
207
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 shane1961

Visual Basic - Visual Studio 2019. My desktop status bar disappears when I open my application. Controlbox = False FormBorderStyle = FixedSingle StartPostion = WindowsDefaultLocation WindowState = Maximized Any help appriciated.

Member Avatar for rproffitt
0
64
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
Member Avatar for Hammed_1

Please am new here and I need you guys help am trying to save a fingerprint template into my database (Sql server) but is not working, this is my code Dim fingerprint as Memory stream = new MemoryStream Template.serializ(fingerprint) fingerprint.position=0 Dim be as BinaryReader = new BinaryReader (fingerprint) Dim bytes() …

Member Avatar for pritaeas
0
105
Member Avatar for sonalibadoliya

Kya aap bta skte ho ki msflexgrid ko hum ms access k database table s kese connect kar skte h visual basic 6.0 mai.

Member Avatar for rproffitt
0
16
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
258
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
137
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
77
Member Avatar for Farah_6

Develop a visual basic program that asks the user to enter an integer positive number, then reverse this number as a single integer and display it in a textbox. For example, if the user enters 235 the output should be 532. If the input is 79534 the output is 43597 …

Member Avatar for rproffitt
0
45

The End.