Click here to Skip to main content
15,901,035 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Crystal Report At deployment giving error!!!!Help me Pin
priya_p23314-Feb-07 18:57
priya_p23314-Feb-07 18:57 
Questionhelp for screen capture Pin
Sachin Pimpale13-Feb-07 22:03
Sachin Pimpale13-Feb-07 22:03 
AnswerRe: help for screen capture Pin
Dave Kreskowiak14-Feb-07 16:07
mveDave Kreskowiak14-Feb-07 16:07 
Questionsingle connection Pin
taherjaorawala13-Feb-07 21:52
taherjaorawala13-Feb-07 21:52 
AnswerRe: single connection Pin
Tamimi - Code13-Feb-07 22:08
Tamimi - Code13-Feb-07 22:08 
GeneralRe: single connection Pin
taherjaorawala13-Feb-07 22:20
taherjaorawala13-Feb-07 22:20 
GeneralRe: single connection Pin
Tamimi - Code13-Feb-07 22:33
Tamimi - Code13-Feb-07 22:33 
GeneralRe: single connection Pin
taherjaorawala13-Feb-07 22:52
taherjaorawala13-Feb-07 22:52 
In the module

Public connect As New OleDbConnection<br />
<br />
Public Sub connection_string()<br />
connect.Connectionstring="Provider=SQLOLEDB.1;Password=xyz;User ID=sa;Initial Catalog=inventory;Auto Translate=True;Packet Size=4096;Use Encryption for Data=False;Tag with column collation when possible=False"<br />
End Sub

then on the startup form

Public Sub New()<br />
        MyBase.New()<br />
        connection_string()<br />
        'This call is required by the Windows Form Designer.<br />
        InitializeComponent()<br />
<br />
        'Add any initialization after the InitializeComponent() call<br />
<br />
    End Sub

this way the string is assigned to the connection

Taher
GeneralRe: single connection Pin
Navneet Hegde14-Feb-07 2:38
Navneet Hegde14-Feb-07 2:38 
AnswerRe: single connection Pin
Colin Angus Mackay14-Feb-07 5:05
Colin Angus Mackay14-Feb-07 5:05 
QuestionEnable/Diseable Main menu Pin
charchabil0313-Feb-07 21:47
charchabil0313-Feb-07 21:47 
AnswerRe: Enable/Diseable Main menu Pin
TwoFaced13-Feb-07 22:26
TwoFaced13-Feb-07 22:26 
GeneralRe: Enable/Diseable Main menu Pin
charchabil0313-Feb-07 22:32
charchabil0313-Feb-07 22:32 
GeneralRe: Enable/Diseable Main menu Pin
TwoFaced13-Feb-07 22:36
TwoFaced13-Feb-07 22:36 
GeneralRe: Enable/Diseable Main menu Pin
charchabil0313-Feb-07 22:57
charchabil0313-Feb-07 22:57 
GeneralRe: Enable/Diseable Main menu Pin
TwoFaced14-Feb-07 6:53
TwoFaced14-Feb-07 6:53 
QuestionCustom Connection String Pin
taherjaorawala13-Feb-07 20:17
taherjaorawala13-Feb-07 20:17 
Questionadvice with converting my app to multiuser Pin
vbbeg13-Feb-07 19:09
vbbeg13-Feb-07 19:09 
AnswerRe: advice with converting my app to multiuser Pin
andyharman13-Feb-07 23:23
professionalandyharman13-Feb-07 23:23 
QuestionCCTV camera focus algorithm Pin
newb2vb13-Feb-07 18:32
newb2vb13-Feb-07 18:32 
QuestionI got this error "Type mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))" So pls...... Pin
somagunasekaran13-Feb-07 16:31
somagunasekaran13-Feb-07 16:31 
AnswerRe: I got this error "Type mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))" So pls...... Pin
Christian Graus13-Feb-07 17:04
protectorChristian Graus13-Feb-07 17:04 
GeneralRe: I got this error "Type mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))" So pls...... Pin
somagunasekaran13-Feb-07 17:26
somagunasekaran13-Feb-07 17:26 
GeneralRe: I got this error "Type mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))" So pls...... Pin
Christian Graus13-Feb-07 18:14
protectorChristian Graus13-Feb-07 18:14 
GeneralRe: I got this error "Type mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH))" So pls...... Pin
somagunasekaran13-Feb-07 19:10
somagunasekaran13-Feb-07 19:10 

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.