All -
I am working with a com-add to outlook. This app is a add-in app created in vb. I am working with the items in a inbox. There are 3 events add, remove, and change. When working with the add and remove events there is no problem getting the current email item because each the add and...
All -
I wanted to know if there is a way to link a response email from a receipent back to the sender. Meaning, I send and email and it is assigned a EntryId. When I receive the email back (i.e, the response RE:) the EntryId is changed because (1) the email is now in a new folder (e.g., the...
All -
I wanted to know if there is a way to link a response email from a receipent back to the sender. Meaning, I send and email and it is assigned a EntryId. When I receive the email back (i.e, the response RE:) the EntryId is changed because (1) the email is now in a new folder (e.g., the...
Question -
What is the difference between destroying a db conn object by using the dispose method or destroying it by using the following code:
db.close
db = nothing
Also, does it make a difference???
Thanks in advance,
Frandazzo
One more thing.
Set Command to nothing:
If Not IsNothing(oCmd) Then oCmd = Nothing
Close db connection:
oConn.Close
Set Connection to nothing:
If Not IsNothing(oConn) Then oConn= Nothing
Dim oConn as System.Data.SqlClient.SqlConnection()
Dim oCMD as System.Data.SqlClient.SqlCommand()
'set your conn string and establish a sql connection
With oCmd
.Connection = oConn
.CommandText = "APP_DeleteUser"
.CommandType =...
Here is the situation. Within a vb application we are using a webservice. The application is using a async call to the webservice to execute a stored proc that is used to fill a report. The webmethod in the webservice returns a dataset.
When I go to run the report the first time I get the...
Hello -
I am running a web app that uses winnt authentication. If a user is a member of the domain users group thay cannot access the application. If I change their user rights to be a member of the domain admin group they are then allowed to access the app. I have corrected this issue once...
All -
I always used an odbc conn using the rdc component in asp pages and never had a problem viewing a crystal report. I have now been asked to use an ole-db conn. All I keep getting is the "Server has not yet been open error". I have tried all different conn methods that other...
Hello All,
Question -
Do you have to destroy (i.e., set to nothing) a dataset after you are done with it??? Or is it treated like a regular varaible you declare???
Example:
Dim sStr as string - you would not destroy!!!!
Dim oDS as New Dataset - do you destroy???? and if so why?
Thanks in...
All -
I have been working with crystal since version 7.0. I have always used an odbc connetion to connect cryatal to a sql server db. Being I am a developer for a consulting company our db/server names are usually different from our client(s). No problem!!! When in development our odbc conn...
Hello all -
I am just getting started on working with ASPX pages. I have a form tag that the runat="server". For some reason my form action is not posting to the correct page but actually to the same page. Meaning, My current page is page1.aspx and the form action is to page2.aspx...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.