|
just create a shortcut to app in windows\startup folder or put a registry entry that I don't quite remember but if u're still interested let me know in this thread i'll find out
greetings
|
|
|
|
|
Thanks for the help, I have successfully initiated my application at the start up event
Regards
Manoj Kaushik
|
|
|
|
|
|
Hello Joel
Thanks for the help, it really hepled
|
|
|
|
|
|
Dear Code Project,
i am currently developing a Management system for a university which can be used on mobile. Currently the company already have a Management system but it is desktop based. I am just putting few and important modules to be access via mobile.
It will be more likely a website which they can access through mobile. they will be able to take a picture and send it to database, able to view reports and perform certain tasks.
i am planning to use ASP.net Mobile for this.
Would like to hear your suggestion and feedbacks or any recommendations you have.
I really need certain technical information. Its for my final year project
Thanks.
Note: Admin, please do not hesitate to move this thread to another forum if suitable.
|
|
|
|
|
It sounds like you already know the direction in which you should go. But for the most part it sounds like you are describing a typical smart client that would have online and offline functionality. You may want to check out the Windows Mobile Line of Business Accelerator[^] as it will contain a lot of solutions for issues you may encounter.
|
|
|
|
|
Basically it will be more like a webpage which can be accessed through mobile device. I am planning to make it through ASP.NET with Access database. user can point the location through their browser and then they'll be able to perform certain task. Like generate reports, marketing statistics, upload picture.
Do you know any other mobile based management system which i can refer as my literature review.
Thanks.
|
|
|
|
|
|
Hi,
Our company has decided to use SQL Server compact Database for our mobile application. We want to use LINQ to SQL, but SSCE does not support dbml designer. Is it possible to SQLMetalBuilder tool to generate dbml code for SSCE? If it is possible, how to use the tool?
Also can sqlMetal.exe be used with SSCE to generate dbml code?
Thanks in advance,
Veena
|
|
|
|
|
hi.
i want to launch multiple instances of my .NET CF 3.5 application on a pocket pc. there were a solution for .NET CF 1.0 here[^], but it's not suitable for .NET CF 3.5 because now there is a window with class name #NETCF_AGL_PARK_<path-to-application>, and changing window text doesn't help...
do anyone know any other solutions of this problem?
De profundis clamat...
modified on Tuesday, January 13, 2009 6:46 AM
|
|
|
|
|
Would you mind describing why you need multiple instances of your program? There may be other work-arounds that will work for you but before we know if they are appropriate for consideration we would need to know what you are trying to do.
|
|
|
|
|
Hi all,
I written the following code to make "DPI-Aware" the ImageSize property of an ImageList Control in my application (V.B. .Net C.F.2) in V.S. 2005 environment:
Dim RK As Microsoft.Win32.RegistryKey = _ Microsoft.Win32.Registry.LocalMachine.OpenSubKey("Drivers\Display\GPE")
Dim LPX As String = CType(RK.GetValue("LogicalPixelsX"), String)
Dim LPY As String = CType(RK.GetValue("LogicalPixelsY"), String)
If LPX = 96 And LPY = 96 Then
Me.ImageList1.ImageSize = New System.Drawing.Size(16, 16)
Else
Me.ImageList1.ImageSize = New System.Drawing.Size(32, 32)
End If
Well, I placed it in the Form1_Load event, and it works.
But with doubt if that place was the "rigth place", I tryed to place it in the "Form1.Designer.vb" code (because I think it is the "more appropriate" place).
I placed the first 3 line in the begin of code:
<global.microsoft.visualbasic.compilerservices.designergenerated()> _
Partial Public Class Form1
Inherits System.Windows.Forms.Form
Dim RK As Microsoft.Win32.RegistryKey = _ Microsoft.Win32.Registry.LocalMachine.OpenSubKey("Drivers\Display\GPE")
Dim LPX As String = CType(RK.GetValue("LogicalPixelsX"), String)
Dim LPY As String = CType(RK.GetValue("LogicalPixelsY"), String)
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
MyBase.Dispose(disposing)
and the "If-Else" conditions immediately above the ImageList.Add property code:
If LPX = 96 And LPY = 96 Then
Me.ImageList1.ImageSize = New System.Drawing.Size(16, 16)
Else
Me.ImageList1.ImageSize = New System.Drawing.Size(32, 32)
End If
Me.ImageList1.Images.Clear()
Me.ImageList1.Images.Add(CType(resources.GetObject("resource"), System.Drawing.Image))
Me.ImageList1.Images.Add(CType(resources.GetObject("resource1"), System.Drawing.Image))
Me.ImageList1.Images.Add(CType(resources.GetObject("resource2"), System.Drawing.Image))
Also if it's recomanded to not write code-lines directly in .Designer.vb code, the code works correctly in both emulator and device, BUT sometime (I not understood why and in witch circumstances), only the If-Else conditions lines above are deleted and replaced with the single line:
Me.ImageList1.ImageSize = New System.Drawing.Size(32, 32)
And then I must replace it again,
Of course, the problem is only in the debug phase, while after compilation there is no problem on device.
I know that this is a "not easy" question but I hope that someone can help me to clear my ideas about where it's more appropriate to place above code.
Thanks
|
|
|
|
|
You had it right the first time with placing the code in Form_Load . The designer section of the code is "owned" by Visual Studio and as you've seen VS does not gaurantee that changes you make to it will be preserved. If you plan to have others use and modify your code then the designer area isn't idea because no one else would know to look there for your code. Other than the Form_Load method the other place to consider would be in the constructor of the form right after the InitializeComponent method is called.
|
|
|
|
|
Thank you very much Joel!
|
|
|
|
|
Hi all.
When I launch my application to be executed in PPC 2003 emulator, in the "Immediate Window" of V.S. 2005, appears 2 times the first error and 8 times the second error.
A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
A first chance exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll
The "Error List" is empty (application doesn't contains errors and seems to works correctly).
Application also seems to works correctly in real device.
What can cause above errors, and how I can unnderstand witch piece of code lines that cause them?
Thanks
|
|
|
|
|
It's from an exception being thrown and handled. It is safe to ignore.
http://social.msdn.microsoft.com/forums/en-US/vssmartdevicesvbcs/thread/ac29e918-a966-44e8-910b-75c6cc12aabf/
|
|
|
|
|
|
Hi guys
Just heard that the Nokia Developer Conference in Bangalore got postponed.
Mighty happy to hear that as I could not register myself earlier. It was supposed to take place on December 10, 2008 now because of terrible Mumbai terror attacks it got postponed to January 20, 2009.
Venue remains the same - Trinity, Taj Residency, Bangalore, India
Just thought there are people like me out there who too missed out earlier. To register and know other details visit www.Nokiadevcon.in
|
|
|
|
|
Im doing my projects using
C#.net 2008,
datasource Microsoft SQL Server Compact 3.5
IIS V5.1 development envirnment and BackEnd server IIS V6.0
I tried to do Synchronization different ways but failed.
will anyone help me......
|
|
|
|
|
Take a look at the msdn article "Northwind Pocket Service: Field Service for Windows Mobile-based Picket PCs" it discusses RDA a one way to do what you are asking.
http://msdn.microsoft.com/en-us/library/ms838206(printer).aspx
mrMagik3805
|
|
|
|
|
hi i am developing PDA application. while running my application, when power button is clicked the user is logged on , but after two hours i want user to be logged off and logged on again.
please help me,thank in advance
|
|
|
|
|
For what platform/operating syste are you developing?
When you say "Logged out" do you mean you want the device to lock or you want your application to shut down?
|
|
|
|
|
Hi all,
I have created an application to send or receive an SMS but eaxh time it is sending an SMS it is showing the message "do you wish to send to +919898989898" and whenever we are trying to access the net through the application it is asking "Allow your application to use network to send or receive data".
I am using Netbeans IDE for creating the application for Nokia N73.
Regards
|
|
|
|
|
I guess you are using Java and this is a Java security issue.
AFAIK this is handled by the Java emulator/executing environment.
Regards,
Lev
|
|
|
|