20,899 Topics
![]() | |
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 '" & … | |
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 … | |
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. … | |
I want to make a youtube downloader software but not with the help of any other kind of webpage | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
![]() | 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 … ![]() |
Hi, Can anyone suggest that how to add headers in word doc which is generated through openXML. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
hello members i want to make a pi chart in my programe , How can i make it , please help me hurry.. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 | |
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() … | |
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 | |
This is the code to align the content of a Panel in the Center, Hope this Helps :) | |
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 … | |
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? | |
hi,friends i have 14 columns in my access data but i want print only selected colums help me frinds | |
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 … | |
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 … | |
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 … | |
hi .. could you please give me an advice about an easy way to be a creative programmer ? thank you | |
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 … | |
i want to **copy** rows from one datagridview in **form1** to another datagridview in **form2** please help me !! | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |----|------------------------| … | |
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 … | |
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 … |
The End.