Sounds good...
But actually I have a database tier that keeps record of the user. It also keeps the user's lanuage preference so the next time a specific user logs in it automatically loads the correct presentation tier for that user.
Ya, no it's not that. I checked. The error-icons appear at design-time and replaces each and every control, not just my custom controls.
But I found a solution to the whole localization thing. I'm creating the whole system based on a multi-tier approach. As a result my presentation tier is...
Advanced Programming Using Visual Basic .Net by Julia Case Bradley and Anita C. Millspaugh. This book is excellent for Intermediate/Advanced users and covers some of the following topics:
-Multithreading
-Multi-tier development
-Wireless Application Programming
-Creating user controls
-And much...
Sinning is easy
Yup. I also prefer to create a module which references to all of my forms - that way I can easily communicate between two forms and the code is also much easier to read. Using the parameters-method is a tedious way of doing things, not to mention the fact that it makes code...
You can also specify the rows and columns by their respective row-or-column numbers. This works for databases, and since spreadsheets are also just two-dimensional arrays... it just might work.
You can pass the value to the form by using parameters. Some academics nag when you use the module-and-friend method, saying that it is better practice to create a initialize() method for each form into which you pass all the required values through parameters.
Take a look at using Arraylists. You don't have to specify how many elements an arraylist has to take, so for your situation you can use an arraylist that contains more arraylists.
Just fill in the blanks...
1. How do I create an "autorun" so that a specific program on a cd starts running automatically after it is placed in the cd-player?
2. Does anyone know of a good tutorial on writing a custom-made installer? You know, dynamically creating shortcuts and that kind of stuff?
Thanx
Did you bind the listbox to the datasource or do you "manually" fill it up? Anyways, use the value that listbox.selectedindex returns and then say datasetname.tables("Tablename").rows(value)("Columname")
The error striketh again...
The following error occurs when I load a project with the localizable controls : "Null-reference exception"....
And then I get a bunch of the infamous windows-error icons where my controls used to be...
Uhum
Seems that VS miraculously self-healed. It doesn't crash anymore, but my controls still do not respond to language-changes. For example:
I have a custom control called CustomFrame, whose localizability has been set to true. I place the control on a form (localizability also = true). I...
Possible solution
You can try the purepanel components, which are free of charge. They allow you to create such windows with the ability to close and collapse - If that's what you wanted.
I think the URL is http://www.purecomponents.com
I develop some of my own controls and furthermore make quite extensive use of VBPowerpack. My progs also have to provide language-support and be localizable, and this is where the problem lies.
When localizing a form, all the standard controls work perfectly. VBpowerpack components and my own...
I'm not sure if I understood you correctly, but you basically want a way to create objects dynamically? If that is the case you should study up on desing-patterns, especially the "Factory" design pattern. Try doing a Google search on "Factory Design Patter"
Definately. You should not remove it. This file contains your user-interface layout etc. For example, if you want a form to run in English and Spanish, one resx will be created for English and one for Spanish.
So, in short, do not remove it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.