20,285 Topics
![]() | |
Can anyone point me to tutorials for creating windows services in vb .net? Thanks in advance. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 + … | |
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 … | |
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. … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 ? | |
[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 … | |
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 … | |
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. … | |
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 = … | |
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 … | |
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 | |
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 = … | |
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 … | |
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 … | |
| |
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.   | |
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. … | |
IF YES THEN WHERE IS THIS CONTROL AND HOW TO USE IT???? | |
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... |
The End.