16,008,010 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 tslin89 (Top 23 by date)
tslin89
10-Jan-17 4:44am
View
Thanks a lot for the answer.
tslin89
4-Nov-15 23:01pm
View
Do you mean I should give more time to close the form?
This problem only occurred on server and I cannot debug on server as I only have 1 development license for INGEAR.NET.MBLINK.dll which is the main purpose of this application. But I will exclude that part and try to debug. Thanks.
tslin89
4-Nov-15 21:07pm
View
1) There are several errors in the EventViewer as shown below -
TerminalServices-Licensing, Report Server Windows Service, DNS-Server-Service, ESENT, HlpCtntMgr, Perflib, GroupPolicy, ADWS, TerminalServices-SessionBroker, Rdsm-UI, lphlpsvc, NetBT, TerminalServices-TSV-VmHostAgent, Service Control Manager, VSS, DistrubuctedCOM, MsiInstaller, Hyper-V-VMMS. I couldn't find anything related to my application. Or I do not know :(
2) I close down the application normally. I just added my Form-Closing method in the question. I also tried to close down using taskkill command from command line. But still the same.
3) 3rd party tools used in this project are -
(i) "FTD2XX_Net.dll" - Library to read data from FTDI Device which is used to convert RS232 to USB
(ii) "INGEAR.NET.MBLINK.dll" - MODBUS driver from Ingeardrivers to read/write PLC Modbus
(iii) "HCNetSDK.dll" - to capture HIKVision Network camera images
tslin89
9-Jun-15 21:26pm
View
Hi,
Yes. They are different and I don't know why. This is my Eclipse Project Structure[^]. There is no GoCMMS.undobar project. I think it was the name first used long long ago. Is there a way to change the project name or location or the project? I am really new to android. Please advice.
Thanks,
tslin
tslin89
6-Apr-15 6:01am
View
Yes, you are right. I already told about this to management. They told me to try out first :P
tslin89
6-Apr-15 5:49am
View
Yes, I agree with you. Problem is company want to save money. The other supplier have the SDK even in C# but they are expensive. That's why my company choose current supplier. We are still evaluating and product, so it can be changed if this not work out. Thanks.
tslin89
6-Apr-15 5:40am
View
Deleted
Yes, I agree with you. Problem is company want to save money. The other supplier have the SDK even in C# but they are expensive. That's why my company choose current supplier. We are still evaluating and product, so it can be changed if this not work out. Thanks.
tslin89
6-Apr-15 5:12am
View
Thanks for the reply. "00" represents double "0". Not 0x00. Also for "4500", "AA". Thanks for the port checking :) I already have validation for both Port and IP Address. The function here is just for the clarification.
So, there is no other way to send "MyData" as a single string but to split them into multiple bytes? Then I guess I need to create a helper method that will convert string into byte array for easy understanding and clean coding.
tslin89
6-Apr-15 5:05am
View
Thanks for the reply. I will try with single string. In my situation, "MyData" will be 26 characters max that user will key in. And there are two places for "MyData". The supplier have no manual or SDK. I already asked them and they said they only provide format. I guess I need to change supplier if this not work out.
tslin89
6-Apr-15 4:17am
View
Thanks for the reply. So, I cannot optimize the code?
Could you please explain what do you mean by "Create buffer dynamically"?
tslin89
11-Mar-15 0:03am
View
Thanks for the reply. I understand that and user's profile will be revoked when they resigned or left the company as a normal procedure.
My situation is similar to Goods refund in POS System. They need to receive the goods from customer and proceed refund operation. They shouldn't able to do that refund from other places. Normally, it can be done by using Windows Based application connecting to database from LAN or web based application hosted in intranet. But we are using web based and also some pages need to be accessed through WAN.
And thanks for the advice. I will check HttpRequest from provided link and continue.
tslin89
10-Mar-15 23:53pm
View
Thanks for the reply. What do you mean by "can't access the app"?
tslin89
11-Dec-14 20:29pm
View
Yes, I would like to see different method.
Thanks
tslin89
28-Nov-14 4:12am
View
What I am trying to accomplish is -
Let's say I have one parent form and one child form.
Parent Form have a menu strip with 1 menu item for child form.
step 1. I open a child form through menu item (Child form was opened) - Correct
step 2. I click the menu again (Another Child form was opened) - Wrong
step 3. I click the menu again (One more Child form was opened) - Wrong
What I want is after step 1, I don't want that Child Form from openning again by steps 2 and 3.
tslin89
28-Nov-14 2:28am
View
This works! I guess there is no choice to loop through MdiChild forms.
Thanks.
tslin89
28-Nov-14 1:49am
View
Yes, user can close the form at any time.
Hide the menu item after the form was shown? Yes, one of the solution. But if I am the user, I would still want to see the menu item and clicking on it will bring the form up (if it was already opened).
Thanks
tslin89
28-Nov-14 1:45am
View
My mistake. I just moved the solution to comment section and deleted the solution. Sorry for your comment that also deleted.
tslin89
28-Nov-14 1:39am
View
Thanks for the reply. I am not using "MdiWindowListItem" and I am not familiar with it. I will check it out.
1. I won't allow to create another instance of the child form as I am preventing to open the same form multiple times.
2. Once an instance for Child-Form is created, I don't allow them to hide. They can only close the form.
3. Always create? I will create one if they click on the menu item. Otherwise (i.e. user don't open the menu), instance will not be created for those forms.
4. Ok. This is my modified function without setting MdiParent property unnecessarily.
private void OpenForm(Form aForm)
{
if (aForm == null || aForm.IsDisposed == true)
{
aForm = new Form(); //<-- Problem here! How to initialize to desired form?
aForm.MdiParent = this;
}
aForm.Show();
if (aForm.WindowState == FormWindowState.Minimized)
aForm.WindowState = FormWindowState.Normal;
}
The line "aForm = new Form()" is giving me the problem as it create a new Form without any controls on it.
Thanks
tslin89
3-Jul-13 23:44pm
View
Thanks a lot Marc, this solved my problem.
I've checked and now I can direct export to PDF in all browsers (Chrome, FF, IE, Maxthon, Safari).
tslin89
27-Feb-13 1:59am
View
Thanks a lot. It's work now :D
tslin89
27-Nov-12 0:22am
View
Thanks again :)
tslin89
26-Nov-12 22:59pm
View
hi again!
How to implement a delegate method for this situation? Or event?
I need to call a method from MasterPage everytime user control is post back, right?
Could you show me some sample code?
tslin89
26-Nov-12 2:17am
View
Ok. Let me try. Thanks for your answer :)
Show More