2,383 Posted Topics

Member Avatar for Boshra Nour

[QUOTE=dedenfk;1736320]hi friend how about using the listview in vb6! thank you[/QUOTE] How about make your own thread?

Member Avatar for Jx_Man
0
3K
Member Avatar for zerofreak

Actually this section for VB 4/5/6, and your code is for [URL="http://www.daniweb.com/software-development/vbnet/58"]VB.Net Section.[/URL] For your question. I suggest to trap any character except "abcdefg" and "12345" when user type it on textbox. So user only can input "abcdefg" or "12345".

Member Avatar for zerofreak
0
552
Member Avatar for Alex_2011

[QUOTE]Each time I enter the text in the box after clicking the (Add button), it does not add it in the combobox. What's missing??[/QUOTE] You code never add text to combo box. [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim userMsg As String userMsg …

Member Avatar for Jx_Man
0
132
Member Avatar for RASHIDDDDD

Provides more information. Actually, how far you doing this. Post your code and we try to correct it.

Member Avatar for WaltP
0
139
Member Avatar for bonzo2008
Member Avatar for king_saqib
Member Avatar for Shodow

Just use looping. If you already manage to move single item, then use looping to move all items.

Member Avatar for Shodow
0
174
Member Avatar for Estella

try this following code to hide folder [code=vb]Private Sub Form_Load() Dim FileSys, FolderPath Set FileSys = CreateObject("Scripting.FileSystemObject") Set FolderPath = FileSys.GetFolder("D:\test") FolderPath.Attributes = -1 End Sub [/code] to unhide set attributes = 0

Member Avatar for Lesbassnett
1
945
Member Avatar for RenanLazarotto
Member Avatar for sam1

populate each combobox with each table. use key to search data in every table. so your table must be connected each other. Now the question : [QUOTE]id description ap code seg code [/QUOTE] - it is your database and tables named is Id, Description, Ap Code, Seg Code (4 table) …

Member Avatar for bikashdas
0
211
Member Avatar for ChristosK

as james said you should to using[URL="http://msdn2.microsoft.com/en-us/library/aa389273.aspx"] wmi (Windows Management Instrumentation)[/URL]. i have a simple prog to read motherboard model but i m do with vb.net. if you want, i'll post it for you.

Member Avatar for GGSoft
0
475
Member Avatar for nav010
Member Avatar for mpatram

you just check each of the value in registration form with data in your database, what the problems... if u can save and show data from database so its not difficult to validate registration from with database.

Member Avatar for Netcode
0
994
Member Avatar for sidrules1984
Member Avatar for gccriaz

you mean just show date in label? try this code : [CODE=vb]Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Label1.Text = System.DateTime.Today.ToLongDateString End Sub[/CODE]

Member Avatar for Netcode
0
1K
Member Avatar for dnalor
Member Avatar for thamim.it

just rewrite it into vb6. i believe if u can write program in vb.net than it would easy to convert it into vb6.

Member Avatar for Netcode
-1
2K
Member Avatar for coolzero

[B]COUNT[/B] function to count how much record in current column. [B]SUM[/B] function to added all value in current column. [B]AVG[/B] function to get average of all value in current column. etc... Well Great to solved your thread by your self. Happy coding friend :)

Member Avatar for Naveen2961
0
2K
Member Avatar for mariegomez84
Member Avatar for machitar
Member Avatar for faroukmuhammad
0
237
Member Avatar for yashsaxena

1. Go to Project->Project Properties, In General Tab make sure that your Project Type is Standard Exe. You can also change the Application Title, Icon, Version and Version Information in Make Tab. 2. If you sure to build it then go to File->Make Project.Exe, Save Dialog will appear to save …

Member Avatar for faroukmuhammad
0
16K
Member Avatar for zebnoon

[QUOTE]I always receive Run-time error '70' "Permission denied"[/QUOTE] Your database currently used. Close All connection before copying it.

Member Avatar for faroukmuhammad
0
282
Member Avatar for zawpai

I don't understand what the relevance about your question and your posting code, but i still to answer it. If you want to close all form and end the program then you can use [B]END[/B] . Unload Me just close the current form not the entire program. So any hidden …

Member Avatar for zawpai
0
274
Member Avatar for zebnoon

What the function of Str_T? Also your select case is wrong. Just fill Type_rs with user type information from db (With [B]Type_rs.Open ...[/B]) . [CODE] SELECT Case Type_rs.Field("User Type") Case "Administrator" mainfrm.toobar1.enable=true case "Operator" mainfrm.toolbar1.enable=False End SELECT[/CODE]

Member Avatar for ChrisPadgham
-1
126
Member Avatar for pocohontus

Sometimes upgrade wizard is not working. So, just rewrite the codes in vb.net :)

Member Avatar for Luc001
0
237
Member Avatar for toneyjoseph
Member Avatar for jhai_salvador
0
70
Member Avatar for tipaklong
Member Avatar for NETProgrammer
0
490
Member Avatar for ayoba01

[QUOTE]and when customer insert the notes into machine, the textbox appear the number of notes.[/QUOTE] Insert the notes from where? textbox? or other control? What the buttons function? you want when the user click the button the textbox show the result of balance? what the itotal function?

Member Avatar for Jx_Man
0
105
Member Avatar for rawkstar
Member Avatar for MooGeek

[URL="http://www.homeandlearn.co.uk/net/vbNet.html"]Visit this site[/URL]. You can learn much about vb.net there. Also there are good [URL="http://www.homeandlearn.co.uk/net/nets12p4.html"]Tutorial about database project[/URL].

Member Avatar for Luc001
0
114
Member Avatar for dnk

Try This : [CODE] Private Sub ListView1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListView1.SelectedIndexChanged Dim i As Integer If ListView1.SelectedItems.Count = 0 Then Exit Sub i = Val(ListView1.SelectedIndices.Item(0).ToString) MsgBox(ListView1.Items(i).SubItems(1).Text) End Sub [/CODE] You also can use this line of code to get selected index : [CODE]i = Val(ListView1.SelectedItems(0).Index) …

Member Avatar for dnk
0
322
Member Avatar for saddas

[QUOTE]once one value has been selected, is there a way to disable it from being selected in the combo box or even delete the one value from the combobox but keep it in the database.[/QUOTE] This following code to remove selected combo box item. [CODE]Private Sub Combo1_Click() Combo1.RemoveItem Combo1.ListIndex End …

Member Avatar for htmlCoder101
0
86
Member Avatar for ruudycruise

[QUOTE]Please i need your help in writing pseudocodes on the who wants to be a millionaire game.[/QUOTE] You First. show your effort.

Member Avatar for \007
0
77
Member Avatar for Sturdy

See this [URL="http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/360613/1539783"]thread[/URL]

Member Avatar for Jx_Man
0
290
Member Avatar for telkomek

Create a procedure to select data from table and display it to flexgrid. Then call this procedure after adding data or any at event that you want.

Member Avatar for Jx_Man
0
205
Member Avatar for ladydivine

is this code running well? i mean, this code can display data to combo box? [CODE]Combo1.AddItem !Office_Code '& vbTab & !Office_Title[/CODE] You use vbtab to separate data. is that working? I think VbTab not working to separate it. You can use space or commas (or other sign) . [CODE]Combo1.AddItem !Office_Code …

Member Avatar for Jx_Man
0
400
Member Avatar for kerek2

Try This : [CODE] Function HasConnectivity() As Boolean Dim hostInfo As System.Net.IPHostEntry Try 'to look for the logon server Dim sServer As String = Environment.GetEnvironmentVariable("logonserver") hostInfo = System.Net.Dns.GetHostByName(sServer.Remove(0, 2)) Return True Catch 'theres no network connection Return False End Try End Function [/CODE] For Checking : [CODE] If HasConnectivity() = …

Member Avatar for kerek2
0
152
Member Avatar for ninjatalon

[CODE]if (count<max) and (br.checked=true or am.checked=true) then 'code end if[/CODE] Yes, you can do this.

Member Avatar for Jx_Man
0
118
Member Avatar for blackcorona

[QUOTE]Ex: if I enter the core in 4, then the program will show the game with 4 core and below. [/QUOTE] Use Search Statement. Find for game with 4 core.

Member Avatar for Jx_Man
0
177
Member Avatar for BleepyE

Check your Timer Enable Properties. Make sure that is set to True, also check for Timer Interval is not 0.

Member Avatar for BleepyE
0
100
Member Avatar for BleepyE
Member Avatar for EkoX

Try This : Text1 is filled by any text or words Text2 is filled by char to find. [CODE] Private Sub Command1_Click() Dim CharCount, i As Integer CharCount = 0 For i = 0 To Len(Text1.Text) Text1.SetFocus Text1.SelStart = i Text1.SelLength = 1 If Text1.SelText = Text2.Text Then CharCount = …

Member Avatar for Jx_Man
0
158
Member Avatar for come_again

FileOpen is not available in vb6 but in vb.net I will ask moderator to move this thread to vb.net section. You will get more answer there from many gurus.

Member Avatar for Pgmer
0
177
Member Avatar for ayoba01

This part code : [CODE]If displayText.Text > TextBox2.Text Then ' Line 8 amount = displayText.Text - TextBox2.Text ' Line 9 [/CODE] Your textbox2 value is String. you cannot subtract or compare it with a double value. You need to convert it to double.

Member Avatar for Mitja Bonca
0
137
Member Avatar for lcfjoertoft
Member Avatar for gingank
Member Avatar for Jade_me

See if this helps : Assuming that the ListView already have a header, so index i start from 1. If you don't have header then index start from 0. [CODE]Private Sub Command1_Click() Dim temp As Integer temp = 0 For i = 1 To ListView1.ListItems.Count 'temp = temp + Val(ListView1.ListItems.Item(i).Text) …

Member Avatar for Jade_me
0
340
Member Avatar for zebnoon
Member Avatar for jemz

[QUOTE=jemz;1547356]Hello, Please help me, how can i populate or display my newly added list in the listview, if i will click my addbutton.can you please help me. Thank you in advance and I am hoping for your positiver response.[/QUOTE] Hi, Are you can display data on listview? What database are …

Member Avatar for Jx_Man
-1
189
Member Avatar for dreadfulalpha76

The End.