Provide Multi-language Support In My Windows Application Developed?
Jun 3, 2009I M DEVELOPING AN ASP.NET APPLICATION I WANT TO PROVIDE INTERFACE IN ARABIC AND ENGLISH
View 2 RepliesI M DEVELOPING AN ASP.NET APPLICATION I WANT TO PROVIDE INTERFACE IN ARABIC AND ENGLISH
View 2 RepliesIf i want to create a vb.net windows application in multi-language (EnglishArabic). Is there any steps i need to do?I installed the Arabic at my windows XP and I am able to write the labels and the the textbox for example in arabic but is there a way for the controls to shifts automatically?
View 7 RepliesCurrently I am doing a CMS and I want to
View 2 RepliesIs there any tool specific to build a multi language application? And in general what is the procedure to be followed when you want to create a multi language application??
View 7 RepliesI'm building a multi language application, but in the application, there will be some data that will be retrieved from the db. In the db I have two tables (Access Groups, Teams) the two tables are related, there are some groups, that have teams, example (sellers can belong to team 1, team 2, team 3...). The data that will change it's the names for the access groups and the names for the teams. The only way that I can think to do this, is to have the different values for all the languages in the code, or some auxiliar file, and when loading the application I'll truncate the two tables and fill them with the current language values. By the way those values never change...
View 5 RepliesVS 2008 SP1. I cannot get my application to display in English, it always displays in French. I have an application that uses 2 languages. The default language is en-GB and the second language is French. For setting the text of the buttons and labels. I have set the localized property to true and changing the language to fr-FR on the form. So setting the default languages controls by choosing the default the language property, and then switching to French language to set the French controls. So I have the following files:
formMain.resx
formMain.fr-FR.resx
formMain.Designer.vb
formMain.vb
And for message boxes and other strings I have added these 2 resource files
formMain.Strings.resx
formMain.Strings.fr-FR.resx
So if I want to switch to different languages I have changed the cultureInfo as follows:
If My.Settings.Default.Language = "fr-FR" Then
Thread.CurrentThread.CurrentUICulture = New CultureInfo("fr-FR")
Else
Thread.CurrentThread.CurrentUICulture = New CultureInfo("en-GB")
End If
And for string I use the following: MessageBox.Show(formMain_Strings.SameStringName)
I also an address book form that is a child of the formMain. Which I have used the same method. However, the address book works as normal, but the formMain never changes to the language I want. Even though tested by explictly setting the language to en-GB in the form constuctor before the inializeComponent() it will always default to French. Not sure why the address book (child) work correctly, the parent form (formMain) will always display in French, no matter if I have set this to en-GB. I am 100% that my method is correct using what I have show you above. I was thinkng about deleting the formMain and creating a new one. But that would mean doing everything again and would take too long.
There are problems installing an application developed in VB6 that accesses SQL Server on Windows 7?
View 1 Repliesi am wondering if there are any case studies / white papers available comparing web applications to remote desktop applications on running on comparable hardware? What I am trying to get at is if a web application can support more users, as far as hardware resources go, than the same windows based application running on terminal services?
View 3 Replieshow to make a multi language desktop application in vb.net 2005. only a small desktop application in which i can change language according to countries.
View 1 RepliesI am using Windows Forms Application that supports both Arabic and English languages....The problem is if i put the controls like (TextBox and Label) on form itself they get Layout RightToLeft and also become right align means label went to right side and textbox in left side)....But when i put these controls inside of a GroupBox or Table then textbox itself become right align ...i means cursor inside of text box............but controls don't flip from left to right......Label remains on left side and textbox on right side....i want to flip the controls.........label must go to right...same like Forms ControlBox is flipping.
View 1 RepliesI have the requirement to create an application that has multiple front ends developed using Windows Forms, WPF, ASP and Compact Framework Mobile Forms.I would like to be able to create a series of obejct representing the business logic and have this logic accessible from the various front ends available. My first thought was to use remoting as I'd like to be able to pass the business objects back and forth between client and server but the compact framework doesn't support remoting and also transferring a full framework business object to a compact framework business object doesn't seem possible.My next thought was to use web services but again the passing of business objects seems to be very hard to accomplish. Without doing this I would have to create individual web methods for each business operation.
Finally my next option is to use sockets and write the whole client/server logic within some classes and expose them to the UI/Business layer. My only problem with this is it is not scaleable should the number of clients increase dramatically whereas using remoting or web services I can host the solution via ASP.Net.Does anybody have an ideas on the best way forward for this or even have any input on how they would write an application that required a windows form, wpf, asp website and mobile device GUI all of which want to use the same business logic?
My registration form has to support multi laguages at runtime based on user selection language from combo box in windows based application using vb.net
View 2 RepliesAs I said, I have a vb.net application which runs perfectly fine on Windows XP EN. However, it becomes problematic when run it under Windows XP in German Language. I have a string type in app.config file, it stores a color's RGB value "0,102,255" as a string. When the application starts loading, I will grab that value as a string and use ColorConverter object to convert it to a color as shown the following
Dim oConverter As New ColorConverter
Dim oColor As Color = CType(oConverter.ConvertFromString(My.Settings.MyColorString), Color)
The full error text is as follows: The Visual Studio language support for VB has not been installed. Code-editing IntelliSense will not be available. Markup IntelliSense for server controls may not work.
I am using Visual Studio 2008 Professional Edition. Visual Studio crashed yesterday and now I'm getting this error when I try to edit any code-behind in any project.I have tried resetting all environment settings and that didn't work.I have tried repairing my installation via add/remove programs and that didn't work.
I have tried reinstalling SP1 and that didn't work.I tried creating a new VB Windows project and received the following error: Project "TestVB" could not be opened because the Microsoft Visual Basic 2008 compiler could not be created. Please re-install Visual Studio. However, I already tried the repair/reinstall.
I'm not sure what else to try beyond a full uninstall/reinstall, and I'm hoping somebody has encountered and fixed this problem without having to do that.UPDATE: I have tried uninstalling Visual Studio, rebooting and then installing again and that didn't work. I am now out of options and really need my VB environment restored.
How can I provide an error message if the user does not provide a value in my textbox. I found this example, but it doesn't work in my
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e_
As System.EventArgs) Handles Button1.Click
If TextBox1.Text = "" Then
[code]....
It says that Error Provider1 is not declared. How do I do this the right way?
I am developing heavy mathematical engineering windows application in VB.NET (VS2005) with MSAccess Db. This application has resource files in English, Spanish and German Language. I have same setup to run in all these 3environment Windows XPs. In English, calculations are perfect; but in Spanish ',' is treated as '.' and '.' is treated as ',' e.g. 12.24 in EN is '12,24' in Spanish. I somehow managed to do it by manually replacing ',' by '.' and vice versa; but this is now not manageable since program is expading like anything. I saved number in DB while installing. User selects his language and so I check, if its Spanish, I explicitly replace "." in labels and text in TextBox to ",".
View 2 RepliesI'm using SQL 2008 Express with a multi user VB.NET Windows application. Do I have to add each user to the SQL user account? Does NT AuthoritySYSTEM work? I do not know how this works. So far I have NT AuthoritySYSTEM in the Security-Logins of the Server. But do I have to add it also in the database? In the databse Security-User, I have the following:
[Code]...
I have an multi-database ODBC connection through a DSN. There is a primary database and two auxiliary catalogs. The Add Tables dialog in Microsoft Query only shows the tables in the primary database. If I pick one and continue on, the lists of columns in other parts of MS Query show all the columns in both the primary and auxiliary databases. If I pick a column, MS Query will look for that column in the primary database (great if it happens to be there, not so great if it doesn't). If I don't use any of the drop-down lists and just write a query in the freeform SQL editor, fully qualifying everything with the catalog names, the query runs fine.It looks as though MS Query is assuming only one database and one (default) catalog, and doesn't realize that it actually connected to several databases with separate catalogs.I get the same results with Office 2003 and Office 2007.Are multiple databases / multiple catalogs through a single DSN supported in Excel / Microsoft Query?
View 1 RepliesI have a question about creating a multi-language application and the use of resource files. I will explain what I have done and what I would like the final product to be like.I am doing this in VB.Net and using Visual Studio 2008 After creating a new project, I added a resource file to the project (Add -> New Item, Selected Resource File, named it Resource1.resx).
I then double clicked the resource file and was able to add some names and values. For example,
Name - lblFirstName, value - John
Name - lblLastName, value - Smith
On my form, I have 2 labels: FirstName, and LastName
In Code, I added
FirstName.Text = My.Resources.Resource1.lblFirstName
LastName.Text = My.Resources.Resource1.lblLastName
If I run this code, it works fine. John and Smith are displayed on the labels. Now for my question. Say instead of first and last name the labels (buttons, menu items, etc.) were actually words that would be different in different languages. What I would like is to have something like
EnglishText.resx
SpanishText.resx
GermanText.resx
Each resource file would contain the same names, just different values. Depending on what language was selected, decided by the user (from a menu), how can I get the matching resource file to be used.
Basically what I want would be FirstName.Text = My.Resources.<Language Specific Resource File>.lblFirstName
Is something like this possible? Is this an acceptable approach? Is there a better way of doing this? I try to check often to see if there are follow up questions or if more information needs to be provided.
I am a Network Administrator in the Army so programming is not my strong area. I have been messing with Batch files and WMI, just recently i started VB Scripts (VERY BASIC) like adding an input box to set computer name, scan network for computer name on domain, return wmi info for that remote computer etc... I know there are programs out there that can do all of this, however the Army will only allow certain approved programs to be installed on government workstations, i have been using .Bat files to gather info which is fine, however it is very time consuming when you have entire subnets with computers, networked printers, etc to place into a spreadhseet for higher headquarters tracking not to mention the over 20 columns of required data to track for each computer. I have VB 2010 Express, working on a Windows Form Application Project. Goal is to interface my VB Script (written with notepad) with a GUI that will generate an internal spreadsheet on the form window in a datagridview. So far i have the basic window and i have my gridview with my column headers set. How do i get the data into the columns and rows accordingly.
Application Basic: Execute Program, in main window select button (Scan IP Range) <--- I want this to open an input box for the beginning subnet, input base address to start scan from, next input box for end range, then msgbox for start scan. i want the results of the scan to autofill the datagridview and add new row for each IP address that had a ping reply, returning valid data from WMI results as it receives the data. What would be the best method to achieve my goal. i am not asking you to write the program, i have been looking and studying MULTIPLE sites, think i just need another set of eyes on this to unlock the knowledge i have locked away, if ya know what i mean. Also, if you don't mind let me know what you think of this app im trying to turn out... Super Thanks for your help.This is the Base Batch File running. It calls an external VB Script written in notepad. (I want this implemented into the app form so there is no console window.)This is the inputbox from external VB Script that is called.This the result of the external VB Script (the info i want to put in the datagridview of the app.)I also, for some reason can't get scroll bars to show in the app when i hit F5, theres about 15 columns passed the MAC column...?
I'm working on a multi user VB.Net windows application with back end as SQL Server 2008 Express. The SQL Server is installed on the intranet network drive. This is the connection string I will be using. Is this correct?
Data Source=.SQLEXPRESS;AttachDbFilename=Q:DatabasePrintDB.mdf;Integrate d Security=True;Connect Timeout=30;User Instance=True
I want to Set Culture for Windows Service that I developed. Can someone recommend me a good read for or how to go about it.So far I have I Tried to do the Following OnStart() [code]
View 1 Replieshen you add for example German language you will have these files: formMain.resx ormMain.de-DE.resx formMain.Designer.vb formMain.vbIn first file you will have resources for neutral language, like strings, images, ..So now you need to add also resources for strings used in code. Add a new resource file and name it formMain.Strings.resx Then i will enter name, value pair for every string that should be translated. When you add resource file then it is automatically typed because another file with name ormMain.Strings.Designer.cs is automatically regenerated on every close of resx designer.Add another resource with name formMain.Strings.de-DE.resx. Add the same Name key's from previous resource, and just change the Value with coresponding german words. Now to access created resource from the source it will be like this
View 2 RepliesIt works on my own computer where I have visual studio installed. I install the exe file with installutil and the service works fine. But when I install it on another computer where only the framework is present, I still can install it with installutil BUT I can't start it. I get something along this Could not start the Search service on Local computer. Error 1053: The service did not respond to the start or control request in a timely fashion.[code]...
View 2 RepliesI'd like to know which would be the best way to deploy updates of a software developed in vb.NET, using Windows Installer. What do i have to change? Upgrade code? or Product code?
[Code]...
I have developed an application in Visual Basic 2008. I really love the product.I am 99% done but am hung up on a Publish issue.I know the Publish feature is not a full install program - but it handles downloading the application prerequisits so well I really want to use it.My problem is the Install path. It installs my application is the strrangest drectory appdatalocal 615252-191891-919 (goes on for ever)
I can set the install directory to something simpler. Would love to get it in Program Files but will settle for AppData if it can be a reasonable directory name. If I have to tell a customer to look in that directory for some reason I would have to read off about 60-70 alpha numeric characters for the directory path - that isn't feasable.
I am working on a C# project, which needs a VB.NET Class library.I have added the DLL reference of VB.NET Project into C# project.This works fine, but sometimes I need to debug the VB.NET project or pause the project and check the variable values of my VB.NET Project.Is it possible in Visual Studio 2010 Express Edition?
View 2 RepliesI would like to provide an effective way for my VB.NET application to get registered automatically in a company with many computers. So the Enterprise Licence would kick in, but how to manage this?I was thinking each computer would connect to an intranet server where he would get the permission to register...C64
View 2 RepliesCan we deploy an application developed in VB2010 to Linux or Max
View 2 RepliesI've developed a very small in-house web application with visual basic on VS2010. Can anyone give me any advice or literature s to how i can put the site on a server?
View 5 Replies