Click here to Skip to main content
15,924,829 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: gives Error when i try sending e-mail through code.The error no is 5.7.1 Pin
Christian Graus25-Apr-08 20:13
protectorChristian Graus25-Apr-08 20:13 
GeneralRe: gives Error when i try sending e-mail through code.The error no is 5.7.1 Pin
Sipder27-Apr-08 19:52
Sipder27-Apr-08 19:52 
GeneralRe: gives Error when i try sending e-mail through code.The error no is 5.7.1 Pin
Christian Graus27-Apr-08 20:58
protectorChristian Graus27-Apr-08 20:58 
QuestionLinq, insert a line into a db with a auto generated primary key Pin
007jb24-Apr-08 22:32
007jb24-Apr-08 22:32 
GeneralRe: Linq, insert a line into a db with a auto generated primary key Pin
darkelv24-Apr-08 22:43
darkelv24-Apr-08 22:43 
GeneralRe: Linq, insert a line into a db with a auto generated primary key Pin
007jb24-Apr-08 22:48
007jb24-Apr-08 22:48 
GeneralRe: Linq, insert a line into a db with a auto generated primary key Pin
Vasudevan Deepak Kumar25-Apr-08 2:24
Vasudevan Deepak Kumar25-Apr-08 2:24 
GeneralHelp - Covert data from MSFlexgrid to excel in VB6.0 Pin
aaraaayen24-Apr-08 22:07
aaraaayen24-Apr-08 22:07 
Hi friends,

In my application I am converting data from msflexgrid to rxcel by using the following code.

Clipboard.Clear 'Clear the Clipboard
With MSFlexGrid1 'Select Full Contents (You could also select partial content)
.Col = 0 'From first column
.Row = 0 'From first Row (header)
.ColSel = .Cols - 1 'Select all columns
.RowSel = .Rows - 1 'Select all rows
Clipboard.SetText .Clip 'Send to Clipboard
End With

With xlApp.ActiveWorkbook.ActiveSheet

.Range("C5").Select 'Select Cell A1 (will paste from here, to different cells)
.Paste 'Paste clipboard contents
End With ' This makes Excel visible
xlApp.Visible = True

But when the data is pasted in Excel sheet, there is some cells pasted wrongly it means some row is splited in two rows.
Totally i have 11 columns, and no of rows will depends. for some row the last 3 column values are pasted in the next row 2,3,4 columns.The next rows is proceeding at next line from that row.

Please can anyone help me out. Its very very urgent for me.

Expecting your help.

Thanks and Regards,
QuestionERROR : Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx Pin
woke24-Apr-08 20:27
woke24-Apr-08 20:27 
QuestionDateTimePicker ? [modified] Pin
Golden Jing24-Apr-08 17:13
Golden Jing24-Apr-08 17:13 
AnswerRe: DateTimePicker ? Pin
~V~24-Apr-08 19:29
~V~24-Apr-08 19:29 
GeneralRe: DateTimePicker ? Pin
Golden Jing27-Apr-08 17:30
Golden Jing27-Apr-08 17:30 
GeneralRe: DateTimePicker ? Pin
AshokPatra28-Apr-08 1:09
AshokPatra28-Apr-08 1:09 
Generalserver connection hung Pin
shee_dee8624-Apr-08 16:29
shee_dee8624-Apr-08 16:29 
GeneralRe: server connection hung Pin
Zaegra27-Apr-08 3:40
Zaegra27-Apr-08 3:40 
GeneralRe: server connection hung Pin
shee_dee8627-Apr-08 16:14
shee_dee8627-Apr-08 16:14 
GeneralIs it possible? Splash/login as seperate application Pin
ziperzappper24-Apr-08 12:05
ziperzappper24-Apr-08 12:05 
GeneralRe: Is it possible? Splash/login as seperate application Pin
Christian Graus24-Apr-08 12:26
protectorChristian Graus24-Apr-08 12:26 
GeneralRe: Is it possible? Splash/login as seperate application Pin
Mycroft Holmes24-Apr-08 17:05
professionalMycroft Holmes24-Apr-08 17:05 
Generalwriting data to word document Pin
Dwood24-Apr-08 6:33
Dwood24-Apr-08 6:33 
QuestionSetting RichTextBox.Rtf problem Pin
Justin Arnold24-Apr-08 4:50
Justin Arnold24-Apr-08 4:50 
GeneralRe: Setting RichTextBox.Rtf problem Pin
John_Adams24-Apr-08 20:57
John_Adams24-Apr-08 20:57 
Generaltextbox.focus - won't listen Pin
nlarson1124-Apr-08 4:23
nlarson1124-Apr-08 4:23 
GeneralRe: textbox.focus - won't listen Pin
C1AllenS24-Apr-08 4:48
C1AllenS24-Apr-08 4:48 
GeneralRe: textbox.focus - won't listen Pin
nlarson1124-Apr-08 4:53
nlarson1124-Apr-08 4:53 

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.