473,569 Members | 3,063 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
7930
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7681
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6290
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
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
2118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1229
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.