yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] gugi_sat:
hi GeirFrimann

i tried the code u told me

but i am getting the System.exception when i click on the txtfield in deployment

then i put the code like this

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClose.Click
Application.Exit()
End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAbout.Click
Dim company As String
Dim about As String
Dim version As String

company = "Gugi's Software"
about = "BMI Calculator"
version = "v1.0 beta"

MessageBox.Show(company & vbNewLine & about & vbNewLine & version, "About...")
End Sub

Private Sub btnCal_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCal.Click
Dim height As Double
Dim weight As Double
Dim bmi As Double

height = txtHeight.Text
weight = txtWeight.Text
Try
bmi = weight / ((height / 100) * (height / 100))
Catch c As Exception
If (bmi < 18.4) Then
MessageBox.Show(bmi.ToString & vbNewLine & "Your are UNDERWEIGHT", "Your BMI...")
ElseIf (bmi > 18.5 And bmi < 24.9) Then
MessageBox.Show(bmi.ToString & vbNewLine & "Your are NORMAL", "Your BMI...")
ElseIf (bmi < 25 And bmi > 29.9) Then
MessageBox.Show(bmi.ToString & vbNewLine & "Your are OVERWEIGHT", "Your BMI...")
ElseIf (bmi > 30) Then
MessageBox.Show(bmi.ToString & vbNewLine & "Your are OBESE", "Your BMI...")
End If
End Try
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MessageBox.Show("Please Enter your height in Centimeters", "Height?")
End Sub

Private Sub Button2_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
MessageBox.Show("Please Enter your Weight in Kilogrames", "Weight?")
End Sub

Private Sub txtHeight_GotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtHeight.GotFocus
Try
InputPanel1.Enabled = True
Catch ex As Exception

End Try

End Sub

Private Sub txtHeight_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtHeight.LostFocus
Try
InputPanel1.Enabled = False
Catch ex As Exception

End Try
End Sub

Private Sub txtWeight_GotFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtWeight.GotFocus
Try
InputPanel2.Enabled = True
Catch ex As Exception

End Try
End Sub

Private Sub txtWeight_LostFocus(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtWeight.LostFocus
Try
InputPanel2.Enabled = False
Catch ex As Exception

End Try
End Sub
End Class

plz help

Regards

Gugi[/code]
[Windows Mobile Development and Hacking General] IMate->WM2k5:
Any details on exception message?

Probably something wrong with variable name InputPanel1 or InputPanel2. There must be one input panel declared per form. So, declare variable "sip" using "private Microsoft.WindowsCE.Forms.InputPanel" notation and use it to hide/show Input Panel.

Cheers
[Windows Mobile Development and Hacking General] gugi_sat:
Hi IMate->WM2k5

Thanx for reply its working its the bug in my try catch satatement in the calculation method

any way with both of your help i am able to make this posible

thanx for that here is the new woring cab file please try this and let me know how it goes

another thing i need to ask is there any tutotial or book for vb .net developement for pocket pc plz let me know

Regards

Gugi
[Windows Mobile Development and Hacking General] gugi_sat:
Hi to you all

Here is the latest version with almost all the fixed errors

well if you find something plz let me know

Regrads

Gugi
[Windows Mobile Development and Hacking General] gugi_sat:
hi to you all

plz give me some feed back so that i can improve this and develope something else

Regards

Gugi
[Sprint LG Optimus G] lord dredd:
i had unlocked bootloader and installed twrp and rooted my LG Og

but i used to get problem while rebooting , it used to stuck

so i disabled unlocking and restoreed efs using freegee

today i thought of wiping data so i went into settings >? and used the backup restore option

phone rebooted and stuck on a boot failure screen saying ceertificate error

i downloaded teenybin , and lgnpst acg

insalled lgnpst and put phone in download mode and flashed the bin and dll as its said

the phone rebooted on 67% but it didnt do that on 85% and lgnpst asked me to disconnect and do power cycle and stuff

i disconnected but couldnt do nothing

i tried pressing buttons and tried attaching phoner in download mode

but was able to go in recovery , but there is nothing i can do in recovery as the phone doesnt ahve any backup and no roms in storage :(

can anyone tell what should i do
[Sprint LG Optimus G] engine95:
Do you have stock recovery? Or TWRP? If TWRP, then ADB sideload a Stock Rom and flash it.

ADB Sideload. http://xdaforums.com/showthread.php?t=2082084

Stock Odexed ROM. http://xdaforums.com/showpost.php?p=38755109&postcount=1
[Sprint LG Optimus G] lord dredd:
Yes kind sire its TWRP :)

am on it will let you know

i do have TWRP : 2.6.0.0
[Sprint LG Optimus G] AFschizoid:
If you flash with LGNPST then go into the factory recovery by holding vol-down and power together, then do a factory reset. might solve your problems but you will lose everything on the sd card (sounds like you might have already) but after that you can root and unlock. someone correct me if i'm wrong, i only used LGNPST once

---------- Post added at 11:10 AM ---------- Previous post was at 11:09 AM ----------

welp, engine is here, i might as well leave :P but good luck lol
[Sprint LG Optimus G] engine95:
:p Don't leave. What you have might help him also. The more the merrier.
[Sprint LG Optimus G] lord dredd:
see at present i cant go to download mode somehow :(

but with efforts can boot in bootloader, and go to recovery which is twrp , in there i cant see antything as i remember i had a stock backup , but it doesnt show anywhere .

are you saying i can still go to stock recovery and recover ?

EDIT :

i used LGNPST just to follow with the teenybin option , downloaded the bin file , downloaded lgnpst installed , ran , selected the stoc lS970 dll and the teenybin , .bin file and hiot start , it rebooted at 67 , but didnt do anything on 85% after a while lgnpst said removea dn do some power cycle stuff and all , but i wasnt able to get it to boot ,

but after a while somehow prseed correct buttons and got into bootloadera dn then twrp

in twrp i can see stock folders , but my data is gone , so stock bakup is gone too :(
[Sprint LG Optimus G] AFschizoid:
won't let you get into download mode holding both vol buttons and pluggin in usb? weird. If it lets you get into twrp, go to advanced and use the file manager to see if the backup was moved to '/sdcard0/0/twrp/whatever' because if you flash aosp then it does some weird emulation and moves **** all over
[Sprint LG Optimus G] lord dredd:
no tried , but its not there :(

looks like many folders are totally empty :(
[Sprint LG Optimus G] AFschizoid:
Are you making sure the phone is completely off by holding the power button for 60+ seconds then trying? A few seconds of the power button won't shut it off all the way. Unplug it and holds power for a good full minute then try download mode
[Sprint LG Optimus G] engine95:
But if you have TWRP, wipe the 4., then adb sideload that stock ROM.
[Sprint LG Optimus G] lord dredd:
yes i do feel i am not shutting it completely ,

but suppose if i am able to get back into download mode , then what should i do :(

i am downloading the above mentioned stock zip and dont remember what version i was at when phone was running .

please guide me what should i do , at present i have put it up for charging via twrp

can i try that stock recovery thing ? i guess if it backfires i ll be left without twrp :(
[Sprint LG Optimus G] lord dredd:
alright that i ll do then
[Sprint LG Optimus G] noXcape:
Lgnpst wipes all data... U just need to factory reset in android recovery

Sent from my LG Optimus G using Xparent Red Tapatalk 2
[Sprint LG Optimus G] AFschizoid:
LGNPST will wipe all partitions except /data which is why they say to do a factory reset in Stock recovery. After that you can use engines root guide to root and unlock and install twrp again
[Sprint LG Optimus G] lord dredd:
i ll do that now then ,

again re-iterating that

lgnpst couldn't flash completely , it didnt finish

so if at all i go back to stock recovery and it doesnt help , then what will i do ?

EDIT : BTW the /data folder is also empty :(
[Sprint LG Optimus G] AFschizoid:
If your phone reboots at either 67 or 85% I believe it's finished. If flashing with LGNPST doesn't work I'm working on uploading the LG flash tool which will wipe and flash back to out of the box clean to the point you have to reactivate it on sprint network lol
[Sprint LG Optimus G] engine95:
If that it doesn't boot up, you may have to wipe sd also. / data/media

LGNPST rarely wipes SD. It will also keep your data. That's why we have to wipe to get it to boot up. Factory reset in stock recovery will wipe SD, and everything.
[Sprint LG Optimus G] lord dredd:
Thats great , but i have flashed this phone to another carrier , i hope this tool

wont remove the settings of the carrier as in the prl , evdo settings, NAM settings and min and stuff :( , it was pretty difficult to get it to flash :(

i ll try and push the rom ,

,

i have to go to the airport now to get a relative , will be back in 2 hrs , leaving the phone to charge on twrp till then

battery is at 23 %
[Sprint LG Optimus G] lord dredd:
as i told /data folder is empty too
[Sprint LG Optimus G] AFschizoid:
In that case lg flash tool is useless... It takes it back to stock sprint everything
[Sprint LG Optimus G] engine95:
Don't charge your phone in twrp. It used to kill phones. So I assume it still does

---------- Post added at 12:52 PM ---------- Previous post was at 12:51 PM ----------

Not the charging part. The leaving it in twrp too long part.
[Sprint LG Optimus G] lord dredd:
Ok though I am now driving, but have asked wife to shut it down in twrp and even remove from charger too

I ll do that myself when I am back.

But guys please post your solutions, please
[Sprint LG Optimus G] engine95:
OK. If you flashed to another carrier, most likely, every option we've given you will mess up those settings.

Your best chance to save those settings is to use TWRP, and ADB sideload that stock rom.

As far as your using LGNPST, are you using teeny bins, or zvb/zvc bins?

Lastly, as AFschzoid said, there is LGflashtool. But it will wipe everything.

Sorry if we were confusing you, but you kinda confused us also. Then threw in the other carrier stuff.

We'll try our best to get you going when you try it again.
[Sprint LG Optimus G] AFschizoid:
Since you flashed to a different carrier you will need to back up all settings with cdma workshop before using the LG flash tool. I don't know specifics but I'm sure other people will be able to help on that end. Maybe check out autoprime's efs zero and restore thread, try posting there to get help with what all you need to backup to get it working again with your new carrier
[Sprint LG Optimus G] lord dredd:
See my experience says flashing g roms via recovery never messes with the flashed settings, as they have been flashed afetr zeroing out the spc and stuff.

But yes if you hard reset a phone using the 786 something menu then it wipes all.

Will push the rom via add in twrp and then will update.

Ty
[Sprint LG Optimus G] AFschizoid:
Let me know how it goes. If nothing else I will try to track down what and how to back up your network settings with you.
[Sprint LG Optimus G] lord dredd:
Can you please educate me about the steps to push the stock zip file into the phone.?

I have never done this before

Downloaded the Android sdk, but can't figure out, as there is no. Mention of how the file is to be pushed.

Regards
[Sprint LG Optimus G] AFschizoid:
I'll look but I'm not familiar with adb side loading roms. If anyone else gets here before me, cool lol
[Sprint LG Optimus G] engine95:
How to adb sideload is in that link at the beginning.

I just posted stuff about adb install a couple days ago. I'll see if I can find it. Gimme a few.

---------- Post added at 05:06 PM ---------- Previous post was at 04:56 PM ----------

Follow this for adb install. http://xdaforums.com/showpost.php?p=46006928&postcount=2
[Sprint LG Optimus G] noXcape:
Put ur stock zip in the platform-tools folder where u installed the android sdk. Then change ur directory in command promt.... example is.. cd c:\android\sdk\platform-tools then hit enter... next get twrp up...plug in phone....hit advanced....hit adb side load....hit start..now in the command promt hit adb sideload whatever u named ur zip :)

Sent from my LG-LS970 using Xparent Red Tapatalk 2
[Sprint LG Optimus G] williamjr27:
It's amazing how easy and complicated adb and lgnpst can be lol I had this same problem and some how hard bricked a phone trying to lgnpst a stock zvb bin. Soft bricked 2 more phones like the ops, lgnpst teeny bin and sideloaded ROM, worked perfect. Adb side load command reads as "adb sideload yourzipname.zip". Thought I would spell it out because it took me quite a bit of searching to get it right lol

<----Noob
[Sprint LG Optimus G] latrotoxin1986:
I had this exact same issue. I wiped internal thinking, "hey no problem! I'll just lgnpst!" Wrong...lgnpst failed. I tried every bin several times on different computers, intermittently re-wiping and yada yada. You will have to use the LG Tool to flash the ZVC file, that was what worked FINALLY for me.I literally spent 9 hours last weekend dealing with this.

Go to this link, download and instructions. Good luck!

http://xdaforums.com/showthread.php?t=2443185
[Sprint LG Optimus G] lord dredd:
edit

posted my reply below :)
[Sprint LG Optimus G] lord dredd:
i was actually able to sideload the zip and now the phone is alright :)

i was trying to wipe all in advanced menu , so nothing was being wioped and thats why the phone was not able to access storage

then i wiped the data using the data wipe option and that did the trick

the storage got mounted and i was able to sideload the stock zip :)\

I am so thankful to you all ,

its was a real headache for me, and because of me probably to you good gents too :)

God bless matez

regards

the phone is on low battery so put it up for charging , will reboot after that
[Sprint LG Optimus G] noXcape:
:) glad u got it worked out

Sent from my LG-LS970 using Xparent Red Tapatalk 2
[Sony Xperia S, Acro S, Ion] Byzs:
Trying to find a solution in the forums but i can't get anything, I have eXistenZ v2 with Sony Xperia S, and my mobile data doesn't work. Any idea if this bug is normal ?

Sorry for the bad English and thanks.
[Sony Xperia S, Acro S, Ion] tOrNadO™:
Bug exists in .200.. Although data worked fine for me in eXistenZ v2.. U can use .96 fw for now.. Until v3 comes.. Or try any other custom ROMs.. ;)
[Sony Xperia S, Acro S, Ion] Byzs:
Hey thanks man, gonna check the .96. Just wanted to know if this was a bug or my phone had some problems.

Thanks again! :D
[G2 Q&A, Help & Troubleshooting] zandroid:
Does anyone know if there is a way to designate which tab shows first when you open the phone/dialer app? It always defaults to dial pad when you open the app. Opening the last used tab or being able to default say recents or favorites would be more useful. I tried reorganizing the tabs but that didn't work. This on a VZW G2.
[Verizon Samsung Galaxy Note II] Madelynn28:
I flashed a 4.1.2 stock rooted rom and my battery was at 20% at the time. I get something like 2-6 hrs on a battery now. Do I need to charge the battery to full and go into restore and reset the battery stats thingy? Thanks for any help.
[Verizon Samsung Galaxy Note II] hopesrequiem:
Never flash a rom with such low battery. You could possibly brick your phone if it died during the flash process. Go through a couple full charge cycles before judging battery. If still not up to par, then check to see if you have a rogue app running.
[Verizon HTC One (M7)] NotATreoFan:
So I woke up this morning and my phone was A-OK. Charged to 100% overnight, and I left it plugged in while getting ready for work. I came back to it 20 minutes later and it was really warm/borderline hot to the touch (through a case). The battery was down to 85% yet still plugged in. I then drove to the train station 5 minutes away and it went down to near 50%, still really warm/hot.

Streamed some music and watched some Netflix on the 90 minute ride, and the battery was down to 35%. At this point I turned the phone off because it was still hot.

Plugged it in to charge at the office, and got a blinking red light for about 10 seconds. It then went solid red and stayed that way until I unplugged it 4 hours later. The phone was still quite warm, but no longer hot. Hold down the power button... nothing. Plug it back in, same red light pattern. I got nervous at this point and hit up good old El Goog to see what could be wrong.

Found a lot of threads pointing to the One X suffering this fate, along with a few One's. Followed the advise of holding VolUp + VolDown + Power for 2 minutes. The phone got hot again. Unplugged the phone, removed the SIM, and held the buttons again. The phone had cooled off dramatically while doing this, to the point that it is now cold to the touch. Reinserted the SIM, and plugged it in again... no light at all this time.

From this point on, the various threads disagree on the next steps. Plugging it in to the computer yields no light, just like an wall charger. I don't have the HTC cord with me at work. I've tried a Nokia micro USB cable and a Sony wall charger. Other suggestions call for leaving the phone off (like I have a choice on that part) and unplugged for several hours. Others say to mash the Power button for 10-20 times and that may cause it to power on.

Any suggestions on how I should proceed with this? My phone is unlocked, so I'd love to avoid replacing it.
[Verizon HTC One (M7)] Red5:
Have you tried the bright light trick? Hold the phone under a bright light (really bright light, the brighter the better) and hold down the volume button + power for 15-20 seconds. That should get you into your bootloader. This will tell you whether or not its rom based, or phone based.

If you cant even get into your bootloader, it sounds like a hardware problem. If you can get into your bootloader but it will not boot to your rom, then its software.

Thats all I got for now. Sorry. :(
[Verizon HTC One (M7)] Moscow Desire:
Seriously sounds like a battery/charging issue, gives all signs of a discharging battery. That would explain the heat build-up.
[Verizon HTC One (M7)] Dark Jedi:
Was you using the charger that came with it? Or are you using a different charger? I once used my motorola cord to charge my phone and it felt like it was going to burst in to flames. I then got the HTC cord that came with the phone and it cooled down.
[Verizon HTC One (M7)] NotATreoFan:
No luck on the bright light trick. I tried holding just power, power + down, power + up, and power + both underneath a fairly bright fluorescent light.
[Verizon HTC One (M7)] NotATreoFan:
I don't have the OEM charger here, but I was using it at home to charge it. I'm hoping leaving it alone for another 4 hours will bring it back to life on the HTC cable.
[Verizon HTC One (M7)] Red5:
Lets hope that it didnt turn on because the battery died. Hopefully the OEM HTC cable/charger will fix your issue.

If your battery is truly completely drained, it may take a few seconds for the light to finally come on... so dont freak out in the first 10 seconds.
[Verizon HTC One (M7)] Dark Jedi:
Your battery could of went bad. Does your phone look like it has swelled anywhere from the battery expanding ?
[Verizon HTC One (M7)] NotATreoFan:
I'm trying to remain calm until I get home. I haven't gotten a light in 30+ minutes of being connected to the Sony charger, but I'm chocking that up to it not being the HTC original.
[Verizon HTC One (M7)] NotATreoFan:
It's tough to properly gauge it with my eyes, but nothing looks off. If I press down on the center of the phone at the top, the it does not lift off the table. If that push from the center at the bottom, it does lift off ever so slightly. But I don't know if this is because of the camera location or what.
[Verizon HTC One (M7)] NotATreoFan:
Called up Verizon just to make sure there's no other method that I didn't try, and they advised me to get a replacement. I've got a few days to try and get this thing working before I'll have to send it back and say goodbye to root.

Interestingly enough, they were sure to warn me about physical damage and being subject to a $299 charge if there is any damage. But they didn't make any mention about if the device is found to be unlocked.
[Verizon HTC One (M7)] KennyG123:
Well the cooling down certainly could have been the battery finally being completely dead. Maybe stop in a Verizon store to try another battery? No chance a bad SIM card could cause this right?
[Verizon HTC One (M7)] Red5:
Try another battery? You mean just pop off the back cover, take out the old battery and try a new one? You're one sick troll. :p;)
[Verizon HTC One (M7)] KennyG123:
Yes..very devious!!! I don't know what I was thinking :confused::silly::p
[Verizon HTC One (M7)] NotATreoFan:
I did remove the SIM before doing some of the steps as there were reports that a missing one will cause the phone to pop into recovery. I really hope I can get this one back to life so I don't have to wait for an S-Off exploit to root again.
[Verizon HTC One (M7)] NotATreoFan:
Got home, plugged it in for several hours, no light. Looks to be quite dead. :(
[Verizon HTC One (M7)] andybones:
Really sorry to hear this man.

I would keep it off 12-24 hours.

try it out.

also I have sent back MANY HTC Dev unlocked phones, they just flash the new software re-setting it back to S-ON, and stock. I don't think they really give a ****, esp if it's not an issue from say, S-OFF.
[Verizon HTC One (M7)] the_scotsman:
That's a pisser. My One has been rock solid. Sounds like a really weird issue. I doubt it's recoverable. I'd just go for the replacement. Generally even if it's unlocked they won't have any issue replacing it. In fact, here is Australia, retailers aren't allowed tor efuse warranty claims even if the device has been unlocked, rooted etc...

Perhaps put it into a bag and into the freezer for a few hours. That can sometimes resolve battery issues.
[Verizon HTC One (M7)] PG101:
Did I read it correct that you were not able to go into the bootloader? (full Power off > vol down + power)?

If that's the case then you should head for a replacement.. if it is dead they probably wont be able to fire it up to check if its locked or not anyway :)
[Verizon HTC One (M7)] andybones:
Very good point, and by the time they do, the guys at the repair center can't physically go and find every rooted phone, then bring it to corporates attention, they get the phones, reflash the software fix the problems listed and out goes another returd. I mean refub, sorry.
[Verizon HTC One (M7)] NotATreoFan:
I've had a few occasions with it running warm, almost hot, in the past, but I attributed that to the metal body and streaming Netflix for extended periods over LTE. I tried the phone again this morning and get no response whatsoever. It is completely dead. :(

And now I cannot root the replacement... unless someone shows up at the BABBQ with the gold card needed to do it.
[Verizon HTC One (M7)] abrego47:
if you get a replacement you can send it to sonic to s-off! but i'm sure you knew about that. sorry to hear it won't come back on!
[Verizon HTC One (M7)] NotATreoFan:
I know that's an option, but I'm already getting behind just going without it for 3 days. I'm hoping someone at the BBQ next week will have a magic SD card with them.
[Verizon HTC One (M7)] abrego47:
hope you get it working, i had to go two weeks total without a phone and it sucks! i sold my dna to get this one and then sending it to sonic to get s-off, glad that is over! good luck! :good: