Forum: HTML and CSS Nov 3rd, 2007 |
| Replies: 2 Views: 1,048 CSS position problem I'm a newbie to css and I've hit the wall :(
I would like the user of the web page/site to scroll down the page and still have the navigation bar shown at all times. I've managed to do this,... |
Forum: Visual Basic 4 / 5 / 6 Nov 1st, 2007 |
| Replies: 2 Views: 1,757 Re: highlight row in msflexgrid These links might help...
Flexgrid examples. (http://www.xtremevbtalk.com/showthread.php?threadid=35110)
Microsoft support. (http://support.microsoft.com/kb/181912) |
Forum: Visual Basic 4 / 5 / 6 Oct 31st, 2007 |
| Replies: 6 Views: 2,094 |
Forum: Visual Basic 4 / 5 / 6 Oct 27th, 2007 |
| Replies: 1 Views: 689 Re: LibertyBasic.com This is just a wild guess (I've never tried Liberty Basic) but I noticed that some of the code in the square brackets is different. In other words...
GOTO [assignRiskCode]
GOTO... |
Forum: Visual Basic 4 / 5 / 6 Oct 26th, 2007 |
| Replies: 8 Views: 1,275 |
Forum: Visual Basic 4 / 5 / 6 Oct 25th, 2007 |
| Replies: 6 Views: 1,243 |
Forum: Visual Basic 4 / 5 / 6 Oct 25th, 2007 |
| Replies: 6 Views: 2,094 |
Forum: Visual Basic 4 / 5 / 6 Oct 24th, 2007 |
| Replies: 6 Views: 1,243 Re: Calculator help Glad you liked it. Here's the code. You may need to do some changes to it, because of the software you're using. Try the vb.net forum if you get stuck. Good luck :) |
Forum: Visual Basic 4 / 5 / 6 Oct 24th, 2007 |
| Replies: 6 Views: 1,243 Re: Calculator help Here's a program to look at. My apologies for not using text boxes. I used buttons and then realized my mistake after re-reading your post. Still, the same theory applies... Store the values, and... |
Forum: Visual Basic 4 / 5 / 6 Oct 24th, 2007 |
| Replies: 0 Views: 831 VB and Word I've got a problem with Word. My program can open Word, put text into it, save it and close it. But if I try to use Word again (without closing my program) I get an error...
Run time error... |
Forum: DaniWeb Community Feedback Oct 12th, 2007 |
| Replies: 8 Views: 647 Re: Solved threads. Thanks for that. Looks nice. Any chance of getting the same fix in the "Find all posts by (insert name)" page? |
Forum: DaniWeb Community Feedback Oct 12th, 2007 |
| Replies: 8 Views: 647 Re: Solved threads. I see what you mean, but there are also direct links to the threads on that page.
I've attached an image to show you what I'm looking at.
Thanks for the reply :)
* Gets up off knees, and resumes... |
Forum: DaniWeb Community Feedback Oct 12th, 2007 |
| Replies: 8 Views: 647 Solved threads. Hi, I couldn't find any info about this, so...
When I click on my name and select "Find all threads started by Prozeen" it shows the list of threads, but it does not telll me which of the threads... |
Forum: Visual Basic 4 / 5 / 6 Oct 12th, 2007 |
| Replies: 1 Views: 1,622 Re: Save code to text file? After having a look around, I just decided to do it manually. But here's a couple of links if you're interested...
vbforums.com... |
Forum: Visual Basic 4 / 5 / 6 Oct 12th, 2007 |
| Replies: 5 Views: 1,475 Re: Dialogbox and Cancel Hooray, I think I've finally worked it out...
The code below displays a "Save As" dialog box. It then shows a message box if the user clicks on the Cancel button (or if they try and close the dialog... |
Forum: Visual Basic 4 / 5 / 6 Oct 11th, 2007 |
| Replies: 5 Views: 1,475 Re: Dialogbox and Cancel Yeah, error trapping is not the easiest thing in the world. BTW, is there an easier way to do this (e.g. if cancel = "" then)???
Hmmm, how can another error be created even though I was clicking on... |
Forum: Visual Basic 4 / 5 / 6 Oct 10th, 2007 |
| Replies: 5 Views: 1,475 Re: Dialogbox and Cancel Okay I've now got the following code...Do
On Error GoTo cancelmessage
comdia.cancelerror = True
comdia.Filter = "*.doc"
comdia.InitDir = "C:\"
comdia.filename =... |
Forum: Visual Basic 4 / 5 / 6 Oct 10th, 2007 |
| Replies: 5 Views: 1,475 Dialogbox and Cancel Hi, I am displaying a dialogbox to the user. If the user clicks the "Cancel" button I want to show a message box, then I want to continue displaying the dialogbox. The best I can come up with... |
Forum: Visual Basic 4 / 5 / 6 Oct 9th, 2007 |
| Replies: 6 Views: 4,648 Re: Formula for percentage? Okay, to cut a long story short, I finally got it. For some reason I had to declare "success" in the general declarations section. I don't know how, but it fixed the problem and now I'm using the... |
Forum: Visual Basic 4 / 5 / 6 Oct 9th, 2007 |
| Replies: 6 Views: 4,648 Re: Formula for percentage? Thanks for the help guys. Okay, I tried running the program, using both the formulas you supplied at the same time. When I use the program with no incorrect answers I get...
plusplus = 0
zmariow =... |
Forum: Visual Basic 4 / 5 / 6 Oct 9th, 2007 |
| Replies: 6 Views: 4,648 Formula for percentage? Hi, this is a mathematical question, but I'm doing it in VB so I thought I'd post it here...
A person is shown a total of 10 numbers. When a number appears on the screen they have to type that... |
Forum: Visual Basic 4 / 5 / 6 Oct 4th, 2007 |
| Replies: 3 Views: 1,612 Re: EOF and Excel Thanks for the help guys, here's what I came up with...Dim rownum As Integer
rownum = 1
Do
If IsEmpty(sheet.Cells(rownum, 1)) Then
MsgBox "No more data"
Exit Do
Else
MsgBox... |
Forum: Visual Basic 4 / 5 / 6 Oct 3rd, 2007 |
| Replies: 11 Views: 888 Re: DropList Help? Maybe try this? Amazing things you can do with the Listbox control (http://www.vb6.us/tutorials/indepth-vb6-listbox-tutorial) Or, check out the zip file. Good luck. |
Forum: Visual Basic 4 / 5 / 6 Oct 2nd, 2007 |
| Replies: 11 Views: 888 Re: DropList Help? Do you mean the listindex property (for a listbox)?Dim a As Integer
Dim b As Integer
Private Sub Command1_Click()
If List1.ListIndex = -1 Then
MsgBox "nothing selected"
ElseIf List1.ListIndex = 0... |
Forum: Visual Basic 4 / 5 / 6 Oct 2nd, 2007 |
| Replies: 3 Views: 1,612 EOF and Excel Hi, how do I use the EOF function with an Excel spreadsheet? I'm thinking that the EOF needs a file number. But in my code below, I don't have a file number. What do I need to do? Any links, code,... |
Forum: Visual Basic 4 / 5 / 6 Sep 16th, 2007 |
| Replies: 17 Views: 1,277 |
Forum: Visual Basic 4 / 5 / 6 Sep 16th, 2007 |
| Replies: 17 Views: 1,277 |
Forum: Visual Basic 4 / 5 / 6 Sep 14th, 2007 |
| Replies: 4 Views: 884 |
Forum: Visual Basic 4 / 5 / 6 Sep 14th, 2007 |
| Replies: 17 Views: 1,277 Re: Selections in combos Is this what you want?
Private Sub Combo1_Click()
If Combo1.ListIndex = 0 Then
Combo2.Text = "No data"
MsgBox "Please select a car manufacturer."
ElseIf Combo1.ListIndex = 1... |
Forum: Visual Basic 4 / 5 / 6 Sep 14th, 2007 |
| Replies: 1 Views: 1,622 Save code to text file? Hi all,
I would like to save my project's code in a text file when the project runs (so that I can keep track of any changes) I know how to open/print/write/close a text file, but how would I... |
Forum: Visual Basic 4 / 5 / 6 Aug 21st, 2007 |
| Replies: 18 Views: 1,803 |
Forum: Visual Basic 4 / 5 / 6 Aug 21st, 2007 |
| Replies: 18 Views: 1,803 Re: help me please.. (simple quiz) I just re-read this thread. It looks like I did misunderstand you. My apologies. In the second form, I declared another two public variables (c and d.) These two variables carry the two "running... |
Forum: Visual Basic 4 / 5 / 6 Aug 21st, 2007 |
| Replies: 18 Views: 1,803 Re: help me please.. (simple quiz) Here you go, it's rough, but I'm sure it will do. If you want to ask questions about the project I just sent you, feel free. Don't forget, there are other people on this forum who have much more... |
Forum: Visual Basic 4 / 5 / 6 Aug 21st, 2007 |
| Replies: 18 Views: 1,803 |
Forum: Visual Basic 4 / 5 / 6 Aug 21st, 2007 |
| Replies: 18 Views: 1,803 Re: help me please.. (simple quiz) Unless I misunderstand you, I believe you have to create the 5 forms when you are initially creating your vb project (i.e at "design time.") Then you can access those forms with the code you write. |
Forum: Visual Basic 4 / 5 / 6 Aug 21st, 2007 |
| Replies: 18 Views: 1,803 Re: help me please.. (simple quiz) You create the two forms at design time. Look for a toolbar shorcut icon (that looks like a form.) Or if you can't find it, look for "Add Form" (or something like that depending on what version of vb... |
Forum: Visual Basic 4 / 5 / 6 Aug 21st, 2007 |
| Replies: 18 Views: 1,803 Re: help me please.. (simple quiz) The following is some rough code to get you started. It assumes you have a total of 2 forms, 3 frames, 6 option buttons and two command buttons.
'This is for Form 1...
Public a as integer
public b... |
Forum: Visual Basic 4 / 5 / 6 Aug 21st, 2007 |
| Replies: 18 Views: 1,803 Re: help me please.. (simple quiz) If I understand you correctly...
It looks like you need to store two variables (for the correct and incorrect answers), have the user answer the questions, hide the first form, show the second form... |
Forum: Visual Basic 4 / 5 / 6 Aug 20th, 2007 |
| Replies: 2 Views: 678 Re: Problem with two forms Thanks plusplus.
I didn't think to use the "form1" part of the code, because I thought this would be automatically known by vb due to the fact that it is a Public variable.
Nice one, thanks :) |
Forum: Visual Basic 4 / 5 / 6 Aug 20th, 2007 |
| Replies: 2 Views: 987 Re: .:: Urgent - SetFocus Help ::. If I understand you correctly, you are wanting to know the name of a control that has received the focus (i.e. setfocus) and therefore you need to use "gotfocus"? |