|
(sorry for the poor english)
it's an application for policemen, fine cars and things like that. i want to block the ppc so they just use the ppc for my app.
|
|
|
|
|
it's ok , i did not express myself well. i don't wanna screw anyone's phone. just making sure they just use it for theirs jobs, not going online with IE or listen to music, got it?
|
|
|
|
|
Got it a lot better than a few minutes ago
Some of the special keys are actually sent to the application, but this varies from phone to phone, since there's no standard defined. If memory serves correct, the iPaq sent the four keys on the front (under the touchscreen) as cursor-keys.
This may prove easy or very hard, depending on your phone. I'm sorry that I couldn't help you any further.
I are troll
|
|
|
|
|
What if you log every time they leave your app and send non-empty logs to HQ every 24 hours or so? Then they Can use it for something else if they Have to (for some reason) but they'd have to explain why it was necessary since HQ knows about it
If that's allowed..
Sounds like a more reasonable solution to me, but hey I'm not a police officer or their superior
|
|
|
|
|
i like this idea, don't think they'll like too. well, i'll try some things here. thank you all
|
|
|
|
|
arimao wrote: cannot allow users to leave the application
Why?
Think about it, what if something unexpected happens on the device that causes your program to crash? Now the user is holding a brick unless they restart it, but I guess you're gonna want to make your app auto run on start up (pointless blocking them otherwise), so they've now got a permanent brick - unless they reset it and loose all their data along with your application. They'll be happy they've got rid of your app but angry as hell about their data loss.
So, I ask again - why?
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
I have created a windows service that runs a timer which checks the time on the local computer, and at a certain time, it will call a webservice I have created. It runs beautifully on the computer that I developed it on, but when I try to install and run it on a different computer, it stops immediately with the error message
"The service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs."
I am not sure if it is a rights thing, or if I am missing something when I created the installer and setup files.
The windows service is written in C#, and so is the web service it calls. It also writes to the event log, and i am not sure it that would have an affect.
Things I have tried:
1. created a setup project in Visual Studio to install the service.
2. moved the project to the remote computer to build it and try to install it using the installutil program.
3. tried another computer in addition to the first remote computer
I know it is possible, and I am sure I am just missing something. Any help would be greatly appreciated.
Thanks,
heather
|
|
|
|
|
Hi
I suggest to install the service manually
in order to understand if the problem cause by the installation program
|
|
|
|
|
Your service is written incorrectly. It sounds like you started a Timer in the OnStart handler to run the service. The is not a good idea. Normally, services are expected to start a seperate thread that runs code that does the service work.
|
|
|
|
|
Hello Dave. Thank you for the information. I am new to this, and this is the first time I have written a windows service. I have a function that initializes the timer, and I have it set to run in the Onstart handler of the service. I put it in the service so it would start back even if the computer rebooted unexpectedly. How can I modify it to start a separate thread? I am not very familiar with threads yet either.
Thanks again,
Heather
|
|
|
|
|
Hi!
I want to rewrite one of my fameworks from php to c# so i can use them to play with asp.net.
So my question is:
since i have a file for the databasehandler class and one for the date and time class and so on,
i wonder if i could do like in php and have one file that includes or at least gives access to the other classes?
So that when i want to use my framewok i only have to work with one file and not all the 20 different files.
/Arne
|
|
|
|
|
Yep, you can create a single dll that contains all your classes, but you may want to consider splitting them out for maintainability/readability.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
ah, tink you got me wrong there.
i want to have something like this "file three"
this is how my php setup work's
EleanorFramework/(my framework's name)
___Eleanor.php(here i include all my file's in the Classes folder)
___Classes/
______Databasehandler.php
______Textapi.php
______logger.php
______...
so when i want to use my framework in php i include Eleanor.php
and creates the class i want to use.
and i wanna do something like that in my class library.
/Arne
|
|
|
|
|
Yeah you can.
Create seperate class library projects
Eleanor.Databasehandler
Eleanor.Textapi
etc... and reference the output dlls of the sub projects in an Eleanor project.
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
If this is for a web site, when you add classes to a .Net web app, it puts them into a special folder (AppData or something like that). You can assign a namespace to each class if you like (but it's not necessary), and then include a using statement so that you can access the class inside that namespace. Personally, I find that a bit clunky.
If you want to be able to share the classes between projects, you can create a separate solution that contains these classes and then simply add a reference to it in any web site from which you might want to use them.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
well PHP is not C# things work differently. So for one you need to be prepared to learn C# if you want to use it.
One .DLL file can contain just 1 class or it can contain many classes. If they are static classes you can use thier methods directly, if they are non-static you can create instances of the classes and use them as desired.
You can reference the DLL as needed in your ASP.Net application
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
Hi,
How can i convert MouseEventArgs to ByteArray?
and how can i serilize a MouseEventArgs ?
Thankyou
YPKI
|
|
|
|
|
ypki wrote: How can i convert MouseEventArgs to ByteArray?
What information are you expecting to have stored in this array?
.... sterilize a mouse
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
I guess you want to send MouseEventArgs using Socket. In simple language, MouseEventArgs is class and class cannot be converted to byte array but its variables can.
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
-----------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
I am working on a program in C# which is supposed to simulate a very simple browser. The program lets user login on yahoo and allows to compose and send mail (for now). For the last couple of weeks it was working just fine but since yesterday whenever it attempts to send mail the html having the following message (from yahoo) is returned:
Sorry for the inconvenience.
You've stumbled upon an unexpected, temporary problem. Performing your action again in a few moments will likely resolve the problem completely. If not, we suggest you try re-launching Yahoo! Mail.
If the problem persists, feel free to contact Customer Care about Error Code 14.
I have used about three yahoo accounts but in vain. Can't figure out why does this message appear . Please help.
|
|
|
|
|
I suggest asking Yahoo, its their error message. Have you tried just logging on and sending an email via the yahoo site to see if you get the same problem?
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
Hi,
I want to add more than one controls like lable, text box for a single cell to the datagridview control.
Thanks in Advance.
modified on Thursday, March 19, 2009 8:18 AM
|
|
|
|
|
Can you even add one?
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|
|
I can add one control but i cant add more than one.
my requrement is to add more one control to the single cell and select each control
Tqs for the response
|
|
|
|
|
How do you add one control? As far as im aware the different controls you mention are just different styles of datagridview cells.
In which case the same question could be asked. how do i add 2 textboxes to 1 textbox? answer is you cant
Life goes very fast. Tomorrow, today is already yesterday.
|
|
|
|