Localization - Do SEs Consider It Duplicate Content If URL Doesn't Change When Switching Languages

Jan 27, 2012

I have my company's website (Visual Studio / vb / asp.net 4.0) localized in 9 different languages, and they all work great. When you're on, for instance, about.aspx, and you switch to Russian or Swedish, it stays on about.aspx and doesn't add a query-string to the end of the URL; it just changes the page's text to that language. Will the major SEs like Google, Yahoo, etc., consider this duplicate content for SEO purposes and if so, what should I do?

View 3 Replies


ADVERTISEMENT

Quickly Switching Through Languages?

Sep 22, 2009

I am currently writing a program and I have all the windows in three languages. Is there any way of quickly changing through the languages? I mean, I can do it manually but the list has like 500+ languages and I was wondering if there was any keyboard shortcut to switch between the used languages, or any way to put a buttom on the toolbar.

View 4 Replies

Localization - Menu Strip To Select An Other Language - Doesn't Change My Menustip Text To My Selected Language

Mar 29, 2010

In my winform app in VB.NET I want to use the localization option. But i have a few questions/problems. I'm using a menu strip to select an other language. But it seems that is doesn't change my menustip text to my selected language. It does change my labels, buttons, and textboxes but menu strips don't seem to change when I choose another language. Also is it possible to get those resx files such as MyForm.fr-FR.resx compiled so it isn't an external file outside my app? Or to get those files in an Language folder at the same location of my app, so i don't have all those fr-FR & nl-Nl folders in the same location as my program?

View 4 Replies

Dynamic Content Switching Based On Stylesheet?

Aug 16, 2010

I'm making a new design for my website, but I want to keep the old one and possibly switch between the two.

Unfortunately, I've changed the content on the Master Page (luckily I have a backup).What I was thinking was to keep separate master files for each theme, and then just determine which one to server based on which stylesheet is loaded.

The only way I can think to do this is to keep a "settings" file on the website that has a "stylesheet=1/2/3/4/etc" line. Depending on the number there, the server will serve the correct master page.

Alternatively it might be easier to do something similar, but instead of serving a whole different master page, set a specific stylesheet to use.In both cases, I need a little help with actually doing the work on the server. I can read a text file (even encrypt/decrypt a file before and after it gets read for security), but actually giving the server the instructions based on what is read is where I'm lost.

View 2 Replies

Change Culture When Switching View?

Jan 12, 2010

I am working on a website web site where each user has a culture setting to allow control of resources displayed. The main page has two views, one the log on screen, the second the main menu.

When first loaded the page displays with the culture settings of the previous user (if any). If I then log on as a user with a different culture setting the view changes to the main menu without changing the culture. Go to another page and the user's correct culture settings are picked up, go back to the main menu, uses the correct culture etc.

This is logical but is there a way (without redesigning the site to have a separate log in page and main menu) to reset the culture to the new user's when switching view?

View 1 Replies

C# - .NET Languages The Mainstream Languages For Windows (standalone) Applications?

Jun 24, 2010

I'm an inquisitive .NET student without any commercial working knowledge and I have been puzzled by what exactlty are .NET languages meant for? Q1.If you look on job websites, .NET seems mainly used for web applications, not much for Windows applications? (My dream job is to develop standalone small Windows applications.)

[Code]...

View 11 Replies

Tooltip On Windows 7 Doesn't Work VB2010 - Thecolor Doesn't Change ?

Jun 12, 2011

I am trying to change the background color of a tooltip

I am using tooltip.backgroundcolor = color.colr

No errors but thecolor doesn't change

View 5 Replies

Change Keyboard Layout To Dvorak - Other Languages | Dream.In.Code?

Nov 28, 2009

I'm using VBScript and I'm not sure if this should go here, or in the other VB forum, or in Other Languages, so move accordingly. I'm trying to change my keyboard layout to be Dvorak in Windows XP and so far, I've gotten it to work for the most part with Send Keys.

'*************************************************************************
'*Written By:xTorvos*
'*Purpose: To change the keyboard layout from QWERTY to Dvorak on Windows XP*
'* *

[code]....

However, as everyone knows, using Send Keys for everything can be a little unpredictable at times due to computer speeds and such. Is there a way to do this without Send Keys? Perhaps with WMI or something?

View 1 Replies

Doesn't The Union Function In LINQ Remove Duplicate Entries?

Aug 9, 2009

I'm using VB .NET and I know that Union normally works ByRef but in VB, Strings are generally processed as if they were primitive datatypes.Consequently, here's the problem:

Sub Main()
Dim firstFile, secondFile As String(), resultingFile As New StringBuilder
firstFile = My.Computer.FileSystem.ReadAllText(My.Computer.FileSystem.SpecialDirectories.Desktop & "1.txt").Split(vbNewLine)
secondFile = My.Computer.FileSystem.ReadAllText(My.Computer.FileSystem.SpecialDirectories.Desktop & "2.txt").Split(vbNewLine)

[Code]...

View 2 Replies

Why Doesn't Picture Box Clear And Get Duplicate Displays At Different Positions On 2nd Click

Jun 13, 2011

When btnSetup is clicked, 7 rows with 24 colored predefined rectangles are displayed in the pbColors picture box as as intended. The controls on the first page of a tab control. I would like this display to remain intact when I change tab pages but when I return to this tab page the picture box is cleared. If I click the button, for some reason the group of colors is displayed twice, one after the other, instead of once as intended.

[Code]....

View 3 Replies

Case-sensitive Languages Vs Insensitive Languages?

Nov 27, 2010

visual basic.net is case insensitive so it allows the coder to write without caring or remembering the casing of variables. it also relieves from the 'undeclared variable' errors if you use the variable in another case than the one used in declaration. The fact that its line termination is a line feed makes it even more readable unlike C# or c++ that need good care in the casing and contineous war with following up with the {}, matching them and figuring out which is for which.my question is what are the advantages of c# over vb knowing that both get compiled to MSIL so there is almost no performance difference between the two languages?

View 1 Replies

Asp.net - Multilingual Website, Change The Asp CommandArgument Directive To Html To Switch Languages?

Jan 29, 2012

I have a multilingual company website (Visual Studio / VB / ASP.NET 4.0), and when, on the homepage, you click a flag, the text changes to that language and stays with you the entire session, after I made a class, BasePage.vb. Everything works great, but the URL never changes .... clients.aspx remains clients.aspx although the text DOES switch to Dutch.

It's been recommended by @Aritstos to make it so it looks like clients.aspx?lang=nl as opposed to just clients.aspx in another language.

Currently, my asp homepage hyperlinks that work look like this:

<asp:LinkButton ID="LinkButton7" runat="server"
CommandArgument="nl" OnClick="RequestLanguageChange_Click"
class="flagbutton">

[Code]....

View 1 Replies

Webpage The Tab Name Will Be The Websites Title - Make The Adress Bar URL Change When Switching Tabs?

Apr 17, 2009

I have a web browser with tabs, and I wanted to know the following:

1. When yougo to a webpage the Tab name will be the websites title, if the title is over

2 5 characters, then it ends with a "..."

2. how do I make the adress bar URL change when switching tabs?

View 10 Replies

Form Content Doesn't Line Up In Its Window

Jun 16, 2011

I'm still somewhat new to visual basic and programming in general (started teaching myself in December so I could learn how to program), and up till now I've been very successful at troubleshooting my more difficult problems with liberal use of google and forum-browsing. However, this is the first problem I've had that I can't find mentioned anywhere else.In the design view, my form looks perfectly fine. But for some reason—somehow—at runtime the form doesn't line up properly in its window (white space between the border and the grey area where the background begins). I haven't altered the size programmatically, nor have I changed any settings (as far as I know) that weren't changed in other forms as well (this is the only one that's messed up).

I should also mention that I don't have any code that interacts with the form's own design code or events, except for the Load event (where I assign values to three tooltips).

Form in design mode
Form at runtime

The only clues I've gotten to what may be the issue are that if I try to resize the window with the mouse (at runtime), the pointer gets stuck resizing (it can't "let go" of the window). The other clue is that if I click on the white part itself, I'm able to drag the window around (like I were clicking the bar at the top of the window, that I just realized I don't know the name of, which is kind of embarrassing...). Other than that, everything in the form works as it should (including the three half-buttons).

View 6 Replies

VS 2010 Change The Labeledit To True But That Doesn't Change The Selected Node?

Feb 9, 2011

Ok, so I know I have to change the labeledit to true but that doesn't change the selected node to be able to edit, so how does that work?

Along with renaming I have it set to that a user can add a node. So once the node has ben added how do I let them rename it as it is being added and without being a prompt or inputbox? So lets say I cam clicked on a parent and they click add node, it adds it to parent but I have it so it is default "New" but I want them to edit it as it is added. I think it will be along the same lines as clicking on one and rename but I have to start some place.

View 3 Replies

Forms :: Change A Property On Form - Doesn't Show That Change

Jan 13, 2010

I'm working on a simple base form in which all the other forms in the project will inherit. This base form only adds 5 properties (at the moment) dealing with painting a gradient background. The problem I'm facing right now is when I change a property on Form1 (the test form) and click run it doesn't show that change. I also checked the .designer.vb file and when I make a change it's not added to the code behind file, I'm at a loss right now to why.

[Code]...

View 5 Replies

Client Object Model: Uploading File To Drop Off Library Doesn't Apply Content Organizer Rules

Jun 29, 2011

I am currently developing a service using the SharePoint 2010 Client Object Model to programmatically upload Excel worksheets to a Drop Off Library and then set the properties on the file. This process is working well. However, the Drop Off Library is governed by Content Organizer Rules that aren't being applied to the uploaded file. I have examined every property I thought I could have missed: [code] What's most frustrating is that if I edit the document properties using the Web UI and check it back in without making any changes, the file is moved to its final location. What might I have overlooked that is preventing Content Organizer Rules from being applied to newly uploaded files when using SP2010 COM?

View 2 Replies

.net - How To Change Form Content

Feb 8, 2012

I have one main form, and i want to dynamically change it's content, via pressing some buttons.Let's say i have a button "New user" and "Login", and if I press new user, i don't want to make new form + show, i want all labels and buttons of new user to be displayed right in the main form. And if i press login, the main form content to change to some labels and textboxes? All I can now, is just make new forms and show them to the user via .Show() command.

View 3 Replies

Change Content Of Columnheader?

Jun 3, 2009

I have just looked a datagridview which have columnheader( i mean column to choose index not contain data) contains numbers from 1 to row.count -1. How can i do that.

i am using first column in datagridview to contains index instead of that.

View 2 Replies

Change The Content Of The Form?

Mar 29, 2012

is it possible to change the content of the form rather than close one form and opening another in vb.net?

View 2 Replies

How To Change Content Of A Scrpit

Nov 12, 2009

Say I surf a site with this code <script>var x="Hello World";</script> Using internet explorer object

Then I want to change that into <script>var x="Hello Guys";</script> say scr is a mshtml.htmlscriptelement variable that point to the hello world object How should I accomplish that?

View 1 Replies

Change Content Of Embedded File?

Dec 4, 2010

I use Vb.NET from VS 2010 I use a SQL File to run a script, when changes to the database should be done.This works fine for me. The SQL File is in my project and marked as embedded file.Now I run into an issue. I have to change the user name, when updating a Trigger or SP (for complete information: I use mySQL and 3rd Party Script component)So, I thought, I write the embedded file into a Temp-File, make the changes to the file, run the temp file through the script component and then delete the file.

View 2 Replies

Change TxtBox Content To TextFile?

Jun 21, 2010

I have textbox showing the path which read from txt file

Inside Txtfile look like this

[code]...

And the textbox will show the path C:Hello

Whatever i changed in txtfile the textbox will show the path from txtfile

But now i want to edit from textbox , and the textfile also change.

View 1 Replies

How To Change Content Of PictureBox Using Context Menu

Feb 4, 2012

I have been trying to work out how to change the content of a picture box using a context menu. The idea is that the user would have a choice of three images which are saved in the resources file to change the main picture on the form. Is this possible?

These are the few options that I have tried from looking around on the net:
Private Sub ButtonImage1ToolStripMenuItem_Click
(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles ButtonImage1ToolStripMenuItem.Click
PictureBox1 = (My.Resources.button1)
End Sub
[Code] .....
None of these have actually worked.

View 1 Replies

Label That Can Grow And Shrink Because The Content Can Change?

Jan 29, 2011

I am using the FormLayoutPanel for the first time and I am not able to figure out what is going on.On the form, I have a label that can grow and shrink because the content can change. The text includes the name of the client and that name can always be different lengths in regard to characters. I also have a grid on the form.

As you will see from the attached image, the form that has the FormLayoutPanel on it is showing small and not showing the content of the form. The form is indicated via the green arrow.In regard to the FormLayoutPanel, I have set it up in the following way:

Three rows, one column.The label is in the first cell, nothing in the second cell and the grid in the third cell.The TableLayoutPanel is anchored top, left, bottom, right.

Autosize = True
AutoSizeMode = GrowAndShrink

The Label in the first cell is anchored top, left, bottom, right TextAlignment = MiddleLeft

The grid in the third cell is anchored top, left, bottom, right and also Dock = Fill

[Code]...

View 1 Replies

Refresh The Content Displayed After A Change In The Database?

Jun 12, 2009

I have to do some maintenance on an old VB.NET application (Visual Studio 2003) that uses Infragistics NetAdvantage 2006. I have a UltraCombo control binded to a DataView.

How can I refresh the content displayed after a change in the database?

View 1 Replies

Wpf - ComboBox SelectedIndex Lost On Content Change?

Feb 21, 2012

I have a ComboBox which content might change. The issue is when the content is changed, 1) i lose the previous selectedIndex, and 2) SelectedIndex is set to -1. I would like an MVVM solution, not some solution involving code-behind. I can have the SelectedIndex set to 0 on content change, but -1 is not a valid value for my model.

What i did as a 'trick' was to have the setter of the property bound to SelectedIndex to set the value to 0 when the value is set to -1. So now i don't have incorrect value in my model. But the ComboBox does not display the "0"th item, rather an empty box.

What could i do to have my ComboBox display the first item (index 0) when its content changes ?

[Code]...

Weeks is a Notifying property that is a list of strings. It is changed when i change the Year property.WeekNumber is a notifying property of type integer. Now when it is set to -1, i set the corresponding private member to 0 to avoid wrong value in my model.

View 2 Replies

Dynamically Change Width Of A WPF Window When Content Gets Visible?

Jun 22, 2012

I want to be able to hide the left hand side of the screen and right hand side of the screen at the beginning of the program.

Then when the user presses create new button the left hand side of the screen becomes available so they can create the new item. Then when they press save it comes back to the middle datagrid only.

Then I want to add an event when the double click on the datagrid row (data is programmed in to the datagrid in the code) the right hand side of the screen becomes visible then when the button allocate is pressed the right hand side disappears again just leaving the datagrid.

View 1 Replies

.net - WPF RichTextBox - Iterate Through The Text's Words And Change Their Content And Formatting?

Nov 1, 2010

I have a WPF RichTextBox which contain in its FlowDocument both text and images. I need to iterate through the text's words (those which builds the text which the user see on the screen) and change their content and formatting. For instance, change the word "room" to the word "home", applying to the last a red color.

I need to change words whether they are formatted or unformatted.For instance, if a word is in Italic, colored, or just regular black text, it makes no difference for me.Each word will be replaced with one which have about identical length, so I don't want that this operation will effect the general page layout. All images and other objects should remain at their positions.It is preferred that the process of this operation will not be visible to the user. Only its result should be visible (i.e, no visible selections of text).If this operation can be done either directly on the FlowDocumet or with properties/methods of the RichTextBox, the simple one is preferred (but exmaples for both will be ideal).

View 1 Replies

C# - Change The Text Of A Label In A Masterpage When Loading A Content Page?

Jul 19, 2009

I have a label in a master page (sample.master) called lblHeading.I want to dynamically change the text of the label when I load the content page.I need to do this because I want to change the heading to something meaningful but only after I know about the content of the page.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved