11,868 Topics

Member Avatar for
Member Avatar for firoz.raj

can anyone tell me .why i got error object variable or with block variable not set .any help would be greately appreciated.here is the code what i have written.Kindly find the attachment also. [code=vb] Private Sub Command3_Click() Set CON = New ADODB.Connection [COLOR="Red"]If CON.state = adStateOpen Then[/COLOR] ' con.Open ("Provider=Microsoft.Jet.OLEDB.4.0;Persist …

Member Avatar for Jupiter 2
0
165
Member Avatar for map0598

You know how you enter a command in windows 98/xp registry, for example: HKEY_CLASSES_Root\*\shell command = notepad.exe %1 and when you right click on a file it appears in notepad. I want to substitute "myvb6program.exe %1" for notepad.exe in the registry, but I need to know what vb6 code I …

0
45
Member Avatar for rola

I need to write a VB program which takes customer type, number of books purchased and cost of each book as an input.Then calculate the total sum after deducting discount that is to be paid by customer. Note that it needs to show both the total before discount and after …

Member Avatar for Jupiter 2
0
140
Member Avatar for cmwhite87

Ok, so the following logs can be viewed after the install fails... I have access to the software through my University and thus am installing the software by virtually mounting the ISO file using MagicDisc. Once I do that the autorun kicks off the installer and its all downhill from …

Member Avatar for Jupiter 2
0
454
Member Avatar for elanch

Dear All, I have done a project in VBasic 10.0 for our product Design. Unfortunately the program was deleted while re-installing the OS. However we have managed to retrieve the files by using File Recovery software. [U]But now the .EXE file is working but the Vb program file is corrupted.[/U] …

Member Avatar for Jupiter 2
0
163
Member Avatar for icedece

hi, i'm trying to create an animation where an image will move left across the screen by 33 pixels at a time until it hits the other edge and goes back, however i', not sure how to write the coding for this timer, below is all i could think of …

Member Avatar for vb5prgrmr
0
95
Member Avatar for anil.dwivedi

Hi Guys, I want to convert .pptx/.pptm file into .ppsm file using VB6. As like we do Save as functionality in Microsoft Office PowerPoint Application. In PowerPoint, we open .pptx/.pptm files and then save as this file in .ppsm type. Now this file converted as .ppsm type and functional as …

Member Avatar for vb5prgrmr
0
183
Member Avatar for Jupiter 2

It's VBA if you use Excel or Word Its VB if you use Access There doesn't seem to be a forum/topic for Microsoft Products, not that I can find, anyhow, Bundling Excel into Visual Basic 4/5/6 is confusing many people, Questionewrs and Answerers. Perhaps an addon to the forum/Topic DaniWeb …

Member Avatar for Dani
0
162
Member Avatar for bprabhumdu

How to retrieve a ith place of a table using query.suppose if table has 100 records ,i want to rerieve 93rd record? . please help me

Member Avatar for vb5prgrmr
0
118
Member Avatar for Kecy

I am writing a macro for an excel document. it takes a string from a list of strings in column "R" and searches ALL through column "J" to find the string. If it finds the string, it serches the columns "L" and "N" to find out if the numbers are …

Member Avatar for Jupiter 2
0
124
Member Avatar for abu taher

I made a database project. when I run it another pc it was run. but when I see the report (in my project) it show a error msg. it is : error number: 713 application defined or object defined errro. another thing it is exe when i run it another …

Member Avatar for Jupiter 2
0
89
Member Avatar for MJ Pieterse

Hi, i need to find tutorials or open source projects to build stuff (think it will only be security, which i think that [url]www.asp.net[/url] might be able to assist me in a tutorial, but i also need something that will teach me/let me include on my site to have text …

0
101
Member Avatar for jbfsantelices

Good day to everyone...I'm a newbie here and a novice in VB6 programming... I really having a hard time formulating the correct syntax on how to merge multiple tables in Access 2003 using VB6. All the tables that I want to merge had the same fields. For example Table1 includes …

Member Avatar for vb5prgrmr
0
728
Member Avatar for abu taher

I made a project (exe). I want when a user use it , after 6 month or 1 year it will expired. I mean the exe is use for 1 year. after 1 year it will show a msg. like: demo version for 1 year. contact with author.

Member Avatar for abu taher
0
569
Member Avatar for xXxWiredxXx

data's in datagrid is not all from database/recordset.. i have 2 columns coming from a textbox.. is it possible to move all the data's in my datagrid to an excel sheet?

0
58
Member Avatar for nyt1972

Hello Friends, I am trying this code to receive SMS through my GSM Modem but I just get this: [QUOTE]AT+CMGL="ALL" OK [/QUOTE] in the text2 box Please help [CODE]Private Sub Command2_Click() Dim buffer If MSComm1.PortOpen = True Then MSComm1.PortOpen = False With MSComm1 .CommPort = 3 .Settings = "9600,N,8,1" .InputLen …

Member Avatar for VIeditorlover
0
109
Member Avatar for Bisaye

Hello I have a data which was captured through serial port I need help on selecting specific datas from the data´s captured. The data format is as follows ...‚.20D20¨G...‚B02DA,20,2,L,50.06,11.96,3.30,2.45,2.65,865,255,93,1205.008,928,P.ñ...‚ .10D30«D...‚?01DA,30,2,S,P,L,P,S,P,M,P,P,R,N,N,D,E,S,80010.,99.999,0.08333¾Ÿ...‚ .20D30Â¥I...‚?02DA,30,2,L,P,L,P,N,P,M,P,P,R,N,N,D,E,S,1457.6,99.994,0.08333.W...‚.10D31©E...‚ 101DA,31,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,M,0,1Â¥:...‚.20D31£J...‚102DA,31,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,P,M,0,1vh...‚ .10D32§F...‚P01DA,32,0,1.00,15,85,31,27,250,27.0,56,0,3,2,E,N,P,O,P,O,O,P,P,O,P,O,P,P,P,P,F1Ù...‚.20D32¡K...‚ T02DA,32,54,1.53,15,19,29,38,250,27.0,47,58,75,52,E,N,P,P,P,P,P,P,P,P,P,P,P,P,P,P,F[²...‚ .10D17£G...‚.01DA,17,50.00,0,60,-85,0êM...‚ I only need the data's of a kind B02DA,20,2,L,50.06,11.96,3.30,2.45,2.65,865,255,93,1205.008,928,P.ñ and B01DA,20,2,L,50.06,11.96,3.30,2.45,2.65,865,255,93,1205.008,928,P.ñ which are by the …

Member Avatar for Bisaye
0
130
Member Avatar for Vorpal

G'Day. If I use: aTemp=Array(Array(0,1),Array(2,3)) I can reference the elements as: aTemp(0)(0) etc. How can I create an assignment statement so that I can address the array elements as: aTemp(0,0) etc. Yes, I know that I can use multiple assignment statements, but I'm hoping that there is a way to …

Member Avatar for vb5prgrmr
0
106
Member Avatar for themaster

I am currently trying to make a setup for a project where no temporary files or any files are stored except the ones which I want to. When I run the setup the files should go to their respective locations they were in the original computer where the product was …

Member Avatar for serkan sendur
0
60
Member Avatar for asuni449

Hi all, I want to create DLL in VB 6.0 with vc++ coding. How to create ? Any help please. Thanks :)

Member Avatar for asuni449
0
68
Member Avatar for ronzoq

Best software to use: VB (version), C, other? Program description. Input: Streaming numeric data from five scanners. Program: Sample scanner input every 100ms. Build 200 entry running table. execute appx. 200 lines of logic type code. Output Motion instructions to two servos. Continuous operation with manual start, stop. I would …

Member Avatar for vb5prgrmr
0
98
Member Avatar for jlbryant0120

I have a excel sheet that has only four rows of numbers and a fith row that is the average, no big deal. see below before solver 54 53 21 62 Average = 47.5 after solver 76.5 75.5 43.5 84.5 Average = 70.0 Now i have the solver doing a …

Member Avatar for jlbryant0120
0
81
Member Avatar for love_dude1984

Hi. with reference to my previous posts, im able to write a text file with a specific values from excel sheet. i just wanted to knw how to get rid of the prompt of " there is an existing file, do you want to overwrite it ?" i tried Application.Displayalerts=false …

Member Avatar for love_dude1984
0
92
Member Avatar for Beauti

Hello Once again I must seek help from those who know what it is that they are doing and I am not... Right now we are usng Visual Studio 2005 for VB and C++ and my visual studio is defaulting to C++ upon opening the program. How do I stop …

0
54
Member Avatar for u8sand

Hello everyone. This is not really a coding problem as it is more of a compiler problem. I am making an MFC application in Visual Studio 2005. When i open up the icon, i can edit it right there in that editor. But when i do, it works fine in …

Member Avatar for GadiK
0
139
Member Avatar for monurenjith

I HAVE USED THREE COMBO BOXES IN AN APPLICATION COUNTRYCOMBO,STATECOMBO,DISTRICT COMBO . THESE CONTAINS THE ITEMS FROM A TABLE .COUNTRY COMBO IS FILLED IN THE FORM LOAD EVENT. STATE COMBO IS FILLED IN THE CLICK EVENT OF COUNTRY COMBO . DISTRICT COMBO IS FILLED IN THE CLICK EVENT OF STATE …

Member Avatar for jireh
0
112
Member Avatar for success_always

Hi guys, One form1 I have 2 command buttons - Add new record and other to view/edit existing record (the user can enter record id and click view/edit existing record button). If the user clicks Add new record, the user is taken to the next screen where the record id …

Member Avatar for jireh
0
205
Member Avatar for Kecy

Hi. There is this stuff I do everyday with ms excel that contains a whole lot of data in it. And most of the time I search for records that appear twice on the sheet. but before I do that, I'll have to sort a particular column, say D, so …

Member Avatar for Kecy
0
81
Member Avatar for ymilan

I'm writing a solitaire game in vb6 and have cards in gui on the left side of the screen lined up by suits. I have blank bitmaps on the right hand side of the screen for each suit; therefore I would drop the left hand card on the location of …

Member Avatar for Jupiter 2
0
162
Member Avatar for jabbaro

Hi I am doing a project to read the output of an instrument and store in excel sheet. I have succesfully read the data thru mscomm1 and am able to show it in a text box. The data from serial it read from 3 second in 3 second using a …

Member Avatar for jann353
0
148

The End.