20,285 Topics

Member Avatar for
Member Avatar for k99rs

Can anyone point me to tutorials for creating windows services in vb .net? Thanks in advance.

Member Avatar for Reverend Jim
-1
91
Member Avatar for ibpet11

Dear all, I need help on programming Mifare cards. I want to be able to read and write to a 1k mifare card. I bought a ACR1281U dual reader and also have some documentation but have not understand how to read data and write data to Mifare cards. I did …

Member Avatar for ctrah
0
3K
Member Avatar for Begginnerdev

If you are browsing this forum, it is a safe assumption to believe you know of the [Fibonacci Series](http://en.wikipedia.org/wiki/Fibonacci_number). After having a couple of minutes, and some random thoughts, I put together a little piece of code that will print this series out to a file. Private Sub FibWrite(ByVal iMax …

Member Avatar for Reverend Jim
0
282
Member Avatar for Ancient Dragon

I'm using VS 2013. I want to use the system.numerics.biginteger structure but VS says there is no such namespace as system.numerics! According to MSDN there should be. What am I missing? Imports System.IO Imports System.Numerics '<<<< error Module Module1 Sub Main() Dim OneLightYearInches As BigInteger = 372469703661417000 End Sub End …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for henryz_box

I am wanting to create a card game that will have 1 to 7 players plus the dealer. Currently I have 1 player and the dealer. Each player will have a listbox that contains an index for each card in the player's hand. As the cards are dealt each player …

Member Avatar for henryz_box
0
329
Member Avatar for martuspatatus

Hello, I need a litle help here. I am creating a program that finds a specific sentence in a word path and replaces it with a given value. Specific sentence: l="600" And it has to be changed to : l="300" This is not to dificult and works fine: Public Class …

Member Avatar for martuspatatus
0
2K
Member Avatar for neilsno

hi im trying to create a vb code that will amke a student revision test, it should let them log in and register them. it should use CSVs and controls,clas and methods

Member Avatar for Ancient Dragon
0
59
Member Avatar for Triple_7

How do you display the week ending date (Sunday) in VB10? When a form loads, I want to display the upcoming Sunday date in a label. In VB6 I used the following code and it worked fine. Private Sub Form_Load() ' Set Default "Week Ending" Date lblWkEndDate.Caption = (Date + …

Member Avatar for cgeier
0
156
Member Avatar for iFrolox

Well, in my previous thread i needed help deleting arrays, for the codes i use its here: http://www.daniweb.com/software-development/vbnet/threads/426588/how-to-move-arrays-1-place-down- But now i need help saving the arrays, i can save all the arrays to ini file like this: Ini module: Option Strict On Module INIAccess #Region "API Calls" ' standard API …

Member Avatar for DreamForLives
0
457
Member Avatar for Nebil

I was going to check if a temp table exists and delete the it,since "the temptable already exists" arises if you want to perform another operation. Here's the code i used five statements but it says syntax error in drop table or drop index statement. Any help would be appreciated. …

Member Avatar for Nebil
0
1K
Member Avatar for pezza

Hi, I am new to VB.NET and am working on what is pretty much my first app. The app is based on a sql data source (created within Visual Studio) and basically is intended to show who is on-call when the app is loaded. So, i have some test data, …

Member Avatar for pezza
0
4K
Member Avatar for imti321

I am trying to make a form in vb and connect that to database .First of all i created a databse and then opened new project and tried to connect that database to form. file new--->try____>project--->add new item---->Service based databse--dataset---->finish step2----->in databse explored right clicked on table and Add table …

Member Avatar for imti321
0
280
Member Avatar for hometownnerd

Good afternoon. I am developing a gmail app for my personal consumption for now and it has a lot of bells and whistles including showing me the latest emails coming in, playing a sound and changing icon when there is new mail and a few other things. I am using …

Member Avatar for hometownnerd
0
2K
Member Avatar for raheel88

All, What is the most efficient way of writing several lines of data to a *.txt file? Currently, I store the required text in memory then write it all to a user-specified text file at the end, similar to the following; Dim text As String = "" text = text …

Member Avatar for dionterry
0
3K
Member Avatar for Nshark

I'm trying to set up a timer that counts up to ten and starts/resets when the left mouse button is clicked (anywhere on the screen even when the application is in the background). I'm struggling to find a code that suggests it is possible and now I am starting to …

Member Avatar for dionterry
0
5K
Member Avatar for elie.karkafy

how i can import data from access database to my database in sql server , with a check for ducplicate each time i move data i need the code in vb.net any help ?

Member Avatar for elie.karkafy
0
986
Member Avatar for kritiohri

[code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click connetionString = ("server=192.9.200.82;database=eKalyan;user id=invite;password=invite") MessageBox.Show("connection established") sql = ("select newuniqueid,newteh_code,newpcate_cd,newplano, pen_nm,rel_cd,pen_fnm,ccate_cd,pan_code,pvillage,ppo_cd,spo_cd,start_qtr,last_qtr,bundle_typ,bundle_no,mo_srno,pen_amt,pen_comm,status,operatorcode from ekalyan.welpen") cnn = New SqlConnection(connetionString) Try cnn.Open() cmdd = New SqlCommand(sql, cnn) cmdd.ExecuteNonQuery() cnn.Close() MsgBox(" ExecuteNonQuery in SqlCommand executed !!") Catch ex As Exception MsgBox("cannot …

Member Avatar for elie.karkafy
0
2K
Member Avatar for Nebil

Hi guys, i just faced a problem when trying to execute the following query.I searched for the exception on the internet and found that using a reserved keyword might raise this issue,and using brackets may solve this problem.But i use brackets all the time in my sql statements but still …

Member Avatar for Nebil
0
160
Member Avatar for mimizuki12

Hi everyone, I'm new here and is in need of some help. I'm trying to complete my project, however I'm stuck at writing the data from the sql into the vb.net/asp.net gridview. Was never good at database to start with and I had never learnt how to query from VB.NET. …

Member Avatar for Danuja
0
258
Member Avatar for GeneM1000

I have a form with a lot of checkboxes on it. I want to be able to set all the checkbox properties to "checked" in my code. Here is what I would like to do: For Each ctl As Control In Me.Controls If TypeOf ctl Is CheckBox Then ctl.checked = …

Member Avatar for GeneM1000
0
317
Member Avatar for Satyam_1

i am using vb.net application with OleDb database. In a form i have Search,Add,Edit,Delete buttons for the data. Although search data is working but Add,Edit,Delete are not working. Here is my code. Imports System.Data.OleDb Public Class Form1 Dim CN As New OleDb.OleDbConnection Private Sub Form1_Load(ByVal sender As System.Object, ByVal e …

Member Avatar for Sulaiman_1
0
283
Member Avatar for thera

Can anyone help me to solve this problem? How to validate ?Thank you Home identification code (4 alphanumeric characters) – required Program should generate it using a random number generator

Member Avatar for Reverend Jim
0
188
Member Avatar for martin3885

Hi, I've a project compiled for .net 3.5. In the project there is a form with a DataGridView. In CellPainting I'am adding row numbers in row header: private void dataGridView1_CellPainting(object sender, System.Windows.Forms.DataGridViewCellPaintingEventArgs e) { if (e.ColumnIndex == -1) { e.PaintBackground(e.ClipBounds, true); using (StringFormat st = new StringFormat()) { st.Alignment = …

Member Avatar for JOSheaIV
0
1K
Member Avatar for GagaCode

hey all again in trying to add to make sure if my datagridview has some data in it or not before adding it to the database and here what i came up till now int i = POSDGV.Rows.Count; for (int j = 0; j < i; j++) { string strCol2 …

Member Avatar for deceptikon
0
192
Member Avatar for Nebil

Hi guys, A problem came up when i tried to copy record from the temp. table to the main one.I was copying records to two main tables but one table is empty but the other works fine.Here's the code i used: projcode = TextBox4.Text projname = TextBox5.Text description = TextBox6.Text …

Member Avatar for Nebil
0
290
Member Avatar for BillyMagic
Member Avatar for Start4me

I have a database with items which I want to populate to a listbox. The first image shows how its right now, and the second shows how I want the final result to look like. ![dd3aaa66fdb74cecb5cca11999b6b6dc](/attachments/small/3/dd3aaa66fdb74cecb5cca11999b6b6dc.png "align-left") ![2645978b29622fc539c0725c199c3e13](/attachments/small/3/2645978b29622fc539c0725c199c3e13.png "align-right")

Member Avatar for arun1123
0
637
Member Avatar for vickey66

Hi, I am new to VB programming. I am using Aceess 2010 database with VB 2010. I have one main table which stores information of company details. The details are broken down in seven different tables with codes to avoid data duplication and keep the main table less bulky. e.g. …

Member Avatar for vickey66
0
300
Member Avatar for DeepKiran
Member Avatar for DeepKiran

I Have A DataTable In MSAccess TbJform and I want to Show the Columns of TbJform in ListView.................The Columns Are JformNo,JformDate,PartyName,Bags,Packing,Loose etc.............now what sholud i do to show the all the colmns in listview...

Member Avatar for DeepKiran
0
208

The End.