Click here to Skip to main content
15,896,453 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerSOLVED Pin
EliottA27-Jan-09 4:41
EliottA27-Jan-09 4:41 
QuestionFocus problem with Interop usercontrol Pin
Glauter27-Jan-09 1:47
Glauter27-Jan-09 1:47 
AnswerRe: Focus problem with Interop usercontrol Pin
Dave Kreskowiak27-Jan-09 1:59
mveDave Kreskowiak27-Jan-09 1:59 
GeneralRe: Focus problem with Interop usercontrol Pin
Glauter27-Jan-09 2:12
Glauter27-Jan-09 2:12 
GeneralRe: Focus problem with Interop usercontrol Pin
Dave Kreskowiak27-Jan-09 4:16
mveDave Kreskowiak27-Jan-09 4:16 
GeneralRe: Focus problem with Interop usercontrol Pin
Glauter27-Jan-09 4:21
Glauter27-Jan-09 4:21 
QuestionExporting data and sending email with attachments in Windows Form exe Pin
Ramki Sankaran27-Jan-09 1:34
Ramki Sankaran27-Jan-09 1:34 
AnswerRe: Exporting data and sending email with attachments in Windows Form exe [modified] Pin
Wendelius27-Jan-09 2:54
mentorWendelius27-Jan-09 2:54 
Basically it's quite simple application. For example if you want to retrieve the data through the application it could be something like:
- you create a OracleConnection against source database
- you create a OracleConnection against target database
- use OracleCommand and OracleReader to read data from source
- use OracleCommand to insert data to the target
- use MailMessage class to deliver the message

However I think that a better way would be:
- create a database link in the target database pointing to the source database
- create stored procedure which copies the data from soure to target (for example using insert into ... select from ...
- after populating the target, return ref_cursor to the added rows
- return the data to the client application and send the message

This logic would use the same classes but the transfer is much easier to code and much faster.

Hope this helps,

Mika

The need to optimize rises from a bad design.My articles[^]

modified on Tuesday, January 27, 2009 9:41 AM

AnswerRe: Exporting data and sending email with attachments in Windows Form exe Pin
Bharat Jain27-Jan-09 19:36
Bharat Jain27-Jan-09 19:36 
GeneralRe: Exporting data and sending email with attachments in Windows Form exe Pin
Ramki Sankaran28-Jan-09 23:25
Ramki Sankaran28-Jan-09 23:25 
QuestionPassing Parameter From VB 6 to Crystal Report 8.5 Pin
BalasubramanianK27-Jan-09 0:58
BalasubramanianK27-Jan-09 0:58 
AnswerRe: Passing Parameter From VB 6 to Crystal Report 8.5 Pin
Vimalsoft(Pty) Ltd27-Jan-09 1:20
professionalVimalsoft(Pty) Ltd27-Jan-09 1:20 
GeneralRe: Passing Parameter From VB 6 to Crystal Report 8.5 Pin
BalasubramanianK27-Jan-09 1:27
BalasubramanianK27-Jan-09 1:27 
AnswerRe: Passing Parameter From VB 6 to Crystal Report 8.5 Pin
Tom Deketelaere27-Jan-09 2:06
professionalTom Deketelaere27-Jan-09 2:06 
GeneralRe: Passing Parameter From VB 6 to Crystal Report 8.5 Pin
BalasubramanianK27-Jan-09 2:16
BalasubramanianK27-Jan-09 2:16 
Questiondatabase file missing while publishing my vb.net project Pin
NaliniNagarajan27-Jan-09 0:46
NaliniNagarajan27-Jan-09 0:46 
AnswerRe: database file missing while publishing my vb.net project Pin
Vimalsoft(Pty) Ltd27-Jan-09 1:14
professionalVimalsoft(Pty) Ltd27-Jan-09 1:14 
QuestionFiltering dataset Pin
carrigart27-Jan-09 0:01
carrigart27-Jan-09 0:01 
AnswerRe: Filtering dataset Pin
N a v a n e e t h27-Jan-09 0:14
N a v a n e e t h27-Jan-09 0:14 
GeneralRe: Filtering dataset Pin
carrigart27-Jan-09 18:37
carrigart27-Jan-09 18:37 
AnswerRe: Filtering dataset Pin
Vimalsoft(Pty) Ltd27-Jan-09 1:39
professionalVimalsoft(Pty) Ltd27-Jan-09 1:39 
QuestionTimesheet project in VB.NET Pin
vijay248226-Jan-09 22:44
vijay248226-Jan-09 22:44 
AnswerRe: Timesheet project in VB.NET Pin
Eddy Vluggen26-Jan-09 23:55
professionalEddy Vluggen26-Jan-09 23:55 
GeneralRe: Timesheet project in VB.NET Pin
vijay248227-Jan-09 1:26
vijay248227-Jan-09 1:26 
GeneralTimesheet project in VB.NET Abstract Pin
vijay248228-Jan-09 1:20
vijay248228-Jan-09 1:20 

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.