Localize The Windows Application?
Apr 10, 2009How do I localize the Windows application?
View 1 RepliesHow do I localize the Windows application?
View 1 RepliesI want to make a current application available in French, German and Italian. It is in English at the moment.How do I go about it. I have searched help and the amount of information is bewildering.I am using VB.NET in VS 2010 and most of the articles I have found relate to VB6 or VS2003. Most of them go to great lengths to confuse me as to what Globalization - or Localization - is all about but do not tell me how to do it. I almost lost the the will to live after reading page after page of the gobbledygook.
Could someone please point me in the right direction to find a simpleton's guide to Globalization - or Localization - whichever it is i need.There are lots of message strings that need to be available in each language as well as the menu bars etc.I do not mind rewriting the entire application if needed but I do not know where to start to Gobalize - Localize - it.
I need to create a <select> in my view an <option> for each hour (all 24 of them), localized to the current thread's time format.
The output for en-US should look like:
<select>
<option value="0">12:00 AM</option>
<option value="1">1:00 AM</option>
[code]....
So far I've got:
<% For hour As Integer = 0 To 23 %>
<option value="<%= hour.ToString() %>"></option>
<% Next %>
The following code successfully changes the message in a MessageBox based on CultureID thread. But how would I change the buttons Yes, No Cancel utilizing the FileResourceManager with the key value system being used as per Chinese and Spanish look ups below? [code]...
View 4 RepliesI cannot figure out why HeaderText or validation controls always fallback to default culture - even though rest of the controls are in correct culture.
I have a GridView with HeaderText specified in this way>
<asp:BoundField DataField="totalSales" HeaderText="<%$ Resources:Strings,TotalSales %>" />
In the same way I have validation controls and they can't be localized.
Only this syntax does work: <%= Resources.Strings.Payments %>
I set different culture in Master page using this statement in Page_Init[code]...
Im struggling with gettings the values from the right strings.txt in my resource files in my in folder when switching languages.
[default.aspx.vb]
Partial Class _Default
Inherits System.Web.UI.Page
Shared rm As ResourceManager = HttpContext.Current.Application("RM")
[code]....
Now, all files seem to be created correctly.However, when I go to the [URL], the values in binstrings.txt are used and NOT (like I would expect and desire), the values from binenstrings.en.txt?
I am having a windows application. That downloads files from server and write into the local directory. It works fine. When we try the same appliication in Windows 7. IT shows an error Access to the path denied (While writing to the local directory).
View 1 RepliesI have developed a VB 2010 express application that works on my windows 7 machine, but when I deploy it to other windows 7 machines the application will not run at all. I created an msi script to install the software on other machines and it includes the .NET 4.0 framework an all of my application dll's and such. Any idea what might be he problem?
View 2 RepliesI have embedded the WMP control in my Visual Studio 2010 app which works on windows 7 (Framework 4.0), but installing the app on winXP, I get the following error:
System.IO.FileNotFoundException: Could not load file or assembly 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
File name: 'Interop.WMPLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
[code]....
WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.To turn this feature off, remove the registry value [HKLMSoftwareMicrosoftFusion!EnableLog].
I guess this is a reference issue, but I have added references to WMP libraries (axinterop.wmplib.dll and interop.wmplib.dll). The WMP works on the XP machine, but not when called from my application.I have searched the web now for 5 days and changed references, and reinstalled the media player on the XP machine, but nothing works.
I have seen this happen before but am not sure how I resolved it in the past. On runtime the controls of my form change from the windows 7/vista format to an older version format as shown in the attached image.
How to display the controls in the format on the left (new windows format)
i am doing project of Order Accepting system for five star hotels.Scenario is Waiter will accept order using Window Mobile which is Connected to WiFi present in hotel.I want to communicate to database(Sql Server) present on My Machine (Computer present in kitchen) through WiFi and Add order into table present inside database. This should notify my application present on Compter and should print order. After completion of Order Application from kitchen will notify to waiter about completion. My problem is How to Communicate with database present on Remote computer using WiFi from windows Mobile.
View 2 RepliesI'm porting code that I wrote for use in a Windows Forms application to a Windows Service, but for some reason, the code that worked in the Windows Forms application is now throwing errors in the Service
View 7 RepliesI am making a System Tray Application when i minimize my form its hide itself in the tray but whenever i click on the tray icon my form shows now when my form shows up i would like to disable my Background desktop same as CardSpace when its shows up.
View 1 Replieshow to get the current windows explorer path in vb.net windows application?
View 1 RepliesI am making a System Tray Application when i minimize my form its hide itself in the tray but whenever i click on the tray icon my form shows now when my form shows up i would like to disable my Background desktop same as CardSpace when its shows up.
View 1 RepliesI am making a System Tray Application when i minimize my form its hide itself in the tray but whenever i click on the tray icon my form shows now when my form shows up i would like to disable my Background desktop same as CardSpace when its shows up.
View 1 Replieshow to hide exe into taskmanager in windows 7 using vb.net windows application?
I want exe is hide into task-manager in windows 7 & windows vista machine using vb.net(windows application)
I am in the process of developing a messaging framework for a windows application that sends messages to a java application. To be precise when the win app wants to send a message it simply drops the message in a common database table which will be picked up by the java app. The windows application is deployed across 10 application servers (10 instances) over citrix for load balancing.Each instance of the application is capable of sending a message to the java application and each of these messages should have a unique id. From my end I need to make sure every message generated has to carry a unique id so that they can be identified when necessary. All the messages can be cleared every day or two.i am not quite sure about a best method of achieving this. Initially I wanted to create a static method that serves the next available id (incrementing the last id by 1). But this approach willn't guarantee unique number as the application starts only when at least one user is logged on. For e.g .On one server the app starts when a user logs in, he then sends a message and then the application stops when that user logs off. So when a next request for the app comes to that server a new instance will be started.
View 3 RepliesI currently have a simple crystal reports application which generates a crystal report and in the built in viewer provided by VS2005. There is a drop down where you can select options to change the criteria of the report. I wish to convert this app to a windows executable which will take all those select options and generates pdfs based on the crystal report. the executable will be triggered by windows task scheduler...or maybe command line app?
Obviously this will be somewhat of a re-write. What would be the best way to start this as? a crystal report application or a windows application.
I have a windows forms application written in VB.NET which scrapes information from serveral web pages (who doesn't right)? Anyway, I am having problem with one particular site where partway through the page navigation my application hangs. When I press pause (or break) in the debugger, it stops on a call to System.Windows.Forms.Application.DoEvents.
Resuming execution shows that it really is stuck on this line (it does not reach the next line of code). It also hangs about the same point each time I run it (at least its consistent). Since System.Windows.Forms.Application.DoEvents yields to other threads on the same processor and then resumes execution of the current thread, I think the problem is that some other thread is not behaving well (not returning from some event handling code). I thought Windows 7 was pre-emptive, which makes me
doubt that theory but I really don't know.
[Code]...
The program scrapes somewhere between 12 and 14 pages before it gets stuck on the call to DoEvents. Does anyone have a clue why this would happen? Why would any call to DoEvents hang?
i made an application for serial communication. for this application i need to set delay time. during this delay time i m doing some other task. So for those task i need to take back control from delay function, for this purpose i am unsing Doevents() function.Its work fine On other OS (XP, Windows7 32/64-bit). But Application.DoEvents() function halt and crash in windows vista.
Private Sub TimeDelay(ByVal DT As Integer)
Dim StartTick As Integer
StartTick = Environment.TickCount()
[Code].....
how to create a uninstall command for a Windows-based application in the Application Folder when creating a new setup project in visual studio 2008.
View 4 RepliesI am trying to use the System.Diagnostics.Process class.I have the following Windows Forms application. It consists of 1 Button and 1 TextBox. The only code is for the button click event as follows.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim myProcess As New Process()
[code]....
I have a fully functional multi-threaded VB2008 console application that I need to convert to a windows forms application. I am doing this to add additional functionality at a later time. How would I go about doing this?
View 9 RepliesFinal step in my application. I finally got all the requirements working, but now I need to have the application run in the background.
The application was written in Visual Studio 2010 VB, Win form app.
The requirements are as follows:
1.) run the application at start up
2.) no icon
3.) always in focas
4.) always runs in the background.
Here's the full code I have right now (working! whahoooo)
Public Class Form1
Private Property count As Integer
Private s As New Stopwatch
[CODE]...
I'm developing a web application that requires the user to log in using forms authentication. inside the webpage you need to download a desktop application that requires to login to the same system too. Is there a way to transfer the current logged credentials from the web application to the windows desktop application without need to login again?. Both applications shares a Login object from an vb.net interface.I tried to save the IP address in the Database but that don't work for me because the website needs to be accessed inside and/or outside of the company and the user cannot login twice in different machines.
View 2 RepliesCode can be in C# or VB.Net.t is urgent P.S project deadline tomorrow
View 2 Replieshow to hide exe into taskmanager in windows 7 using vb.net windows application? I want exe is hide into task-manager in windows 7 & windows vista machine using vb.net(windows application)
View 2 RepliesIn my project one task is there how to refresh the windows form in vb.net
View 2 Repliesis it possible to take and run vb.net windows application setup as windows service...if possible means how to take and run vb.net windows application setup as windows service....is it possible to run the vb.net windows application setup automatically 5 mins once....if possible means...how to run vb.net windows application setup automatically...want to run 5 minutes once automatically..
View 2 Replies