|
Hello,
How can i execute a MobileWebApplication on my Pocket Pc's that the application can consumes a WebService on my Desktop? - Do i need a Web-Server or something else on my PocketPc?? - Because only calling the MobileWebForm.aspx in my PocketExplorer does not work.
thx
regards
mat
|
|
|
|
|
hi,
You can check your IIS configuration first. Then visit these links.And we have lot of articles here in code project which will explain you step by step information of webservice conception.
Sometimes this may help you out.
http://www.devbuzz.com/content/zinc_compact_framework_web_service_xml_pg1.asp
http://www.pocketpcmag.com/_archives/may03/e_developers_corner.asp
http://www.ondotnet.com/pub/a/dotnet/2002/07/08/compactce.html?page=3
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
I know the whole web service concept i only need to know how to set up and run a Mobile Web Appication on my PocketPc to consume a Web Service on a Server??? - because on the PocketPc does not exist an Web-Server and only call the MobileWebForm.aspx of the MobileWebApplication in the PocketExplorer does not work...??
regards
patrick
|
|
|
|
|
hi,
You Wrote :
I know the whole web service concept-
You may know the whole thing. If so you would have easy fix the problem . Am i right.
Your way of prsentation is not all good for this sort of free sites. Don't feel bad this is my openion.
And about answer. I am not the founder of WebService.
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
I don't know why you are upset about my posting. Sorry, but i only asked a question.
|
|
|
|
|
I know the whole web service concept i only need to know how to set up and run a Mobile Web Appication on my PocketPc to consume a Web Service on a Server??? - because on the PocketPc does not exist an Web-Server and only call the MobileWebForm.aspx of the MobileWebApplication in the PocketExplorer does not work...??
regards
mat
|
|
|
|
|
Hi,
I'm developing an application for mobile device in
Smart Device framework and i would like to know if there are extra controls for this framework in whidbey.
Thanks,
Shay.
|
|
|
|
|
hi,
I am not sure about extra controls but i can assure that our all avilable controls are seriously updated with new customiztion.
eg. Insted of datagrid here we have DataGridView.
See i wrote an article on Datagrid customiztion there i mentioned one url. Which connect you to the world of Whidbey. Try that
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
Hi
Is there any mechanism to use locking facility in ADO.net for a table ? Pls suggest any solution for locking a record/table.
Warm Regards
Pradeep
|
|
|
|
|
hi,
Try to post your queary once.;)
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
Hi
Is there any mechanism to use locking facility in ADO.net for a table ? Pls suggest any solution to do locking a record/table.
Warm Regards
Pradeep
|
|
|
|
|
hi,
Ado is connected in nature.That's why we can apply locking machanisam there in Ado.
This is not the case with Ado.net, which means that ado.net uses what is referred as optimistic locking. i think you know about two kind of locking say Optimistic and Pessimistic locking.
You can't directly achive pessimistic locking here in ado.net like ado. You can achive this through applying transactions in your application. You can do one thing please look at how you can use the IsolationLevel enum with transactions to achive some kind of locking at the data source.
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
I'm trying to write an application to measure how long I spend using certain applications during the day. Idealy I'd like to get a message/event sent to my program when another selected program gets user focus as well as when it loses it.
I've figure out how to get a list of all running process and get their running information but is it possible to register a callback function to get notified of when another process recives or loses user focus so I can start stop a simple timer?
Cheers!
|
|
|
|
|
A global hook (for example a CBT hook) could give you this info.
There's an article on this topic:Global System Hooks in .NET[^]
Regards,
mav
|
|
|
|
|
Hi there!
I need some help converting files from an AVI movie to BMP.
IS there any component that helps to doing that?!
If not, how can I made one? What do I need?
Thanks a lot, Sérgio
|
|
|
|
|
hi,
We have lot of articles here in codeproject which will deals your requirement. Search for some articles.
Eg . http://www.thecodeproject.com/csharp/steganodotnet4.asp
check whether this will surve your purpose or not ?;)
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
thanks for your help, SreejithNair
|
|
|
|
|
You might also want to look up this excelent library.
It includes much more than getting bmp's from avi's, but discusses video input and its capturing.
there are no facts, only interpretations
|
|
|
|
|
Hi, I'm using a ListView to display integers and I'd like to sort them, but it processes them as strings... so it gives something that looks like
1
10
11
12
2
3
4
5
...
is there a way to sort them as numbers? I've thought of adding leading zeros to each number but that's not really pretty...
Thanks!
|
|
|
|
|
hi,
ListView have a method called Sort() which will only sort based on alephabetic manner (like string compare). So here what you can do is you can Impliment IComparer interface in your ListView class. In IComparer contain an abstract method called Compare(object a,object b).
And remaing is is upto your logic to compare and getit done. Try your self and if it is not possible by your self then let me know.
**************************
S r e e j i t h N a i r
**************************
|
|
|
|
|
Hi!
By default, the ListView is sorting its items lexicographically, so numbers will not be sorted correctly.
To achive the correct sorting you'll have to write a class implementing IComparer and assign it to the ListView 's ListViewItemSorter property.
You'll get two ListViewItem 's to compare, so you can decide according to which subitem you want to sort, if sorting is to be performed ascending or descending and what to do with numbers or dates.
For example, the core of such a comparer could be something like this:
public int Compare(object x, object y)
{
ListViewItem i1 = x as ListViewItem;
ListViewItem i2 = y as ListViewItem;
try
{
return (int.Parse(i1.SubItems[0].Text) - int.Parse(i2.SubItems[0].Text));
}
catch
{
return 0;
}
} By modifying the SubItem index you can easily sort by different columns or if you use DateTime.Parse instead of int.Parse you can sort your ListView by dates.
Regards,
mav
|
|
|
|
|
I currently use a axWebBrowser control in my C# application to display html. When non-english characters are in the html strings the control displays garbage. Is there a way to configure the control or format the html string so that the characters are displayed correctly?
Any help is much appreciated.
regards,
AD
|
|
|
|
|
Hi,I am using C# to encrypt file.
Here is the code:
public byte[] Encrypt(byte[] sourceObject,string key)
{
MemoryStream msOut = new MemoryStream();
MemoryStream msIn = new MemoryStream();
CryptoStream encryCs;
long lLen;
int nRead, nReadTotal;
byte[] buf = new byte[3];
encryptMethod.Key = GetValidKey(key);
encryptMethod.IV = GetValidIV(key,encryptMethod.IV.Length);
encryCs = new CryptoStream(msOut,encryptMethod.CreateEncryptor(),CryptoStreamMode.Write);
msIn.Write(sourceObject,0,sourceObject.Length);
msIn.Position = 0;
lLen = msIn.Length;
nReadTotal = 0;
while( nReadTotal < lLen )
{
nRead = msIn.Read(buf,0,buf.Length);
encryCs.Write(buf,0,nRead);
nReadTotal += nRead;
}
encryCs.FlushFinalBlock();
encryCs.Close();
return msOut.ToArray();
}
When the size of file is less than 15MB ,the program runs ok.But when the size of file is larger than 15MB,the program will come out the exception of outofMemoryException.
Thank you,
wybstar
|
|
|
|
|
It would be more efficient to eliminate msIn and the loops, and to use a BinaryWriter to write the encrypted data. Something like
BinaryWriter w = new BinaryWriter(encryCs);
w.Write(sourceObject);
return msOut.ToArray();
(flushes and closes removed for clarity).
my blog
|
|
|
|
|
I have modified the code. However ,the program still met the Exception of OutOfException. I want to know whether the .net not support the encryption of big file?
thank you!
|
|
|
|