Meaning Of Arguments In Odbc Connectivity Using 6.0?
Aug 28, 2010i want to know the meaning of false,false in the following code for odbc connectivity using vb6.0.
set db=opendatabase("dsn",false,false;"odbc;uid;pwd;dsn")
i want to know the meaning of false,false in the following code for odbc connectivity using vb6.0.
set db=opendatabase("dsn",false,false;"odbc;uid;pwd;dsn")
I am trying to verify connectivity from my application to various servers - For now I am only concerned with mail servers... (later SQL etc)Before anyone gets all upset and thinking this is for SPAM - wrong - these are to confirm connectivity from the application for sending logs OR to ensure the SQL conneciton is working appropriately - Those that want to SPAM can do this simply by getting LINUX and doing it for free with ANY mail client (I add this ONLY because MOST SMTP threads go unanswered... which is silly... there are MANY good reasons to work with mail within an application.....)So what I have tried is opening a telnet session, grabbing the output, and going from there...But it is not working.... the output contains nothing specific to the telnet session I initiate - and.... of course from the command prompt manually i DO get the proper responses
[code]...
I get the command prompt header, I see the commands... I see the prompts... but after the telnet command there is nothing I am assuming there is an issue redirecting telnet info and the telnet session terminates the second I try to read the data
I have a small vb.net application that fires a crystal report through crystal viewer.
The report uses an ODBC connection provided by 32-bit software accounts package, which is installed in the ODBC 32-bit This all works fine on 32-bit XP and 32-bit Win7 with no problems, When run on a win7 64-bit machine the application launches ok, but when it comes to running the report, it prompts for a database logon box for the odbc connection.
When the report is run seperate on its own, on the exact same pc through crystal reports desginer it runs fine, Its almost like the application is not picking the 32-bit ODBC set up is it the case that the connection needs to be coded rather than using the report connection,
i am new to vb .net i just want to ask why is it i don't see the odbc data adapter in the toolbox pane? i just have (under data) pointer, dataset, datagridview, bindingsource, and binding navigator.
View 3 RepliesWhat is the meaning of having constructors (sub New) in a module, and why must they have no arguments?
View 4 RepliesIm doing a project something to do with getting the output using serial port.However, I still don't get the meaning of vbCr in my coding.
View 3 Repliesfor example. like a wikipidea or like apple is to eat or something..
View 7 Replieswhenever we go to code by double clicking on some control so we saw a body of two lines:
Private Sub Button11_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button11.Click
end sub
get Intellisense in Visual Studio 2005 to display the meaning of individual enum values for a VB.NET project. This already happens for enums that are a part of the .NET library?
View 2 Replieswhat is the meaning of the dollar sign after a method name in vb.net
like this:
Replace$("EG000000", "0", "")
What is the meaning of the square brackets around the name of a property in the definition ?
Example :
Public Property [Date] As String
i have a simple code just have a look End Class
[Code]...
When i add num1 and num2 as above, compiler gave error that -- Operator + is not defined for types "type" and "type".How to define the meaning of '+' or any other operator in such situations?
I have defined a Sub in vb.net, with 'Of' type parameter like this:
[Code]...
I want to just add number1 and number2, But as you can see error has occured where i want to sum number1 and number2 saying that '+' is not defined for type 'VarType'. how to add these variables in Such Methods.
I have a simple javascript I want to run in a contentpage (meaning inside a master). I test the javascript in a normal .aspx page like this:
HTML Code:
code:
And that works fine. Now, how do i transfer the java code to the content page? I just don't know where to put it, as I am already past the "Head" section of the page. From what i can read this should be right:
HTML Code:
code:
But that just returns an "error on page" message. I also tried putting the script in the head section of the masterpage. The error remains the same, and I do not want it there anyway. Anyone know where to place the script code?
I was just wondering what is the meaning of placing the '$' character after a function call
E.g.: Dim time as string = Format$(Now, "Long Time")
And what is funny is that it is of no use (as far as I can see).
Here is my xsl:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
[code]....
The problem is the class="pass_section" in the xsl. I need to set that value dynamically in the VB code (meaning put a run-time value in the xml to set it).
what is the exact meaning of the function:
cmd.ExecuteNonQuery()
Though i used it a lot of times while inserting,updating or deleting the entries of the database but my basic concept about this statement is not clear.......
Some of my students end up with a different icon in the Solution Explorer when they create applications. An example is the attached Exam.vb icon, which includes a little arrow into the normal Form icon (see pic) . I am guessing it means it is linked some how. When the application is zipped and submitted, an error is thrown when I unzip it to grade it which indicates that the file in not part of the project, and it references the absolute address on the original application.Any idea what caused this and how can I instruct the students to avoid it in the future?
View 5 RepliesWhat is the most similar thing in vb.net to a pointer, meaning like C poinetrs? I have a TreeView within a class. I need to expose some specific nodes (or leaves) that can be modified by external objects.
View 5 Replieswhat is the meaning of the Ampersand after Boolean in "Result as Boolean"? Also I have seen a question mark after Boolean in some 'Dim' statements. What does that mean?
View 3 RepliesDim con As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\dotnet\lstbox1\db1.mdb;Jet OLEDB:Database Password=")
if i connect without setting database password then it connects easily. if i set password then it says file cannot connect.Is there any other method for entering password without writing password into the connection string?
I need to verify that my app can connect to the default C$ share on a remote server on the network. [code]...
View 1 Repliesconnectivity between VB.Net 2005 and MS-access 2007 ?
View 1 RepliesMake Custom Msgbox Button In the Visual Basic 6.0. I dont know how to create user defined butten "Custom Button For Msgbox.
[Code]..
This webservice is almost converted form VB to C#, except I get this error shown below on the DataRow arow object when I use it in the foreach statement below to populate the Results Class with a DataSet Object...
Error: A local variable named 'arow' cannot be declared in this scope because it would give a different meaning to 'arrow', which is already used in a 'parent or current' scope to denote something else
using System;
using System.Web;
using System.Collections;
[code]....
How can I check for internet connectivity? I can't use the My.Computer.Network.IsAvailable, because that one returns true also when you only have a local network connection and no internet connection.
View 10 RepliesChecking the Internet Connectivity?[URL]
View 1 RepliesCode for database connectivity using vb.net
View 1 Repliesi want to learn connectivity of vb.net 2005 and sql server 2005
View 5 Repliesconnetvity vb.net with sql sever 2005
View 4 Replies