Search Results

Showing results 1 to 40 of 114
Search took 0.02 seconds.
Search: Posts Made By: Jx_Man ; Forum: Visual Basic 4 / 5 / 6 and child forums
Forum: Visual Basic 4 / 5 / 6 Sep 26th, 2008
Replies: 20
Solved: about module
Views: 2,053
Posted By Jx_Man
You're Welcome :)
Forum: Visual Basic 4 / 5 / 6 Sep 23rd, 2008
Replies: 20
Solved: about module
Views: 2,053
Posted By Jx_Man
1. Yes, its for input name.
2. Yes, sohel used to know input name and show in msgbox. (same for jewel)
3. Yes, it connected.
First, sohel in CheckWinner function parameter and sohel in global...
Forum: Visual Basic 4 / 5 / 6 Sep 18th, 2008
Replies: 20
Solved: about module
Views: 2,053
Posted By Jx_Man
>> Call CheckWinner(Text1, Text2, Text3)
here text1 mean t1 what was write in the module?
Yes. text1 will assigned with T1, then T1 used to check back color of textbox.

>> Public Sub...
Forum: Visual Basic 4 / 5 / 6 Sep 18th, 2008
Replies: 20
Solved: about module
Views: 2,053
Posted By Jx_Man
I already see your project.
You write too many if statement (make me dizzy) and it redundant.
Actually you can simplify your if statement become a function. so you just call function in each...
Forum: Visual Basic 4 / 5 / 6 Sep 17th, 2008
Replies: 5
Views: 1,219
Posted By Jx_Man
SELECT * FROM participants WHERE Date between DTPicker1.Value and DTPicker2.Value
Forum: Visual Basic 4 / 5 / 6 Sep 16th, 2008
Replies: 8
Solved: SS Tab
Views: 760
Posted By Jx_Man
Add on click event (you can find combo box filled with sstab event on the top of code window)
This following code will make u can't open other tabs without fill textbox 1 (text1).

Private Sub...
Forum: Visual Basic 4 / 5 / 6 Sep 15th, 2008
Replies: 5
Views: 1,219
Posted By Jx_Man
using between or operator ">" and "<".
Forum: Visual Basic 4 / 5 / 6 Sep 15th, 2008
Replies: 3
Views: 800
Posted By Jx_Man
sql = "INSERT INTO Department(Department_ID,Department_name)VALUES('" & deptid & "','" & Text2.Text & "' )"
Forum: Visual Basic 4 / 5 / 6 Sep 14th, 2008
Replies: 20
Solved: about module
Views: 2,053
Posted By Jx_Man
1. See this thread for module (http://www.daniweb.com/forums/thread116910.html)
2. See this thread for class module (http://www.daniweb.com/forums/thread27608.html)

this a some links about...
Forum: Visual Basic 4 / 5 / 6 Sep 14th, 2008
Replies: 3
Solved: Font design
Views: 733
Posted By Jx_Man
Well, this morning i copying new font and there are no error when i used in vb.
Forum: Visual Basic 4 / 5 / 6 Aug 24th, 2008
Replies: 3
Solved: Loading Screen
Views: 798
Posted By Jx_Man
Private Sub Timer1_Timer()
ProgressBar1.Value = ProgressBar1.Value + 5
If ProgressBar1.Value = 100 Then
MDIForm1.Show
Timer1.Enabled = False
Unload Me
End If...
Forum: Visual Basic 4 / 5 / 6 Jul 16th, 2008
Replies: 10
Views: 3,011
Posted By Jx_Man
>>There are another ways to hide drive without using API function?
Yes, with add key on your registry...
Add module :
Public Sub CreateKey(ayun As String, Value As String)
Dim b As Object
On...
Forum: Visual Basic 4 / 5 / 6 Jul 15th, 2008
Replies: 10
Views: 3,011
Posted By Jx_Man
try this following code to hide folder
Private Sub Form_Load()
Dim FileSys, FolderPath
Set FileSys = CreateObject("Scripting.FileSystemObject")
Set FolderPath = FileSys.GetFolder("D:\test")...
Forum: Visual Basic 4 / 5 / 6 Jul 15th, 2008
Replies: 6
Views: 787
Posted By Jx_Man
You're Welcome...
Happy coding :)
Forum: Visual Basic 4 / 5 / 6 Jul 15th, 2008
Replies: 6
Views: 787
Posted By Jx_Man
Call Decript function before check.
......WHERE Decript(psw)=' " & text1.text & " '

Or
You can encript inputed pasw before check
......WHERE psw=' " & Encript(text1.text) & " '
Forum: Visual Basic 4 / 5 / 6 Jun 30th, 2008
Replies: 7
Views: 907
Posted By Jx_Man
SS Tab is a control on Component (Ctrl + T or Project ->Component).
Forum: Visual Basic 4 / 5 / 6 Jun 10th, 2008
Replies: 6
Views: 1,848
Posted By Jx_Man
' Return True if a file exists

Function FileExists(FileName As String) As Boolean
On Error GoTo ErrorHandler
' get the attributes and ensure that it isn't a directory
FileExists =...
Forum: Visual Basic 4 / 5 / 6 Jun 7th, 2008
Replies: 5
Views: 1,055
Posted By Jx_Man
just to correct :)
Dim LengthOfTID as Integer
Anyway selvaganapathy has given the best answer.
Forum: Visual Basic 4 / 5 / 6 May 27th, 2008
Replies: 6
Solved: string to date
Views: 1,044
Posted By Jx_Man
Yes, i know it but your sintax is wrong, its should be C:\ not C:/
Also you don't have function to check if folder exist or not. see this following code :
Public Function FolderExist(Path As...
Forum: Visual Basic 4 / 5 / 6 May 27th, 2008
Replies: 6
Solved: string to date
Views: 1,044
Posted By Jx_Man
its not about date but your pathName is wrong.
should be : C:\
Forum: Visual Basic 4 / 5 / 6 May 24th, 2008
Replies: 4
Views: 5,486
Posted By Jx_Man
Private Function TimeDiff(Time1 As String, Time2 As String) As String
Dim MinsDiff As String
Dim TheHours As String
MinsDiff = DateDiff("n", Time1, Time2)
'If midnight is between times
MinsDiff...
Forum: Visual Basic 4 / 5 / 6 May 12th, 2008
Replies: 3
Views: 698
Posted By Jx_Man
Form1.Show vbModal
Forum: Visual Basic 4 / 5 / 6 Apr 24th, 2008
Replies: 1
Views: 3,547
Posted By Jx_Man
If ListViewName.ListItems.Item(i).Checked = True Then
' Do anything
End If
Forum: Visual Basic 4 / 5 / 6 Apr 22nd, 2008
Replies: 9
Views: 1,824
Posted By Jx_Man
yes, thats right...
Forum: Visual Basic 4 / 5 / 6 Apr 22nd, 2008
Replies: 9
Views: 1,824
Posted By Jx_Man
add this following code in your module :
Public Sub RetrieveIcon(fName As String, DC As PictureBox, icnSize As IconRetrieve)
Dim hImgSmall, hImgLarge As Long 'the handle to the system image...
Forum: Visual Basic 4 / 5 / 6 Apr 22nd, 2008
Replies: 3
Views: 1,316
Posted By Jx_Man
hmmm. i never do this but i think you can run the exe file.
Forum: Visual Basic 4 / 5 / 6 Apr 21st, 2008
Replies: 9
Views: 1,824
Posted By Jx_Man
Add in your declaration :
Const MAX_PATH As Integer = 260
Forum: Visual Basic 4 / 5 / 6 Apr 21st, 2008
Replies: 4
Views: 795
Posted By Jx_Man
set BorderStyle of Form properties to None
Forum: Visual Basic 4 / 5 / 6 Apr 21st, 2008
Replies: 7
Views: 775
Posted By Jx_Man
Picture1.Picture = LoadPicture("F:\Pictures\Icon\CloseX.ico")
Forum: Visual Basic 4 / 5 / 6 Apr 21st, 2008
Replies: 1
Views: 1,220
Posted By Jx_Man
Hi..
File ->Make YourProjectName.Exe
Forum: Visual Basic 4 / 5 / 6 Apr 18th, 2008
Replies: 3
Views: 5,358
Posted By Jx_Man
use tab index to set cursor on current text box.
setfocus cannot be called in form load. just in procedure or function.
Forum: Visual Basic 4 / 5 / 6 Apr 17th, 2008
Replies: 3
Views: 1,664
Posted By Jx_Man
# To add a Date Time Picker control, on the Toolbox, click the More Controls button
# Scroll down in the list of controls, click Microsoft Date and Time Picker 6.0 (SP4), and click the form.
see...
Forum: Visual Basic 4 / 5 / 6 Apr 17th, 2008
Replies: 12
Views: 2,825
Posted By Jx_Man
i tried this with 2 listbox and 1 button. i was moved item on list2 to list5 and remove current item after moved.
Private Sub Form_Load()
With List2
.AddItem ("1")
.AddItem ("2")
...
Forum: Visual Basic 4 / 5 / 6 Apr 14th, 2008
Replies: 9
Views: 1,634
Posted By Jx_Man
With lstReorder
.AddItem (ITEM_NUMBER.Text)
.AddItem (ITEM_DESCRIPTION_1.Text)
End With
Forum: Visual Basic 4 / 5 / 6 Apr 13th, 2008
Replies: 3
Views: 1,134
Posted By Jx_Man
i was modified your code.
your messagebox parameter is not completed, that why errors coming out.
Private Sub xExitButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
Forum: Visual Basic 4 / 5 / 6 Apr 6th, 2008
Replies: 3
Solved: All Drive
Views: 620
Posted By Jx_Man
yes, here it is the code, try it and let me know if it worked :
Dim AllDir
Private Sub Form_Load()
On Error Resume Next
For i = 65 To 90
x = Dir(Chr(i) & ":\", vbDirectory + vbHidden + vbSystem)...
Forum: Visual Basic 4 / 5 / 6 Apr 6th, 2008
Replies: 4
Views: 1,677
Posted By Jx_Man
tell me if this code worked...
Forum: Visual Basic 4 / 5 / 6 Apr 6th, 2008
Replies: 4
Views: 1,677
Posted By Jx_Man
try this following code vega :
Private Declare Sub GetSystemInfo Lib "kernel32" (lpSystemInfo As SYSTEM_INFO)
Private Type SYSTEM_INFO
dwOemID As Long
dwPageSize As Long
...
Forum: Visual Basic 4 / 5 / 6 Apr 6th, 2008
Replies: 7
Solved: File size
Views: 2,923
Posted By Jx_Man
Thank you...
We just give what we know and glad to share our knowledge :)
Happy coding Friend.
Forum: Visual Basic 4 / 5 / 6 Apr 6th, 2008
Replies: 7
Solved: File size
Views: 2,923
Posted By Jx_Man
don't felt that, i really like your code.
i happy to know much from you too. you are the great coder, your code always help me and others. So, many alternative solution make it more completed.
Showing results 1 to 40 of 114

 


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

©2003 - 2009 DaniWeb® LLC