Forum: Visual Basic 4 / 5 / 6 Nov 11th, 2009 |
| Replies: 6 Views: 638 why not make function that will open another program which will create a database? |
Forum: Visual Basic 4 / 5 / 6 Nov 11th, 2009 |
| Replies: 6 Views: 638 weel theres a function to let the user select a directory, used it to where you save you database to be created. you can also use that to open the database. I think the control is Dialog, opendialog... |
Forum: Visual Basic 4 / 5 / 6 Nov 11th, 2009 |
| Replies: 8 Views: 472 you will add a code during runtime? I don't know it its possible but to make a work around on that... make a code/function that will be soon called of the control you will be going to add. You can... |
Forum: Visual Basic 4 / 5 / 6 Nov 11th, 2009 |
| Replies: 3 Views: 402 check the fields if it allows null value. if not then put a trappings to force the user to enter a value on the field. |
Forum: Visual Basic 4 / 5 / 6 Nov 11th, 2009 |
| Replies: 10 Views: 792 ooops! sorry, please omit the Set keyword or maybe not, I forget its years when I stop vb6 but anyhow it must be that way. Do you know how to use a recordset? You pass a query then the recordset will... |
Forum: Visual Basic 4 / 5 / 6 Nov 10th, 2009 |
| Replies: 10 Views: 792 Dim rs As Recordset
Set rs= deSub.conn.Execute("SELECT clientnumber FROM individualsubs WHERE firstname = '" & txtfname.Text & "' AND surname = '" & txtsurname.Text & "'")Set ri =... |
Forum: Visual Basic 4 / 5 / 6 Jun 17th, 2009 |
| Replies: 5 Views: 1,721 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: 591 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: 443 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: 579 so does this thread solved? |
Forum: Visual Basic 4 / 5 / 6 May 20th, 2009 |
| Replies: 1 Views: 304 can you post your code here? |
Forum: Visual Basic 4 / 5 / 6 May 20th, 2009 |
| Replies: 2 Views: 450 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: 579 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: 720 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,921 yup please specify waht db you are using and what connection you use, is it either DAO or ADO. |
Forum: Visual Basic 4 / 5 / 6 Feb 10th, 2009 |
| Replies: 8 Views: 701 |
Forum: Visual Basic 4 / 5 / 6 Feb 10th, 2009 |
| Replies: 2 Views: 469 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: 908 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: 360 can you show your code here? |
Forum: Visual Basic 4 / 5 / 6 Feb 10th, 2009 |
| Replies: 2 Views: 482 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: 835 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: 697 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,973 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: 835 ERP project? what's your problem? can you post it here? |
Forum: Visual Basic 4 / 5 / 6 Jan 21st, 2009 |
| Replies: 7 Views: 805 just make an algo on that then use the conditional statements. |
Forum: Visual Basic 4 / 5 / 6 Jan 21st, 2009 |
| Replies: 5 Views: 3,089 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: 775 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: 315 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,120 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,461 sorry i didnt read all replies... lol. veena already answered it... |
Forum: Visual Basic 4 / 5 / 6 Jan 21st, 2009 |
| Replies: 6 Views: 643 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: 775 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: 940 ... 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,425 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,120 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,051 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: 531 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,939 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: 788 Here, hope this would help.
http://www.sql-tutorial.net/ |
Forum: Visual Basic 4 / 5 / 6 Nov 7th, 2008 |
| Replies: 5 Views: 510 yEAH! I agree with Qveen, used the hide button then make a global variable that stores the name of the form... |