Time and a message -
Hi all,
I need to do something in my program like this:
if time was > 12 AM and time < 12 PM then say "Good morning!"
else if time was > 12 PM and time < 6 PM then say "Good afternoon!"
else if time was > 6 PM and time < 12 AM then say "Good evening!"
That's not the problem, But how can I compare time, I mean the exact time (not just the hours, also the minutes and if possible the second).
Thanks very much,
zeid
Command Bar -
When i am recalling a message in outlook, I get a lebel somthing like this in the sentmessage:
You attempted to recall this message on Monday, November 21, 2005 10:19 AM.
I want to take out this timing when the message was recalled.
Actually, I have written a script which re
What Is Run-Time Error '5' And....... -
I am trying to write a Doom game using VB6 Pro and when I load a set of Forms, using Form6.Show etc. Then at run-time I get the following message that crashes the program.
The error message is:
Run-time error '5' and the message is: invalid procedure call or argument.
Could you
Waiting time -
I want to put a timer for waiting so that there is 10 sec time interval between one message box to another message box.
I mean after hitting OK of the first message box, the second message box will pop up after 10 seconds.
I am using VB.NET.
Message Boxes -
How do you set the location of where a message box appears when it is called. I want to call a couple message boxes at the same time in a loop. The problem is they all stack on top of each other so you only see one at a time. Please Help Me!
Message on Form -
How do you write a message on a form at run time Please ,and when you re-run the .exe the message is still there and you can change the message to a new message.
hope you understand what i mean.
Thanks Paul
Unregistered ActiveX -
Hello @ll,
Q: I have make small api, and I use unregistered ocx ( no time limit )!
From time to time, I get message box where I get info that I use
unregistered ocx control! Can I use some code to detect message in my
sw and using code to avoid that message, or some kind of code
Outlook outgoing message -
Hi,
I am sending email through VB program. I have to pick multiple mail records from database and then send it. Each time in a loop it shows this message and every time i need to click yes.
Message->
A program is trying to automatically send e-mail on your behalf. Do you want
Send a message... -
OK. I am a newbie with Winsock. I would like some code to send a message across a network. How can i do this.
A have a form (frmMain.frm) and a recieve form (frmReceive.frm) I want it to pop up a message box, (who from, wot time sent, and the message) when a message is received.
ActiveX Control Run Time vs. Design Time -
Hi...
OK, I want to know how can I find out in my ActiveX Control, if the control is used at design time, or run time. I have code in my ActiveX Control that runs in design time, and I DON'T want it to run.
For example if I put a message in the UserControl_Initialize() saying "
How can I set different time for different date. -
Hi all:
One of my last part in the project is How can I set different time to pop up a message in different date.
For example: From Monday to Thurday, I want to set time to pop up a message @ 10:30 pm. From Friday to Sunday @ 6:00pm.
Please help
Thanks
Linking in message boxes -
Hello, all. Dang it's been such a long time since I've posted here. Been good and busy! Anyway, my question was:
Can you put a link in a message box, or do you have to create your own custom "message box" from a form with a linklabel in it? I've searched this forum, PS
Run-time error 429 - license info not found -
Hello there,
I get a strange error message during loading:
"Run-time error '429': License information for this component not found. You do not have an appropriate license to use this functionality in the design environment."
This error message occurred when I loaded
sockets question -
Hi,
Does anybody know what will happend in this scenario:
I set up a server to listen on a particular socket.
Later a client will send a message to that socket, but in that period of time the server (listener) it is very busy and may not be able to read the message in the momment
Detecting changes in system time -
Hi all,
I know that I can detect when the system time has changed by trapping the WM_TIMECHANGE message. Unfortunately, I need to know what process caused the time to change in the first place.
For WM_TIMECHANGE, neither the LParam or WParam components of the message structure co
Message comparison -
I am writing a message system for my game engine.
I am writing a message director so object types can register messages as to ease the time the handlers are in actions.
I do not want to run a for loop on a dword array to check if a certain unit type is to recieve this message for e
Run Time -
if (lblTime.Text == MyString) //format to "hh:mm tt"
{
MessageBox.Show("hoy AM");
return 0;
}
above code problem is that showing multiple messagebox, i tried already this
custom message box -
i am developing a touchscreen interface using VB6.0 and NT. i wish to create my own message box function, larger buttons, icons, etc. but don't know how to create it such that i can call multiple message boxes at the same time. by creating a form for the message box in vb i can call
Need help with VB and WinNT -
I'm in the middle of doing a simple Blackboard/Message board system for use in work. It's pretty much done apart from the final part that the bosses want done which involves creating a log file stating who read the messages including date and time. The date and time is easy enough but
connect receiver when need to send message!! -
i got one chat system, when i want send message to receiver, i will start connect to the receiver side...after connected and send out first message, when i want send the message, i connect again to the receiver side and this time i couldnt done job because occur some error.....i know t
message filter error message -
hello
what is a message filter
i got this error message
"Run time error '-2147417846 (8001010a)':
Automation eror
The message filter indictaed that the application is busy"
Creating Error Log -
I would like to create an error log in which each time there is a problem, the program will print the error message to a specific file.
I am using VB .net. Is there a built in class that does this for me or would i have to deal with a lot of file manipulation? Each time there is a
Message box display, then dissapear -
How can I display a message box for a certain length of time, then have the message box close without user intervention.
I use VB6.
Thanks
Time and a message -
Hi all,
I need to do something in my program like this:
if time was > 12 AM and time < 12 PM then say "Good morning!"
else if time was > 12 PM and time < 6 PM then say "Good afternoon!"
else if time was > 6 PM and time < 12 AM then say
Reminder Plus -
Hello,
I have made a reminder program, where you type the name (who to) and the message and the date and time to be reminded. Then when the time comes, a box pops up telling you who to and the message and then asks if you want to display it again in 3 minutes.
I developed it in V
validation error message [*Resolved*] -
Hello
I am new at learning ASP.Net. I have created a form that allows a user to enter their name and address. I have a RequiredFieldValidator on the form for each of the text boxes. Each time l run the form, l get this message box that displays this error message.
"Unable to
How to create a message box without a button -
I want to show a message box in VB script which should not have any button. The messge box should close after a particular time.
It would be Ok, if we are able to disable the OK button in the message box.
TIA
MS Wrod 2003 Error Message -
Hello Everyone:
I keep getting the same message every time I start MS Word 2003,
“Microsoft Visual Basic
The macros in this project are disabled. Please refer to the online help or documentation of the host application to determine how to enable macros.”
I have looke
Message box vba -
Hello, what i am trying to do, I need a message box to appear whereever the user is at on the workbook whenever sheet called "data" cell a16 value goes to 1600 or below for the first time. Then a different message box to appear whenever the value goes back above 1600. Could
Removing outlook attachment from Word code -
Hello everyone,
I am working on a project which is in Word. The project involves creating an Outlook mail message from Word and attaching the current word document as a PDF attachment. After the message has been sent, the attachment must be removed from the message otherwise it causes
Musings about time travel and computers -
If time travel becomes possible then all things that are computable will immediately be known.
Say an encrypted message is given to you, all you have to do is send a computer into the past with a brute-force algorithm to crack the message and leave it in a pre-determined (post-deter
Run Time Error -
i am using a lostfocus()routine that checks to see if a field contains the correct information. If it does not I set focus back to that text box then I display a message box. The app works before I make it an executable, however, when I run it as an executable I receive a run time err
Permission Denied !!!! [resolved] -
What on earth could cause that? The last change I made to the program was the search function. If no matching record is found, a messsage box appears.
Up until then I had made changes and compiled the program. Running the exe was fine.
Now when I try to compile I get the m
Check Box Used Once -
my friend and i were trying to find out how to use a check box once, or even setting it to be used more than once. can you help me?
i've seen in many software, sometimes a message will keep coming up, so it says if you don't want to see this again, check this box......this is what i
Multiple Message boxes -
Is it possible to have more then one message box be displayed at the same time using a Do...Loop?
Silly MsgBox Question -
I have had time off VB and am slowly coming back to it!!!
My problem is this: I have created a form with 2 text boxes on it. One in for the the message in the msgbox and the other is for the label at the top of the box.
I can get the contents of the message box to appear in the
Can you automatically send a message to a chat window each time the text changes -
I'm having a conversation in a chat window, and I want to detect each time the person sends me a message, and then I want the program to automatically send them a message without having to type or press a button. Is there a way to do this? I thought about maybe doing something like u
How, subclassed comm between two VB6 apps -
I am attempting to SubClass two VB6 apps. I created a custom window message
via RegisterWindowMessage (same) on both apps.
I then use PostMessage api on App1 and expect App2 to see it.
However, App2 never reponds that it sees the message. I have a test that
picks up the Time Ch
message box can auto close -
hi guys,
the below is my code to display a message box after a certain interval of time.
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Timer1.Interval = 10000
MessageBox.Show(ssid2, "Wireless Network", Messag
Synchronizing Time -
I have a few computers connected over a LAN that all need to be using the same time down to the second. I have some functionality built into my programs currently to send and receive system time via UDP, but it seems like this should not be necessary as more than a check.
Supposedly
Nuisance pop up -
I want to be able to "interrupt" a user and send a pop up message that will show up on their screen (on top of everything else).
For instance, if I need to "bounce" the server, I want to be able to send a message that will pop up and say "The server is goin