|
Well, I think I figured out the problem.
A) The original person who wrote the code wrote a lot of garbage.
B) There were 3 or 4 (I'm writing from home, now, so I don't remember the exact particulars) functions named the same in 3 or 4 different classes (which is fine, in and of itself); however, the coder used references to the view and app classes to access these functions using ALL public variables for any variable that was needed. I mean, what ever happened to keeping private data private?
C) Anyway, there was another function, being called by my OnSelComboChange event, that got called a couple of times via the original coder. Its decl: InitializeItems(int); That's right - Initialize. Called multiple times throughout the class. Nice, huh? Initialize a variable ONCE, people. Call an Initialize function ONCE, people! Also, this function performed multiple, unrelated processes which should not have been lumped together.
After breaking that function up and strategically placing the disected pieces where there should have been, everything started working fine.
meh.
|
|
|
|
|
Hiiii every body
How can I get cell ID and information about network of GSM
some one help me please............Thanks
my E-Mail zicocomp_22@hotmail.com
Zicocomp_22@hotmail.com
|
|
|
|
|
Hi Everyone
Well, I have a silly problem. I made an ActiveX for Windows CE 4.0 using VS2005 and I can call methods and set/get properties but the code related with that functions never was executed.
At the begining I can't call methods because I had problems with IObjectSafety interface.
I tried everything and now I am pretty frustated. The problem I think is weird maybe I am doing something wrong.
Thx for the help or some advices
PD. Sorry for my english
David Leyva
|
|
|
|
|
Hello everyone,
I am learning how to develop offline Web Services provided by Windows Mobile platform. I have some complaints here. At first, I admit that I am not an expert of this topic. Could anyone help to answer please?
1. Lacking of basic information of how to setup, do I need to setup anything beyond .Net Compact Framework 2.0 at client side? Do I need to setup some server? I can not believe such information can not be found from Microsoft web site.
2. Lacking of basic samples. Are there any available ones officially provided by Microsoft?
Maybe such information exists, but hard to find.
thanks in advance,
George
|
|
|
|
|
i need a project code in vb and oracle if anyone can help its ugrent
|
|
|
|
|
Do you want a project to work on or are you looking for a solution?
Sorry if my question seems silly, but I'm just a newbie to the programming world.
If you want a Project to work on, I can supply a few PPC Applet Projects for VB.net using CF.
Cheers.
Chunky
Think about it: Price, Quality, Speed. You may choose any two. You'll NEVER get three.
|
|
|
|
|
Hi has any anyone tried to program the Merlin V620 Wireless PC Card Modem
blah blah blah..
If you have, How is it done and where can one get the Drivers etc
antonioemanuel
-- modified at 13:59 Monday 11th December, 2006
|
|
|
|
|
Hi!
Does anybody know if there is any AT-something modem command
to monitor keys, pressed on the cell phone?
I would like to control PowerPoint from my Samsung A930 cell
phone via Bluetooth connection. As Verizon disables in their
phones every possible feature you can think of, there is no
simple way to do this like mobile Java application etc.
But, as I don't really need any user interaction, monitoring
pressed keys and echoing them on the HyperTerminal,connected
to the pohone's modem, would be just fine.
Hovewer, after couple hours spent googling, I still don't know
whether there is such command at all...
Thanks in advance.
|
|
|
|
|
Hello,
VS 2005.
I have developed an Pocket PC for a Windows Mobile 5.0.
I have created the setup using the following website.
http://www.devx.com/wireless/Article/31198
This created a successful setup and the installed on the pocket PC without any errors.
However, when I click on the applicaton on the Pocket PC, it doesn't launch the applcation. It does nothing.
When I deploy on the emulator it works fine, but not on the actual pocket PC hardware.
Can anyone tell me if i have done something wrong, or could it be the Pocket PC that could have the problem?
Is there a better way to create a setup program for a pocket PC for VS 2005?
Many thanks in advance,
Steve
|
|
|
|
|
Hi,
if you didnot have any breakthrough so far, i will suggest followings.
1) if your application is complex , i.e requires remote resources like remote db connection, then make a very simple one to start with and try followings.
2) deploy using XCopy method instead of making setup file to see if it makes a difference.
3) make sure you have selected right processor type in visual studio tools section.
4) try to debug-run the application on device rather than in emulator, using ActiveSynch and usb cable. (device instead of emulator in debug config)
5) if u cant manage 4, make sure all required components, if any (SqlCE,.Net Framework etc) are present on device compatible to the version your app supports.
hope it helps.
|
|
|
|
|
Hello everyone,
I have a new idea to develop a connection status monitor program at server side, which could monitor the connection status (online/offline) of devices running Windows Mobile. Are there any samples to start? Are there any built-in functions in Windows Mobile?
thanks in advance,
George
|
|
|
|
|
Here^
:Gong: 歡迎光臨 吐 西批 :Gong:
|
|
|
|
|
Very good stuff! Thank you VuNic!
regards,
George
|
|
|
|
|
You are welcome
:Gong: 歡迎光臨 吐 西批 :Gong:
|
|
|
|
|
Hi,
Actually I m developing one application whr I have to develop a speech recognisation control .As I know MS provide SAPI(Speech api),but if I m trying to use that then its not working for windows mobile platform . Can anyone tell me how to develop that control.
Ankur
|
|
|
|
|
Hello everyone,
I am developing a Windows Mobile application, using C/C++. It is an agent using HTTP(S) to communicate with server. And now I am using Cradle to test the application and it works fine.
Now I want to test it using GPRS connection. I am wondering whether I need any change in my code? Environment settings? Do I need to change any settings in order to have better performance?
In GPRS, is it the same as connection using Cradle to communicate with HTTP server?
thanks in advance,
George
|
|
|
|
|
Hi George ,
I think in device settings u have to make one connection setting entry for the same connection that u r using . For eg if u r using WAP then make one connection in setting->GPRS. nd in advance setting choose that connection for WAP.
Ankur
|
|
|
|
|
Thanks Ankur! I am a little confused. I have a simple HTTP based agent, which is working fine on Windows Mobile when I place it on Cradle (by borrowing host machine's IP address) to communicate with my home-made server.
Now, I need to test whether the application could work standalone (without host machine, Active Sync, etc.) by using GPRS to connect to server. I am not using Web browser on my PDA, so is WAP needed? (I only send HTTP package to HTTP server and wait for response.)
Could you indicate in my situation, whether I need to configure anything as you mentioned above, like WAP? (correct me if I am wrong, I think if we do not use Web Browser on mobile PDA, there is no need to configure WAP, even if my program is using HTTP based communication.)
Any comments are welcome.
regards,
George
|
|
|
|
|
Hi George,
I wrote WAP for an example . My motive is to tell u that for making a GPRS u have to make proper setting for that . Actually if u go in device setting->connection u will find that u have 4 option for a connection Like (Work,internet,wapnetwork and secure wap network.)
Now what u need to do is make one new gprs connection. For making that connection follow the steps
(1)Go in Setting->connection->gprs
(2)Click Add in menu
(3)Now chose any name for connection like myconn
(4)In connectto chose the connection that u r using in ur application(I mean work, internet or whatever u r using)for Example Work
(5)Give the other setting like APN and proxy (whtever required)
(6)Press Done and come out
(7)Now in main connection screen click on the menu
->advance
(8).Now if u have set the new connection for work then in combo box for work chose ur connection i.e myconn
(9)click on done
Now check ur application is working fine or not
|
|
|
|
|
Thanks a_jhakas! I have understood your points. Do you have any tricks/approaches to tune/improve the performance of GPRS connection?
Any reference resources (samples/tutorials) will be appreciated.
regards,
George
|
|
|
|
|
Hi,
I am developing an application of windows mobile 5.0 using visual studio 2005 C#.Net.Testing with a emulator windows mobile 5.0 pocket pc Emulator..
I have one doubt, How to identify device Manufacturer(Manufacturer of client's device) and device Model(Model of client's device)using C# code?
Appreciate if you can help..
Thanks
|
|
|
|
|
The only way I'm aware of is to use SystemParametersInfo with the SPI_GETOEMINFO flag. The code we're using:
private const int SPI_GETOEMINFO = 258;
[System.Runtime.InteropServices.DllImport("coredll")]
private static extern int SystemParametersInfo (
int uiAction,
int uiParam,
System.Text.StringBuilder pvParam,
int fWinIni );
public static string GetOemInfo()
{
System.Text.StringBuilder sb = new System.Text.StringBuilder( 256 );
int result = SystemParametersInfo( SPI_GETOEMINFO, sb.Capacity, sb, 0 );
int error = System.Runtime.InteropServices.Marshal.GetLastWin32Error();
if ( result != 0 )
{
return sb.ToString();
}
return "";
}
|
|
|
|
|
Hi All,
I want to display the current location's latitude and longitude on the mobile screen using some web service or something.
(For India)
I ve explored www.geocoder.us but i want something similar for india
Can anyone please help me on this.
Thanks in Advance.
Regards,
Ritika
Ritika
|
|
|
|
|
Hello,
I am populating at combo box from a dataset. But when I run the program I find I get system.data.datarowview being displayed in the combo box. What should be displayed is the values in the table. i.e. R4484, G5474.
I am using pocket PC 5.0. I have tried this code in a simple window form, and it works fine, but not in a pocket Pc application. That is why i posted here. Thought maybe there was something wrong with this type of control being used in pocket pc application.
<br />
ds = ws.loadSupportContracts(clientID)<br />
<br />
If (ds.Tables(0).Rows.Count > 0) Then<br />
Me.cboSupportContracts.DisplayMember = "supportContractID"<br />
Me.cboSupportContracts.ValueMember = "supportContractID"<br />
Me.cboSupportContracts.DataSource =ds.Tables("contracts").DefaultView<br />
End If<br />
I did try and solve this problem by doing the follow. But had an error "value does not fall within the expected range"
[code]
ds = ws.loadSupportContracts(clientID)
Me.cboSupportContracts.DataSource = ds.Tables("contracts").DefaultView
Me.cboSupportContracts.DisplayMember = "supportContractID"
Me.cboSupportContracts.ValueMember = "supportContractID"
I have also tried using a binding source but still the combo box kept on displaying system.data.datarowview.
<br />
ds = ws.loadContacts(clientID)<br />
bs.DataSource = ds<br />
bs.DataMember = "contracts"<br />
<br />
If (ds.Tables(0).Rows.Count > 0) Then<br />
Me.cboContact.Items.Clear()<br />
Me.cboSupportContracts.DisplayMember = "supportContractID"<br />
Me.cboSupportContracts.ValueMember = "supportContractID"<br />
Me.cboContact.DataSource = bs<br />
End If<br />
If anyone has any ideas about this please let me know.
Many thanks in advance,
Steve
|
|
|
|
|
This code works fine for me in VB.NET 2005
<br />
Dim da As New SqlDataAdapter("SELECT * FROM Categories", conn)<br />
Dim ds As New System.Data.DataSet<br />
da.Fill(ds)<br />
With Me.cboCountries<br />
.DisplayMember = "CategoryName"<br />
.ValueMember = "CategoryID"<br />
.DataSource = ds.Tables(0)<br />
End With<br />
Alexei Rodriguez
|
|
|
|