12,155 Topics
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.
[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 …
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 …
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 …
The object 'lblMonYr' was not found in Data Report
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 …
some one help me with visual basic bus management system please
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. …
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 …
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 …
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.
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 …
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 …
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...
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 …
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 …
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 …
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
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. …
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 …
...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 …
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
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?
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 …
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 …
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 …
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.
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 …
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 …
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!!
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 …
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 …
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 …
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 …
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 …
I need MSDN for visual basic 6.0 in spañol, i´dont web download
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
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 …
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 …
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 …
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 …
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 …
[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
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
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.
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 …
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?
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 …
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() …
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 …
The End.