20,278 Topics

Member Avatar for
Member Avatar for kumar_g

Hello Friends I am VB.NET Programmer and currently working on a project where i have to copy the rar/zip file from any folder. While pasting it, it should extract the rar/zip contents automatically. I am done with my extracting part but Here are some problems i am facing Problem 1 …

Member Avatar for tinstaafl
0
284
Member Avatar for jontennyeah

I have a 3 columns in my MS access database namely ID, Name and Type. The Types are Driver, Conductor, and Inspector. I want is i click a button, all names in column "Name" that is classified as Driver will be the items of my combobox, also the other two. …

Member Avatar for jontennyeah
-1
142
Member Avatar for hafizhin.rosyiid

help me i want get data from combobox into single datagridview forecasting i have 3 table table 1 = Jenis with 3 column = IDPemakaian,JenisData, JenisPelanggan table 2 = Periode with 6 column = Nomor, IDPemakaian, JenisData, Periode, Tahun, Jumlah table 3 = Pelanggan with 6 column = Nomor, IDPemakaian, …

0
110
Member Avatar for ImZick

Hi, Sorry i need to ask for a help again. I have a listview and a search button i want to populate my listview when i click a button to search the field name "Last Name" for example i want to search "Sample" then it will populate my listbox with …

Member Avatar for Reverend Jim
0
484
Member Avatar for Papa_Don

Group, Via Visual Studio 2010, I've created a SQL Server database with the appropriate fields, data types, etc. I'm now ready to begin some testing, however I need to put some information in those datafields. I'm having trouble doing this. I DID NOT set the tables to display in the …

Member Avatar for Reverend Jim
0
306
Member Avatar for vinay7868

hiii am just gong to start the coding for barcode generator so can any one help me or guide me how to start and what to do...

Member Avatar for vinay7868
0
447
Member Avatar for Papa_Don

Group, I have a form that opens with a panel and multiple textboxes displayed that I created via the GUI. Once the user enters the desired information within this panel, a button is click and a new panel appears with the same textboxes displayed as the original. This panel and …

Member Avatar for Papa_Don
0
169
Member Avatar for HctiMitcH

I am trying to create a program that searches a screenshot 1600x900 px for a smaller image 200x50. For example on this website I would like to have the program take a screenshot and then search the screenshot for the DaniWeb logo. I would like the coordinates of the center …

Member Avatar for HctiMitcH
0
219
Member Avatar for HctiMitcH

I am working an a simple project that required a vb.net login form. I added a login form that was preinstalled in visual studio, ex. Menu>Add existing item>login form. I am using visual studio desktop 2012 and I made the project for .NET 4.5. I then realized that my target …

Member Avatar for HctiMitcH
0
424
Member Avatar for samirkhzem

just want to know the correct synthax for creating a table in access database using vb myqry = "CREATE TABLE HoldInvoide'" & k & "'(Barcode varchar(20) not null Primary Key, ItemName varchar(40) not null, Quantity int , Price double, Total double)" k is a variable i want to create a …

Member Avatar for Reverend Jim
0
326
Member Avatar for verbalurbs

Hello I am trying to display an ID which is a primary key in my table by selecting the corresponding name in my table. the names have been saved in a combo box and depending on the name selected the textbox will display that Id. the code I have so …

Member Avatar for martinhosking
0
405
Member Avatar for Minko

Hello, I have a Textbox and on the textchanged event it takes the users input and searches through a database and takes the items which are like the users input and puts them in a listbox which a user can select from. The problem with this method is that it …

Member Avatar for deceptikon
0
160
Member Avatar for jomitz03

Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click Dim cmd As New OleDb.OleDbCommand If Not cnn.State = ConnectionState.Open Then 'open connection if it is not yet open cnn.Open() End If cmd.Connection = cnn 'check whether add new or update If MsgBox("Do you want save?", vbInformation + …

Member Avatar for Reverend Jim
0
254
Member Avatar for Papa_Don

Group, I have 36 string names that I'd like to create. In general these string names can be very similar. I thought I'd try creating a loop to do this for me. But I can seem to find the correct syntax to do this. To clarify, these string names can …

Member Avatar for TnTinMN
0
576
Member Avatar for sonyj
Member Avatar for Ann95

An error was encountered while opening associated documents the last time this solution was loaded. Document load is being skipped during this solution load in order to avoid that error. How can I resolved this error in VB 2010?

Member Avatar for TnTinMN
0
631
Member Avatar for shermags

Hi All, I would like to seek you expert advice. I would like to create an image viewer with a capability to view thumbnails or a film strip like images. I had search in google and found some idea, but upon trying it with about 100+ images the system thrown …

Member Avatar for TnTinMN
0
239
Member Avatar for chdboy

CODE: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim con = New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\Danial\documents\visual studio 2010\Projects\ESI_PF_Payroll_V1\ESI_PF_Payroll_V1\Pay.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True") Dim adaptor As New SqlDataAdapter Dim dataset As New DataSet con.Open() con.Close() con.Open() cmd = New SqlCommand(str, con) cmd.Connection = con cmd.CommandText = "SELECT Firstname FROM …

Member Avatar for chdboy
0
172
Member Avatar for munyaradzi.marawanyika

i am working om a project using vb.net and asp.net .its an online restaurent management system.can the two languages work together.

Member Avatar for JorgeM
0
38
Member Avatar for jakeezakiel

Dim conn As New OleDb.OleDbConnection Dim ds As New DataSet Dim dt As New OleDb.OleDbDataAdapter conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\admin\Documents\Visual Studio 2010\Projects\office software\office software\bin\Debug\Office1.accdb;Persist Security Info=False; " Try cmd.Connection = conn conn.Open() cmd.CommandText = "insert into Office Values('" & CInt(TBID.Text) & "','" & TBSupplierName.Text & "', " & TBProductName.Text & "," …

Member Avatar for pritaeas
0
307
Member Avatar for sonyj
Member Avatar for danielgr

Hi, I have a webservice which needs to be serialized. At the moment I can call the webservice as: Call10.Process("field_a","field_b") and the function looks like this: Public Function Call10(ByVal User As String, ByVal Password As String) As String If User = "user" Then MsgBox("Correct User") End If If Password = …

Member Avatar for danielgr
0
182
Member Avatar for slpefanis

Hi All, i am not sure if this is the right forum, but i couldnt find a SQL section. I am writing an application to log data from our PLC system to a SQL database. I would like to write a record every second. I have it all working fine, …

Member Avatar for Reverend Jim
0
132
Member Avatar for bornwith

I am trying to change a computer's IP address from inside a VB project using netsh. I can get the cmd prompt to open but it doesn't pass the arguments. Any thoughts? Thanks Private Sub BtnTest_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnTest.Click Dim IPmsg As String Dim …

Member Avatar for bornwith
0
3K
Member Avatar for alwayslearn

i have a problem when updating database. i need to update stock value in other table and count it and update to another table again. here the code : 'in every row on 'SalesDetailBindingSource' For Each SalesDetailData In SalesDetailBindingSource MsgBox("SalesDetailData : " & SalesDetailBindingSource.Count) 'dim use to take parameter Dim …

Member Avatar for lolafuertes
0
342
Member Avatar for Papa_Don

Hi Group! I need to write the data from multiple TextBoxes (which I've moved to individual string names) into one text file (miscflds.txt). These individual strings will need to be written one on top of the other. To be clear, it will need to look like this: Item A Item …

Member Avatar for TnTinMN
0
605
Member Avatar for jeansantos

I have not found any answer on Daniweb neither on the web. What I need is a winform that send an e-mail using the Exchange Server on the local network are and authenticate with the current domain user without entering credentials. It is possible? I have this code? Can anyone …

Member Avatar for tinstaafl
0
319
Member Avatar for Reverend Jim

If you have any particular topics that you'd like to see a code snippet for then please post your requests here. In order to avoid duplication of effort, if you feel inclined to respond to a request then please post here indicating that you will create the requested code snippet …

3
111
Member Avatar for Ashenvale

Hi! I tried creating a log-in screen that is connected to a database from the examples I've seen on the net. The thing is, I wanted to put a function where the user can only log in if the account is not yet expired. for that, I've put a datefield …

Member Avatar for Ashenvale
0
140
Member Avatar for akasekaihime

Hello, Good evening! I am trying to validate my atachments in my system. In my program, there is an upload button, what I am trying to do is to validate it by not copying and saving the upload file once it already exists in the database..... HERE IS MY CODE: …

Member Avatar for Reverend Jim
0
247

The End.