Click here to Skip to main content
16,006,749 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionBinding dataset to a textbox Pin
y_mmohd29-Dec-05 0:15
y_mmohd29-Dec-05 0:15 
AnswerRe: Binding dataset to a textbox Pin
abhinish29-Dec-05 0:58
abhinish29-Dec-05 0:58 
AnswerRe: Binding dataset to a textbox Pin
vonb29-Dec-05 0:59
vonb29-Dec-05 0:59 
QuestionUTF-8 read and write back to Oracle DB from VB application corrupts the data[if-non-english char] to unreadable format Pin
22491728-Dec-05 22:22
22491728-Dec-05 22:22 
AnswerRe: UTF-8 read and write back to Oracle DB from VB application corrupts the data[if-non-english char] to unreadable format Pin
22491711-Jan-06 0:01
22491711-Jan-06 0:01 
QuestionCreate interface Pin
Kusal28-Dec-05 21:45
Kusal28-Dec-05 21:45 
AnswerRe: Create interface Pin
Dave Kreskowiak29-Dec-05 5:27
mveDave Kreskowiak29-Dec-05 5:27 
QuestionError: Exception has been thrown by the target of an invocation Pin
drexler_kk28-Dec-05 16:29
drexler_kk28-Dec-05 16:29 
Hello everyone,I'm migrating the VB Engine to VB.NET. I manage to run the function only in the first time,it will occur this error>>"Exception has been thrown by the target of an invocation" when it start to continue running the second time by the time interval have been set. This Engine is set to run by time intervals. Anyone can help me to solve the problem?

And this is what the error I got:

************** Exception Text **************
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: The connection is already Open (state=Open).
at System.Data.SqlClient.SqlConnection.Open()
--- End of inner exception stack trace ---
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess)
at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at Microsoft.VisualBasic.CompilerServices.LateBinding.FastCall(Object o, MethodBase method, ParameterInfo[] Parameters, Object[] args, Type objType, IReflect objIReflect)
at Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack, Boolean IgnoreReturn)
at Microsoft.VisualBasic.CompilerServices.LateBinding.LateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack)
at TT_Front.First.Distribution() in C:\Documents and Settings\Kam\My Documents\Visual Studio Projects\TT_Front\First.vb:line 165
at TT_Front.First.Timer1_Tick(Object sender, EventArgs e) in C:\Documents and Settings\Kam\My Documents\Visual Studio Projects\TT_Front\First.vb:line 146
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr idEvent, IntPtr dwTime)


Thank you so much,I can't really solve this problem because I'm still new to VB.NET. I wish someone really can help me in this. Thank you so much.


AnswerRe: Error: Exception has been thrown by the target of an invocation Pin
Dave Kreskowiak28-Dec-05 16:40
mveDave Kreskowiak28-Dec-05 16:40 
GeneralRe: Error: Exception has been thrown by the target of an invocation Pin
drexler_kk28-Dec-05 17:02
drexler_kk28-Dec-05 17:02 
AnswerRe: Error: Exception has been thrown by the target of an invocation Pin
Gerben Jongerius28-Dec-05 20:45
Gerben Jongerius28-Dec-05 20:45 
GeneralRe: Error: Exception has been thrown by the target of an invocation Pin
drexler_kk28-Dec-05 21:40
drexler_kk28-Dec-05 21:40 
GeneralRe: Error: Exception has been thrown by the target of an invocation Pin
Dave Kreskowiak29-Dec-05 5:24
mveDave Kreskowiak29-Dec-05 5:24 
GeneralRe: Error: Exception has been thrown by the target of an invocation Pin
drexler_kk29-Dec-05 14:47
drexler_kk29-Dec-05 14:47 
GeneralRe: Error: Exception has been thrown by the target of an invocation Pin
tankSanju10-Jul-08 22:43
tankSanju10-Jul-08 22:43 
QuestionCSS Pin
chubbie28-Dec-05 15:42
chubbie28-Dec-05 15:42 
AnswerRe: CSS Pin
Michael Flanakin29-Dec-05 12:42
Michael Flanakin29-Dec-05 12:42 
GeneralRe: CSS Pin
chubbie29-Dec-05 13:41
chubbie29-Dec-05 13:41 
QuestionGenerating XML Pin
Hadware28-Dec-05 15:26
Hadware28-Dec-05 15:26 
AnswerRe: Generating XML Pin
MalikRizwan28-Dec-05 23:40
MalikRizwan28-Dec-05 23:40 
QuestionError Changing Me.ShowInTaskbar Pin
George B Gilbert28-Dec-05 13:45
George B Gilbert28-Dec-05 13:45 
QuestionOpening a web page in the default web browser. Pin
robertw01928-Dec-05 13:19
robertw01928-Dec-05 13:19 
AnswerRe: Opening a web page in the default web browser. Pin
George B Gilbert28-Dec-05 13:37
George B Gilbert28-Dec-05 13:37 
GeneralRe: Opening a web page in the default web browser. Pin
George B Gilbert28-Dec-05 13:42
George B Gilbert28-Dec-05 13:42 
GeneralRe: Opening a web page in the default web browser. Pin
robertw01929-Dec-05 4:53
robertw01929-Dec-05 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.