vba x 200

12,155 Topics

Member Avatar for
Member Avatar for snehalj

above code not working, y is 2010 and year0 is also 2010, as per my knowledge Equal should be displayed as output, but the condition does not get equal. Pls help me for this.

Member Avatar for snehalj
0
581
Member Avatar for cristina06

[CODE]Public Sub DisplayData(strArray() As String) Dim intPerson As Integer For intPerson = 1 To mintNumPeople Cells(2, 1).Value = strArray(1) Cells(2, 2).Value = strArray(3) Cells(2, 3).Value = strArray(2) Cells(2, 4).Value = strArray(5) Cells(2, 5).Value = strArray(4) Cells(2, 6).Value = strArray(6) Next intPerson Cells(intPerson + 1, 1).Value = strArray(intPerson * mintDataPerPerson)[/CODE] I'm …

Member Avatar for cristina06
0
255
Member Avatar for Vast

Hallo. I`m trying to find a firefox browser control that I want to use in a browser game. Is there any place where I can find such a control, and how can I emulate the firefox browser? I must also implement cookies in it for security purposes. Thanks for your …

Member Avatar for AndreRet
0
96
Member Avatar for Vast

Hello. I need some help in deducing time in a game. The current time is (06:45:10) I have two fleets that is send to attack a planet. The first fleets arrival time is known (10:31:15) 24 hour format The second fleets time to get to the target planet is known …

Member Avatar for AndreRet
0
99
Member Avatar for aslamsadia
Member Avatar for enong

huy guys, iam Newbie. I am using visual studio 6.0 when I would run the exe file an error occurred :>> [B]Setup was unable to create a DCOM user account in order to register ‘C:\Program Files\Microsoft Visual Studio\Common\Tools\VS-Ent98\Vanalyzr\valec.exe'[/B] I have remove the program up to 3 times, but i still …

Member Avatar for AndreRet
0
166
Member Avatar for tyras
Member Avatar for AndreRet
0
123
Member Avatar for johntech2001

I am working through the book Beginning Visual Basic 6 Database Programming by John Connell. I have finished the section on Building a Data Control Class Module and have created a nice Book List program for my wife. I am using the DAO database control as shown in the book. …

Member Avatar for AndreRet
0
628
Member Avatar for VB2008beginner

I add connections in server explorors. Then, I use AdventureWorks Person.Contact to set up a query by searching peter and mary ,but how to add it on form 1 ? and I type part of their names and by the way how to link a "VB label of text" or …

Member Avatar for lolafuertes
0
219
Member Avatar for jimbennett57

I'm a newbie to SOAP, and have been searching for an answer with no luck. Hopefully someone can help me out here. I have a VB script which successfully retrieves a SOAP response (xmlhttp.responseText). I can see the response with WScript.Echo, save it in a variable or can save it …

Member Avatar for jimbennett57
0
606
Member Avatar for sureshprg

Dear all, I need to send a string value along with an 'Enter' keystroke from an active form to a multi-line text box in an inactive form. Tell me a way to do this in VB6. Thanks.

Member Avatar for PoisonedHeart
0
155
Member Avatar for micahgeorge

I am very new to c# and i want to learn it......is there is a good tutorial to learn visual c# 2010 express for desktop apllication. And I wanted to to create a code(c#)to display total elasped time as a label when the user clicks an evaluate button (add or …

Member Avatar for micahgeorge
0
167
Member Avatar for lady_lily

hello anyone, hope you could help me, im working for my project a mini system in title Test Banking system, definitely its an examination system that might use at our guidance office for students to do their entrance examination. Im just beginner and doesnt have idea on how do i …

Member Avatar for AndreRet
0
304
Member Avatar for asaness

hello there! is anybody to help me in my program... my problem is how to hide application in process list in a task manager??? thanks...

Member Avatar for AndreRet
0
102
Member Avatar for Roses89

Ok guys, im here with a problem The thing is that ive created a website for a doctors hospital.Now the admin staff are allowed to create new patient and add new staff to the database. I have two databases right now.The aspnet membership data base and another one that has …

Member Avatar for kvprajapati
0
147
Member Avatar for Wesley80

this windows application finds the amount of your pay if your pay is doubled each day, starting with a penny a day or a nickel a day. Instead of one month's salary, a boss offers her new employees a penny the first day and experienced employees a nickel the first …

0
61
Member Avatar for DCYPHER

Hi, everybody I wonder if you can help me with a program in visual basic. I have to write a program that does a count down on the number of seconds you entered in the GUI I have most of the code and it basically has to countdown the seconds …

Member Avatar for AndreRet
0
136
Member Avatar for George Jump

Hello - I have been searching to no avail for a clear and concise definition of VB6 Classes and Class Modules with perhaps some simple examples. Does anyone know where I might find this??? Thanks! George

Member Avatar for AndreRet
0
164
Member Avatar for TechSupportGeek

Hello world of DaniWeb, it's been months since I last visited this forum but here I am asking for your help again :) I've been developing a text editing application and my problem is that the RichTextBox control will "lose" all special formatting (like font, color etc.) when enabling WordWrap. …

Member Avatar for TechSupportGeek
0
224
Member Avatar for syd_master

when i run my code...this error come out [QUOTE]"data type mismatch in criteria expression"[/QUOTE] here my code: [CODE]Private Sub Text2_Change() TXT1 = "" TXT1 = "SELECT * FROM Profile WHERE sID =' " & Text2 & "'" If RS.State = 1 Then RS.Close End If RS.Open TXT1, Conn, adOpenKeyset, adLockOptimistic …

Member Avatar for AndreRet
0
342
Member Avatar for sti

...will you pls help me with regards about my project.. it was a database and i've already created a form (user interface form for inputing data) with visual basic 6.0.. my prblem is, if the user wants to edit the data he entered how does he do that?.. send me …

Member Avatar for AndreRet
0
175
Member Avatar for locsin

Greetings Anybody know how to change the position of form controlbox(Minimized, maximized, close) button. Original location is on the top right of the screen. I want to relocate it on the top left. Thankyou in advance

Member Avatar for AndreRet
0
119
Member Avatar for dbirely

Using Visual basic 2008 is the following possible if so how? Min Pts..............Max Points...........Grade 0.....................299..................F 300...................349..................D 350...................399..................C 400...................449..................B 450...................500..................A using two one dimensional arrays (min pts as int and Grade as string) in parallel, can the range of 0 to 299 return F, 300 to 349 return D ...etc?

Member Avatar for dbirely
0
151
Member Avatar for Dr.Del

Hi, I am a pastor of a small church. I am 67 years old. I am trying to learn to program an address book for our church lay people. I am using the a book titled, “Beginning Visual Basic 6 Database Programming” by John Connell. I managed to get along …

Member Avatar for Mohidul
0
215
Member Avatar for nagatron

The traditional way of displaying a file in a fileListBox is by using DriveListBox, DirListBox, and FileListBox. I would like to know how to show files on FileListBox by just using DriveListBox. Let say if I choose C:\, all the files on drive C: with a .ico, .dll, .exe, .ocx …

Member Avatar for nagatron
0
162
Member Avatar for exception

I used VB a long time.. i never manipulate a Class.. I just want to know what is the concept in using a class.. because i already graduated in an IT course, and then im eventually working with VB with a back-end SQL Server 2000. when i look at their …

Member Avatar for sajan666
0
102
Member Avatar for Kalusingh

Please help me in the following matter:- vb6 Ado database connection vb6 Ado recordset connection show record add record in database delete record from database edit record from database find record from database and all sort of ado connection and add record in datagrid Please give me solution.

Member Avatar for kinwang2009
0
294
Member Avatar for eantz

hi, I just want to start an application with vb.net I have enough basic knowledge in vb.net And now I want to try use alternative UI for my application. For example I want my application look likes office :) or I want a better tab control So, where can I …

Member Avatar for kvprajapati
0
171
Member Avatar for Priyanka88

Hello, I am using vb6 as front end and oracle as back end. i want to insert new row in database using adodc. i put adodc1.recordset.addnew on command's click event....do i need to mention adodc1.recorset.save or adodc1.recorset.update? and while executing the code text boxes are becoming blank whenever i goto …

Member Avatar for AndreRet
0
827
Member Avatar for lulus

i´m trying to transfer the info that appears on a textbox to a label in another Form. I wrote this: Me.form9.label5.text=Form2.textbox3.text could you please help me thanks!!

Member Avatar for AndreRet
0
114
Member Avatar for auxius

please help me.im using vb studio 2010.my problem is that when im trying to save a data on the database access .accdb it wont update the datagrid on my main form..it only update on my CustomerInfoForm where you can input New Item info and a Datagrid but my Datagrid2 on …

0
83
Member Avatar for auxius

hello please help me. i want to search a data using from a textbox and a command button to search ..I have a i have a access database and 1 table with 2 fields ID and Name..im using Visual Basic 2010..please help me on second thought after finding a data …

Member Avatar for auxius
0
78
Member Avatar for bobymathews

In php we use the following code to block the url link passing via text boxes or textarea on form submit(For avoid bad link passing from contact us form ).Is there any methode like this in classic asp using vb. if($_POST['Register']) { $username=$_POST['username']; if (preg_match('~(?:[a-z0-9+.-]+://)?(?:\w+\.)+\w{2,6}\S*~i', $username)) { die('Access Denied Avoid …

Member Avatar for achinaseller
0
143
Member Avatar for Intrade

What I want to know is if I can call a function defined in a C++ class in Visual Basic through a .dll generated from VC++2010? Is this possible, or do I need to define the .dll with C++ raw functions outside of a class? For example, my class looks …

Member Avatar for Ancient Dragon
0
283
Member Avatar for shabadoo

I'm am very new to vba for excel and having a hell of a time with it. I am trying to create a program for small business that will be used by admin and managers to quote jobs, check/update work schedule, check inventory and such. I have a main workbook …

Member Avatar for AndreRet
0
129
Member Avatar for danielpoche
Member Avatar for AndreRet
-1
57
Member Avatar for pardeep3dec

Dear Sir, I need a process for monitor internet's downloaded/uploaded data on net by any web browser and save bytes information to any .txt or .mdb file. Thanks & Regards, PARDEEP

Member Avatar for AndreRet
0
89
Member Avatar for keedier

hi there... i am very new (and i mean VERY NEW at visual basic) programming, lets just say this is my 5th hour (and counting) learning programming, i googled since hour 1, i even read almost all i can read while im installing visual studio 2010 coz i really want …

Member Avatar for codeorder
0
256
Member Avatar for jjemphoung

GOOD DAY! I am working with a project and i need to have a back up database feature. how can i do this? I've read a lot of forums and they suggest to use SQLDMO but when i test their codes its either generating error or does not create the …

Member Avatar for AndreRet
0
70
Member Avatar for Storyahe

I'm creating a library which when everytime i add new book, i always get the [B][B]'Update or CancelUpdate without addnew or edit[/B][/B]'.The condition is when the user inputs a new ISBN that is already in the database, the message box will prompt as "That book is already listed!', else if …

Member Avatar for AndreRet
0
526
Member Avatar for Mr.BunyRabit

Hey There, its Ruan. uhh, i need help, as i did indeed hit a brick wall. at the moment, i can connect to a database through textboxes, ill put the code at the bottom. What i want to do/know, is, How or What is the code or manner to read …

Member Avatar for Mr.BunyRabit
0
139
Member Avatar for sneha sirohi

hi friends, i am newbie for vb.i made a program in which i want to use two forms.i made two forms and wrote code for two.in form1,when i am clicking ok next form should appear so i wrote like-" // Private sub ok_click() Form2.show End sub // now the next …

Member Avatar for Bukho
0
1K
Member Avatar for lounestor

[CODE]=if(J39="incomplete",""if(j39="complete",Now(),J39)[/CODE] this updates to the current date but i want it to save the time do static once it reaches complete. I would much appreciate the help thanks Louise

Member Avatar for AndreRet
0
127
Member Avatar for nagatron

Hello to all, I would like to ask if it is possible to transfer a text from a VB textbox to HTML textbox? If it is, how? Thank you in advance. Regards; nagatron

Member Avatar for AndreRet
0
212
Member Avatar for hanes84

Hi anyone can help me edit VB6 code to VB.NET code cause i have been working on it and still can't get any thing on it. there are some code which cannot be recognise by .net pls help.

Member Avatar for bagraoprasad
0
269
Member Avatar for noraz

Hi, I'm building a small information retrieval (IR) application using VB6. I'm stuck at calculating the tf.idf part. I've google for the solutions/codes, but didn't find anything in vb6, except other languages such as phyton etc (which I'm not familiar with). I'm also a beginner programmer in vb6. I've looked …

Member Avatar for noraz
0
577
Member Avatar for toffeecaliliw

please help me, im adding an information in database with txtboxes and comboboxes. the error appears as "this action was cancelled by an associated object". how can i fix this error?

Member Avatar for AndreRet
0
81
Member Avatar for noraz

hi all, just want an opinion from all of you out there on how to do descending sort. I got this sort example code from the net but it does ascending sort. Is the a possibility that if I change a few line inside the code it will come out …

Member Avatar for AndreRet
0
135
Member Avatar for JamStar

I Have To Write A Pseudo Code For A Unit Converter. I Have Written The Program Already But I've Not Really Written One Before. It Converts Miles To KM: Dim DataIn As Single Dim DataOut As Single Dim ConversionType As String Const M2KCoefficient As Single = 1.6 Private Sub UserForm_Activate() …

Member Avatar for AndreRet
0
586
Member Avatar for jogieglenmait

how can i put data from an access datafield to a datacombo?so that each time i click the data combo it will show the data that is stored in the access file it is connected. here is my code: Private Sub cboCustomerID_Change() On Error Resume Next If blnID = True …

Member Avatar for AndreRet
0
292

The End.