vba x 200

12,155 Topics

Member Avatar for
Member Avatar for BombAppetit

greetings I am currently working on a vision system platform that inspects the marking and orientation of ICs. I have at my disposal is a PC, PIC circuitry, motors, steppers, their respective controllers, and a monochrome progressive scan cameras. The PIC controls all the functions for mechanism as it receives …

Member Avatar for BombAppetit
0
138
Member Avatar for jbennet

Ok i need the user to be asked for a number by an inputbox (Using VB 6) and have this number checked. If its prime i want them to be told via msgnox , if not i want them to be given another attempt Any ideas?

Member Avatar for jbennet
0
199
Member Avatar for nihilks

i use ADO in VB6 to connect to my Oracle database i made a connection object 'con' and opened the database using it when i executed the statement con.Execute "insert into employee(no,join_date) values(424,'12-SEP-2004')" i found that he new record was inserted into the database(i checked it using sql*plus) . But …

Member Avatar for nihilks
0
232
Member Avatar for seibor

hi all, can anyone suggest me how to display propercase in vb eg. HELLo WOrld is Hello World

Member Avatar for Comatose
0
90
Member Avatar for stan yost

My vb 5.0 program is adding 2 identical records to a table each time I run it. Does anyone know what would cause this? Thanks

Member Avatar for stan yost
0
113
Member Avatar for LiBOC

Hi guys! I was trying to upgrade a VB 6 program that involves updating of databases through SMS by in putting AT commands through Serial port to a GSM modem(SIEMENS) There are certain syntax that are not recognised. I need to seek your kind help if there are any good …

Member Avatar for jbennet
0
95
Member Avatar for tswaters

Ok, I'm having a little trouble with the DataReport Object. It's a very simple report, showing users and their information -- but also there is one field, a Memo that is their "Comments". When the whole report is displayed, it looks much like a table with the headers showing the …

0
54
Member Avatar for aparnesh

Sometimes when I am trying to package a project, I am getting the message 'Dependency File for <some File> could not be found. If you are sure there is no external dependency Click OK' etc. Interestingly, the same setup (same set of Visual Studio CDs) installed in a different machine …

0
65
Member Avatar for Member #100915

Hi all, Working in a Pos System and using this code for print all product from the list. The code wrk fine the only prb is: The text begin printing from the middle of paper and not from the left side. Where is the prb? This is the code: Private …

Member Avatar for Marikanna
0
216
Member Avatar for bobbymusic

Hey all, my problem is when I start to compare two texts with different lenght. The point is that the texts are loaded in two RTB and I don't know how to compare them. I found that I have to parse the strings and then to compare word by word,but …

0
53
Member Avatar for Member #114696

I am Turbo/Borland C++ programmer. I could write c++ programs. However I don't know Visual C++, and I have Visual C++ 6.0. What should be my first and next steps to learn Visual C++. Are there any online eBooks and tutorials. If so please tell me.

Member Avatar for WaltP
0
127
Member Avatar for roryt

I would like to use a macro to save a spread sheet in a specific folder with the date as the file name. I have come to the conclusion that there is no way to do this in excel without using code because when the save window opens you are …

Member Avatar for roryt
0
190
Member Avatar for sugarboy rider

i have to comunicate from vb to control a nec vt480 and I have not much idea how to send the instructions correctly . Acording to the information given by nec, this are the codes to control projector: 001. POWER ON 02H 00H 00H 00H 00H 02H 002. POWER OFF …

Member Avatar for sugarboy rider
0
464
Member Avatar for stan yost

Has anyone ever had a form freeze up in vb 5.0? When I run by program the form is displayed in the smaller size and the 3 buttons at the top of the screen (the minus sign, the box and the X) are not functional.

Member Avatar for stan yost
0
98
Member Avatar for maheshsayani

Hi All I want the form look like image. I mean that the form should be shaped as the image. for example when you click on skin mode in windows mediaplayer you will find the window like head shaped. i want my form look like that Pls any one help …

Member Avatar for Comatose
0
94
Member Avatar for aparnesh

I have a project which has 2 parts - an exe and an ActiveX DLL. Earlier I could have the 2 parts running in separate instances of VB 6 simultaneously. Now when I am trying to run the exe portion from VB environment, with the DLL running in a separate …

0
61
Member Avatar for bobbymusic

In my form I have two rich text boxes.In both of them I put two different text files(.txt or .rtf).I looking for some code to compare them, and to have the result as marked differences into the second rich text box.How I have to compare them-as strings or as files? …

Member Avatar for bobbymusic
0
160
Member Avatar for elainenguyen

I am doing Acess database with VBA. I have 3 tables (you can look at the code below). The codes works when searching for records that are exist in the tables. But when I try a record that doesn't exist in the table, I din't get the warning message that …

0
84
Member Avatar for Jambar

how to update an existing databases not replacing the item just only a quantity... help me... plssssssssssss.... tnx:sad:

Member Avatar for Jambar
0
79
Member Avatar for saurabh_kanwar

Hi Guys, I just need a bit of help in VBA. What I'm trying to do is to open report from a form. The reports are based on Query. The form consists of a combo box and a command button. What I want to do is to select the condition …

Member Avatar for saurabh_kanwar
0
105
Member Avatar for aspsqlvb

Hey guys..... can someone tell me why when I pass a NULL value to this function, the logic comes back as NULL and not an empty string?...... Thanks, Ken [CODE]Public Function Field2Str(strValue As String) As String If IsNull(Trim(strValue)) Then Field2Str = " " Else Field2Str = Trim(strValue) End If End …

Member Avatar for aspsqlvb
0
175
Member Avatar for jholokai02

Below I have listed my code. I am having a problem searching through multiple sheets in an excel workbook. As of now, it will load cboPcMark with only the first page of search results. It will also duplicate a couple of them. Can someone please take a look. Thanks in …

0
63
Member Avatar for Jambar

I was going to make a program on visual basic 6 to adodc. and my problem is how to update an existing file, not replacing a file just only a quantity.. plssss help me.... tnx:sad:

0
75
Member Avatar for NewVBguy

Hello there, I am trying to connect to an Oracle database that contains 210,799 records with 50 columns. My plan here is to compare the speed between MS Access database and Oracle. Ms Access took me less than a minute to open the database and display the first row while …

0
66
Member Avatar for sys_adm

[COLOR=#555555]Hi Guys[/COLOR] [COLOR=#555555]I am a beginner at this. I have a spreadsheet that has all the customer's sales i want to create a macro that will match the product numbers in this spreadsheet to those in a template. Something like that:[/COLOR] [COLOR=#555555]IF Product Number (in spreadsheet) = Product Number (in …

0
55
Member Avatar for snaged46

Hello everyone, This is my first post on this board, I have a problem that I cant find any answers for on the web. I have a Private sub on a form, and I have sql code that draws the information that I want, but does not work when I …

0
65
Member Avatar for bybruno

hi, i have a lot of menus in my aplication now i want list all menus with the following code: [CODE]For i = 0 To Me.Controls.Count - 1 Next i[/CODE] this detect all the controls in the program but now i want know what controls are menu and others that …

Member Avatar for Comatose
0
74
Member Avatar for gdlgplic

I am just learning how to write macros and I need some help linking two If..then:..else statements. I have two drop down boxes that I want to link together. I am trying to tell it that if one statement is true then filter row else filter for criteria cell (2, …

Member Avatar for gdlgplic
0
82
Member Avatar for m3lVn!3

hi.. i need to create an input page wherein a user needs to select from a dropdown box,either single or multiple.. if the user selects single, a java function, wherein values are coming from the database, showing the values in a multiple dropdown box enabling the user to select one …

Member Avatar for msaqib
0
103
Member Avatar for Gibsob22

Hi, I'm facing a problem. I open two separate applications of Excel, one application has a spreadsheet that will run a Macro (every 10 mins. or so) and the other application has a spreadsheet that links (I think via OLE) to the spreadsheet that is running the macro. If both …

Member Avatar for Comatose
0
146
Member Avatar for Orvis

Hi, I was searching google for my problem when I found these forums. I read all other threads about my problem and I couldn't fix it. I read this thread, ([url]http://www.daniweb.com/techtalkforums/thread16027.html[/url]) and I decided that I too will post a logfile of hijackthis, to see if anyone can help. I …

Member Avatar for Orvis
0
138
Member Avatar for jakeneff

Hey all, I decided to do a Google search to find a good forum to meet others in the IT world, so here I am. I'm pretty much a forum newbie, although I've been an on/off lurker on other forums around the net: dvdtalk, anandtech, arstechnica, fatwallet... Anyway, I'm 29 …

Member Avatar for happygeek
0
99
Member Avatar for arvin2006

hello there!! i am creating a vb project, and i want that my mainform could not be minimized by any keyboard events, such that it acts like a desktop.. the program should not allow the user to enter any kind of application even if he/she presses the windows button or …

Member Avatar for sendoshin
0
313
Member Avatar for Seba Sama

i really need to get some data out from a xml and upload it into SQL. i found something about but i miss some things. [code]Dim xDoc As MSXML.DOMDocument Set xDoc = New MSXML.DOMDocument xmlDoc.Load("f:\data\customer01.xml") [/code] i don't know what reference to include, i get "user-defined type not defined" error. …

Member Avatar for sendoshin
0
238
Member Avatar for Fatshadow

Can anybody tell me if it's possible to write a program in VB that can read and edit the Master File Table of an NTFS system to restore a deleted file.... i know that it can be done in C And C++ but not sure about VB.....

Member Avatar for Comatose
0
55
Member Avatar for ruvi

I am making a short simulator on ppt using visual basic . I can't figure out how to make my comand botten fade back and not be in front but still be valid. I would be grateful for the help Ruvi

Member Avatar for Comatose
0
39
Member Avatar for amir_ct2001

i have done project in vb with access . i wish to create setup files for my project.how can i create a complete package including exe and all supporting DLL files

Member Avatar for WaltP
0
131
Member Avatar for stackOverflow

Hello everyone, I have to learn vb and complete a project in another 2 months. I have no experience in vb. I have no idea which books to refer for learning. I need it from the very basics. I'll be glad if you all can suggest some books or any …

Member Avatar for sendoshin
0
176
Member Avatar for adaids

Cause im doing a game so i want to reset the game.. what will be the code so that i can reset all the game and make it like if it was just opened?

Member Avatar for sendoshin
0
2K
Member Avatar for Toulinwoek

If you are really completely new to programming, or if you have done a little bit of programming some time ago, you might be interested in using the [B]Visual Studio Express Edition[/B] products. However, even though Microsoft says these products are aimed at novices and hobbyists, their definition of "novice" …

Member Avatar for Toulinwoek
0
118
Member Avatar for arvie

i have this project in c++ and i want to incorporate it with vb. what i want to happen is that when i click a command button, my .exe file will be opened. I used Shell "C:\........\prog.exe" it did open my .exe but my desired output didn't display. I was …

Member Avatar for arvie
0
102
Member Avatar for salim

am trying to delete a record but I have this message: Microsoft OLE DB Provider for ODBC Drivers error '80040e14' [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'ProductID = , 1567'. /salem/pages/fresh_food/TMP3rfr35u5pa.ASP, line 74 I looked at the meaning but so far I can't see that …

0
85
Member Avatar for spacepoet

Hi: I just join this forum and am new to asp so I'm hoping someone can help me with this issue. The email form works great, it's just one issue I can't figure out. What I'm trying to figure out is, when the user fills his/her email in the Email …

Member Avatar for madmital
0
876
Member Avatar for Roberdin

I'm using Visual Basic 6.0 Learning Edition. Does anyone know how to set an Icon for my program (other than the default)? When I click the '...' and then choose an Icon, it claim's I have 'set an Invalid property value'. Can anyone help with this?

Member Avatar for WaltP
1
518
Member Avatar for M. Nicholas

[COLOR=#000000]I need help with VB in a MS Word 2000 macro/form, hope I’m in the right place.[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]We have created templates (with help from a VB 6 programmer) that have a form to fill in information on the word doc. I need to make a major upgrade (the …

Member Avatar for Comatose
0
153
Member Avatar for stan yost

I am trying to refresh a data control but I keep getting the following message no matter what I try: Run-time error 3464 Data type mismatch in criteria expression. If I leave the where clause out I don't get the error message. [CODE]Private Sub cmdseektask_Click() Dim strsql As String, temp …

Member Avatar for stan yost
0
264
Member Avatar for GliderPilot

Hi there :) My name is Chris, and I am from NS, Canada. I'm a programmer by hobbie and spend a lot of my spare time doing programming. As well I do volunteer tech support for an online voice-video-chat program. I decided to join these forms to be able to …

Member Avatar for happygeek
0
53
Member Avatar for Suraj Shrestha

I am trying to make an interactive seial communication program in Visual Basic but getting problems a lot. Could you please help me in this matters as I am doning small project in this and urgent as well. Thanks in advance

Member Avatar for embeddedravi
0
81
Member Avatar for jimclark1947

Hello, I am brand new to Visual Basic, having done some programming in Basic many years ago, so this environment is all new to me. I am creating my first project that involves solving a simple math expression. When I attempt to debug I get the following warning message, and …

Member Avatar for Comatose
-1
1K
Member Avatar for yeya

Hi, I'm doing a VC++ project, which requires me to create multiple CWnd objects and put them into one dialog box for viewing. For example, I need to create 100 buttons with 1-100 written on them, and put them into one dialog box. Of course the dialog box can't show …

Member Avatar for Ancient Dragon
1
106

The End.