Click here to Skip to main content
15,914,013 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionSending UNICODE Character in HTML Pin
virendra_0072-Aug-07 19:38
virendra_0072-Aug-07 19:38 
QuestionCircular Controll Pin
Mogtabam2-Aug-07 19:03
Mogtabam2-Aug-07 19:03 
AnswerRe: Circular Controll Pin
Tom Deketelaere2-Aug-07 20:47
professionalTom Deketelaere2-Aug-07 20:47 
GeneralRe: Circular Controll Pin
Mogtabam2-Aug-07 20:57
Mogtabam2-Aug-07 20:57 
GeneralRe: Circular Controll Pin
Tom Deketelaere2-Aug-07 21:23
professionalTom Deketelaere2-Aug-07 21:23 
GeneralRe: Circular Controll Pin
Mogtabam2-Aug-07 21:33
Mogtabam2-Aug-07 21:33 
GeneralRe: Circular Controll Pin
Tom Deketelaere2-Aug-07 22:15
professionalTom Deketelaere2-Aug-07 22:15 
QuestionUsing writeline to write string with leading 0's to excel worksheet columns? Pin
Rashar2-Aug-07 17:08
Rashar2-Aug-07 17:08 
Hi,

Consider the following line,

oWrite.WriteLine(strItem & vbTab & partNo)

The variable partNo is a string that pulls in a number as such, 00001567842. I am using the writeline method to send that string to an excel sheet. I need to have the values in strItem in column 1, and the values of partNo in column 2 including the leading zeros.

I have tried the {1,11}, partNo format or Format("###########", partNo). I have tried declairing partNo as a String as well as an Integer, but neither data types work.

I tried to create a csv file, and it does include the leading 0's but when I use vtab, I get the values of strItem, plus a square (which I assume is the vtab), then my partNo all in one cell.

Is it possible to accomplish what I want with just the WriteLine method?

Thanks in advance.
AnswerRe: Using writeline to write string with leading 0's to excel worksheet columns? Pin
ne0h2-Aug-07 20:47
ne0h2-Aug-07 20:47 
QuestionVisual Basic 2005 User Control Pin
leiby2-Aug-07 12:58
leiby2-Aug-07 12:58 
AnswerRe: Visual Basic 2005 User Control Pin
Christian Graus2-Aug-07 13:03
protectorChristian Graus2-Aug-07 13:03 
AnswerRe: Visual Basic 2005 User Control Pin
koolprasad20032-Aug-07 23:59
professionalkoolprasad20032-Aug-07 23:59 
QuestionDeleteing items from a combobox Pin
dptalt2-Aug-07 7:26
dptalt2-Aug-07 7:26 
AnswerRe: Deleteing items from a combobox Pin
mr_lasseter2-Aug-07 8:59
mr_lasseter2-Aug-07 8:59 
GeneralRe: Deleteing items from a combobox Pin
dptalt3-Aug-07 2:18
dptalt3-Aug-07 2:18 
GeneralRe: Deleteing items from a combobox Pin
mr_lasseter3-Aug-07 7:28
mr_lasseter3-Aug-07 7:28 
AnswerRe: Deleteing items from a combobox Pin
The ANZAC2-Aug-07 11:12
The ANZAC2-Aug-07 11:12 
Questionmultiline in textboxes Pin
sixecho2-Aug-07 6:56
sixecho2-Aug-07 6:56 
AnswerRe: multiline in textboxes Pin
Luc Pattyn2-Aug-07 7:08
sitebuilderLuc Pattyn2-Aug-07 7:08 
AnswerRe: multiline in textboxes Pin
dptalt2-Aug-07 7:08
dptalt2-Aug-07 7:08 
GeneralRe: multiline in textboxes Pin
Colin Angus Mackay2-Aug-07 11:56
Colin Angus Mackay2-Aug-07 11:56 
Questionnotepad Pin
md_refay2-Aug-07 6:33
md_refay2-Aug-07 6:33 
AnswerRe: notepad Pin
kubben2-Aug-07 6:39
kubben2-Aug-07 6:39 
AnswerRe: notepad Pin
Luc Pattyn2-Aug-07 7:13
sitebuilderLuc Pattyn2-Aug-07 7:13 
Questionprint preview control Pin
md_refay2-Aug-07 6:31
md_refay2-Aug-07 6:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.