|
|
"Browser Sniffing" is a bit of a misnomer; one would think that something is actually probing the browser. but the browser identifies itself everytime it downloads a web page, image, or script. What you need to check is the user agent string that the server receives (the details of this will varry depending on the type of server you use).
There's another website that identifies the user agent strings[^] associated with mobile browsers. have a look at it.
|
|
|
|
|
I'm making an application, one of the requirements is to select a phone number from the contact list (as you would with sending a SMS).
I'm sure the .net framework has some support for this, but I'm a little lost as to wear to look.
Any direction would be helpful
|
|
|
|
|
Get a contact by creating a Microsoft.WindowsMobile.PocketOutlook.OutlookSession, then using the Contacts property. You can then call Microsoft.WindowsMobile.Telephony.Phone.Talk to initiate the call.
"Multithreading is just one damn thing after, before, or simultaneous with another." - Andrei Alexandrescu
|
|
|
|
|
I meant like bringing up their address book / contact list to select a number and then store it in my textbox
|
|
|
|
|
hi guyz
i am facing a problem of connecting a mobile application from sql server 2005 directly .............................i have used a sql mobile edition in mobile devices keeping .sdk in mobile device only .................but know i want to used .mdf which is in server from mobile device
peace of code show below is throughing an exception :-
SQLException
----------------------------------------
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace TestPocketSqlDirectHit
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
string source =
"data source=192.168.2.13;" +
"initial catalog=dialdb;" +
"user id=sa;" +
"pwd=maxworth;" +
"workstation id=192.168.2.13\\SQLEXPRESS;" +
"packet size=4096;" +
"persist security info=False;";
SqlConnection conn = new SqlConnection(source);
conn.Open();
SqlDataAdapter adapter = new SqlDataAdapter("select * from USERMASTER", conn);
DataSet dst = new DataSet();
adapter.Fill(dst);
textBox1.Text = dst.Tables[0].Rows[0].ItemArray[0].ToString();
}
}
}
can anyone help me out for this.
Thanks a lot
Thanks & Regards
Manish Singhal
Software Engineer
Maxworth systems(Delhi)
|
|
|
|
|
hi friend
i have created a point of sale Desktop application Product in my final project in C#. it have 57 forms and database of 78 tables.
now i want to create the mobile version of it. i m newbie please any body tell me what i should do. Create Device Application or some think else....................................
wasim khan
|
|
|
|
|
Hello,
I'm actually searching for a solution I could use to read barcodes on a PDAPhone running Windows Mobile (5 or further) and his built-in camera ... I found some software on the net but reading specific 2D barcodes for URL encoding, easy navigation ...
I would prefer something like a .NET class or custom control that could open the camera device, preview the video, when the user presses a button it would capture the picture, and then do a barcode recognition on the captured picture and return the readed barcode.
Do you have any information about such a product ?
By the way, if this could be a free class this would be great as it is not intended for professionnal use ... Thanks !
|
|
|
|
|
Hi all - there a flowlayout control or the equivalent in windows mobile 6?
Cant seem to see one but thought someone here might have more knowledge than myself
Bryce
|
|
|
|
|
Hi all, I'm finding some difficulties to pass a Bitmap value to a Sub(routine).
When I call the Sub to witch a want to pass the Bitmap value, program is stopped during run-time, returning me an error because the Bitmap value is lost during the passing and become "Nothing".
I tried to declare Bitmap variable as Public and/or substitute the Sub with a Function but without success.
It's interesting to note that in the same Sub, correctly pass a String value.
May be is not possible to pass Bitmap value in .Net C.F.?
Or I'm wrong in procedure?
Thanks for help
modified on Wednesday, October 15, 2008 9:31 AM
|
|
|
|
|
Is there any way you can post a sample of your code?
|
|
|
|
|
Hello Everybody,
Is it possible to develop an owner drawn menu on WM 5.0 PPC?
I have already tried different approaches:
- the first one was to set the TBSTYLE_CUSTOMERASE style for the menu buttons in the rc file:
ID_MAIN_MENU RCDATA
BEGIN
ID_MAIN_MENU,
2,
I_IMAGENONE, IDM_EXIT, TBSTATE_ENABLED,
TBSTYLE_BUTTON | TBSTYLE_AUTOSIZE | TBSTYLE_CUSTOMERASE, IDS_EXIT, 0, NOMENU,
I_IMAGENONE, ID_MENU, TBSTATE_ENABLED,
TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE | TBSTYLE_CUSTOMERASE, IDS_MENU, 0, 0
END
Then create the menubar:
SHMENUBARINFO mbi;
memset(&mbi, 0, sizeof(mbi));
mbi.cbSize = sizeof(mbi);
mbi.hwndParent = m_hWnd;
mbi.dwFlags = SHCMBF_HMENU;
mbi.nToolBarId = ID_MAIN_MENU;
mbi.hInstRes = _Module.GetResourceInstance()
if(!::SHCreateMenuBar(&mbi))
{
ATLTRACE(_T("Failed to create menu bar.\n"));
EndDialog(IDCANCEL);
return -1;
}
And try to handle the WM_NOTIFY NM_CUSTOMDRAW message for custom draw:
LRESULT CMainDlg::OnNotify(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
if (NM_CUSTOMDRAW == ((LPNMHDR)&lParam)->code)
{
LPNMCUSTOMDRAW pCustomDraw((LPNMCUSTOMDRAW)lParam);
...........................................................................
}
return 0;
}
But the required WM_NOTIFY message isn't sent to the parent window...
Does anybody have any ideas?
- I have also tried CreateToolbarEx to create the menu bar manually and not using Shell, but the same situation: I do not get the NM_CUSTOMDRAW message.
Thanks in advance for any help
With regards
|
|
|
|
|
Hiii
I m working on window mobile and using link label. i want to hide link label rectangle box when link label got focus.
How i do this.
Please suggest.
Thanx
~Khatri Mitesh
khatrimitesh@hotmail.com
Bikaner (Rajasthan)
INDIA
|
|
|
|
|
What do you mean "hide link label rectangle"? Do you refer to the background color of it? Is it in a diferent color than its form container?
What do you mean "when got focus"? When it is clicked or when the mouse is over the label?
|
|
|
|
|
Hii
I mean when link label get focus it draw a default dotted rectangle on the link label. i want to hide this dotted rectangle when it got focused. please suggest.
Thanx
~Khatri Mitesh
~Khatri Mitesh
khatrimitesh@hotmail.com
Bikaner (Rajasthan)
INDIA
|
|
|
|
|
If I understood well, you want say that when you run application, there is a LinkLabel selected by default(only one and every time the same).
If I understood correctly, this is caused because the LinkLabel that appear selected have the lower value of TabIndex property, automatically assigned to all controls you designed on the form (in the same order you designed them on the form, starting from value 0).
Probably you created firstly LinkLabels and after other controls.
If you don't like it, the only way I know to correct it, is to manually modify the TabIndex assigned to controls (assigning TabIndex = 0 to another control that is not a LinkLabel).
For example to a TextBox or a Button.
You can also create a not visible and not enabled control and assign to it TabIndex = 0.
This work in the development environment of course.
May be this can be done also programmatically.
I hope this help you.
|
|
|
|
|
Hi all,
I am developing an application for BlackBerry that will send and receive an SMS. I am able to send an SMS through the application. I want to do the following things with the application:
Grab an SMS which has a fixed five characters say "ABCDE" at the beginning and one character say "A" at the end. For extracting the beginning and end characters we can use CharAt() and SubString(), but before we extract it, we need to grab the SMS and store it in some variable.
Invoke an application when the SMS comes in with the above criteria.
Do not let the SMS go into the SMS inbox (phone's inbox).
Navigate from one screen to another with the value from the previous screen.(i.e assgning some global variables and using them)
I am using BlackBery JDE 4.5
Regards
Parasmani Swamy
|
|
|
|
|
I also need same feature to work on my application. Did u find any solution to the above requirement . If yes then please reply me or if you can give me your email id then also it will be fine.
Please reply soon . I need help on this ....
Thanks!
Bhushan
|
|
|
|
|
Dear .Net Veterans,
I have been associated with .Net Technologies close to 4 years now. I had recently quit my job as an programmer and have taken up my Masters in Robotics. Its time for my first project and I want to completly utilize my 4 years of rewarding programing experience in my Masters project. I have a list of questions, so do please spare your valuable time and respond to my queries.
As a Masters project, we have planned to create a robot which can follow the route traced on a touch sensitive screen. I have unfortunately dont have prior experience on projects involving Hardware/Software interface.
We have an Palmtop on which I can have .Net framework installed so that the route to be followed by the robot can be traced on the touch pad and I need to create an application which can fetch these co-ordinates. Its pretty simple I guess.
Need some pointers on where to get started in creating such applications. Any existing projects will be very helpful.
Any other considerations which I need to make before getting started.
Once I complete this step, I will look forward to transmit the signal via the built-in Wi-Fi adapter.
--------------------------------------------------------------------------------
--Amrish
|
|
|
|
|
Hi everyone!
I'm writing an application on .NET CF. My app must protect some data files, which are cannot be changed or removed by user. But I don't know how to do this.
Another question. My app is protected by password. In case of user has forgotten his password, he can recover it by ordering the program to send an email (contain his password) to his email address. My problem is, this email is not secure, and anybody can read it, and then access to sensitive information stored in the program. I've not had any idea to solve this problem yet.
I'm very happy if you can give me some suggestions/solutions for my problems. Thank you!
|
|
|
|
|
You have absolutly no control over data that leaves the boundries of your device. If the program sends out an e-mail that e-mail has left the boundries of the device into the unsecure world. The data will be accessible unless you encrypt it, but if you encrypt the data then the user cannot read it. If you need to keep the data secure don't use e-mail. Not having password recovery at all would be more secure.
As for securing information on the device itself you can use encryption and use the device's ID as part of the encryption key. That won't stop a clever hacker from decrypting it.
|
|
|
|
|
Hi all,
I have a PictureBox1 (240 *180) on the form. I want it display me (in original size), the image that I select from a ListView1 control.
All work fine, but I desire that if original image-size exceed 240*180, it must be resized to such size to be displayed enterely in PictureBox1 (manteining the image sides-ratio).
Is there a simple way (in C.F.2 - V.B. code) to obtain it?
Thanks
modified on Sunday, October 12, 2008 1:05 PM
|
|
|
|
|
Hi,
I'm thinking about developing applications for my Nokia E90, but I don't know where to start. Can anyone guide me?
Thanks!
Rafferty
|
|
|
|
|
If you already have some programming experience, the only point from which you can start is to write in the search box of google "How to develop Symbian application", and read, read, read.... and learn, learn, learn....
After you can post some question here...
|
|
|
|
|
haha but is there any site you can recommend? For starters, what language is it in? I did encounter 1 site where I found all the apps in C++, I wonder if I can develop an app in symbian using .Net...
Rafferty
|
|
|
|