16,014,392 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by kennytan_ph (Top 8 by date)
kennytan_ph
4-Dec-11 8:37am
View
try using a view
kennytan_ph
5-Oct-11 8:59am
View
I would like to add the following check so that the session variable will not keep on resetting every time a call is made.
//declare a new session variable
if (Session["lastrequest"] == null)
Session[ "lastrequest" ] = DateTime.Now;
kennytan_ph
5-Oct-11 8:49am
View
sorry, it's not clear enough to me what you want to do.
kennytan_ph
5-Oct-11 8:33am
View
don't you think he tried?
kennytan_ph
5-Oct-11 7:46am
View
It would be helpful if you can provide the complete page code.
Also, querying the database every half-second will cause considerable performance issue.
kennytan_ph
5-Oct-11 7:39am
View
I think it would be better if you just use Session variable. Store the time in a session variable on the first call. Then compare it with the current time on the succeeding calls.
kennytan_ph
16-Aug-11 2:39am
View
are you running on device emulator?
kennytan_ph
15-Aug-11 1:25am
View
Printer manufacturers may have APIs for printing which I can use for printing the image. But I don't want to use those APIs, I want something I can use for any printer.
I am able to print Texts with the SerialPort (the port is assigned to a bluetooth printer) control by using the SerialPort.write() function.
What I meant of "preferrably using serial port control" is, to have a solution that uses the SerialPort.Write() function.
But if anyone has a better solution, that will be better.
Thanks!
Show More