473,569 Members | 3,015 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

caracter code convertion

hi

i have a problem in visual basic .net 2003.

I have a app that executes processes, the code is

----
Private Shared Function docmd(ByVal arg As String) As String
Dim psi As New System.Diagnost ics.ProcessStar tInfo

psi.FileName = System.Environm ent.GetEnvironm entVariable("Co mSpec")
psi.RedirectSta ndardInput = False
psi.RedirectSta ndardOutput = True
psi.UseShellExe cute = False
psi.CreateNoWin dow = True
psi.Arguments = "/c " + arg
Dim p As Process = Process.Start(p si)
docmd = p.StandardOutpu t.ReadToEnd
p.WaitForExit()
End Function

-----

the problem is that return a string with a caracter code that is diferent
from my country (portugal).

It returns for example "Liga‡Æo de rea local" and i want to return "ligação
de área local".

Who can i convert the caracter code of a string.

Thanks.
Jul 21 '05 #1
0 1167

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2514
by: pcouas | last post by:
Hi, How can i pass an Unicode caracter \u015 from my JSP to my applet PARAM without alter it ? Currentlt this caracter is store in an Resource file, ans when i calling JSP page it is changed ? Regards Philippe
0
1392
by: Konstantin Kivi | last post by:
I have problems getting character set convertion to work in 4.1.4 gamma under linux. Can sombody point me to the online recource other than standard MySQL doc so that I get more information.
1
1505
by: Séverine Donnay | last post by:
Hi, I make a csv file with values from data base fields . If my value contains a carriage return caracter at the end, a new line is created in my csv file. I tried to replace chr(13) caracter by an empty caracter but it doesn't work, my code is : Replace(Trim(element.value), chr(13),"") Do you have any idea to resolve my problem ?...
2
1250
by: Vidar | last post by:
Hi I have a problem preserving caracter entities using XslTransform object in VB.net. If I use saxon or even dot.net in Stylus studio for convertion, there is no problem. The problem is that when I convert using XSLT (I use encoding="iso-8859-1")
1
1618
by: Vidar | last post by:
I have a problem in dotNET XSL convertion object. (XMLTRANSFORM) It won't convert UTF-8 to ISO-8859-1 I use this stylesheet for konvertion: <?xml version="1.0" encoding="ISO-8859-1"?> <!-- For convertion from UTF-8 to ISO-8859-1 CaracterSet --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4
2092
by: juli | last post by:
Good afternoon! I have an error while trying to convert to DateTime ,here is the code and the error: ArrayList al = new ArrayList(); temp_str=Line.Split(' '); al.Add(temp_str); // value="11/02/2004" al.Add(temp_str); // value="10:53:10" temp_str2=(string)al.ToArray(typeof(string));
3
2057
by: David | last post by:
Hola, Estoy construyendo un keylogger que usa globalhook (con apis), el problema es que no todos los teclados son iguales, por ejemplo los de alfabetizacion española en lugar de ";" tienen la "ñ" y para acceder al ";" hay que presionar SHIFT + ",". Quiero capturar el caracter final que se tiene que mostrar, hay alguna forma de hacerlo? Alguna...
0
204
by: Rui Abreu | last post by:
hi i have a problem in visual basic .net 2003. I have a app that executes processes, the code is ---- Private Shared Function docmd(ByVal arg As String) As String Dim psi As New System.Diagnostics.ProcessStartInfo
7
1837
by: AA Arens | last post by:
I want to fill in data in the fields and the first caracter is now automatic capitalized, however, I do not want this as abbiviations must be fully in capitals. How to get it? Bart Acc 2003.
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7619
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5228
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3662
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1229
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
950
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.