|
Hi there.
I am newbie so please bear with me..Big Grin
I found a universal remote control application for PDA on this site itself.
The link to the application in C# is below
http://www.codeproject.com/KB/miscctrl/UniversalRemoteControlPDA.aspx[^]
I tried posting comments on the application page but since no one replied for over a month i tried putting my questions here.
1: Is this a "real" universal remote control for all ir devices or just for Phillips ir devices?.
2: How do i run this application? I downloaded the source code and "deployed the solution" using pocket pc 2003 emulator on visual studio 2005 but could not find the application on the emulator....
Please help...
Thanks in advance
|
|
|
|
|
gauravxxx wrote: I tried posting comments on the application page but since no one replied for over a month
You haven't posted in over a month, you haven't been registered for a month. Try the mobile development forum, it will be your best bet.
|
|
|
|
|
ok i might have exagerated the month part...:P
But am a member since more than 4 month...Check on my profile...
Anyways no one can help my with this application...Its kinda tough for me since am i never used c# before
|
|
|
|
|
gauravxxx wrote: ok i might have exagerated the month part...:P ... you exaggerated by the entire amount of time, you posted on January 1st, today is January 3rd, that's 2 days, plus you posted this last night so all you waited was one day?! Don't you think you can be a little more patient???
gauravxxx wrote: Anyways no one can help my with this application...Its kinda tough for me since am i never used c# before
People can help you, so can google. In fact, google can help you pretty damned fast if you used it enough. Read a couple of books if you want to brush up on your C# and don't take on projects that you can't handle if you are new to this sort of thing. Start small and work your way up.
For future reference, cross posting and lack of patience will get you scorned around here.
|
|
|
|
|
My first post was on Jan 25th dude...do crosschek before just posting dude...
We already the 3rd FEb...makes kinda a week...besides u r not of any help so y bother replying....:S:S:S
Btw i fink we r already in Feb not Jan as u keep repeating in your previous post
+ I tried google but found nothing like a universal remote control software in c# or c++ except for codeproject. Thats why i joined it 4 month ago....
SO if u cannot be of any help why you keep replyin dude?...:S:S:S
|
|
|
|
|
Ok, let's tackle this one slowly. Relax with the text speak, it's not cool, it's just stupid. Secondly, I said your first post about THIS topic in the FORUMS was on Febuary 1st.
gauravxxx Profile:
Universal Remote Control for PDA [^]
by gauravxxx at 10:01 1 Feb '09
C# (Forum)
Universal Remote Control for PDA [^]
by gauravxxx at 10:00 1 Feb '09
Mobile Development (Forum) <-- FIRST OCCURANCE
AND you made 3 seperate threads about this in 2 days, we are the third TODAY, you made them all within two (2) days.
|
|
|
|
|
|
Sir I am not clear about one thing please describe this. When I connect to internet I get ip www.whatismyip.com shows it. But my LAN ip is some thing else like 192.168.1.5. So when posting on some website this 192.168.1.5 has some effect. Example if I make a posting keeping my ip (LAN) as 192.168.1.5 and then make another using ip 192.168.1.34 and so on. Does my postings will be considered as from different systems or from the same system. As in LAN we use a single ip but we have different LAN ips different users are using different computers having the same proxy.
My question is this changing my computer (LAN) ip makes some effect on my identification on internet or not.
Thank You
|
|
|
|
|
Changing LAN IP does not change your external IP, sorry.
|
|
|
|
|
Waheed Ur Rehman wrote: My question is this changing my computer (LAN) ip makes some effect on my identification on internet or not.
No. If your ISP has provided you a static IP, your IP will always remain same. Dynamic IP is granted when you connect each time and this may change each time.
BTW, what this has to do with C#?
|
|
|
|
|
Dear Sir,
Is it possible to change the dynamic ip using C# without connecting disconnecting.
Thank You
|
|
|
|
|
|
it is possible. Simply create a WebProxy object and set webrequest.Proxy=proxy; Then your real ip will change for the request.
Thank You
|
|
|
|
|
|
There's no option that I know of, unless you have a database server that uses RegEx and is faster.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
The performance of a regular expression depends on how you write it, i.e. how many comparisons and backtracks it has to do to get the result.
For example, the pattern "A.+Z" looks for an A, then .+ matches the rest of the string. That means it has to backtrack by reducing what .+ matches a character at a time until it can find a match for Z also. The pattern "A.+?Z" looks for an A, then it starts by matching the non-greedy expression .+? against a single character, increasing the match until it finds the Z.
If you are not careful with greedy quantifiers and what you match, you end up searching most of the string many times over.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Thank you very much for that insight into RegEx.
Here is a sample of one of the searches my application uses
(.*TOOLDEVSQL01[^\\].* )
I am not sure how I would speed this expression up, since I want a thorough search of config files, registry, binaries, etc.
I am going to research this. Please let me know if you have any ideas off the top of your head.
Thanks again!
Ryan
|
|
|
|
|
Try to change the first ".*" to ".*?" to make it non-greedy. That will scan the line forwards intead of backwards. If there is only a single space after the string that you match, you can change the second ".*" into ".*?" or "[^ ]*".
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
wow, this was great advice and insight. 90% of the performance issue was in my expression. While it still runs slower then other RegEx applications (ie. Windows Grep), it has vastly improved.
#1 I chunk search any binary bigger then 16kb
#2 instead of (.*TOOLDEVSQL01[^\\].* ) I use (?:TOOLDEVSQL01)(?: (?!\\))
The former expression also messed up my Regex.Replace, as it would replace the entire input string... I was using a much more simple expression when I first developed the application, your insight here has greatly helped. On one of my unit tests that used to take ~30 min, it takes about 30 sec, so its 10X faster!!
Much appreciated,
Ryan
|
|
|
|
|
Hi Guys
I'm having a problem with c#.
I have a Hotkey that is saved in the regist.
Well it saves ok etc.... But the problem is when i'm making the load... I make the load to a string and i can't pass that to a Hotkey....
I tryed like this:
Keys kk = Convert.ChangeType("Escape", Keys);
the error that says is:
'System.Windows.Forms.Keys' is a 'type' but is used like a 'variable'
|
|
|
|
|
zetrixfire wrote: But the problem is when i'm making the load
I'm not sure that's what you meant to say....
But, the error message means what it says. Keys is a type, and you're using it as a variable. Perhaps typeof(Keys) is what you need ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Use the Enum.Parse method to parse the string into a Keys value.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi all ,
I would like to know , when -in practice-
do we need object serialization over writing object fields directly to Database?
|
|
|
|
|
When you want to simplify your DB code so you can just serialise the entire object in one step. You're basically getting the system to write that code for you, to store the individual values, read them back and restore the state of an object. Also, serialisation can be used in places where the framework doesn't let you write your own code.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|