10,989 Topics
| |
The following code comes up with a number that has 13 digits past the decimal point. How can I cut this down to 2 decimal places? [Let drivetimeexpense = (rstdrivinginfo.timefromhome * rstdrivinginfo.numberoftrips * 2 / 60) * 20] | |
hello all i m having a really silly problem. i have written some codes with mscomm, but i dont know why all of a sudden i m having this problem. the problem is: [CODE] Private Sub Form_Load() With MSComm1 .Commport=1 .Settings="19200,N18,1" .InputLen=0 .PortOpen=True '(Here the error message says that the … | |
Is there a relatively simple procedure for reading .ini files in Visual Basic? I'm more used to dealing with Delphi, and I have a couple of quick functions (written by another) that deal with .ini handling there, but I've been requested to use VB if at all possible for this … | |
Hi, Do anybody knows or have a VB6 CODE that will check first if the printer is online before I start printing, because if the printer is not online I could terminate the printing job or search for a new printer that is online. Please help me about this one.... … | |
Hi, I want to create Enum type variable at runtime. So is it possible to do create than pls give me the soln. THANKS IN ADVANCE Manoj Jain. | |
Hi, I am creating a table in MS. Access from VB and bydefault the text type field "Allow Zero length" properties is NO. and I want to make it YES through VB coding. Is it possible to do that. THANKS IN ADVANCE. Manoj Jain. | |
Hi, I have seen few Windows Mail Servers like IT House Mail Server [url]http://ithouse.com/[/url] I've it's old 1.04 ver and it has only file(MailServer.exe) & works very well. I want to know Is there any basic functionality inbuilt in windows which enables the vb or vb.net code to work as … | |
I'm trying to make an event procedure in VBA that will compare the same field of two records for a conditional statement. Here is some psudocode of what I want:[CODE]If myTable.thisField[currRecord] == myTable.thisField[currRecord+1] then // Run a Query[/CODE] Does anyone know the VBA code for this? Thanks. | |
Hi there, i have developed commercial softwares using VB6 Access and i would like to put a license for one year then the program can disable and i can be able to enable te program using the timer.well i have tried Activelock3 key generator which i am unable to use. … | |
From the posts in this website I see how to open an Excel spreadsheet from VB 5.0 but I don't see any examples of moving data (not an array) from vb to excel. Can anyone show me an example? Do you know of any books that would have this information? … | |
Hi I am developing an automation system using PC. I have built quite a big hardware but when it comes to Visual Basic, I am a novice. I have done a lot but need help in using database. I know how to link it in VB, i.e by using datacontrols(i … | |
Hi All! I've already got the code to create a full Access database from code, but the problem I'm having is that I need the property AllowZeroFill to be enabled in some sections and I'm also having problems getting the AutoIncrement to work. Here is the code I have so … | |
Hi there, I am using a listview control. After populating the listview, I want my cursor to jump to the last row and make it visible. how can i do that using vb code. thanks in advance newvbguy | |
hello to everyone! is there any one can help me to associate the progress bar with the loading application? such that if it finished executing, the progress bar also finished loading.. thanks! i am grateful for the responses. God bless you all! | |
I need to create an app that will run an executable at 3 given time (8am, 12pm, and 4 pm). Can anybody tell me how to start? Thanks!!!! | |
I am programmer.Have been using VB 6 and Access.I now want to start using SQl server.Somebody to assist me on how to connect. Thanks | |
Hi this is my first post here. I am working in VB 6.0, creating my own ActiveX OCX to replace the MS COM and/or PDQ COM OCX for communication with a physical or virtual RS232 port. To be able to drop my new OCX right into an existing application built … | |
Is it possible to use XML file on connecting / sending / receiving data from the client to the server or vise versa. If this is possible can anybody help me about this problem of mine... Please give a simple sample of your solution on how to solve this.... Thanks … | |
[code] Dim strURL As String Dim bData() As Byte Dim intFile As Integer strURL = "http://localhost/aaa/1/3/test1.jpg" intFile = FreeFile() ' Set intFile to an unused file. bData() = Inet1.OpenURL(strURL, icByteArray) Do Until Inet1.StillExecuting = False ' WAIT DOWNLOADING... DoEvents Loop Open "C:\test1.jpg" For Binary Access Write As #intFile Put #intFile, … | |
am having problem on how to load a photograph from a folder to the form,through the picture control box in vb6 am a newbie to vb | |
I need to be able to save multitudes of pdf files as tiff files (same naming convention, replacing the extension of course) using visual basic. Also, what references would I need to be able to run the code without problems. I've spent the last 3 days trying to figure this … | |
I am sorry, I have posted this in the wrong forum it should be in VB.Net - I can't find a delete post button link anywhere to move it Hi I am trying to identify whether a variable I have passed to a listarray exists. If it does I can … | |
I'm beginner for VisualBasic 6, please help me! What VB code should I use to highlight words like "Water Transparency" and "Object" in RichTextBox so it appear just like VisualBasic 6 Edit Code Mode like this picture??:rolleyes: (Automatically change it's color when typing a tag from tag list that can … | |
I need your help regarding serial communication in VB. I can't able to sand OR receive the data in BYTE form. (ie. 00 to FF) There is no proper example in MSDN. Can you tell me something in this matter? Thanks Kishor Soni:!: | |
To all who helped with my 10 minute timer problem A BIG THANK YOU. Next :sad: can some one show me how to get an event to occur based on the system clock ( e.g. I want my outside lights on my usb controller to go on at 8pm each … | |
Hi, For deep, dark reasons of my own, that will, in the fullness of time no doubt be revealed:rolleyes: , I must, or so it seems, induce VBA to deal with Unicode. I would very much appreciate all tips and pointers to any information pertinent to this bizarre pursuit. Trial … | |
Well i have developed general ledger(Accounting application)in vb6 .now i have to refine it i want that suppose there are 6 computers. so i want is database will be located only on one computer which is known as server and other 5 computer will act like client only front are … | |
Hi to all, Does anybody knows how to connect on the web server using client desktop application programmed in vb6... for example.... I already have a program that prints a pdf file running on the clients computer.... what i wanted to do is to check a finished job from the … | |
[COLOR=#000000]On my desktop I have one “Word” document and one “Access” document. Each one contains a macro. I want firstly to open my “Word” document and run the macro in it, and then right after that I want the “Access” document to open automatically and run its macro. How can … |
The End.