Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.vc.mfc
external usenet poster
 
Posts: 3
Default CSV (Comma Separated Values) delimiter ?

Hi,

My app exports data in CSV format, using comma separated values.
A .csv file is associated with Excel by default and clicking on it opens it
up in Excel.
However, the delimiter depends on regional settings.
Using a comma when regional settings are for the Netherlands, fails because
it expects a semicolon then.
For USA it is a comma.

This information should be stored somewhere in the windows registry.
Can anyone tell me where I can find what delimiter is being used on that PC?

Lisa


  #2   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.vc.mfc
external usenet poster
 
Posts: 2,718
Default CSV (Comma Separated Values) delimiter ?

Can anyone tell me where I can find what delimiter is being used on that
PC?


Application.International(xlColumnSeparator)

--
Jim Rech
Excel MVP


  #3   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.vc.mfc
external usenet poster
 
Posts: 27,285
Default CSV (Comma Separated Values) delimiter ?

It is a Windows setting.
in the Windows control panel (under Start=Settings=Control Panel), look in
the Regional Settings icon. In the Numbers tab, look at the List Separator
character.

--
Regards,
Tom Ogilvy

"Lisa Pearlson" wrote in message
...
Hi,

My app exports data in CSV format, using comma separated values.
A .csv file is associated with Excel by default and clicking on it opens

it
up in Excel.
However, the delimiter depends on regional settings.
Using a comma when regional settings are for the Netherlands, fails

because
it expects a semicolon then.
For USA it is a comma.

This information should be stored somewhere in the windows registry.
Can anyone tell me where I can find what delimiter is being used on that

PC?

Lisa




  #4   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.vc.mfc
external usenet poster
 
Posts: 27,285
Default CSV (Comma Separated Values) delimiter ?

Disregard - thought you wanted to change it.

--
Regards,
Tom Ogilvy

"Tom Ogilvy" wrote in message
...
It is a Windows setting.
in the Windows control panel (under Start=Settings=Control Panel), look

in
the Regional Settings icon. In the Numbers tab, look at the List Separator
character.

--
Regards,
Tom Ogilvy

"Lisa Pearlson" wrote in message
...
Hi,

My app exports data in CSV format, using comma separated values.
A .csv file is associated with Excel by default and clicking on it opens

it
up in Excel.
However, the delimiter depends on regional settings.
Using a comma when regional settings are for the Netherlands, fails

because
it expects a semicolon then.
For USA it is a comma.

This information should be stored somewhere in the windows registry.
Can anyone tell me where I can find what delimiter is being used on that

PC?

Lisa






  #5   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.vc.mfc
external usenet poster
 
Posts: 1
Default CSV (Comma Separated Values) delimiter ?

The settings is based on indivudual user. Try

Key: HKEY_CURRENT_USER\Control Panel\International
Name: sList
--
Cheers
Check Abdoul [VC++ MVP]
-----------------------------------

"Lisa Pearlson" wrote in message
...
Hi,

My app exports data in CSV format, using comma separated values.
A .csv file is associated with Excel by default and clicking on it opens

it
up in Excel.
However, the delimiter depends on regional settings.
Using a comma when regional settings are for the Netherlands, fails

because
it expects a semicolon then.
For USA it is a comma.

This information should be stored somewhere in the windows registry.
Can anyone tell me where I can find what delimiter is being used on that

PC?

Lisa






  #6   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.vc.mfc
external usenet poster
 
Posts: 3
Default CSV (Comma Separated Values) delimiter ?

Not using VB but VC++. I really want to fetch this from the windows registry
myself. I'm pretty sure it's there somewhere.
Not sure where the regional settings are stored in the windows registry.

"Jim Rech" wrote in message
...
Can anyone tell me where I can find what delimiter is being used on that

PC?


Application.International(xlColumnSeparator)

--
Jim Rech
Excel MVP




  #7   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.vc.mfc
external usenet poster
 
Posts: 3
Default CSV (Comma Separated Values) delimiter ?

Thanks!

"CheckAbdoul" <checkabdoul at mvps dot org wrote in message
...
The settings is based on indivudual user. Try

Key: HKEY_CURRENT_USER\Control Panel\International
Name: sList
--
Cheers
Check Abdoul [VC++ MVP]
-----------------------------------

"Lisa Pearlson" wrote in message
...
Hi,

My app exports data in CSV format, using comma separated values.
A .csv file is associated with Excel by default and clicking on it opens

it
up in Excel.
However, the delimiter depends on regional settings.
Using a comma when regional settings are for the Netherlands, fails

because
it expects a semicolon then.
For USA it is a comma.

This information should be stored somewhere in the windows registry.
Can anyone tell me where I can find what delimiter is being used on that

PC?

Lisa






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to I create a comma separated values file Ruby Excel Discussion (Misc queries) 4 July 25th 09 02:12 PM
How do I convert a column of numbers into comma separated values . cattom44 Excel Worksheet Functions 2 August 3rd 07 09:48 PM
How do I convert an excel file into a comma separated values file Conquerer Excel Discussion (Misc queries) 3 August 17th 06 09:19 PM
Fixing Comma Separated Values (.csv) dickives Excel Discussion (Misc queries) 1 February 14th 06 03:26 PM
how could I import a text file with comma separated values into ex Xavi Excel Worksheet Functions 1 September 15th 05 11:27 AM


All times are GMT +1. The time now is 07:25 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"