12,155 Topics
In the first column of my grid I don't want any lines between the rows(in the other columns I do want them) How can I do this?
Here is my code, it works when I leave away the line in bold, I can't figure out what's wrong with my line in bold, I've been checking my database so many times already, can you help me [QUOTE]With gridMieter .Cols = 5 .TextMatrix(0, 0) = "Frist_id" .TextMatrix(0, 1) = …
I'm an aprentice to VB,but have a little knowledge and interested in doing experiments. What i want to know is,how to get the time difference? text1.text includes the 1st updated time and text2.text includes the 2nd updated time.text3.text must be the difference between two times. please teach me to do …
Hi Guys, I am a newbie and need some help. Is it possible to extend the message box functions to include buton "Yes to all and "no to all" in vb6 Kind regards
I'm building a dynamic form with radio buttons. These radio buttons will hold values that have specific email addresses of respective people in a company. here is the html and asp code shown below: <FORM METHOD=POST ACTION="mailform.asp" ONSUBMIT="DoctorElements();"> <INPUT TYPE=HIDDEN NAME="urlSendTo" VALUE="/suggestions/thankyou.htm"> <INPUT TYPE=HIDDEN NAME="urlFromPath" VALUE="/suggestions/default.htm"> Name: <INPUT TYPE=TEXT NAME="txtUser.Name"><BR> …
hello every1, it really makes my mind :confused: about converting sytaxes especially when converting DAO coding to ADO.. for example in making a Login form, usually you can see sample Login form in the net, but most of them is made of DAO, and i cant use DAO ,since im …
Greetings! Anybody know how to save database file into a text file. What i mean to say my program works fine to save data into a MS Access database file. I'm trying to save this file also into a text file ".txt". And also, how to extract or open this …
I want to ad an .dll procedure to my VB application but when I try to run the dll I get the error message 453 can't find etc. The code is Private target As Integer Private solutions As Integer Private mode As Integer Private Type dealstr trump As Integer first …
I am trying Ms flex Grid attached with combo box. Can anyone give me source or soloution.
Hello there, i just need your opinion about this...i have now database and all i need to do is to connect it on this page..my question is..where i should put the code of connecting this page to my database that has a column of "ID" and "Password" and it has …
Well I'm quite a noob programmer, but I wonder if Microsoft Visual Basic 2005 Express edition programs in .NET or in VB 6 (This might be a really silly question) Thank You.
Visual Basic coding for excel database - am tearing my hair out! I am trying to build a database in Excel 2002 / Windows XP. I have 5 columns starting from row B they are as follows.. TITLE/ PUBLISHER / YEAR OF PUBLICATION /DATA TYPE /ELECTRONIC /HARDCOPY /DESCRIPTION /WEB LOCATION/NETWORK …
can anyone provide me with the script for extracting columns from a text file. the script needs to be in visual basic
Hi, I'm trying to copy shapes from 1 sheet to antoher. In the first sheet there are 2 buttons which I do not wish to copy and multiple screen shots that I do. How do I build a shaperange that includes all shapes except the 2 buttons ? cheers, Paul.
I have been receiving the 'Error on Page' indications when I access a number of different websites for about 4 months since I set up a new computer with Windows Vista and IE7. The detail error message shows the error - Class doesn't support automation. I have searched everything I …
When I try to run this I get a run time error. Can someone tell me how to get rid of the error? This is due Sunday by midnight so the sooner I get help the better. Thanks, Ananda (Uh-non-duh) [code=syntax] 'Ananda Bennett '10/26/2007 GOTO [getInput] GOTO [assignRiskCode] GOTO [determineRisk] …
I already made the calculator, but I'm trying to also put the function used in the textbox results. Example: 2 * 2 = The function used was multiplication. Your answer is 4 I used labels to identify -, +, *, / Two textboxes to put in input. 1 textbox for …
Hie, i am writing my 1st programme form to automate a frequent task. Attached is my current form. 1) open a file & sort necessary details which will be saved in a designated folder in C drive. 2) show sorted files from C drive. 3) further select & segregate files …
I am new to programming in VB. I want to know the steps for connecting Access2003 Database to Front end, Visual Basic 6.0. please help me out to resolve.
i have a problem with my code... i use this code to open an excel and manipulate the data [code] Dim xl3 As Excel.Application Dim xl3sheet As Excel.Worksheet Dim xl3wbook As Excel.Workbook Dim FilNam As String Me.CommonDialog1.ShowOpen FilNam = Me.CommonDialog1.Filename If Me.CommonDialog1.Filename <> "" Or Me.CommonDialog1.Filename <> ".xls" Then Set …
I tried to write a basic calculator program, Visual basic finds 1 error. I cant find it. Please help. I am kind off new to programming. [code=c++] #include <iostream> using namespace std; int main(void) { system("TITLE calculator"); system("COLOR 9"); char cChar; double dfirstnumber; double dsecondnumber; char cDoagain; do { system("CLS"); …
Hello there, Im writing a small VB application that has a lot of IO with Excel. I search through xl sheets and read cells etc. reading and writing individual cells from/to excel is very slow from VB. In order to WRITE an array to EXCEL I use a syntax that …
Howdy, I need to pull database information into an XML defined form. One of the db fields has to be contained in a CDATA node. This line of code returns data, no errors [code] <HTMLCONTENT type="html" width="400"><![CDATA[<body><p>]]><%=aContent%><![CDATA[</p></body>]]></HTMLCONTENT>[/code] It works until I try to use it within an application which uses …
I've got a problem with Word. My program can open Word, put text into it, save it and close it. But if I try to use Word again (without closing my program) I get an error... Run time error '-2147023174 (800706ba)': Automation error The error that is highlighted in the …
// sorry i accidentally posted this in VB.Net earlier.. in case you saw it before. thought i'd make a program for fun.. although to be safe im cutting it up into many forms to save room. Anyway doing this means im going to have to get alot of the variables …
i have a global variable that is of type date. [code] public r_date As date [/code] i use it in my program and once i'm done with a single operation,i'd like to flush away the value inside the variable.if the variable is of type integer,we can just do [code] r_date …
Here's the situation guys, I make a program that only in one computer the data will be saved. what I mean is I put this program in two or three computers then one must be the "server"? Can you guide me how to do this... here's my code to connect …
Please give me some suggestions while the code gets that error when i run it. Private Sub cmdRectangle_Click() Dim Speed, r As Double Dim x1, x2, x3, y1, y2, y3, z1, z2, z3 As Double Dim NewValueX1, NewValueY1, NewValueZ1, NewValueX2, NewValueY2, NewValueZ2 As Double If Text1.Text <> "" Or Text2.Text …
Ok I mainly use Liberty BASIC, which is very, very similar to Visual BASIC, and I am having a hard time with a program. I made my program take a user's input, and save it in a text file, like so: Username=Name,Phone#,Email John Doe=John Doe,000-0000,email@email.com But that isn't my problem. …
Hello.Help me to understand. Using Immediate Window of IDE Microsoft Visual Basic,calculate values of following expressions on the base bit-by-bit operator Or. In Immediate Window I'm writting following ?2 or 3 [Enter] 3 Result is 3. Is it so? Thanks.
elow, can any1 tell me whats the code for deleting a record in a database?? or deleting a row? my table is consist of fields.. lecID arlNumber arlLec arlPart thx in advance to,
Help me on this, I'd like to know how to use SQL in VB?
umm is there any1 who know how to connect microsoft office words to VB.6?? then after i wanna save the text ive type on the Words(which is connected to VB, and is running inside my form) to a database? is this possible?? if it is , pls help me how …
Hi Friends, I am a BSc IT Student. I have to make a project, with VB6.0 as front-end and Oracle 9i as back-end. I would like to know :- a) how to connect the text box, combo box etc... to Oracle database. b) how to insert data from VB form …
Hey everyone, I am a php programmer originally and am just helping a friend of mine update their website that they paid a designer (well that's what he called himself!) to do ages ago. I have built the whole site but am having problems on the most basic thing! I …
Actually in an application (VB 6 & CRYSTAL REPORT 8) I got a problem with RTF Export option. The settings (Tab settings, Paragraph settings etc.) got changed in RTF file. One more thing is that, user can edit the RTF file. So I need to export CRYSTAL REPORT to PDF …
Hi, I have a form of variable height. When the form grows in height I have code that verifies if the bottom of the form will come below the bottom of the screen and, if so, moves the form up - no problem until here. However, some of my users …
hi.i need to use form names as i want to refer certain controls in certain forms to other forms.i want to retrieve the form name and store it in a variable. for example : i declare a variable [code] public fname as string [/code] then i retrieve form name and …
thought i'd make a program for fun.. although to be safe im cutting it up into many forms to save room. Anyway doing this means im going to have to get alot of the variables from the forms back to the original page, and then back to a different form …
Public tom As Integer Public dick As Integer Public Harry As Integer how can I point to Tom, Dick And Harry in a for next loop.
Hello to all. I have a project which is scheduling system using vb6. I can't or don't know how to find the time conflicts of each subject at the given day and given professor. For example user select the section name then a combo box for selection of subject then …
how can i export a database from access to excel but in a tabular form(calendar form)?tnx!!!
hi everyone, i'm new to programming and will like to know how i can run my vb/access application on a server? Thanks for your contributions.
Hello All buddys, I want to call a Control Panel Extension From A Visual Basic 6 Program i was tried that with Shell but it does not work Example: Shell "mmsys.cpl" So have you any method or Code to do that for me i will be thankfull for Help
Can a VB6-SQL2000 softwre can execute in WAN network.How it is possible what is the procedures to create a WAN network
i have load two data files into a mysql table.now i want the compare the data from these two files (i.e want to compare a particular column of the table and want to get the difference between the values from these two files). i dont know how to do this.can …
Good day. Language is VB6 (service pack 6) I have for a while been having a problem that I've tried (unsuccessfully) to get answers to on the Forums (should that be fora?)online. When I want to send graphics to the printer, I can use the common dialogue box to open …
How can I enlarge the size of the letters that will appear in a pictures box?
ok, i need a way to make an invoice. i have a products table with the number the name and the price of all my products and need to add only the products I want on the report, not all of them but more than 1 ......
How can i create a table with my desired fields in a existing access db using vb? What should be da code? Example will b appreciated.
The End.