15,999,410 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 webmail123 (Top 48 by date)
webmail123
3-Apr-24 13:51pm
View
I will do that. Thank you so much!!
webmail123
2-Apr-24 17:43pm
View
Thanks for the solution. I really appreciate it. I just tweaked the value of column A. So we can ignore all other values in column A except value of "CN". How can I make that change in VBA Code? I tried to replace it with empty string but if you observe, values of OU and DC can be different for each row. But we just need to consider the value of CN
webmail123
19-Jun-20 16:37pm
View
Great. Thanks for the reply. About moving folders, how can we move folders older than 45 days?
webmail123
15-Jun-20 18:53pm
View
That's Great. Sorry for the late reply but it worked. Thanks.
webmail123
12-May-20 9:31am
View
Thanks Richard. I tried this one. But the thing is, it writes count to the next line. I want the count on the same line in front of "# FolderCount Value".
Any suggestions?
webmail123
13-May-19 15:14pm
View
Thanks for the reply. I checked in account settings and it seems those are different 'Mailboxes'.
There are no errors at all.
webmail123
13-May-19 14:24pm
View
Hello Gerry.
I am not trying to hack any account. I have multiple inbox setup in my outlook account. (e.g. Inbox 1-> user:me, Inbox 2->user:u1, Inbox 3->user:u3). I am able to get the count of inbox 1 (Obviously) but I need to include the count of unread email from inbox 2 in a report.
webmail123
27-Mar-18 10:00am
View
Thank you for the solution. I will try and let you know.
webmail123
27-Mar-18 9:59am
View
Thanks for the explanation. I will keep that in mind and look for another way of implementing the same.
webmail123
27-Mar-18 8:38am
View
So if you observe the title as well as code, I don't have multiple MDI forms.
webmail123
27-Mar-18 8:38am
View
Sorry. I forgot to mention that in code. I updated the code now. ItemData is object of frmItemData. I set itemdata=null at frmItemData close event. But its still the same.
webmail123
27-Mar-18 8:37am
View
Yes I have idea about MDI forms. I need those forms to be treated other forms as a child forms for ease of use from user perspective.
webmail123
27-Mar-18 8:36am
View
Deleted
So if you observe the title as well as code, I am don't have multiple MDI forms.
webmail123
23-Mar-18 14:27pm
View
I checked with it. Its False.
webmail123
23-Mar-18 7:43am
View
@Maciej. Thank you for the links. I can understand the issue. I should have provided more details for the same. I will explain you the points:
1. Windows Firewall: Firewall is configured to allow the connections to SQL Server. Otherwise I would not able to connect to SQL Server at all. I can connect to SQL Server remotely.
2. LAN/WAN Connection Issue: I am connected to internal network. Which is secure and well configured. From both (client and server) I can access internal network without any connectivity issue.
3. SQL Server Performance Issue: I considered this issue initially, but my database is tiny. It has only 3000 records. Not more than that.
Btw, thanks for the links. I will follow and see what I can improve.
webmail123
22-Mar-18 13:51pm
View
So what you what me to provide you?
webmail123
22-Mar-18 12:49pm
View
Oh. Ok. I will definitely check and let you know.
webmail123
22-Mar-18 12:10pm
View
I think I can not update .csv using ADO.Net method. So I am trying using different method.
webmail123
16-Mar-18 9:18am
View
Thank you very much..
webmail123
15-Mar-18 15:56pm
View
@Dave. Thanks for reply. I will try to the same. :-)
webmail123
15-Mar-18 15:55pm
View
@Maciej. Thank you for reply. I think I will prefer ADO.Net method. I will search on the same. Btw, if you have any example of the same then can you provide it to me for referance?
webmail123
2-Mar-18 9:36am
View
Thank you very much. It worked finally!!!!!
webmail123
1-Mar-18 14:41pm
View
@Richard Thanks for the reply. I think that is not a problem at all. The problem is in hdr[]. That particular format of wave file is not recognizable. So that's why I am getting error.
webmail123
1-Mar-18 14:24pm
View
@Richard Sorry for the confusion. I updated the question.
webmail123
28-Feb-18 11:17am
View
Well, using .Net 3.5 compact framework. So working on it. Thanks for an input though.. :-)
webmail123
28-Feb-18 10:55am
View
I tried this one (which was just experimental)
Clipboard.SetDataObject(listView1.SelectedIndices[0].Tostring());
But obviously it returns the index value. Not the text. :-(
webmail123
28-Feb-18 10:18am
View
I tried to access Listview1.SelectedItem property but I am using Windows SDK 6.0 for mobile development, I am not able to access that property.
webmail123
28-Feb-18 9:33am
View
Hey.. Thank you very much. By this I actually avoided the loop which will help me to increase the performance. Thank you very much for your input. :-)
webmail123
27-Feb-18 14:54pm
View
Oh. I got it. Its a frustrating job. Seriously. :-(
webmail123
27-Feb-18 13:52pm
View
Thank you very much for the answer.
webmail123
27-Feb-18 13:48pm
View
Thank you for reply. But I didn't get clearly what you are saying. Can you provide a sample code so that I will get clear idea.?
webmail123
27-Feb-18 9:39am
View
Thank you for reply. But I am using Windows 6.0 SDK mobile platform. I can not use System.Linq. Neither I can use .Any property for listView class.
In short I can not use listView1.Items.Any property.
webmail123
21-Feb-18 9:06am
View
Thank you for the inputs. I should really like to have some basic examples of Background worker. I will definitely try to implement this one.
webmail123
21-Feb-18 9:05am
View
Lol.. This is hilarious.. Seriously I should have thought in this way.. My bad. Thanks for answer ;-)
webmail123
20-Feb-18 13:58pm
View
@Kschuler Thanks for the reply.
I want to reflect the value of rssi in progress bar but in a reverse logic.
So this is the case
If value of RSSI = 39 (which means RFID is very close to PDA) then I want to display progress bar as Full and when value of RSSI = 85 (which means RFID is far from PDA) then I want to display progress bar as empty. So as RFID moves closer to PDA, I want to display value of progress bar as increasing and as it goes away it should decrease.
About the range variable, sorry for confusion. I changed it to RSSI.
webmail123
18-Jan-18 8:51am
View
I need to convert those coordinates into pixels so that I can use it.
This is the scenario:
Basically I have a laboratory layout and that layout has coordinates like this:
- top right corner of laboratory is considered as origin (0,0)
- bottom right corner is considered as (-1, -8.6)
- top left corner is considered as (4.2 , 0)
- bottom left corner is considered as (4.2, -8.6)
- definitely midpoints are (-1, -4.3) and (4.2, -4.3)
Now if any items coordinates are (0.78, -3.22) then I want to show a dot on the image to display location of that item. So, now I have to convert (0.78 , -3.22) coordinates into standard pixel so that I can use that pixel value to display it on image. I need help for convert these coordinates into pixel.
Did you get my idea??
webmail123
16-Jan-18 13:40pm
View
Thanks for the answer. And I think the same. To transform coordinates in order to fit in bitmap box. Is there any inbuilt function for it?
Basically I have a laboratory layout and that layout has coordinates like this:
- top right corner of laboratory is considered as origin (0,0)
- bottom right corner is considered as (-1, -8.6)
- top left corner is considered as (4.2 , 0)
- bottom left corner is considered as (4.2, -8.6)
- definitely midpoints are (-1, -4.3) and (4.2, -4.3)
Now if any items coordinates are (0.78, -3.22) then I want to show a dot on the image to display location of that item.
Did you get my idea??
webmail123
16-Jan-18 13:24pm
View
So that's where I need help with. I need to convert those coordinates into a actual coordinates which are compatible with 100px by 100px image.(its just an example)
webmail123
16-Jan-18 11:58am
View
I didn't get you question.
I want to show the pixel on the given x and y coordinates. As of now I am getting error saying 'Parameter must be positive.'
webmail123
12-Jan-18 15:24pm
View
Sorry about the table output. Column names are epc, toX, toY, observTime.
webmail123
12-Jan-18 15:19pm
View
@David.. Sorry for confusion. Actually, I mentioned my input and my expected output in question itself. I will mention it here again.
epc toX toY observTime
000000000000000000000041 2.41 -6.22 2018-01-12 17:04:00.070
000000000000000000000041 3.45 -7.26 2018-01-12 17:14:30.090
000000000000000000000041 2.67 -6.48 2018-01-12 17:27:00.073
000000000000014028924001 0.73 -1.86 2018-01-12 17:31:30.083
000000000000014028924001 0.64 -1.89 2018-01-12 17:42:00.077
11110001 1.96 -4.73 2018-01-12 17:31:30.083
11110001 2.02 -4.68 2018-01-12 17:42:00.083
11110001 2.1 -4.62 2018-01-12 17:21:00.090
The data mentioned above is my actual data in table.
And what I actually want is mentioned as below:
epc toX toY observTime
000000000000000000000041 2.67 -6.48 2018-01-12 17:27:00.073
000000000000014028924001 0.64 -1.89 2018-01-12 17:42:00.077
11110001 2.02 -4.68 2018-01-12 17:42:00.083
so if you observe I want to select the value of epc, toX, toY and observTime. But it should be the recent one on the basis of observTime. In output I mentioned above the value of epc, toX, toY is selected with the recent observTime
webmail123
12-Jan-18 15:13pm
View
Well, if you can remove your tin foil hat to read the expected output from the given input then you may figure it out.
webmail123
12-Jan-18 14:16pm
View
This answer wont avoid the duplicates. It will just sort the data. I don't want to sort the data. I want unique records which are recent ones.
webmail123
12-Jan-18 14:14pm
View
I want to avoid duplicates also. You can take a look again at what I needed the output like. I need epc, toX, toY and observTime.
webmail123
12-Jan-18 14:02pm
View
@David. Thanks for reply. I tried with this one
SELECT epc, toX, toY, toFacility, toFloor, toZone, observTime
FROM dbo.tbl_ItemHistoryInfo AS t1
WHERE ((SELECT COUNT(*) AS Expr1
FROM dbo.tbl_ItemHistoryInfo AS t2
WHERE (epc = t1.epc) AND (observTime > t1.observTime)) = 0 )
order by observTime desc
but still not getting expected result.
webmail123
11-Jan-18 11:27am
View
@Karthik. Thank you very much Karthik. Actually, I excluded loop and it worked.
webmail123
11-Jan-18 10:35am
View
@Karthik. Thank you very much for the answer. It worked out partially. Now this is what happening. My message string is "{"epc":"85100018","tagId":"","jobId":null,"fromZone":"FACILITY","fromFloor":null,"toZone":"FACILITY","toFloor":null,"fromFacility":"Labs","toFacility":"Labs","fromX":1.90,"fromY":-5.71,"toX":2.42,"toY":-5.44,"observationTime":"2018-01-11T15:31:30.092Z"}"
But when I execute the code mentioned above I am getting duplicate records in a List. At the end of the step, my list count was 253. And all items are same in List.
webmail123
11-Jan-18 9:31am
View
@Karthik: Issue is I want to copy the JSON object into a new list.
Show More