11,868 Topics

Member Avatar for
Member Avatar for gowans07

I currently have the following code [CODE]Data1.Recordset.Sort = ("Barcode ID DEC")[/CODE] In which i want to sort all the Barcode ID records in Descending order. The barcodes have leading zero's which i think may be the problem. For example 00000055. Any suggestions?

Member Avatar for ChrisPadgham
0
1K
Member Avatar for khanayub_chand

I am working as a programmer for a hospital. I want to use barcode scanner in my application. I just want to know how can i provide input to my application which can read the barcode of a particular medicine and accordingly makes necessary updation in the database. Any One …

Member Avatar for ChrisPadgham
0
2K
Member Avatar for november_pooh

Hi masters, I want to replace a string with another string in textbox How i can do this? Please help Thank you

Member Avatar for ChrisPadgham
0
235
Member Avatar for jasleen_kaur

Ok I have Googled for the answer but couldn't find one. I want to run my project on another computer without visual studio. I have created a setup file but after installing also i need visual studio.Isn't there any another way round?

Member Avatar for Reverend Jim
0
157
Member Avatar for poonam lokhande
Member Avatar for nad_nadi27

hai there!.. need someone help regarding vb 2008 as below!!...huhu 1.how to make connection between mysql and visual basic 2008. 2.how to write insert the query... please3 someone please help me with this.. i goin crazy already...huhuu :sad::S:'(

Member Avatar for Begginnerdev
0
119
Member Avatar for Alex_2011

Hi, Thank you all for your help. I wrote this code and I want (Combobox2) to show only the cities that are selected from (Combobox1) Example: When (Michigan) is selected from (Combobox1) - (Detroit & Ann Arbor) are the only choices that should be selected from (Combobox2) And When (Ohio) …

Member Avatar for Alex_2011
0
94
Member Avatar for Sawamura
Member Avatar for Jx_Man
0
379
Member Avatar for a1a4a

Hello ! I just downloaded a Dictionary Words list .txt( containing all dictionary words ), every word is on a line. What i need is only words > 5 letters ( length > 5 ). S o i though about making a Visual basic software that delete words < 5 …

Member Avatar for Reverend Jim
0
244
Member Avatar for irfan mustafa
Member Avatar for ChrisPadgham
0
58
Member Avatar for aishapot

How can I count the number of items in the listview. Example scenario. Today, I added students say, 20 students. and tomorrow I added another 15 students, i need to have a breakdown on how many students i have been adding per day. Please help me. Thank you guys!

Member Avatar for aishapot
0
327
Member Avatar for gunzaddict29

I'm quite difficult to understand how could I control DataGridView in MS Visual Studio. I've read many articles in the internet but it seems that none of them could help me. Can somebody help me with this?.. Thanks Alot.

Member Avatar for gunzaddict29
0
125
Member Avatar for jacksantho

Hi, Here is the code. Set con1 = CreateObject("adodb.connection") Set rs3 = CreateObject("adodb.recordset") con1.Open "Provider=sqloledb;Data Source=xxx;Initial Catalog=yyy; User Id=sa; Password=@1234;" rs3.Open "select a.courseid,a.semester,a.period,c.Category,b.credit,a.gradecode,d.GradePoint from x a ,y b,z c,m d where a.rollno='" & pprollno & "' and a.semester<>'" & prsem & "' and a.period<>'" & pperiod & "' and a.categoryid=c.categoryid …

Member Avatar for ChrisPadgham
0
430
Member Avatar for Boshra Nour

Hey everyone, I have a listBox that contains number of items & I have a textbox,Command button. What I want is that once I press on the command button,the item which is written in the textbox is now highlighted in the listbox I use VB6 Please help !

Member Avatar for Jx_Man
0
3K
Member Avatar for Alex_2011

Hi, I'm trying to write a program that selects an item (Area Code) from a combobox and this list gets the city that was associated with this area code (another comnbobox list). Do you have a sample code like this so I can built up on it ? Thanks.

Member Avatar for Hawk123
0
82
Member Avatar for aishapot

I want to have an alternative way to increment my student no. the current way I'm doing to is in my database, mssql. there's a property called Identity Seed(201200001 - my studentid format) and Identity Increment (1 - no. of increments). The 2012-is the school year, while the 00001- is …

Member Avatar for Reverend Jim
0
199
Member Avatar for zerofreak

Hello guys, I've newly joined this forum since I want to enhance my knowledge in Programming specially in Visual Basic. So for the important part, right now I'm planning on creating a word detector somehow and there are specific rules I was to set in the textbox in relation with …

Member Avatar for zerofreak
0
552
Member Avatar for Alex_2011

Dear All, I have the following code but I need to make the users add text to my (Combobox) drop down list. [ICODE]Public Class Form1 Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim userMsg As String userMsg = Microsoft.VisualBasic.InputBox("Enter New City", "New City", "", 500, 500) End …

Member Avatar for Jx_Man
0
132
Member Avatar for priyamtheone

I am inheriting my own datagridview (say MyDataGridView) from the standard datagridview control. What I want is that certain properties of MyDataGridView should have a different default value than what its base have. For example, AllowUserToAddRows, AllowUserToDeleteRows, AllowUserToResizeRows properties should have the default values of False; so that when I …

Member Avatar for Oxiegen
0
188
Member Avatar for RASHIDDDDD

Hi everyone, hope u all be fine ..i just have a question that how to print Prime no frm 1 to 100on screen in vb 6 without use of msgbox or title box etc ... if any 1 having an answer then PLEASE share the code :)

Member Avatar for WaltP
0
138
Member Avatar for goodi

Hello, Im wanting to write a basic VB application that will allow the user to select a bunch of PDF files then print them in bulk. I have achieved something similar with Microsoft Excel, using the shell command to do this. (ie, VB app allowing users to select a bunch …

Member Avatar for hkdani
0
168
Member Avatar for OmegaCoCo

So a friend and myself are in a computer science course and for our final project we decided to really apply ourselves and add stuff into our assignment that we weren't taught throughout the year. Well we came to a wall when we decided to add an option to delete …

Member Avatar for BitBlt
0
102
Member Avatar for SyncMaster170

Hello all, I am debugging a vb app for my company. I did NOT create this app. So far there is just one thing that has been bugging me, AxctlUSBHID.AxUSBHID. Heres the code and the error im getting for each section. There is only two errors. (1) [CODE]Private Sub InitializeComponent() …

Member Avatar for SyncMaster170
0
228
Member Avatar for RickCJ7

How do I replace a string in a text file with another string, including quotes? For example, I have an xml sting that reads: <test name="My name is Rick" value="False" /> and I want replace to replace the value="False" to value="True" so that it ends up like this: <test name="My …

Member Avatar for BitBlt
0
1K
Member Avatar for amf101

Guys i always get an error in this...it says "Syntax error in Update Statement" please help... [CODE] Sub updateaccount(ByVal Username As String, ByVal Password As String, ByVal FName As String, ByVal MName As String, ByVal LName As String, ByVal Restrict As String, ByVal FullName As String) connect = New ADODB.Connection …

Member Avatar for BitBlt
0
206
Member Avatar for jbutardo

Hi, My title may be wrong but I would like to explain this process that I need here, Here is my Process, I already have imported excel file and inserted it in the datatable, and then I also validated it's format before inserting it in the database. Now Here is …

Member Avatar for adam_k
0
546
Member Avatar for ng5

hey guys i was wondering if anybody knew how to open an array into visual basic. I have it saving as a text file correctly but i have no idea on how to open it up to use it again. what i have so far is [CODE] Private Sub Hour1ToolStripMenuItem_Click(ByVal …

Member Avatar for codeorder
0
2K
Member Avatar for kenth21v

I am experiencing a similar problem everytime I stay too long in coding. here is the problem: When I EDIT a code, or move a position of a button or textbox or anything, or any other changes is done, and i debug it, the changes I made won't appear. (the …

Member Avatar for codeorder
0
313
Member Avatar for seventhief

Anyone help me arrange user input in textbox to ascending format like this: text1.text = "98743201" NOTE: input numbers maybe random arrange or doubled to *When a button is click. text1.text = "01234789"

Member Avatar for StephNicolaou
0
110
Member Avatar for djbhoco

I am creating a form on Excel where the user can use tabs to go through the fields that have been unlocked and type in numbers in that field, then hit tab to go to the next field. I have created the tab array in the VBE, but the problem …

Member Avatar for Pilgrim-Last
0
99

The End.