yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] benjaminchia102:
Problem with running application after install

Hi there,

sorry for asking a noob question. But I'm not sure why I had this problem when i run the CreateRules.exe

What did I do wrongly?

pIMAPIContainerOpenEntry failed:

MAPI_E_NOT_FOUND

CreateRules.exe
Exception
pIMAPIContainerOpenEntry failed: MAPI_E_NOT_FOUND

at MAPIdotnet.cemapi.MAPIContainer.OpenEntryAsMessage(Byte[] entryId)
at MAPIdotnet.MAPIFolder.GetNextMessages(Int32 maxNum)
at SMSRulez.Rules.FillSMSFolders()
at SMSRulez.Rules.Rules_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form._SetVisibleNotify(Boolean fVis)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.Run(Form fm)
at SMSRulez.Program.Main(String[] args)
[Windows Mobile Software Development] kiolixed:
Private foldel in outlook...

May i ask a question?...is it private folder in outlook is in threaded mode?...
[Windows Mobile Software Development] mohitsapru:
There seems to be some problem in MAPI lib that i use. this i have fixed and will release with next version. Well i hope you got this error while trying to view private message right?
[Windows Mobile Software Development] mohitsapru:
V 4.5 Out

4.5, out with bug fix for the above issue.

More control over notifications

Scheduled run added.
[Windows Mobile Software Development] Dagaz:
please could you give more description on how new notification works w screenshot?

thanks
[Windows Mobile Software Development] donfano:
I guess this is your way of wishing everyone Happy Valentine's Day!:rolleyes:

Will run a test and will report!
[Windows Mobile Software Development] benjaminchia102:
Rule rules error

Thanks for doing an update. I just re-installed v4.5 . And run it and had the same problem, I did a reboot of my phone after the re-install as well.

CreateRules.exe
Exception
pIMAPIContainerOpenEntry failed: MAPI_E_NOT_FOUND

at MAPIdotnet.cemapi.MAPIContainer.OpenEntryAsMessage(Byte[] entryId)
at MAPIdotnet.MAPIFolder.GetNextMessages(Int32 maxNum)
at SMSRulez.Rules.FillSMSFolders()
at SMSRulez.Rules.Rules_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form._SetVisibleNotify(Boolean fVis)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at System.Windows.Forms.Application.Run(Form fm)
at SMSRulez.Program.Main(String[] args)
[Windows Mobile Software Development] mohitsapru:
I have attached a new build with this post use that and let me know if you face any problem.
[Windows Mobile Software Development] mohitsapru:
Yes sure, i will be writing a small guide at one of the post... but slowly... Since i am working on a new app, that is eating up my time.... ;)
[Windows Mobile Software Development] benjaminchia102:
Program working

Hi Mohit,

thanks for the 4.5a. Works great now! Appreciate the troubleshooting!
[Windows Mobile Software Development] Dagaz:
am goign to try the 4.5a as with 4.5 it stopped hiding messages.

have now uninstalled and reinstalled to see if this will fix.

if that faisl will go back to 4.4

could be the same bug as HD where autorun not working? i have htc touch pro 2

yup 4.4 fine, 4.5 fails.

thanks
[Windows Mobile Software Development] mohitsapru:
What you meant by fails to hide messages???

error or not able to hide them... did you try to manually run the rules?
[Windows Mobile Software Development] Dagaz:
didnt try to manually run. will have a go in a min for you but i think is same bug as hd2

ok uninstalled 4.4, reinstalled 4.5a

had a message in inbox waiting

did run rules nothing happened. didnt hide the mesage.

uninstalled 4.5a reinstalled 4.4

ran rules manually. worked a treat.

so 4.5a doesnt hide either on auto or on manual.

was same with 4.5

thanks
[Windows Mobile Software Development] Dagaz:
another little bug,

if the name is too long it doesn;t seem to filter. i had one with a company (surname,first)

as the files as. it didnt filter this

changed to surname only and filters ok.

sorry to find all these things.
[Windows Mobile Software Development] mohitsapru:
no need to be sorry...;)

So how long was the name? and under what option did you chose it?
[Windows Mobile Software Development] Dagaz:
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq

counts them up no is not actaul contact but is the length includng 3 spaces

32

tried under message and last name

ran rules manually too

changed it to a surname only

xxxxx

5 letters works a treat.

as said only minor.
[Windows Mobile Software Development] mohitsapru:
Hmm i suppose there is some issue with spaces... or dont know.. as you said minor issue...:D
[Windows Mobile Software Development] Willy318is:
wish to make it more user friendly, tried it in BlackDragon WWE ROM ver 1.93, but when I cleck the MENU, to choose adv. settings, I then get a dimmed Display, and the Menu Items does not appear.

Maybe its incompatible with Beta Graphics Drivers v.3?

plz help...

Will
[Windows Mobile Software Development] mohitsapru:
I suppose it a 3rd one in the simmilar issue category. I cant help bcz I never faced it... i have HTC elf and it works fine in it. Seems some issue with new devices.
[Windows Mobile Software Development] DorkyDev:
Could you try and add an AutoReply for Rejected Phone Calls and Scheduled Times, like when at work, asleep or at a meeting.. Say for Scheduled Times 12am to 7am it'll automatically reply to the sender with an embedded message..
[Windows Mobile Software Development] mohitsapru:
How is it related to SMS rules???

well for your query this option except the scheduling one is there in some cooked roms and i think there must be some app for your requirement.
[Windows Mobile Software Development] samvds:
Hi Mohit,

I tried your version 4.5, but the fix you made @ 3rd February 2010, 11:25 AM (for filtering "Sent messages") doesn't seems to be implemented in your latest version...

I re-installed that fix for now...

Sam
[Windows Mobile Software Development] mohitsapru:
Ohh!! is it?:eek:... must have missed out... will check anyways...
[Windows Mobile Software Development] Dagaz:
is 4.5 working yet on the touch pro 2? as i said tried it and no filter either auto or manually?

thanks
[Windows Mobile Software Development] mohitsapru:
take 4.5b that has the fix now
[Windows Mobile Software Development] mohitsapru:
sorry Dagaz, no time to debug... was working with other app.

well it is very difficult to figure out just by looking at the code as every thing works fine for me on my device and emulators... so cant even debug...
[Windows Mobile Software Development] DorkyDev:
In acceptance and approval I guess you could say plus management, when ya do and don't want to receive messages..

As for cooked rom's and me I'm pretty S.O.L. since I have a Samsung i760.. haha!!

I'd love to hear the names of some app's that do implement it.. I've searched and searched and only found reject phone calls with text..
[Windows Mobile Software Development] Dagaz:
seems 4.5b fixed whatever the problem was and now it works a treat.

thanks
[Windows Mobile Software Development] mohitsapru:
HAHA:D is it!!! i dint do anything to fix ur problem...maybe the build was having some problem!!!
[Windows Mobile Software Development] Dagaz:
hi,

one bug with 4.5b on mine. it seems to loop a message

i got a non filtered message and then every few minutes it would then come through again even though the person had not sent it as a new message

rebooted and turned off auto run and it has stopped will put autorun back on in a min and will see what happens.

as soon as i put autorun on that same message comes through as new again.

somehow it is trapped in your program.

will uninstall 4.5b and go back to 4.4

thanks again
[Windows Mobile Software Development] mohitsapru:
do you mean it goes on filtering even if no message arrives? are you sure!!!

what u meant by
[Windows Mobile Software Development] Dagaz:
message came in

i read it

5 mins later it appears to come in again

read it

repeat above

turn off autorun

no message repeats

turned autorun on again

as soon as i did the smae message comes through as though new again

turned auto run off

uninstall 4.5

reinstalled 4.4

turned autorun on

works fine again.

something in 4.5 not quite right
[Windows Mobile Software Development] mohitsapru:
m still not that clear... do u mean custom notification gets fired every time in 4.5? did u try turning off the custom notification in 4.5?
[Windows Mobile Software Development] Dagaz:
ok

installed 4.5b

no notifcaitons are on at all

autorun has been enabled

a message comes in.

it is not on the list to be filtered

i read it

5 mins go by

a message comes in

its the same message

then anotehr 5 mins

same message

turn off autorun

the messages stop

turn it back on

every 5 mins that message shows up again

turn autorun off

unistall

install 4.4

all is well again

it is as though the queue you intercept cause a loop
[Windows Mobile Software Development] Dagaz:
doing it on 4.4 now.

very odd
[Windows Mobile Software Development] mohitsapru:
thaz really weird hmm... cant figure out why i dont have anything like that in my code:eek:!!! are u using HD2?
[Windows Mobile Software Development] Dagaz:
hi have unistalled all smsfilter and it still does it nooooo.

i am using htc touch pro 2 which is v similar to hd2 i believe

am hoping after a reboot it will stop

it is the same message with the smae time of 11.01

ok tracked down even weirder.

it isnt repeating, what is happening is every time this person is texting instead of getting the new text it is using the content from that text at 11.01

ignore me totally,

still does it even after a hard reset. now i am very confused and i apologise for causing you troubles.

is there anyway to clear my text message queue?

dont worry have hard reset phone.

will see what happens.
[Windows Mobile Software Development] mohitsapru:
Hmm could you check the entries in registry at this location:

HKLM\Software\Microsoft\Inbox\Rules
[Windows Mobile Software Development] Dagaz:
many many apologies

even after hard reset still doing it so reckon is the phone network.

sorry to cause problems for you

thanks for looking though.

was just odd happened after 4.5 install
[Windows Mobile Software Development] donfano:
Tools screen needs a Refresh button

Hi Mohit - I noticed that when you create a new folder from ContactRules and go to Tools right after, the new folder is not shown under Archive Folders and Filter Folder. For the time being, you just restart the app to see the new folder. Can you please add a Refresh button to refresh the folders lists!
[Windows Mobile Software Development] donfano:
Needs help with Tools

Hi Mohit - I am finally playing with the features in Tools. I did not experience any problem with archiving a folder. That works fine! The one that I am struggling with is to be able to apply my existing rule with Sent Items.

Here are my steps:

go to ContactRules

leave Rule Action as MOVE

leave Contacts from as MESSAGES

select a contact in Add Contact list

select a folder in To Folder

click Add

Run Rules (so far, so good! All smses received from this contact got moved to the selected folder. Now, I'm ready to apply this new rule to Sent Items, so I could move all smses that I sent to the same contact to the same folder)

go to Tools

select Sent Items in Archive Folders

select Inbox in Filter Folder

click on Filter Inbox (I should expect to have all smses that are sent to the same contact in Sent Items to be moved to the folder that I selected from step 5, but nothing got moved!)

Did I miss a step? If you are asking me if this used to work in the previous versions, I cannot recall exactly. I thought I tried once or twice before, but I do not remember if it did really work or not.
[Windows Mobile Software Development] mohitsapru:
why u selected sent items in archive folder?

Archive and filter are two different tools. Archive will move all the messages from the selected folder to archive folder, and filter will apply the rules to select folder. I think you know that but in the steps u told that u selected sent items for archiving and then u are expecting it to be filtered!!!

was it a typo or this is what u did... in case u did this then it will filter the items in inbox not from sent items
[Windows Mobile Software Development] donfano:
Never mind! I got confused in things that I wanted to try:confused:. think I need to go to sleep right now. It's kind of late!:D Everything works as expected!:rolleyes: Thanks Mohit!
[Windows Mobile Software Development] mohitsapru:
:D

Good night!!!
[Windows Mobile Software Development] dominikvz:
Samsung omnia i900

Hello,

i have problems with Samsung Omnia and SMS Filter Rules.

When I set Rule to Hide for some contacts, problem is that,

message is deleted and no message are listed in PRIVATE folder.

I have setup my password, it is created PRIVATE folder by Sms Filter Rules, but when i go to my private folder, no any messages.

Please how to resolve problem

Thank You
[Windows Mobile Software Development] mohitsapru:
Hey dominikvz,

except hiding have you checked if other filtering is working. Like move, copy.

Also i would like to know what steps you followed to hide and show the hidden messages. I know it is boring but I have to know othewise i wont know where is the problem.

Thanks

Mohit
[Windows Mobile Software Development] donfano:
Besides what Mohit has already asked you, when you said "message is deleted", do you mean the message disappeared completely or the message was stored in the Deleted Items? I already had a similar problem, and it was related with the fact that I had the threaded message mode turned on.
[Windows Mobile Software Development] im4u2nv:
looks like a cool application...i'm going to try this :D

thx for providing this..
[Windows Mobile Software Development] mohitsapru:
its my pleasure sharing it...:D.
[Windows Mobile Software Development] marco88520:
hi Mohit,

I've just tried 4.5b, and there are two problems I've found (can be found on all the versions too):

I'm using hTC Diamond2 (topaz) with a customized ROM.

If I enable the "HTC Menu Enhancement" from TD2 Tools (a program to tune up the phone), the menus in SMSRules will not work.

This isn't a big issue because I can always disable the menu enhancement and deal with SMSRule first then turn it back on, but so far SMSRules is the only app that is having problems with it.

Another issue, this app doesn't seem to get along with the new hTC SMS app (sorry, my custom ROM doesn't have the traditional Windows SMS app). I can't see the hidden messages in my hTC SMS if I wanted to (i.e. "show" all hidden messages). Also, if I set the hTC SMS app in "conversation mode", it will still show the first line of the last hidden message from that contact.

I know this app was designed for the traditional Windows SMS app, but if I can get it working on the new hTC SMS app, that would be really neat.:D

Anyways, good job Mohit for developing this great app:cool:
[Windows Mobile Software Development] mohitsapru:
Thanks marco88520 for the detailed problem description.

well for the first time somebody has told me why these issues are there...:D since i have not seen/used any of the new functionality in HDs(i dont have one:o) i was not able to figure out the problems.

any ways now i have some clue, thanks to you and maybe i will try to sort things out when i get time for it.(I have things in mind but no time...)

Thanks,

Mohit
[Windows Mobile Software Development] oldsap:
thank you for this neat utility
[Windows Mobile Software Development] mohitsapru:
Thanks oldsap, i use your dontsleepwifi, a useful one for me.

Thanks,

Mohit
[Windows Mobile Software Development] dominikvz:
I have start Create Rules config, i have selected Hide, contact name, and Add Rules ...

I have check checkbox in Existing, and start RunRules, also check Autorun

Model of phone is samsung omnia i900, when i unlock with password i see PRIVATE folder is created, but after recieving message, sms is deletes from Inbox sms foder, i can see it in Deleted folder, but in PRIVATE FOLDER there is not any message listed.

So,Rules do not saving message in protected PRIVATE FOLDER.

I have one more suggestion, wher message is recieved, i see option Custom Message, good option i think will be that Rules can be configured to show custom message like "You have error on Your omnia" or "Recharge Battery" or.. somthing else. You know what i want to sey, if someone is see Custom Message, she do not see that i have hiden message.

I have try with previus versions, and new version same thing, IN PRIVATE folder no any message ....

Thank You
[Windows Mobile Software Development] mohitsapru:
as donfano said you can try by turning off the threaded mode.

In case you dont want to be alerted with hidden messages alert just uncheck that option and it will just tell u abt copied/moved messages.
[Windows Mobile Software Development] im4u2nv:
i tried the application...

one thing though...some people can still open the 'createrules' GUI and see the rules that you actually 'hide' some message for a certain contact.

Can we protect this by a password as well? or better yet, maybe hide it until we put password to show the rules or something?

Just an idea.

and also an option to disable the shortcut to 'Private SMS'

the name is to obvious, isn't it? :)
[Windows Mobile Software Development] im4u2nv:
what is the use of Notifications?

MIne still shows 'notifications' that new message is arrived though when dismissed hte message is not there in inbox and straight to the hidden folder.

still there is some notifications though :( what went wrong?
[Windows Mobile Software Development] mohitsapru:
have you unchecked the default notification?

well as i have mentioned earlier...well long back in forums that this hiding logic is not perfect you might see the message in inbox just before it gets copied to private folder.

I am planning to create a new standalone app that will be better than this one but i am not sure when as i have lot of pending mods for other apps also.
[Windows Mobile Software Development] kiolixed:
still does not support autorun for HD2?...
[Windows Mobile Software Development] blackout1:
help needed getting back messages

Can you please help me getting back my messages?

I've made rules and only for moving or copying. Then finally i opened the private folder and there were only 2 messages in... i tried to move them to inbox but there they never came into...

further the rest i miss, i hope you can give me some discription on how to maybe get them back.. (the app hang and i needed to reboot and reinstall it:( )

hope you can get some help out here:)

i'vegot an htc touch hd.
[Windows Mobile Software Development] mohitsapru:
sorry if i dint understood ur question, u said u made rules only for moving or copying then how those messages went to private folder??

So what i suggest is that u can check your rules again and see if a rule is defined for those contacts and remove them, and i suppose u tried moving those messages using poutlook(this should work fine) unless you have a rule defined that takes those back into Private folder.

Lemme know if there is something else you want to add in here!
[Windows Mobile Software Development] blackout1:
Problem is that i installed the app, after that i set up a rule, and msg were moved (without me knowing where the were) the app hang and i needed to uninstall the app. After that i looked into the memorycard and there the app still was from last time i used it before installing it again on my phone, i saw in the private folder 2 msg which i moved to inbox and they never came into the inbox and nowhere else were i searched for them.how can that be? they should come up somewhere, not?

The app which i had to uninstall from the phone had all my messages in it and i think i lost it. is there a way that i can make my phone (in stead of memorycard only) visible for my pc? (i've got a recovery program (R-Studio) on my pc where i can get data back with from even before formatting a harddrive) i want to try it that way that i get back the hiddenfolder database or so.

thing is i think with uninstalling the hiddenfolder got deleted and i don't know how to get it back...
[Windows Mobile Software Development] mohitsapru:
Are you sure that messages were moved without knowing where you moved them!!! you have to set up the rules first with the rule type and folder and if you want that it should run automatically then also you need to configure it first.

And i would like to know how many messges do you had in your inbox? If it were large then i suppose it will take some time to filter those.(for how long you let it run before u killed it?)

I dint get this, are you talkin about SMS Rule App? if it so this app wont store your messages. It will just move them around in your poutlook folders.
[Windows Mobile Software Development] blackout1:
it were a lot of messages. the whole phone didn't react for about 30 minutes or more before i uninstalled the app (sms rule ofcourse;)

so if the app wont store messages where can they stay?

other question, if i saw 2 messages in the folder private and i picked them up and wanted to move them to inbox, where can they be gone? (didn't find them in my inbox)
[Windows Mobile Software Development] blackout1:
it were at least 50 messages, could be more even...
[Windows Mobile Software Development] mohitsapru:
yup 30min is a long time...so after u killed it did you checked if the messages were filtered?(inbox count should have reduced.)

as i said it moves them... u create seperate folders...in poutlook... i hope you have a normal tmail.exe as your sms client, and u are not using threaded mode. if it is so just browse back in this forum and you will find some simmilar kind of issues.

so how u tried moving the messages in private folder... I suppose u used the default application. by the way did you check your delete folder?
[Windows Mobile Software Development] blackout1:
yes i checked and the messages were gone out of inbox... it even told me that they were moved, couldn't find them yet cause the private folder i didn't know that time how to get to. Now i know but in that meantime the program crashed...

i created a folder but the messages never came into that folder...

i usse portable outlook and have the regular sms client (also exchange and hotmailaccounts but they are on the side.)

i don't know where i can find the client tmail.exe as you said, can you tell me how to find it? and treaded mode i really cannot find either:s

deleted folder i checked (just a minute ago again and there were 2 messages in that folder which probable were put there because of the rule.
[Windows Mobile Software Development] blackout1:
i see in the windows explorer on my mobile touch hd that i have 2 times tmail:) so guess thats the program you mean?
[Windows Mobile Software Development] mohitsapru:
u r telling that u were notified of message filter, but u said it hanged?:confused:

threaded mode means u can see the conversation as you see in some chat messenger.:rolleyes:

Just a confirmation test. are u able to follow the steps:

1. open the default sms client.

2. menu

3. Tools

4. Manage folders

Do you see the list of all the folders present? and are you able to create/delete them?

And what rule you had created u said only move copy in the first post, or did you created for hide also?
[Windows Mobile Software Development] blackout1:
I waws notified and after that the app hang and i couldn't restart, even after a soft reset of the mobile phone.

i have treaded mode on i guess, if i look into the inbox of sms i see also what i typed to that person...like you say in msn or so..

1. yes

2. yes

3. it's not tools but go to

4. folders

i see all the folders and can browse between email and sms folders too...

in sms i've got inbox, sent items deleted items etc...

i did hide also...:( is that bad?)