20,279 Topics

Member Avatar for
Member Avatar for Leodumbi

How to maintain Zeros in incremented values ex: ECJ-00001 any help willb appreciated this is how I am icrementing Dim Separ As String() = fullString.Split("-") Dim StrPart As String = String.Format(Separ(0), "ABC", System.String.Format("SIM")) Dim intPart As Integer = Convert.ToInt32(Separ(1)) Dim Novonumero As String = String.Empty Novonumero = String.Format("{0}-{1}", Separ(0), System.Threading.Interlocked.Increment(intPart), …

Member Avatar for Reverend Jim
0
78
Member Avatar for rkelly70

I'm new to complex maths and equations in vb, even the basic maths below does not work correctly. So can any one advise on the best data for for me to use e.g. below decimal for math calcs Help me put the below correct. Private Sub z() Dim ringheight As …

Member Avatar for Reverend Jim
0
129
Member Avatar for MooGeek

Hi, I'm searching for an Audio/Sound monintoring sample code. What it does is it **meters** the sound coming out of the computer. Can you give me some examples on how to do it? Thank you!

Member Avatar for gusano79
0
148
Member Avatar for istore221

[Click Here](http://img96.imageshack.us/img96/1272/sucksu.png) I Have create a folder using my VB Project.how do i access it through my code..this folder contain all the contacts images in my programe.i mean i know the folder path in my computer if i instal my programe in a another pc how do i get the …

Member Avatar for Begginnerdev
0
146
Member Avatar for M.Waqas Aslam

hello ! i am using mssql server 2008 , i have a table with three fields , 1- ProdID 2-ProdName 3-ProdPic , now i want to show the all records of the table in the datagridview by using vb.net , how can i show my image field in datagridview , …

Member Avatar for poojavb
0
2K
Member Avatar for theflier13

Hi, I am in the process of trying to use VB 2005 to connect to a MySQL DB . I have the data connection working between the program (VB 2005) and my MySQL server but now I need to make my code connect to it. I have never done a …

Member Avatar for yihkiat
0
211
Member Avatar for gahhon

How can i check whether the text box is numeric or not? Because i want to do validation. but i tried many style still cannot work.

Member Avatar for gahhon
1
149
Member Avatar for HibaPro

hii all, i hope everyone is ok, can someone tell me why my crystal report dosesnt show any of my data. Best regards

Member Avatar for kvprajapati
0
114
Member Avatar for M.Waqas Aslam

hello all of you ! i am making a simple form which can create the text file from the database table , for this , i am using this code at the load event of my form so that it can create the files at the load time. IO.File.Create("C:\Customers.txt") IO.File.Create("C:\Towns.txt") …

Member Avatar for M.Waqas Aslam
0
208
Member Avatar for adewar1979

Hi all, I've got a little personal project on the go at the moment. Given a UK postcode, it will find the nearest railway stations and sort them by distance. I would like to be able to get walking directions from the postcode to the station from google maps. This …

0
52
Member Avatar for VBTommy

Hi there, I am new to this forum so please be patient with me :-) My problem is how to bring a nested XML structure into a single DataGridView. The XML looks like this: <Artist> <Name>John Doe</Name> <Age>36</Age> <Language>english</Language> <Artwork> <Picture>Picture 10</Picture> <Picture>Picture 20</Picture> <Picture>Picture 30</Picture> </Artwork> </Artist> <Artist> <Name>Mike …

Member Avatar for kvprajapati
1
491
Member Avatar for shaanmugavel

I have completed my project with front-end as vb.net 2008 and back-end as SQL server 2005. I have to backup and restore my project in the following extensions: 1. .bak 2. .xls 3. .mdb Please tell me how can i store the backup project in my own path.

Member Avatar for samsylvestertty
0
199
Member Avatar for IS_student

Hello people; I am implementing an application in vb.net about a library management system, when I add new record to the database and then close and reopen the application, the record is not there! I googled the issue and used the text book of this course but nothing beneficial. :( …

Member Avatar for IS_student
0
155
Member Avatar for Leodumbi

Hello Gents I have a small problem and hope someone ca help me. I wrote a small code to generate auto-increment number and save it to the database. the problems is that whrn it reaches 10, it stops incrementing hereis the code Dim Separ As String() = fullString.Split("-") Dim StrPart …

Member Avatar for Leodumbi
0
151
Member Avatar for dwinn

Hi everyone, In a nutshell...I have developed a site in ASP.Net and VB.Net which allows a user to create an order and submit it to a SQL Server backend database. When the order is placed...an xml file is also produced, showing the items that have been ordered...which is then loaded …

Member Avatar for dwinn
0
2K
Member Avatar for M.Waqas Aslam

hello ! this is my code , i am writing a text file form the datagrid, but this code is very slow , please check it out and give me some advice how i can make my code fast , If IO.File.Exists("C:\Customers.txt") = False Then IO.File.Create("C:\Customers.txt") End If Dim FILE_NAME …

Member Avatar for M.Waqas Aslam
0
189
Member Avatar for mr3army

Hi Trying to login to google accounts this is the code that I created but I get this error: Your browsers cookie functionality is turned off. Please turn it on. I dont want to use there api too as this is a learning for me thought I had it nailed …

Member Avatar for mr3army
0
202
Member Avatar for choboja621

Here's the error : "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - …

Member Avatar for Begginnerdev
0
126
Member Avatar for raaif

I cannot connect to SQL server heres the code Dim conn As New SqlClient.SqlConnection conn.ConnectionString = "Data Source=|DataDirectory|\Books.sdf" conn.Open() '\\ Error Comes here Dim sqlcomm As SqlCommand = New SqlCommand(("SELECT MAX(ID) FROM Books"), conn) maxid = sqlcomm.ExecuteNonQuery() Error Prompts me as > A network-related or instance-specific error occurred while establishing …

Member Avatar for poojavb
0
222
Member Avatar for dotnettechie

Hi, I have designed a windows form(to act as a messagebox) with Label and OK, Cancel buttons. I'm on form1 and call this messagebox form in the closing event. If I debug the showdialog of the messagebox form the custom text is displayed on the Label, however if the application …

Member Avatar for poojavb
0
90
Member Avatar for Riteman

I have an mdi parent and 2 child forms. Both are opened. Now When I try to pass a value, it gives me nullexception value. Heres how I created MDI child forms: Dim _a As New a _a.MdiParent = Me _a.Show() Dim _b As New b _b.MdiParent = Me _b.Show() …

Member Avatar for Riteman
0
229
Member Avatar for nubie.net

Hello kindly help me to solve my problem to check item listview to avoid duplicate item in database. I have 1 listview, my plan the listview checking each item from database before insert to database. and item in listview obtained from opendialog excel this is my code : when items …

Member Avatar for adam_k
0
1K
Member Avatar for kishpopboy

hi! im currently creating a payroll system for my project and part of it is a time calculator. but my problem sir is that i don't know how to deduct lates on there daily hour .. its goes this way sir, it has a textbox that has their schedule that …

Member Avatar for adam_k
0
495
Member Avatar for HibaPro

hi all can someone tell how i can multiply the items of combobox to onther one using vb.net , plz

Member Avatar for HibaPro
0
174
Member Avatar for choosechrist

I've been trying to use different methods to insert buttons into a treeview control. But I couldn't figure it out. Someone told me it was not worth the hassle. Im new to vb and im trying yo figure out how to prepare a collapsible listview which shows links to different …

Member Avatar for lolafuertes
0
189
Member Avatar for mie.ilani

how to get the current row after save and editing row. what code should be addded after this code below con.Open() a = strn.ExecuteNonQuery MsgBox("Updated") adap = New OleDbDataAdapter("select * from Parcel", con) adap.Fill(ds, "1") ParcelDataGridView.DataSource = ds.Tables("1")

Member Avatar for lolafuertes
0
99
Member Avatar for hafizurahman

i have a big problem here when i want to insert 6 data into 6 different row in 1 click. in field @ form it have name, staff no.,items, quantity and date. We can select 6 items to insert which i use ComboBox for save the data in form. In …

Member Avatar for Reverend Jim
0
825
Member Avatar for squizy

So i made a Login Form Which i type in to a 2 textbox a value and it will login to the site now here is where im stuck > Lets Say i want to know my balance of $ in a site i want to Auto Login to the …

Member Avatar for CurtisUN
0
226
Member Avatar for kentuckyjoe

I need help on a printing problem in MS Reporting Services. It has to do with page advancement. I have a code snippet below that I think should work. But, it doesn't. I think this should be a three page report with a person's name at the top of each …

Member Avatar for CurtisUN
0
2K
Member Avatar for bantex07
Member Avatar for M.Waqas Aslam
0
68

The End.