See more: SQL-server I want to execute it in my vb6 project. Means how can i execute following statement in vb6. Copy Code. Posted 1-Jan am Avi Mali. Updated 1-Jan am WajihaAhmed. Add a Solution. Top Rated Most Recent. Accept Solution Reject Solution. This is a waste of time. Your variable is lost as soon a the SQL statement ends, so there's no value in setting it.
You can remove it from your code. Also, VB6 is rubbish, no-one uses it, it's been obsolete for a decade. You're wasting your time learning it. Posted 1-Jan am Christian Graus. Try this.. Add your solution here. Execute or do it like this VB Code:. Dim strCreate. Jan 27th, , AM 3. VB Code:. If Text1. MsgBox "hello". End If. If Text2. Text Then. MsgBox "no". MsgBox Adodc3. MsgBox "done". End Sub. The person who asked this question has marked it as solved. Solved questions live forever in our knowledge base where they go on to help others facing the same issues for years to come.
Are you sure you have something valuable to add that has not already been mentioned? Consider starting a new topic instead. Otherwise, please be thoughtful, detailed and courteous, and adhere to our posting rules.
Edit Preview. H1 H2. Post Reply. Broken Link. Go Back to the Post Continue Anyways. Share Post.
0コメント