10,989 Topics

Member Avatar for
Member Avatar for stan yost

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]

Member Avatar for stan yost
0
157
Member Avatar for Shefali

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 …

0
75
Member Avatar for EnderX

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 …

Member Avatar for sushanth
0
1K
Member Avatar for millanskie

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.... …

0
84
Member Avatar for manoj201jain

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.

0
75
Member Avatar for manoj201jain

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.

0
62
Member Avatar for codeboy

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 …

0
64
Member Avatar for SlyMaelstrom

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.

-1
97
Member Avatar for ndicuh

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. …

Member Avatar for ndicuh
0
94
Member Avatar for stan yost

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? …

Member Avatar for QVeen72
0
97
Member Avatar for fskhan

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 …

Member Avatar for fskhan
0
140
Member Avatar for darklynx489

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 …

Member Avatar for QVeen72
0
800
Member Avatar for NewVBguy

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

Member Avatar for QVeen72
0
199
Member Avatar for arvin2006

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!

Member Avatar for QVeen72
0
161
Member Avatar for ndicuh
Member Avatar for juster21

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!!!!

Member Avatar for QVeen72
0
81
Member Avatar for ndicuh

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

Member Avatar for QVeen72
0
57
Member Avatar for PaulSieben

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 …

0
49
Member Avatar for millanskie

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 …

0
56
Member Avatar for millanskie

[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, …

0
97
Member Avatar for daaboat

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

Member Avatar for QVeen72
0
174
Member Avatar for sleig50328

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 …

0
54
Member Avatar for Madame Cholet

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 …

0
67
Member Avatar for Kevin1991

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 …

0
59
Member Avatar for Kishor Soni

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:!:

Member Avatar for Kishor Soni
0
107
Member Avatar for Dogfish

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 …

Member Avatar for Dukane
0
178
Member Avatar for FireEater

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 …

Member Avatar for Ancient Dragon
0
51
Member Avatar for irfan.motiwala

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 …

Member Avatar for QVeen72
0
121
Member Avatar for millanskie

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 …

0
64
Member Avatar for Vladimirr

[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 …

Member Avatar for Ancient Dragon
0
95

The End.