Im havin noobie problems like making OK and Cancel buttons any help please lol?.. also how do u go about makin seperate dialog boxes so that when i click on New Entry it opens a "New Entry" Dialog?
If vbYes = MsgBox("press", vbDefaultButton1 + vbYesNo + vbMsgBoxSetForeground + vbQuestion, "Title") Then
vbDefaultButton 'connects' the first button (here the Yes button) to the enter key.
vbYesNo means that there will be 2 buttons to click on.
vbMsgBoxSetForeground means that what ever happens the messagebox will be put in front of any other form or app.
vbQuestion shows an questionmark icon
You can make you own 'dialogs' by showing a (little) form. Place some commandbuttons on it and/or some little pictures as icons.
Show it with:
so the user has to click on it before the app proceeds.
In the commandbuttons of the form take this code to hide the form:
Private Sub Command1_Click()
Now your app continues on the next line of code after this line:
That will be what you probably need to do but if you're trying to put those buttons on the application that isn't in a message box then just add a command button from the tool box and in the property window in the bottom left of the screen (when the button is selected) change the caption to whatever you want it to say.
I made a prime number finder, it finds the nearest prime that is above and below any integer (Does not work that well with giant numbers.)
Made this in cpp.sh
Why would I need the x=y+1-1;?
x=y; just doesnt seem to work
Why is this?
And I know my coding ...
write a C++ program which take inputs from the user/keyboard and calculate his ZAKAT.
get the input from user may include
-Amount invested in business
-Amount given to other business partners as loan
-Amount payable to others
there are five tables (personTb, addressTb,churchTb) each holds data pertinent to an individual; (personAddress,personChurch) each hold the primary key for the person table and corresponding table IE personAddress holds primary key for addressTb.
both snippets work, my question is; Is my join correctly formatted?
select concat(personTb.p_fName,' ',personTb.p_mName,'. ',personTb.p_lName) ...