12,155 Topics
i have a array called arr() of type byte. one of my function returns an integer long value(val) 4 bytes. i want devide this value into bytes and assign to arr() that is arr(1)=first byte of val arr(2)=second byte of val arr(3)=third byte of val arr(4)=fourth byte of val thank …
Hey guyz Herez the prob, I got two dropdown list in EXCEL. to copy them to another excel doc is a peice a cake but the prob is I want to change the format while copying. List 1 has course curricullams and list two has course titles. now many courses …
Hi, I am pretty new to Visual Basic 6 and I'm having a problem with a small program I'm writting for fun. Now when I do the following: [code]If ClockTime = #6:52:50 PM# Then [/code] The whole code works 100% find and dectect that the time has hit that time. …
bottom here is my asp coding, for connecting to mssql2005 i know how to connect to mssql by vb using the com+. but i want to try using the database connection on asp page. [code] <%@ LANGUAGE="VBScript" %> <% Option Explicit Dim UID, SQLStmt, Connection, FirstName, LastName Dim RS, SSN, …
Hi I am a new user of VB (or any prgramming for that matter) and keen to learn. A very simple example of what I was looking for was the code for a button to open another form. Does anyone know where I can access simple event proceedure codes - …
Hi guys, i have a problem in vb6 . lets say i have a command button named print in form1 then after clicking the print button it will transfer me to form2 which will control the number of copies,quantity and these things of printing options. The problem is how to …
hi its me again... can someone please explain what a class can do? how to call a class? or if just give me a good link where i can refer to it. thanks a lot.
Hey guyz I got this search macro from the web for my excel project but as Iam a beginner i really dont know how to modify it. I need to use this search code to identify and retrieve documents for that its going to scan through a especified location. I …
greetings i'm currently working on my Form in VB6. it has a list box that i use to display table. How do i display table from a different database? i did it before by modifying row source property in VBA, but that only works if the form is part of …
well, actually i am new with vb.net just asking the correct steps for generating dll from vb.net in vb 6.0 -> i just click the button compile to 'something'.dll in vb.net -> by building the project however, after i generated the dll (vb.net) i can not add them into component …
I have a question, does anyone know why "Div/0" error comes up in VB? My program reads/writes to several files. On my computer and one of my friends computer, it works perfectly; though there are some desktops machines that I receive that error. When I step through the program to …
hello sidekicks, I want a sample code for How to call Crystal report version 11 throubh Visual basic 6.0
how to draw polygon in visual basic ,translation and rotation of the polygon in visual basuc help me
Hi, When I run an application written using VB6 and MS Access 2000 in Windows XP and Windows 2003 server,the system will prompt illegal operation (sslstbar.ocx, ssdw3a.ocx and ssdw3b.ocx) and the program will hang. Hope anyone can guide me to resolve this problem soonest possible. Your help are really appreciated. …
i need some help over here, as i`m quite new to this program. i have some problem over on how to create. i need 1 tab to be on the screen but inside the tag i got 2 button. the button is auto add on whenever i do update on …
Hello How to produce daily sales for each item in a month of a shop using dbgrid. It should give how much numbers sold for each item in every day of a month. Pls help
I'm using VB6 as my frontend and MSACCESS as backend. I have a field in tblHistory named "payperiod". I have put text in this field. content of payperiod: JANUARY 1 - 15, 2006 JANUARY 16 - 31, 2006 FEBRUARY 1 - 15, 2006 FEBRUARY 16 - 28, 2006 and so …
When I put a 'type' statement inside a procedure, it tells me invalid inside procedure. When I move it to the declarations section, it tells me invalid outside procedure. Help ... Where's the middle ???
Hi every body Can you please fix me errors. Here are my codes and errors incountered #Stage1 I want the user to type in the file path to txtpath.Text and a text input to be appended to that file be written in txtwrite.Text The error: Run Time error ->path not …
Hello All I have problem in database management in vb6 using access database. I have created small code library to store code snippets. When i add new code to database then size of database is increased.This is normal. But whenever i remove some code from my database then size of …
Hi Every one I need some help with excel macros. I am a beginner so I dont know much about writing my own macros but what i need is a macro that can read a particular cell's contents from an excel sheet then search in the directory tree and retrieve …
[CODE] Function CheckWord(ByVal Wrd As String) As String Dim i As Integer Dim Pos As Integer Dim Found As Integer Found = 0 For i = 1 To 26 Pos = InStr((Word(i).ToLower), Wrd.ToLower) If Pos <> 0 Then CheckWord = Word(i) Found = 1 End If Next If Found = …
Hello...:rolleyes: I know that you have done some work in the speech recognition field,do you know anything about testing for the presence of a sound. This would enable me to do extra processing when it was not recognised. are there facilities to manipulate the sensitivity of the word recognition? i …
Dear All, I have an application witch get real time data and update itself like STOCK MARKET trading terminal. I want to capture real time data and store it in a text file. Please help me in this regard Thanks:sad:
Hello. This is a very very basic question about variables in range names. I have quite a few ranges of varying lengths in multiple Excel documents. I want all the ranges standardized and set to the same length, but I don't know what that length will be yet, and it …
Hi everyone I have a table with 3 columns pk_itm_code name fk_code The pk_itm_code is taken from another master table. Now my requirement is automatic generation of fk_code fk_code = pk_itm_code + "PT" + random generated no. (startin from 1) If the user selects same pk_itm_code 2 times then the …
hi all i want to learn more about DLL and ActiveX control I Want the link of any site which offers learning about dll and active x in vb with Examples and demo to how to create then in step by step process Please Any one can help me in …
Hi All I Want To Create Semi Transparent Forms I Had done work on Transparent forms but i need semi transparent form which we can see background text/image through this form in vb please send me the solution for this
Good Morning All, I am having a major issue here; for some reason the line of code below works and sometimes does not work. When it desides not to work, it leaves a mess in my excel sheet. [code] Range("A1").Select ' This just goes to the upper left corner of …
Good Morning Guys, I am trying to copy a selected range from worksheet (or copying the whole worksheet) from file A, create a new workbook(name it and rename a worksheet in it). Then paste copied worksheet or range into new workbook. Please let me know what code to use, thanks. …
Hi I am a newbie to this site. I have been in web development for 12 years now. I am now branching into software and having fun learning VB scripting.
erm.. greetings again i have this database system using access and i need to look through another remote computer for files using Remote Administrator 2.2. how do i get started? as in to run the application and searching through folders in remote computer to get a certain txt file.. thats …
Hi, A program I am writing has the user entering values into textboxes then clicking an 'Add' button. Once clicked one of the textbox values appears in a list box. e.g Job Number, Data Filename, Unique Code The Unique code is displayed in a listbox. All three values are stored …
Would anyone know how, if it's possible, to pass a user defined type through a network connection say using winsock? For example: [CODE] type tExpl name as string address as string phone as string end type dim myExpl as tExpl winsock1.send myExpl [/CODE] As far as i know, winsock only …
Have been asked to convert a set of programs from QBASIC to VB6. Any real pitfalls that i should watch out for? FWIW, my BASIC experience is mainly GW-BASIC and earlier. And yes, i WILL be RTFMing. tke
Hi there, I am Embeza from ethiopia,Mekele Here i got a problem! It says " file path not found" while i was working on vb 6.0 in my lab on files the following was my code and can you fix plz [CODE]Option Explicit Dim var as string Dim inputFile as …
Hi, im having trobles with excel how I can chance the color of the text in a specific cell from vb?? any help??
How can one use a Rt box to display formatted text. Imean to display different texts colors,size location and data from records:?:. Even images. Please help. I mean a texbox like this one
Hi All, Please help me in printing Visual Basic 6.0 form directly to the printer. I am using 'PrintForm' method of the form to print a form. I took the height of the form in pixels i.e. 17000 pixels, normally the default size of a form will be 9000 pixels. …
:?: Hi, I am wondering how to create a mini-program in visual basic that will place an icon in the task bar(where the startup icons are.) :?: Thanks for the help :!: jchaike
Hi There, Can anybody help me with the following: 1. I am trying to open an excel file using adodb connection but i got a run time error on the rs. open. Here is my code Dim cnn As New ADODB.Connection, rs As New ADODB.Recordset cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\temp\XLS.XLS;Extended Properties=Excel 8.0;" …
Hi all, I am doing one Hotel Management Project There is one EPBX and all the Telephone calls information regarding roomno and telephone no and call cost will stored in that machine which can be connected to system by parallel port The Concept is When the Customer Is Vacating the …
hai all, i have created a vb project in vb6 and reports using crystal report 10. my query is follows. in the project there is a form contains a combobox and in it i load the list of faculties from the faculty tabele at the time of execution. my requirement …
dear all, i craeted a Vb6 project and desinged report using crystal report v10. now i want to call the report from VB6. one of the members suggstion he says that "place the crystal report control and select the report name" but where i get the crystal report control? i …
Hi, I've been looking for a solution to this all over the web, and although I've found some approaches to it, none of them seem to really answer my question. Basically here it is: I currently have an application with a GUI in VB6. It's a pricelist Inessence, and the …
Hello all I need to solve a equation using excel solver from visual basic 6. i did it manually in excel and recorded tha macro. however when i trid to automate excel using vb, an error message is displayed. it highlights the solverok function and says function not valid. can …
Hello everybody, how can i import a text from notepad to a text box?:rolleyes:
has anyone ever really worked on Cubes i gotta come up with a cube and a number of virtual cubes asap
I need a function to draw a park with any other control. I have a database with 25000 which is divide by garden, section, and page with these parameters I make a query to select a number of records. then I need to draw each record with a textbox or …
hi there i am trying to write a general formula function in vb6 forexample a = 40 b = 50 c = 60 i need to evaluate the string "A + B + C" which has to return the summation of the string in terms of value can some one …
The End.