Forum: VB.NET Sep 23rd, 2009 |
| Replies: 9 Views: 16,927 Well I've try also the code below:
Dim openForm As Form = Nothing
For index As Integer = My.Application.OpenForms.Count - 1 To 0 Step -1
openForm = My.Application.OpenForms.Item(index)
... |
Forum: Visual Basic 4 / 5 / 6 Jun 17th, 2009 |
| Replies: 5 Views: 1,419 try to remove the bracket "[]"
If [Store_Barcode]![Barcode] = [Personal]![Barcode] Then
or try to look the value if it is DBNull. dbnull is not a string type in which if you will try to use it... |
Forum: Visual Basic 4 / 5 / 6 May 25th, 2009 |
| Replies: 8 Views: 538 looks like you are not doing your part! It seems you abused the forums. WE DON'T MAKE ASSIGNMENT FOR YOU. or at least you are willing to pay as what ithelp said? SHOW SOME EFFORTS MAN! |
Forum: Visual Basic 4 / 5 / 6 May 25th, 2009 |
| Replies: 4 Views: 420 in what line did the error occured?
For intX = 0 To cmbCountry.ListCount - 1
If UCase$(myrs!country) = UCase$(cmbCountry.List(intX)) Then
cmbCountry.ListIndex = intX
... |
Forum: Visual Basic 4 / 5 / 6 May 25th, 2009 |
| Replies: 4 Views: 546 so does this thread solved? |
Forum: VB.NET May 25th, 2009 |
| Replies: 1 Views: 183 It depends on what criteria you have for the validation... like if you want the idnumber to be all numbers only, etc... |
Forum: VB.NET May 25th, 2009 |
| Replies: 6 Views: 391 In your second form make a constructor
Public Sub New(ByVal row As DataRow)
Me.InitializeComponent()
'Add the other initialization here...
End Sub |
Forum: VB.NET May 25th, 2009 |
| Replies: 10 Views: 591 use a loop that will check the mdichild's forms then close them and then open the form you wanted to open...
For Each frm As Form In Me.MdiChildren
frm.Close()
Next
Dim frm1 As... |
Forum: VB.NET May 25th, 2009 |
| Replies: 5 Views: 442 add also in your login checking about sql injection or else it will be easily to hack... |
Forum: Visual Basic 4 / 5 / 6 May 20th, 2009 |
| Replies: 1 Views: 283 can you post your code here? |
Forum: Visual Basic 4 / 5 / 6 May 20th, 2009 |
| Replies: 2 Views: 426 you can also use database to manipulate the data you needed or save the file in the text file |
Forum: Visual Basic 4 / 5 / 6 May 20th, 2009 |
| Replies: 4 Views: 546 Module Code:
Public ButtonPressed As String
Button1 Code:
ButtonPressed = "Button1"
Button2 Code:
ButtonPressed = "Button2"
to get what button is pressed... |
Forum: Visual Basic 4 / 5 / 6 May 18th, 2009 |
| Replies: 6 Views: 673 best way of practice in sql is that if you have a joined tables then use the keyword join (INNER JOIN, LEFT JOIN, RIGHT JOIN ETC...)
Dim sqlSelect As String
sqlSelect = " SELECT MP.name,... |
Forum: Visual Basic 4 / 5 / 6 May 18th, 2009 |
| Replies: 7 Views: 1,614 yup please specify waht db you are using and what connection you use, is it either DAO or ADO. |
Forum: VB.NET Feb 25th, 2009 |
| Replies: 6 Views: 1,207 first is what field is your primary key? is it the dept_code or dept_name?
Now, what you want is a little bit complicated WHEN your primary is the dept_code.
Why? because if your primary... |
Forum: Visual Basic 4 / 5 / 6 Feb 10th, 2009 |
| Replies: 8 Views: 595 |
Forum: Visual Basic 4 / 5 / 6 Feb 10th, 2009 |
| Replies: 2 Views: 447 well at least do some homework first before asking a favor sniff.sniff.sniff |
Forum: Visual Basic 4 / 5 / 6 Feb 10th, 2009 |
| Replies: 12 Views: 872 Well it's very clear as the sunshine. You have just used the "rs" but not declaring/setting it. |
Forum: Visual Basic 4 / 5 / 6 Feb 10th, 2009 |
| Replies: 1 Views: 334 can you show your code here? |
Forum: Visual Basic 4 / 5 / 6 Feb 10th, 2009 |
| Replies: 2 Views: 467 here check this out. (http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/ecb3b06e-8e3f-4c0f-9fc3-5e3fd28a852a/) |
Forum: Visual Basic 4 / 5 / 6 Jan 27th, 2009 |
| Replies: 3 Views: 765 hey dont be so mean debasis... It seems he want an ERP program. It's huge attari I tell you. coz that's what I'm working on here... cheers. |
Forum: Visual Basic 4 / 5 / 6 Jan 27th, 2009 |
| Replies: 4 Views: 675 Try the change event, if there's an cancel property on their parameter then use it. or maybe the mousedown event. |
Forum: Visual Basic 4 / 5 / 6 Jan 27th, 2009 |
| Replies: 27 Views: 1,846 Hi,
If the problem is duplication then you must check first the primary keys. How many primary keys in your table, one, two, or more? OK, suppose you have a table name Employee and have three... |
Forum: Visual Basic 4 / 5 / 6 Jan 27th, 2009 |
| Replies: 3 Views: 765 ERP project? what's your problem? can you post it here? |
Forum: VB.NET Jan 22nd, 2009 |
| Replies: 0 Views: 270 Hi Fellas,
Situation:
1. In your database table i.e customertable have 500 records/rows.
2. A datagrid in a form can shows 100 visible of rows.
"Since the datagrid can show 100 visible rows i... |
Forum: Visual Basic 4 / 5 / 6 Jan 21st, 2009 |
| Replies: 7 Views: 747 just make an algo on that then use the conditional statements. |
Forum: Visual Basic 4 / 5 / 6 Jan 21st, 2009 |
| Replies: 5 Views: 2,936 Hey who used this? I don't remember I've replid to this thread. Who the f**k hack my account. |
Forum: Visual Basic 4 / 5 / 6 Jan 21st, 2009 |
| Replies: 10 Views: 727 in your timer event deduct the opacity of the label in every tick og the timer then after it was about 50% change the color to black or white then back the add the opacity in every tick until it will... |
Forum: Visual Basic 4 / 5 / 6 Jan 21st, 2009 |
| Replies: 1 Views: 302 Move to vb.net forum. well.. try to look at here (http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/758a465b-d36d-4a38-ac73-95fdc5a4df3c/) for the solution |
Forum: Visual Basic 4 / 5 / 6 Jan 21st, 2009 |
| Replies: 10 Views: 1,090 will you must have an inventory table in your database. have a column for "ItemID", "ItemDesc", "QuantityIn", "QuantityOut", "QuantityRemaining"
so you can update now your inventory table... |
Forum: Visual Basic 4 / 5 / 6 Jan 21st, 2009 |
| Replies: 27 Views: 3,312 sorry i didnt read all replies... lol. veena already answered it... |
Forum: Visual Basic 4 / 5 / 6 Jan 21st, 2009 |
| Replies: 6 Views: 590 hmmmm. let me say. you have a listbox for the names of persons, ryt? so when you select a person's name i.e. as what you've said is 'matt' then when you clicked the button "Load User Info" other form... |
Forum: Visual Basic 4 / 5 / 6 Jan 21st, 2009 |
| Replies: 10 Views: 727 well, you will trigger the timer inside each timer so if 1st timer is going to finish the job the second timer must be enabled in order to run the second timer and so on... |
Forum: Visual Basic 4 / 5 / 6 Jan 21st, 2009 |
| Replies: 2 Views: 848 ... you mean you want to add the names of the databases in the listbox? or the reply og rombusia is what you needed. |
Forum: Visual Basic 4 / 5 / 6 Jan 21st, 2009 |
| Replies: 9 Views: 1,381 Will as of now I stop using VB6 so I have no VB6 here in my PC. but regarding with your problem I think there's a method or function that indicates the form whether is it activated or not or opened... |
Forum: Visual Basic 4 / 5 / 6 Jan 21st, 2009 |
| Replies: 7 Views: 1,098 In the form load of the form you want to center put this code
Me.Move (mdiMain.Width - Me.Width) / 2, (mdiMain.Height - Me.Height) / 2 |
Forum: Visual Basic 4 / 5 / 6 Dec 29th, 2008 |
| Replies: 11 Views: 1,003 can you please put a screenshot of your searchform here. As what you have said you have a multiple criteria for your search, ergo it has a 99% of possibility that it will retrieve more than one... |
Forum: Visual Basic 4 / 5 / 6 Dec 2nd, 2008 |
| Replies: 4 Views: 499 Welcome to DANIWEB tol...
Can you post your code here, then we'll give you back-up! |
Forum: Visual Basic 4 / 5 / 6 Dec 2nd, 2008 |
| Replies: 9 Views: 2,646 if you just remove the data in the listview, and when your listview was not bound in the database, everytime you load the form the data you remove will back again since you dont remove it in the... |
Forum: Visual Basic 4 / 5 / 6 Nov 7th, 2008 |
| Replies: 2 Views: 728 Here, hope this would help.
http://www.sql-tutorial.net/ |