Programming

Programming questions? Ask a programmer for answers ASAP

Ask a Computer Expert,
Get an Answer ASAP!

What is the correct syntax to use with controlling transactions…

Customer Question
What is the correct syntax...
What is the correct syntax to use with controlling transactions? I keep get errors when i try to use with Visual Basic 2008. These statements are rejected and i am putting them in the correct locations as I did with VB6.

gCN.BeginTrans
gCN.CommitTrans
gCN.RollbackTrans
Submitted: 8 years ago.Category: Programming
Show More
Show Less
Ask Your Own Programming Question
Answered in 44 minutes by:
6/17/2010
Programmer: John Holland, Computer Software Engineer replied 8 years ago
John Holland
John Holland, Computer Software Engineer
Category: Programming
Satisfied Customers: 96
Experience: Years of Programming, Testing, Debugging projects both large and small in many languages.
Verified
Hello, my name is XXXXX XXXXX I'm here to assist you.

The corresponding methods you are looking for are:

BeginTransaction
Commit
Rollback

Here's a good reference to accessing data using ADO.NET
Ask Your Own Programming Question
Was this answer helpful?

How JustAnswer works

step-image
Describe your issueThe assistant will guide you
step-image
Chat 1:1 with a programmerLicensed Experts are available 24/7
step-image
100% satisfaction guaranteeGet all the answers you need
Ask John Holland Your Own Question
John Holland
John Holland
John Holland, Computer Software Engineer
Category: Programming
Satisfied Customers: 96
96 Satisfied Customers
Experience: Years of Programming, Testing, Debugging projects both large and small in many languages.

John Holland is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

ATLPROG

ATLPROG

Computer Software Engineer

7,677 satisfied customers

MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML

LogicPro

LogicPro

Computer Software Engineer

7,175 satisfied customers

Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

unvadim

unvadim

Computer Software Engineer

1,168 satisfied customers

Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.

lifesaver

lifesaver

Computer Software Engineer

950 satisfied customers

Several years of intensive programming and application development experience in various platforms.

ehabtutor

ehabtutor

Computer Software Engineer

936 satisfied customers

Bachelor of computer science, 5+ years experience in software development, software company owner

TheDoctor

TheDoctor

Software Engineer

893 satisfied customers

M.S. in Internet Information Systems

The-PC-Guy

The-PC-Guy

Software Engineer

848 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

< Previous | Next >

Related Programming Questions
The statement: fitter.Parameters = array(invals(0), invals(1),
the statement: fitter.Parameters = array(invals(0), invals(1), invals(2), invals(3), invals(4), invals(5)) works in vb6 but does not in visual studio. What is the solution. Thanks… read more
Russell H.
Russell H.
Computer Technology Consultant
Vocational, Technical or Trade Scho
791 satisfied customers
LogicPro, This is a two part question.... and you should
LogicPro, This is a two part question.... and you should still have the book for part 2. Part 1. Thought Processes during Lucky Seven Game Describe the thought processes you went through while complet… read more
LogicPro
LogicPro
Computer Software Engineer
Bachelor of Technology
7,175 satisfied customers
I have an App that was written in VB6 by an old friend. He
I have an App that was written in VB6 by an old friend. He is no longer working and I'd like to update and modernize the App. The app is tightly bound and doesn't interact with the WEB but future vers… read more
Alex
Alex
Sr. Software Engineer
Bachelor\u0027s Degree
332 satisfied customers
HAVING TROUBLE INSTALLING VB6 INTO WINDOWS 7 THE ERRORS
HAVING TROUBLE INSTALLING VB6 INTO WINDOWS 7 THE ERRORS I GET ARE NO INSTALLABLE ISAM, DOES NOT RECOGNIZE DATA FORMAT WHEN USING DATA CONTROL WITH MDB DATABASE. THANKS ED [email protected] PHONE XXX… read more
Danielle-Moderator
Danielle-Moderator
5 satisfied customers
Using the Employee.mdb database located in the Doc Sharing
Using the Employee.mdb database located in the Doc Sharing area, submit a program that connects to the database, reads the records and inserts the values of all the fields in a list box. You simply ne… read more
jatechexpert
jatechexpert
Master\u0027s Degree
1 satisfied customers
Structured exception handling in Visual Basic 2008 makes it
Structured exception handling in Visual Basic 2008 makes it worth switching to Visual Basic 6.0 which supports unstructured exception handling. Comment.… read more
Alex
Alex
Sr. Software Engineer
Bachelor\u0027s Degree
332 satisfied customers
Help needed creating/coding with Visual Basic 6.0 I need
Help needed creating/coding with Visual Basic 6.0? I need to create an application that will display the square and square root of a number. The application must use two forms. The first one should pr… read more
Ansh P.
Ansh P.
System Analyst
Bachelor\u0027s Degree
6,393 satisfied customers
John, I submitted this question to you in June and you gave
John, I submitted this question to you in June and you gave me an answer but it still gives the smae error as before. I am using VB.net. Here is the question as a reminder: What is the correct syntax … read more
Nilesh
Nilesh
Bachelor\u0027s Degree
649 satisfied customers
How do you setup a MS Visual Studio 2008 project to use Standard
How do you setup a MS Visual Studio 2008 project to use Standard C for compiling and linking instead of C++?… read more
LimeTrude
LimeTrude
IT Developer / Engineer
Master\u0027s Degree
64 satisfied customers
i need help with vb indent code. is there any software that
i need help with vb indent code. is there any software that show indentation with vb code?… read more
Ed
Ed
Repair Shop Owner
Bachelor\u0027s Degree
620 satisfied customers
http //support.microsoft.com/kb/286126 You may receive the
http://support.microsoft.com/kb/286126 You may receive the "Run-time error -2147467259" error message when you open a form by using Automation in Visual Basic .NET The run-time error that is mentioned… read more
Coder4Life
Coder4Life
CEO
High School or GED
76 satisfied customers
Guidance with VB. 16.Assuming that the variable dblTest contains
Guidance with VB. 16.Assuming that the variable dblTest contains the value 67521.854, complete the following table, showing the value returned by each function call: FUNCTION CALL: dblTest.ToString ("… read more
Jeff Ptak
Jeff Ptak
Business Intelligence Architect
Bachelor\u0027s Degree
120 satisfied customers
Visual Basic 6.0 error Procedure Declaration does not match
Visual Basic 6.0 error "Procedure Declaration does not match description of event of procedure having the same name" How do you correct this error?… read more
John The Geek
John The Geek
Senior Software Developer
Bachelor\u0027s Degree
65 satisfied customers
Write a program for a simple game in which each of 2 players
Write a program for a simple game in which each of 2 players rolls a pair of dice. The person with the highest tally wins. The program should use a Game class (HighRoller) have 2 member variables of t… read more
bryanh77
bryanh77
Software Engineer
Bachelor\u0027s Degree
67 satisfied customers
I am looking for a solution to enable Access 2007 / VB.Net
I am looking for a solution to enable Access 2007 / VB.Net 2008 to access the comm ports. I need to send an AT DT Command (Opens a turnstile) and receive data from a card reader to establish a members… read more
Steven Caliendo
Steven Caliendo
Vocational, Technical or Trade Scho
99 satisfied customers
I have a DLL written in C++. It accepts geometric descriptors
I have a DLL written in C++. It accepts geometric descriptors and draws to a window. How can I pass a parameter from a VB6 application that my DLL can use with either the Window API drawing functions … read more
NeOh
NeOh
Software Engineer
Bachelor's Degree
682 satisfied customers
I was on line looking for vb6 add-ins the other morning and
I was on line looking for vb6 add-ins the other morning and found a look-alike to excel written in vb6. I thought I saved the location on my desktop, but for some reason it didn't save. I have been tr… read more
Ansh P.
Ansh P.
System Analyst
Bachelor\u0027s Degree
6,393 satisfied customers
now have crystal reports 2008 and vb 6 but cant seem to get
now have crystal reports 2008 and vb 6 but can't seem to get that little icon in the ide for crystal reports . Any ideas? Alos what version of Crysatal reports was vb6 easy to use with?… read more
ehabtutor
ehabtutor
Computer Software Engineer
Bachelor's Degree
936 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x