20,899 Topics

Member Avatar for
Member Avatar for mbowenitj

Hi everyone, I need help in selecting between date ranges. I have two dateTimepicker and want to retrieve only records selected between selected dateTimepicker.I tried but im getting all records. I'm using SQL server database. Here is my code: selectQuery = "SELECT * FROM EmployeeRegistration WHERE EmpJoinDate BETWEEN '" & …

Member Avatar for Reverend Jim
0
179
Member Avatar for Nancy_5

so basically i want to connect 2 forms together. whereby in form 1 i either have a picturebox/image (picture of a shoe) and in form2 i have a datagrid (connect using access) and few other buttons of add, edit and delete, but i want to link that data grid with …

0
122
Member Avatar for Erald

Im making a simple login form for my project and I faced this annoying database connection problem. The problem is I can't connect to "MSACCESS2013" it directs me to my errorhandler but I'm pretty sure my datasource is correct. I already created a datasource and I'm using its connection string. …

Member Avatar for Erald
0
2K
Member Avatar for altjen

I want to make a youtube downloader software but not with the help of any other kind of webpage

Member Avatar for rproffitt
0
156
Member Avatar for Mhargail11
Member Avatar for mbowenitj

I need help. I have a search button and 2 textboxes.Textbox1 should diplay the employee id when the search button is clicked (and it works fine).But I need to automatically see the employee name in textbox2, based on the employee id on textbox1.I'd really appreciate your help. Below is my …

Member Avatar for mbowenitj
0
232
Member Avatar for Olanrewaju_1

Hi everyone! i am currently working on a project that involves a mssql 2012 database. i have some table columns that i want to calculate and get the amount saved in the total column. And at the same time, i want to be able to display the table with datagridview …

Member Avatar for Santanu.Das
0
354
Member Avatar for Suzie999

Hi all. I have a need to use native/C++ code in C# application. I basically want the lower level functionality of C++ with a good looking C# GUI. Calling native functions from C# via Dllimport is not what I want to do. The native code will need to be running …

Member Avatar for Suzie999
0
833
Member Avatar for altjen

Im trying to create something like a simple OS. but Im trying to make the drag and drop system, I dont know even how to start with this, any help?

Member Avatar for rproffitt
0
249
Member Avatar for Imam_3

Hi All Masters, According to advice from master shark 1 and read [Tutorial about BackgroundWorker](https://www.daniweb.com/software-development/vbnet/tutorials/477520/how-to-use-backgroundworker-to-create-threads) created by Rev.Jim I'm trying to use BackGroundWorker for querying database an set new labels...here's my code: Private Sub FormMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load BgWorker.RunWorkerAsync() End Sub Private Sub BgWorker_DoWork(ByVal …

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

Hello there, iam new to this forum but iam also new with retrieving data from a mysql database to an label in vb.net. Iam using vb 2010 and my mysql is hosted on a server. Here is my code: Imports MySql.Data.MySqlClient Imports System.Data.Sql Imports System.Data.SqlClient Public Class Gamefrm Dim con …

Member Avatar for djrico8
0
305
Member Avatar for Rajni Gupta

Hi, Can anyone suggest that how to add headers in word doc which is generated through openXML.

0
87
Member Avatar for Imam_3

Hi All Masters This is my Second question and problem ...i have some code here Sub SetLabels() Call MySqlConnect() Dim str As String str = " Select * from room " da = New MySqlDataAdapter(str, conn) ds = New DataSet da.Fill(ds, "room") For i = 0 To ds.Tables("room").Rows.Count - 1 …

Member Avatar for Imam_3
0
1K
Member Avatar for Johnny Joe

after adding this it will update in datagrid.how can i view the selected row in datagrid in my textbox and will allow me to edit and update it.thank you! Private Sub btnSave_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click if not conn.state=connectionstate.open then conn.Open() End If Dim sql …

0
111
Member Avatar for altjen

Its been a while that I'm trying to create a web browser who visit websites (this is really easy to do) but the hard thing Im trying to do is. you set up your own proxy. to change it when you click a button. textbox 1 has the ip, textbox …

0
105
Member Avatar for zelrick

Hello VB.net Programmer; Good day Daniweb'ers; I have a problem to my Excel Data going to DGV; Only Selected items in excel will be put in the DGV; I don't have a database for this problem; So here it is; This example from excel file: 1 2 3 4 5 …

Member Avatar for Begginnerdev
0
934
Member Avatar for Imam_3

Hi All Masters I'm trying to create a form with multiple labels from mysql database, im confused to add newlabel text from records here's my code Dim str As String str = " Select koderoom from room " da = New MySqlDataAdapter(str, conn) ds = New DataSet da.Fill(ds, "room") For …

Member Avatar for Imam_3
0
1K
Member Avatar for gbhs

Greeting to daniweb I must partition by Type and rank the following datable ( called dt) by LoanAmt column with ties Type LoanAmt Rnk ==================== A 14 A 15 A 13 A 11 A 11 B 17 B 18 B 17 B 16 As a new learner, I have read …

Member Avatar for gbhs
0
136
Member Avatar for satti

I have a code regarding SMS sending ,but the issue is its not working i have tried to change the buad rate and com port but still not working.Please suggest me what is the reason ? Imports System Imports System.Threading Imports System.ComponentModel Imports System.IO.Ports Public Class Form1 'connect your mobile/GSM …

Member Avatar for Santanu.Das
0
311
Member Avatar for basit_3

hi member i want to make an array at runtime from the input of textbox for example user enter like "34,53,34,2,5,23,13" i make array of this how can i do this

Member Avatar for Reverend Jim
0
93
Member Avatar for Christopher_12

i would like to know if it is possible to translate my code according to a database(currently using microsoft sql server) the code i have it is encrypting and decryption on a file inside the microsoft visual studio project i want to connect it to the database this code is …

Member Avatar for Reverend Jim
0
496
Member Avatar for basit_3

hello members i want to make a pi chart in my programe , How can i make it , please help me hurry..

Member Avatar for basit_3
0
122
Member Avatar for altjen

hi all, I want to make a software who change your IP or Proxy and navigate into website with that changed ip (a webform is inside the form) this is a code I found on internet to do. this is not by me. Imports System Imports System.Runtime.InteropServices Public Class IEProxy …

0
144
Member Avatar for Satyam_1

In vb.net application, I have a dgv. the data from dgv are transferred to textboxes when row are selected. I print these textbox as report using e.graphics. after printing perticular row data , that row is removed from dgv. (i filtered the dgv by "NotPrinted"). I want with a single …

Member Avatar for zelrick
0
287
Member Avatar for zizo.ahmed.779

hi i'm developing my app which be done by vb.net for calculating aluminum measures and profile cutting list now i connect results with database and get list of different sizes in all profiles but i want to add code to optimize these measures for stock length ex. i have parts …

Member Avatar for rproffitt
0
224
Member Avatar for Christopher_12

i am new in this encryption and decryption i would like to have my encryption appear on my database (currently using microsoft sql server) i create 3 forms : one for the registration which means when u will register, u will be able to access the 3 forms by entering …

Member Avatar for Reverend Jim
0
315
Member Avatar for Mr.M

Hi Dw. I would like to know how can i auto type and submit a form using vb.net, I'm not using Webbrowser or should I use it? I just saw another post similar to this except that the OP requested to auto click the button. What I want is to …

Member Avatar for Mr.M
0
217
Member Avatar for Sneaky Pete

Hi guys, To make Some things easier, I want to make a program that can do the following: 1. Import a .txt file to a specific .xls file. The .txt file contains several lines of data which is build like this: (aaaa,bbbb,cccc,etc.) sererated by comma. Imported in excel, I would …

Member Avatar for Reverend Jim
0
325
Member Avatar for Scott_10

Hello! We usea third-party program that permanently saves our files. To save the files, we must drag each file into the window of their program and it uploads and saves the file. I need to add over 1,000 files each quarter, so I started looking into automating the proess. The …

0
102
Member Avatar for John_91

hi friend i have created management software. but i want add year option like accadamic year 2014-2015 and 2015-2016. my question is how to creat new accadamic year with my same access data

Member Avatar for Begginnerdev
0
202
Member Avatar for bantex07

I got a big problem everytime i deploy my program on another machine error appear when open crystal report and it says Failed to open Connection

Member Avatar for Pascal_1
0
171
Member Avatar for Pascal_1

Hello everyone, I've a little problem with updating my Access DB. I use this code to update my db in vb.net. Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button9.Click Try oledbCmdBuilder = New OleDbCommandBuilder(adapter) changes = ds.GetChanges() If changes IsNot Nothing Then adapter.Update(ds.Tables(0)) End If ds.AcceptChanges() …

Member Avatar for Pascal_1
0
242
Member Avatar for John_92

Try con.Open() MsgBox(con) qry = "Select sum(slpri) From sales where slsnum > '" & 10000 & "'" cmd = New MySqlCommand(qry, con) dr = cmd.ExecuteReader() If dr.Read() Then sum1 = (dr("slpri").ToString) stotxt.Text = sum1 End If con.Close() Catch ex As Exception MsgBox("ERROR:" + ex.Message, MsgBoxStyle.Exclamation, "ERROR") con.Close() End Try

Member Avatar for Reverend Jim
0
97
Member Avatar for iPoor
Member Avatar for iPoor
0
4K
Member Avatar for hwoarang69

I am trying to get similar effect as this link: http://api.jquery.com/slideup/ ## What I am using: ## vb net, JQuery,css ## what I am trying to do: ## I have a div with ID 'box' and inside this div, I have one span and one imagebutton. When user click on …

Member Avatar for Begginnerdev
0
223
Member Avatar for altjen

I have a file set in this folder "C:...../users" (is not real) I want to change the file path with code to set at "D:...../users" how can I do that?

Member Avatar for Begginnerdev
0
104
Member Avatar for John_91

hi,friends i have 14 columns in my access data but i want print only selected colums help me frinds

Member Avatar for Begginnerdev
0
112
Member Avatar for crazyhorse09

I searched, but have no clue what to do. I have a small picturebox(34x34 pixels) and want to have a transparent label(maybe 12x12 or 15x15 pixels) in the corner of it, which will be used as a counter. I saw another forums suggesting adding the PictureBox as a parent to …

Member Avatar for Yunoos Shiddique
0
15K
Member Avatar for zelrick

Please help me, I'm not really good in programming. I've done converting text file going to excel, and excel going to DataGridView. Here's my problem: I want to get the specific one or two numbers (maybe up to three). example: 98321 12345 67890 54321 09876 'this numbers in excel. (First …

Member Avatar for zelrick
0
713
Member Avatar for Iin_1

Hi to all experts, i have a big problem here, i want to print data from my datagridview, when i select 1 row.. there is no problem, but when i try to print multiple row, just first selected row appear here is the code : private void button4_Click(object sender, EventArgs …

Member Avatar for ddanbe
0
2K
Member Avatar for highschool

hi .. could you please give me an advice about an easy way to be a creative programmer ? thank you

Member Avatar for Mr.M
0
207
Member Avatar for John_91

HI I HAVE MS ACCESS TABLE COLUMNS SEX (MALE FEMALE) CLASS (6,7,8,9,10,11,12) I WANT TO COUNT HOW MANY MALES IN CLASS 6 AND HOW MANY GRILS IN 6.AND I WANT COUNT EACH CLASS. I AM TRYED BY THIS CODE BUT ITS NOT WORKING Dim Y As Integer = 9 Dim …

Member Avatar for John_91
0
330
Member Avatar for teze

i want to **copy** rows from one datagridview in **form1** to another datagridview in **form2** please help me !!

Member Avatar for Hardz
0
2K
Member Avatar for computer_man

How do I import some values from .txt files to a VB.NET DataGridView and then store them on a SQL database? I don't need all file values. I don't know how to get words after ; or ;;; or 1 SPACE or 3 spaces, and after the loop is finished …

Member Avatar for zelrick
0
905
Member Avatar for Christopher_12

i need some help concerning the encryption and decryption i have a login table on my microsoft sql server 2012 but i want to do the encryption and decryption remember i have 5 departments and i want to direct each username and password to a specific department form that i …

Member Avatar for tarunap
0
2K
Member Avatar for Iamateur

I have added form1 and on it 2 text boxes. text box1 to accept fromdate and textbox2 to accept todate. After this,I added Crystal report from Add new Item. Then in Crystal report I added table and its columns. After that I wrote code behind form1. The code is not …

Member Avatar for Oheneba Kwadwo
0
2K
Member Avatar for sonlamhpu

Dear brother Sorry for my bad english Please help me in this case I import with big data to Datagridview It's take long time, and i want to using progessbar for wait I try to do this But it's seem not good Please help me Thank you so much! `Inline …

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

User will enter a date, for example "7/1/2015". Than I will check in database and return some result if match. Note in database there is data/Time but user will enter only date. Below I have a following database set up Table = "workStartTable" |----|------------------------| | ID | StartBy | |----|------------------------| …

Member Avatar for Hardz
0
219
Member Avatar for Kiri_1

Hi Guys! I'm trying to create an addition game with an image to display as the given number (addends) EX. instead of just displaying texts like 1+1 = 2 I will be using images to display the given numbers and the answer. I have created some codes here that was …

Member Avatar for tinstaafl
0
289
Member Avatar for Christopher_12

I want to encrypt and decrypt the password and username of my login table I already populate my login table with 5 rows Can anyone suggest some Encryption and decryption algorithms for Password protection? here is my current code Option Strict On Imports System.Data.SqlClient Public Class Frmlogin Private strCon As …

Member Avatar for Reverend Jim
0
322

The End.