|
by: howie |
last post by:
I've upgraded a vb6 application to vb .net and am having an issue.
whenever I try to set the recordset property of the VB6.adodc object in .net
and run the application I get the error “object reference not set to an
instance of an object”
this is what the code looks like
Dim lador_JLD As New ADODB.Recordset
ls_sql = "execute sp_ShiftEditJobsDetail "
Dim Gdf_cpv As Object
|
by: Raoul Watson |
last post by:
I have a form with an AdoDc control associated to a datagrid.
The AdoDC uses a "ConnectionString" such as
"Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data
Source=..."
this is where the problem begins. The data source will not be known until
the user selects the database.
What is really weird is that if the source is not placed during design time,
during run time the form upon loading will generate an error ("Failed to
|
by: jaz215 |
last post by:
hi! how do i add a record in a database without using the datacontrol and adodc. i want to rework my code to using purely codes and not being dependent on the design on vb. so far i have.
Set rs = New ADODB.Recordset
Set con = New ADODB.Connection
con.ConnectionString = "provider=microsoft.jet.oledb.4.0;data source=C:\Program Files\Logsheet\Logsheet.mdb;"
con.Open
rs.Open "SELECT * from Employee;", con,...
|
by: alem |
last post by:
Hallo friends!
like I ask you befor I try to use both the connection but highlite this code
Call Adodc1.Recordset.ActiveConnection
I need to open this query by using button click. like usual I need your support please .
Thank you in advance
Dim cn As New ADODB.connection
|
by: vikas1111 |
last post by:
This is the code which i have written.....
Option Explicit
Dim c As New ADODB.Connection
Dim cm As ADODB.Command
Dim rs As New ADODB.Recordset
Private Sub regno_Change()
c.Open ("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:/Comion.mdb;Persist Security Info=false")
rs.Open "select * from main_table", c, adOpenDynamic
Me.regno.Text = rs(3)
|
|
by: yosh29rs |
last post by:
I have been using Adodc recently to link my system in vb6 to my detabase until our professor required us recently to use SQL which is completely new to me and ive never encountered before. How is it related or is it related to Adodc or Adodb?im still on the process of researching my problem but since it is urgent i already posted it for me not to get stuck between these projects. I hope you understand and give some help.thanks and more power.
|
by: yosh29rs |
last post by:
I have been using Adodc recently to link my system in vb6 to my detabase until our professor required us recently to use SQL which is completely new to me and ive never encountered before. How is it related or is it related to Adodc or Adodb?im still on the process of researching my problem but since it is urgent i already posted it for me not to get stuck between these projects. I hope you understand and give some help.thanks and more power.
|
by: yosh29rs |
last post by:
I have been using Adodc recently to link my system in vb6 to my detabase until our professor required us recently to use SQL which is completely new to me and ive never encountered before. How is it related or is it related to Adodc or Adodb?im still on the process of researching my problem but since it is urgent i already posted it for me not to get stuck between these projects. I hope you understand and give some help.thanks and more power.
|
by: hussainiyad |
last post by:
Hi all,
I,m new to vb.6.0 and i don,t know how to connect to sql server through v.b 6.0 with the help of adodc control, and anyone plz tell me how connect and insert ,update,delete and other functions, coz i tried in m.s access not in sqlserver,
This is the coding which i used in ms.access
'for insert
rs.Fields(0) = Text1.Text
rs.Fields(1) = Text2.Text
rs.AddNew
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|