Forum: Visual Basic 4 / 5 / 6 Dec 24th, 2007 |
| Replies: 5 Views: 1,420 |
Forum: Visual Basic 4 / 5 / 6 Dec 24th, 2007 |
| Replies: 2 Views: 2,771 At runtime I want to check if a certain form is open. I know how to check if a form is open.
I do it like this(where form1 and form2 contain the names of the form)
For Each fForm In Forms
... |
Forum: Visual Basic 4 / 5 / 6 Dec 24th, 2007 |
| Replies: 5 Views: 1,420 |
Forum: Visual Basic 4 / 5 / 6 Dec 23rd, 2007 |
| Replies: 5 Views: 1,420 When resizing the form, I resize the toolbar on top. When it gets too small for all the buttons on the toolbar to show I want to either
Split the buttons into two lines or
Add a button at the... |
Forum: Visual Basic 4 / 5 / 6 Nov 28th, 2007 |
| Replies: 0 Views: 1,013 can anyone tell me how to use it? |
Forum: Visual Basic 4 / 5 / 6 Nov 19th, 2007 |
| Replies: 5 Views: 1,274 |
Forum: Visual Basic 4 / 5 / 6 Nov 19th, 2007 |
| Replies: 5 Views: 1,274 |
Forum: Visual Basic 4 / 5 / 6 Nov 19th, 2007 |
| Replies: 2 Views: 1,296 I want to show a form and on top of that form I want to show another form. I want to be able to access any of the two forms (so I can't use vbmodal) One of the forms is bigger than the other and... |
Forum: Visual Basic 4 / 5 / 6 Nov 18th, 2007 |
| Replies: 5 Views: 1,274 Can a form have a different shape than just square or rectangle |
Forum: Visual Basic 4 / 5 / 6 Nov 18th, 2007 |
| Replies: 1 Views: 1,738 is it possible to change the color of the form's border
usually when form is active it's blue and when inactive it's a little lighter
I want it should seem active even when it's not |
Forum: Visual Basic 4 / 5 / 6 Nov 18th, 2007 |
| Replies: 2 Views: 1,296 how to keep a certain form always behind other forms |
Forum: Visual Basic 4 / 5 / 6 Oct 31st, 2007 |
| Replies: 2 Views: 3,039 when user selects a cell, I want to highlight the whole row, how do I do this? |
Forum: Visual Basic 4 / 5 / 6 Oct 30th, 2007 |
| Replies: 1 Views: 1,781 In the first column of my grid I don't want any lines between the rows(in the other columns I do want them) How can I do this? |
Forum: Visual Basic 4 / 5 / 6 Oct 30th, 2007 |
| Replies: 5 Views: 1,278 Bau_id exists only in one of the tables(thanks for pointing that out), so I changed tblfrist.bau_id to just bau_id and now it works. I'm still not sure why tblfrist.bau_id should cause problems |
Forum: Visual Basic 4 / 5 / 6 Oct 30th, 2007 |
| Replies: 5 Views: 2,676 when you call the form add vbmodal
frmmsg.show vbmodal |
Forum: Visual Basic 4 / 5 / 6 Oct 29th, 2007 |
| Replies: 5 Views: 1,278 I'm getting runtime error 3265 -id doesn't seem to find the field bau_id,I don't understand why |
Forum: Visual Basic 4 / 5 / 6 Oct 29th, 2007 |
| Replies: 5 Views: 1,278 Here is my code, it works when I leave away the line in bold, I can't figure out what's wrong with my line in bold, I've been checking my database so many times already, can you help me |
Forum: Visual Basic 4 / 5 / 6 Oct 17th, 2007 |
| Replies: 11 Views: 2,781 let's call the adodc adologin,the table tbluser
'make connection to database
adologin.connectionstring = 'enter path of where your database is
'Select from your table the name and password entered... |
Forum: Visual Basic 4 / 5 / 6 Oct 17th, 2007 |
| Replies: 9 Views: 8,280 Thanks,I got it. Just one more question, is it not good to do it the way I did (with two ado), and why? |
Forum: Visual Basic 4 / 5 / 6 Oct 17th, 2007 |
| Replies: 9 Views: 8,280 what do you mean by connection object |
Forum: Visual Basic 4 / 5 / 6 Oct 17th, 2007 |
| Replies: 11 Views: 2,781 yes, do you know how to use it? |
Forum: Visual Basic 4 / 5 / 6 Oct 17th, 2007 |
| Replies: 9 Views: 8,280 adoreminder is adodc and it doesn't recognize execute. I have code that's working with two ado, I thought I can do it in one, but I can't get it right. Here is my code with two ados that's working.... |
Forum: Visual Basic 4 / 5 / 6 Oct 17th, 2007 |
| Replies: 11 Views: 2,781 Add to your components (right click on toolbar)
microsoft ado data control
do you have that? |
Forum: Visual Basic 4 / 5 / 6 Oct 17th, 2007 |
| Replies: 9 Views: 8,280 the first gives me syntax error at runtime
the second gives me error already when I leave the row |
Forum: Visual Basic 4 / 5 / 6 Oct 16th, 2007 |
| Replies: 9 Views: 8,280 Here I am again with my next sql problem. I'm not sure if I can use insert into for what I need. What I want to do is the following.
My tables
I have tblreminder with userid workid workdate
I... |
Forum: Visual Basic 4 / 5 / 6 Oct 16th, 2007 |
| Replies: 11 Views: 2,781 add another form to your project ex.frmlogin
have two textboxes there one for username one for password
add two comand buttons one for login one for cancel
add adodc to make connection to database... |
Forum: Visual Basic 4 / 5 / 6 Oct 16th, 2007 |
| Replies: 1 Views: 1,165 got my answer
if isnull() |
Forum: Visual Basic 4 / 5 / 6 Oct 16th, 2007 |
| Replies: 1 Views: 1,165 I have a left join in my select statement which works
printing all the info from tbl1 with matching info from tbl2
I also want to print true or false depending on if there is any match for each... |
Forum: Visual Basic 4 / 5 / 6 Oct 16th, 2007 |
| Replies: 8 Views: 2,065 It works thank you all for your help
this was the syntax that worked
ado1.recordset ("tblname.columnname") |
Forum: Visual Basic 4 / 5 / 6 Oct 15th, 2007 |
| Replies: 8 Views: 2,065 ok, I guess that was my problem, I have in both tables a column with same name and when I try to get that one it gives me an error. I thought it's because the recordset doesn't point to that table,... |
Forum: Visual Basic 4 / 5 / 6 Oct 15th, 2007 |
| Replies: 8 Views: 2,065 My problem is not the recordsource, it gives me all the records I need.
My problem is the recordset, it points only to one table and I need info from secondtable also |
Forum: Visual Basic 4 / 5 / 6 Oct 14th, 2007 |
| Replies: 8 Views: 2,065 tbl 1 has fields id, name,address
tbl2 has fields id, date
tbl2.id refers to same id of tbl1
I want all records from tbl2 print the name address and date.
name and address are in tbl1 and date... |
Forum: Visual Basic 4 / 5 / 6 Oct 14th, 2007 |
| Replies: 8 Views: 2,065 I have the following select statement which works, I need help to adapt it
adobau.RecordSource = "SELECT * FROM Liegenschaften INNER JOIN tblbau ON Liegenschaften.Rimo_Liegnr =... |
Forum: Visual Basic 4 / 5 / 6 Oct 14th, 2007 |
| Replies: 4 Views: 3,940 I put the path in my main sub of main module and call it strdb.
In the code I always write
CNN.open strdb
this way when there is a change you change it in the module and not every time you used... |
Forum: Visual Basic 4 / 5 / 6 Oct 11th, 2007 |
| Replies: 2 Views: 1,624 works great, thanks for your help |
Forum: Visual Basic 4 / 5 / 6 Oct 11th, 2007 |
| Replies: 2 Views: 1,624 I have a frame, inside it a few labels and text boxes. At some point while the program is running I want to move that frame to a different position. Is it possible to move it with all the lables... |
Forum: Visual Basic 4 / 5 / 6 Oct 11th, 2007 |
| Replies: 3 Views: 2,220 Is it better to use a hidden flexgrid than an array? |
Forum: Visual Basic 4 / 5 / 6 Oct 10th, 2007 |
| Replies: 9 Views: 2,783 where are you getting the error?
could it be that
if check8.value = checked
should really be
if check8.value = vbchecked
????? |
Forum: Visual Basic 4 / 5 / 6 Oct 10th, 2007 |
| Replies: 3 Views: 2,220 The way I understand it, is that rowdata and coldata can be used to keep some data for some specific row or column. What if I want each cell to have some data go with it, how can I do this? I need... |
Forum: Visual Basic 4 / 5 / 6 Oct 10th, 2007 |
| Replies: 3 Views: 1,470 what about the difference of
msflexgrid and mshflexgrid |