Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 30-05-2006, 12:52 PM   #1 (permalink)
Broken In
 
Join Date: Nov 2004
Location: GOA
Posts: 106
Default I Need a visual Basic Geek


I am making a database progarm in visual basic I am makinG IT BY reading a book so I AM NOT A expert. When I run the program and enter the data in the chart and click on OK(code-recordset.addnew) it shows a runtime error and says "THE ACTION WAS CANCELLED BY AN ASSOCIATED OBJECT".
__________________
IN HOUSE GEEK!!!!!!!!!!!!!!!!!!!!
chirayu garg is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 30-05-2006, 01:23 PM   #2 (permalink)
Broken In
 
Join Date: Jan 2006
Posts: 105
Default Re: I Need a visual Basic Geek

send the full code. 30
amitgg is offline  
Old 30-05-2006, 02:40 PM   #3 (permalink)
In The Zone
 
deepak.krishnan's Avatar
 
Join Date: Jan 2005
Location: Palakkad/Bangalore
Posts: 423
Default Re: I Need a visual Basic Geek

Please post the whole code so that we can help you.
__________________
.dk
deepak.krishnan is offline  
Old 30-05-2006, 04:49 PM   #4 (permalink)
Broken In
 
Join Date: Nov 2004
Location: GOA
Posts: 106
Default Re: I Need a visual Basic Geek

I can't understand which code I have to type.I have given the code of the add data button in my program.
__________________
IN HOUSE GEEK!!!!!!!!!!!!!!!!!!!!
chirayu garg is offline  
Old 30-05-2006, 05:03 PM   #5 (permalink)
Broken In
 
khansdream's Avatar
 
Join Date: Nov 2005
Location: Skull Island
Posts: 126
Talking Re: I Need a visual Basic Geek

So guy, tell us the name of that BOOK u r taking help from...........!!!!!
khansdream is offline  
Old 31-05-2006, 03:57 PM   #6 (permalink)
Broken In
 
Join Date: Nov 2004
Location: GOA
Posts: 106
Default Re: I Need a visual Basic Geek

Book name-Mastering Visual Basic 6
Writer-Pteropus Evangulous(or smthng like that)
Publisher- BPB publication
__________________
IN HOUSE GEEK!!!!!!!!!!!!!!!!!!!!
chirayu garg is offline  
Old 31-05-2006, 10:52 PM   #7 (permalink)
Broken In
 
Join Date: Aug 2004
Posts: 101
Default Re: I Need a visual Basic Geek

what he meant was that u r to paste the code for the entire form
attach the form..and if there is any form related to it..( i mean if there is a form that needs to be present to compile the code) attach it too..
geekgod is offline  
Old 31-05-2006, 11:13 PM   #8 (permalink)
GaurishSharma.com
 
gary4gar's Avatar
 
Join Date: May 2005
Location: Jaipur
Posts: 4,116
Default Re: I Need a visual Basic Geek

and screen shot of form & code view editor
gary4gar is offline  
Old 31-05-2006, 11:40 PM   #9 (permalink)
Broken In
 
Join Date: Aug 2004
Posts: 101
Default Re: I Need a visual Basic Geek

Quote:
Originally Posted by gary4gar
and screen shot of form & code view editor
if he attaches the form itself why do u need a screenshot?
geekgod is offline  
Old 01-06-2006, 01:25 AM   #10 (permalink)
Broken In
 
Join Date: Dec 2003
Location: kolkata
Posts: 123
Default Re: I Need a visual Basic Geek

i suppose by chart u mean a data grid..there's a separate chart control in VB.

what sort of datagid are you using?

and it would really be easiest for us to help if u attach the entire form in a post..

p.s: u were looking for a geek..
and now u've got the GOD of geeks...

@geekgod : nothing personal m8..

Last edited by technomodel; 01-06-2006 at 01:28 AM.
technomodel is offline  
Old 01-06-2006, 10:27 AM   #11 (permalink)
Broken In
 
Join Date: Nov 2004
Location: GOA
Posts: 106
Default Re: I Need a visual Basic Geek

OK guys I have sorted out the problem but I new problem has occured on my form I am putting a few option buttons . I want that when the program runs the user selects 1option buttons and the caption of that button enters my database but I can't find any options in the properties of option button.
Urgent Help Needed.PLZzzzzzzzzzzzzz
__________________
IN HOUSE GEEK!!!!!!!!!!!!!!!!!!!!
chirayu garg is offline  
Old 01-06-2006, 10:37 AM   #12 (permalink)
OSS Enthusiast!
 
nitish_mythology's Avatar
 
Join Date: Sep 2005
Location: Hills of Kumaoun
Posts: 664
Default Re: I Need a visual Basic Geek

I recently dowloaded an e-book of VisualStudios.net from a cyber cafe..
Pls tell the diff between VisualStudio 6 and Visual Studio.net

When was Visual Studio.net IDE provided by Digit?? I dont have a broadband connection!

I have VisualBasic 6 installed on my P.C.
__________________
Do you know, Shinigamis only eat apples???
nitish_mythology is offline  
Old 01-06-2006, 11:02 AM   #13 (permalink)
Broken In
 
Join Date: Nov 2004
Location: GOA
Posts: 106
Default Re: I Need a visual Basic Geek

VB6 is an older version while VB.net is a newer version.
The VB.net have more features than VB6
__________________
IN HOUSE GEEK!!!!!!!!!!!!!!!!!!!!
chirayu garg is offline  
Old 01-06-2006, 11:28 AM   #14 (permalink)
OSS Enthusiast!
 
nitish_mythology's Avatar
 
Join Date: Sep 2005
Location: Hills of Kumaoun
Posts: 664
Default Re: I Need a visual Basic Geek

How to get it?
Just tell me if it was pro with digit few months ago...
__________________
Do you know, Shinigamis only eat apples???
nitish_mythology is offline  
Old 01-06-2006, 12:19 PM   #15 (permalink)
Wise Old Owl
 
deathvirus_me's Avatar
 
Join Date: May 2005
Location: Kolkata, India
Posts: 1,838
Default Re: I Need a visual Basic Geek

Full code will help ... fast fast ,,, before i forget VB again ...
deathvirus_me is offline  
Old 01-06-2006, 04:49 PM   #16 (permalink)
OSS Enthusiast!
 
nitish_mythology's Avatar
 
Join Date: Sep 2005
Location: Hills of Kumaoun
Posts: 664
Default Re: I Need a visual Basic Geek

Got Visual Studio.Net today
Got seven cds to load......
Tedious Job!!!
__________________
Do you know, Shinigamis only eat apples???
nitish_mythology is offline  
Old 01-06-2006, 07:46 PM   #17 (permalink)
GaurishSharma.com
 
gary4gar's Avatar
 
Join Date: May 2005
Location: Jaipur
Posts: 4,116
Arrow Re: I Need a visual Basic Geek

Quote:
Originally Posted by chirayu garg
OK guys I have sorted out the problem but I new problem has occured on my form I am putting a few option buttons . I want that when the program runs the user selects 1option buttons and the caption of that button enters my database but I can't find any options in the properties of option button.
Urgent Help Needed.PLZzzzzzzzzzzzzz

u can do it by loop

like is if optionbutton is check it will return the value of 1 so then this statement is executed
data1.recordset.addrecord

but all depneds upon ur stlye of making project so pls give a screenshot of it so that we can figure out what going on.otherwise we will be aiming a shot in mid air
gary4gar is offline  
Old 01-06-2006, 07:51 PM   #18 (permalink)
Wise Old Owl
 
deathvirus_me's Avatar
 
Join Date: May 2005
Location: Kolkata, India
Posts: 1,838
Default Re: I Need a visual Basic Geek

Do u want the database to be connected when the button is clicked ???? If yes then i'd say u should connect the database when the form is loaded ... either by adodc or adodb .... if ur using adodc then u can start with these two lines :

Adodc1.Recordset.MoveLast
Adodc1.Recordset.AddNew

and then go on adding the new records ... if ur using adodb then the codes gets a bit lengthy .... reply ..
deathvirus_me is offline  
Old 01-06-2006, 10:14 PM   #19 (permalink)
Broken In
 
Join Date: Aug 2004
Posts: 101
Default Re: I Need a visual Basic Geek

Visual Studio.Net is based on the .NET platform.. which emplys the Common Language Runtime of Microsoft for helping to integrate codes written in various languages like VC++.net, Vb.net etc..on the other hand VB6 is not based on the CLR, meaning that u cant intergrate the code with any other language..(u dont need either..just my two pence)..
moreover, VB.net is FULLY object oriented..while it is not so well implemented in VB6.

in my opinion..VB.NET is very much a bloated and heavy language..easy to learn..but keeps u handicapped as a programmer...i think its best usefulness is limited only for developing web based applications(if someone here works on this..i'll welcome you to correct any mistake in this statement)..if u want to go into .net..try to learn VC++. it's a beast to tame..but it IS a beast.

if u r just developing a basic stand alone application..VB6 should be good enpough for you.

Last edited by geekgod; 01-06-2006 at 10:17 PM.
geekgod is offline  
Old 05-06-2006, 10:54 PM   #20 (permalink)
In The Zone
 
deepak.krishnan's Avatar
 
Join Date: Jan 2005
Location: Palakkad/Bangalore
Posts: 423
Default Re: I Need a visual Basic Geek

I had some similar problem. Have you given both add and update codes in the same button?? Then first make a button with the add code in it and another with update code in it. Now when you enter the data, you have to click the add button first and then start entering the data. Then click update button . This might solve your problem
__________________
.dk
deepak.krishnan is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by abhidev
- by Sarath
- by clmlbx
- by ico
- by clinton
- by icebags

Advertisement




All times are GMT +5.5. The time now is 01:56 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2