Search Results

Showing results 1 to 26 of 26
Search took 0.02 seconds.
Search: Posts Made By: cguan_77 ; Forum: Visual Basic 4 / 5 / 6 and child forums
Forum: Visual Basic 4 / 5 / 6 Oct 12th, 2009
Replies: 10
Views: 802
Posted By cguan_77
try this, remove Set Count = Set_Listbox.ListCount
replace with the code below,

For count = 0 To Set_Listbox.ListCount - 1
Next count
you just want to get the total list count..and use on...
Forum: Visual Basic 4 / 5 / 6 Jul 7th, 2009
Replies: 4
Views: 450
Posted By cguan_77
Hmm..that's really better.. :)
Forum: Visual Basic 4 / 5 / 6 Jul 6th, 2009
Replies: 4
Views: 450
Posted By cguan_77
try this:



Sub xx()
Dim txt As String
Dim x As Variant
Dim i As Long
txt = "10,11,12,13,14,15,16,17,18,1,2,3,4"
x = Split(txt, ",")
Forum: Visual Basic 4 / 5 / 6 May 10th, 2009
Replies: 3
Views: 462
Posted By cguan_77
make sure that the path is valid, and the pic file is on the path..

selection.InlineShapes.AddPicture.filename : = _
"C:\Documents and...
Forum: Visual Basic 4 / 5 / 6 May 10th, 2009
Replies: 3
Views: 462
Posted By cguan_77
what you mean by not working macro unable to insert the picture file? or what?
Forum: Visual Basic 4 / 5 / 6 May 9th, 2009
Replies: 5
Views: 658
Posted By cguan_77
try posting in vb.net forum... this forum is for vb6..
Forum: Visual Basic 4 / 5 / 6 Apr 29th, 2009
Replies: 4
Views: 1,045
Posted By cguan_77
hi, try this...


Sub create_txt()
Dim fso, ts As Object
Dim lastcol, i As Integer
Dim x As Variant


Set fso = CreateObject("Scripting.FileSystemObject")
Forum: Visual Basic 4 / 5 / 6 Apr 17th, 2009
Replies: 7
Views: 558
Posted By cguan_77
hi denniskhor, try putting "options explicit" before declaring all your variables.. i'm afraid you declare so many variables that system run out of resources or memory...

your variable...
Forum: Visual Basic 4 / 5 / 6 Apr 16th, 2009
Replies: 7
Views: 558
Posted By cguan_77
it's a shared file..could be a virus.. if that zip file.. is a vb code.. paste it here..
be careful in dealing with shared files.. could be some malicious code on it..
Forum: Visual Basic 4 / 5 / 6 Apr 16th, 2009
Replies: 5
Views: 798
Posted By cguan_77
hi abu taher, it's a function so you can use like this..

if you're input let's say from text1.text


Msgbox numtoword (text1.text)
Forum: Visual Basic 4 / 5 / 6 Apr 13th, 2009
Replies: 5
Views: 798
Posted By cguan_77
wow, debasisdas.. two thumbs up for you.. :)
Forum: Visual Basic 4 / 5 / 6 Apr 13th, 2009
Replies: 5
Views: 798
Posted By cguan_77
you want to show the equivalent value of the number you type, for example: you entered 1000 then there would be a display of one thousand or what?
Forum: Visual Basic 4 / 5 / 6 Mar 28th, 2009
Replies: 5
Views: 698
Posted By cguan_77
check this out from MS site... filecopy function
hope it helps ;)

http://msdn.microsoft.com/en-us/library/2s1c774y(VS.80).aspx

or this one for example on how to use filecopy...
...
Forum: Visual Basic 4 / 5 / 6 Mar 28th, 2009
Replies: 2
Views: 496
Posted By cguan_77
'E:\Vb6\New folder\db1.mdb'
this path doesn't exist in that particular computer in which you run the program

better use "app.path"
Forum: Visual Basic 4 / 5 / 6 Mar 16th, 2009
Replies: 3
Views: 1,051
Posted By cguan_77
hi jabbaro, try this hope it helps..

make sure to reference the microsoft excel library in vb.. go to project->references find ms excel lib

you'll need 2 command button(start and stop), a...
Forum: Visual Basic 4 / 5 / 6 Mar 14th, 2009
Replies: 5
Views: 729
Posted By cguan_77
you like to convert a string but the position of the character to be converted will be controlled randomly or what?
Forum: Visual Basic 4 / 5 / 6 Mar 14th, 2009
Replies: 5
Views: 740
Posted By cguan_77
hi clarkpoon, try this...

need a command button and a listbox

just change the input string to your data


Private Sub Command1_Click()
Dim s, x, y, z As String
Dim i, n As Integer
Forum: Visual Basic 4 / 5 / 6 Mar 7th, 2009
Replies: 4
Solved: help
Views: 398
Posted By cguan_77
why not set the "borderstyle" properties of the form to "0-None" so the form will not display "X" the user will not be able to terminate your program unless user choose to close the program using...
Forum: Visual Basic 4 / 5 / 6 Mar 6th, 2009
Replies: 1
Views: 329
Posted By cguan_77
take a look at this thread..

http://www.daniweb.com/forums/thread170857.html
Forum: Visual Basic 4 / 5 / 6 Feb 28th, 2009
Replies: 7
Solved: help
Views: 508
Posted By cguan_77
with the code of Comatose and advise of Debasisdas ..
combining both will help to ease your problem..
here is it..


Private Sub Command1_Click()

parts = Split(Text1.Text, " ")
rlname =...
Forum: Visual Basic 4 / 5 / 6 Feb 28th, 2009
Replies: 4
Views: 1,200
Posted By cguan_77
check out this link..it might you an idea ;)

http://www.robvanderwoude.com/vbstech_ui_password.php
Forum: Visual Basic 4 / 5 / 6 Feb 28th, 2009
Replies: 6
Views: 1,054
Posted By cguan_77
hmm...it's a bit frustrating...but i think you need to do it again... anyway..always remember to hit the save button or ctrl +s.. :)
Forum: Visual Basic 4 / 5 / 6 Feb 28th, 2009
Replies: 2
Views: 413
Posted By cguan_77
---hOW TO I ASSIGN A SPECIFIC YEARS TO THE SAME BRAND and join it to the year?????EX---dbs@1983, 84 ETC.


can explain further?
Forum: Visual Basic 4 / 5 / 6 Jan 23rd, 2009
Replies: 27
Views: 1,933
Posted By cguan_77
hi, try this subroutine.. and use the final data to process to your database...



Sub zz()

Dim inputx, inputy, inputz, inputfinal As String
Dim i As Integer

inputx = InputBox("enter data")
Forum: Visual Basic 4 / 5 / 6 Jan 22nd, 2009
Replies: 4
Views: 965
Posted By cguan_77
hi chopin2256, welcome, just don't forget to mark the thread as solve... :)
Forum: Visual Basic 4 / 5 / 6 Jan 22nd, 2009
Replies: 4
Views: 965
Posted By cguan_77
hi chopin2245, try this its working...


Dim i, i1, i2 As Integer
Dim ix, itotal, itotal1 As String
Dim lastcell As Integer



lastcell = 3 'assumed that there are 3 cells only
Showing results 1 to 26 of 26

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC