Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Ashvin Gunga

@Ashvin Gunga
About
Posts
14
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Resources.resx
    A Ashvin Gunga

    Hello, Can you give additional information what you want to achieve? I have used resource files (for the string values) mainly dealing with the localization issues, whereby my application interface has to be in difference languages etc, and resource files provide great help. Otherwise, using resource files to keep your images etc..embeds the resources in your assembly, thus you won't need any other extra files such as .jpg etc.. The connection string can be a constant in your code as well. Does this help?

    Ashvin Gunga

    C# database tutorial question

  • Disable phone program
    A Ashvin Gunga

    Hello all, I am using a Windows Mobile 5.0 PPC device. I have a c# application that uses GPRS to communicate with back-end systems. Now, I want to prevent any user of the device from using the phone (e.g. dial numbers, make calls etc) and at the same time, allow my application to connect to GPRS. In a way, I just want to disable (turn off) the phone program. I have tried to turn off phone manually but this prevents my application from connecting to GPRS with a message "Cannot connect. Ensure that your phone is turned on and correctly configured and that service is available, before trying again". Any help please. Thanks!

    Ashvin Gunga

    C# csharp help

  • Making form full screen in windows mobile ce 5.0 c# application
    A Ashvin Gunga

    Hi, I already worked on the problem, and it's working fine. Cheers.

    Ashvin Gunga

    C# csharp help question

  • Help Needed!! Problem in running an exe file
    A Ashvin Gunga

    Hi, May be you can have a look at the Process and PrcessStartInfo class..I think you first create a ProcessStartInfo class, passing the constructor, the name of your exe to be executed with its full path as first parameter, and the arguments, if any, for the exe as second parameter. Then, create the instance of Process class, and call the Start() method, passing the instance of ProcessStartInfo as parameter. Hope it helps.

    Ashvin Gunga

    Mobile help csharp

  • Do not allow forms to move
    A Ashvin Gunga

    Already fixed that now!

    Ashvin Gunga

    Mobile csharp visual-studio help question

  • prevent keypress
    A Ashvin Gunga

    If you have many different combinations to cater for, then patterns and regular expressions may also help. I think I have once used regular expressions for similar problem in the past...

    Ashvin Gunga

    C# tutorial question

  • Accessing a method from one project in another
    A Ashvin Gunga

    and make sure that you have used teh appropriate access modifiers for the method..so that it can be accessible in other projects...

    Ashvin Gunga

    C# question

  • Making form full screen in windows mobile ce 5.0 c# application
    A Ashvin Gunga

    I am writing a Windows Mobile CE 5.0 c# application, and I want my form to be completely full screen, and not movable. I have been able to make the form unmovable and maximized. However, want it to cover the task bar as well on the PDA device (it's a symbol one). I have done some PInvoke calls to hide the task bar. But still, when setting the form WindowState property to Maximized, it does not take up the blank space left by the task bar. Any help please?

    Ashvin Gunga

    C# csharp help question

  • Make forms unmovable
    A Ashvin Gunga

    Hi Luc, Thanks a lot for your help. I think it works :-)

    Ashvin Gunga

    C# help question

  • Make forms unmovable
    A Ashvin Gunga

    Hi Syed, Thanks for your reply. I have tried to use the private instance variables some days back (as you mentioned above). However, this allows the user to move the form, say using the pen (since I am using a touch screen device), and once he stops dragging it, the form goes back to the original position. Instead, I want the user not able to move the form at all. I want the form to be completely unmovable. The reason is because I will maximize the screen and the user should not be allowed to see anything behind the form (e.g. the desktop etc). With the solution above, he is possible to see what's behind. Can you help please? Ashvin Gunga

    C# help question

  • Make forms unmovable
    A Ashvin Gunga

    I am writing a Windows Mobile CE 5.0 device application in VS2005. I want to prevent the user from moving the windows form while maintaining the title bar (though the control box can be hidden). Any help please? Ashvin Gunga

    C# help question

  • Localization problem with Resource files
    A Ashvin Gunga

    Thanks Sam. I figured out the problem. The code was fine. It's one of the properties of the dll link that I didnt set correctly. Now it's working. Cheers

    C# csharp help visual-studio question announcement

  • Localization problem with Resource files
    A Ashvin Gunga

    I am having problems with the use of resource files (holding strings) with Visual Studio 2005. To abstract the problem, I have written a demo application. I am working on device applications for PPC2003. I got one C# Solution with two projects. The following shows how the files are organised (and the blue text is some comments to understand it better): LocalizationAppDemoAll2 (Solution) _____LocalizationAppDemoAll2 (In bold, my startup project) __________Properties (folder) _______________... __________References (folder) _______________LocalizationAppDemoAll2Presentation (reference to dll of the other project) _______________... __________it (folder) _______________LocalizationAppDemoAll2Presentation.resources.dll (added as a shortcut link) __________Program.cs (containing the Main method) _____LocalizationAppDemoAll2Presentation (the second project within the solution) __________References (folder) _______________... __________Resources (folder) _______________CodeText.it.resx _______________CodeText.resx __________Form1.cs __________FormHandler.cs ---------------------------------------- I have changed my regional settings on the PDA device to Italy, and running the application. The application is supposed to read all the strings from the resource file CodeText and populates it in a list box (or combo box). However, the problem is that when running the application, it is only using the english version (i.e. CodeText.resx) file and not the italian resource file (i.e. CodeText.it.resx) despite the regional settings changed to Italy. I think it cannot find or reads the correct dlls. Any help please? It's urgent. Thanks Ashvin Gunga Ashvin Gunga

    C# csharp help visual-studio question announcement

  • Do not allow forms to move
    A Ashvin Gunga

    Hi, Is there any way that I prevent the users of the mobile device to move and/or drag the forms of the application? Actually, I am using a windows mobile ce5.0 device, with visual studio 2005 and programming language is c#. Also, there is no such Movable property as it used to be in previous studio versions.. Any help will be appreciated... Ashvin

    Mobile csharp visual-studio help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups