10,989 Topics

Member Avatar for
Member Avatar for shabadoo

I am using a collection of Workbooks that are supposed to work in sync. When the main "System" Workbook is opened it initializes showing a sequence of userforms which get information from the user to determine how to proceed. One of the options is to "check inventory", when chosen it …

Member Avatar for AndreRet
0
81
Member Avatar for JohnKelly

We have an application that reads data string coming from various serial ports and is written in VB6. We use the API method of reading the data CreateFile(sPort, ..... where sPort is the appropriate Serial Port e.g. "\\.\Com60" to read Comm 60. This has worked a treat for serveral years. …

Member Avatar for AndreRet
0
181
Member Avatar for bklynman01

Hello, I'm writing code that will populate a listbox with the contents of a folder (a list of excel and word files). Naturally, the listbox has all file names with the ".xls" or ".doc" extension included. How can I get rid of this? I have tried [CODE]fileName.Remove()[/CODE] and [CODE]fileName.Replace()[/CODE] functions …

Member Avatar for AndreRet
0
219
Member Avatar for TheDocterd

Hi there all I'm looking for a way to ensure that users don't exit my application before they complete all outstanding calendar entries. It is a job book application we use in office. The thing is that users only complete the day's entry in the calendar, and then leave the …

Member Avatar for AndreRet
0
110
Member Avatar for NewOrder

[CODE]using System; using System.Collections.Generic; using System.Text; namespace Project1 { public class Homework { public static void Main(string [] args) { Dad d = new Dad(); d.LitCig(); Helper h = new Helper(); } } public class Dad { void WithDrawMoney() { Console.WriteLine("Father: Money Withdrawn"); } internal void Mercedes() { Console.WriteLine("Father: drive …

Member Avatar for NewOrder
0
265
Member Avatar for styleest

I'm an intermediate vb programmer, i need help . I wrote a code that'll fetch a particular employee id (EM_ID) and print the report but its saying this whenever i compile and run. Runtime Error 2147217904 [80040e10] [ODBC Microsoft Access Driver] Too few parameters The code is below rs.Open "SELECT …

Member Avatar for styleest
0
284
Member Avatar for MrConfused

I have been given the following code to convert a string to a "byte array" (which is then passed to other software) but it does not appear to work. I have practically never needed to use a function and am even less familiar with the data type byte and Hex …

Member Avatar for FSandlewould
0
856
Member Avatar for Naveed_786
Member Avatar for AndreRet
0
255
Member Avatar for cr6564

Hello! I am learning how to program on my own in visual basic. I have made a program where the user selects a batch file from a datagridview that is populated with information from the hard drive. I have been able to get the selected item to show up as …

Member Avatar for codeorder
0
627
Member Avatar for divakar.it

Hi, I am currently developing a tool in VB 6.0. I am facing a problem when i generate reports in Excel format. The issue description: - When I click the 'Produce report button', the vb code will run a query and fetch the record into record set - and then …

Member Avatar for AndreRet
0
108
Member Avatar for ayetar

Dim A, B, C As Integer Dim jam As Timer Private Sub Command1_Click() A = Text1.Text B = Text2.Text C = Text3.Text End Sub Private Sub Timer1_Timer() If Time = TimeSerial(A, B, C) Then shutdown.exe -t End If Text4.Text = Time End Sub

Member Avatar for AndreRet
0
123
Member Avatar for Learning_Curve

I am currently working on an application for use with scanning an printing devices. I use the ManagementObjectSearcher in order to retrieve device names and Id's: For example using (Don't forget to add the reference to System.Management.dll in the framework 2.** folder if you're trying the code) [CODE] Dim searcher …

Member Avatar for AndreRet
0
393
Member Avatar for sham
Member Avatar for abelingaw

I have finish coding some of my Payroll Program modules. But im having a problem on the log-in. I would like the log-in to determine the type of the user logging in, a User or Admin (Level Access of course). If it is a User, all command buttons in every …

Member Avatar for AndreRet
0
282
Member Avatar for mozy40
Member Avatar for AndreRet
0
39
Member Avatar for Talguy

I am programing VBA for excel and was wondering if anyone knows where I can fidn the documentation for the selection object. Also do you know how I can get the VB editor to recognize thet object so when I type Selection and put the period after it, it pops …

Member Avatar for AndreRet
0
79
Member Avatar for Naveed_786

When i mahe setup using setup and deployment wizard it make the setup perfectly but when i try to install it gives me error what is the best way to make a setup and run it perfectlly please help.

Member Avatar for AndreRet
0
103
Member Avatar for nagatron

Hello to all, I am always mad about this problem. If I type a name with two words in a textbox like "google corporation" it will be registered in the database ms access as "Google Corporation" now that is okay. What I want is, there should be no duplicate of …

Member Avatar for nagatron
0
224
Member Avatar for Naveed_786

Hi guys, Can any help me i had a peoblem please just give me idea. I want to calculate the share of a teacher let me explain how 1.if a teacher teaching three subjects in 10th class and three subjects in 9th 2.i have to calculate 50% of the fee …

Member Avatar for AndreRet
0
128
Member Avatar for kayjenx

So I have a small database for managing stationery orders (internally with my company - I order from the stationery dept). In the orders forms i have a subform with the list of items being ordered. I have the Item_ID, description, UnitsOrdered,UnitPrice, TotalPrice. What a code that will lookup the …

Member Avatar for AndreRet
0
162
Member Avatar for mtug

Hi All, Obviously Im a newbie here. Firstly let me first make it clear that I am not really a programmer or a software developer but I have a basic background in Programming, I had 8 units of C++ in college, I am more of inclined into IT Networking. However, …

Member Avatar for AndreRet
0
124
Member Avatar for dragonheart

HI all,, im having some VB exe files which i have done small games,,, is there a way to convert them into .avi or .flv ? i need to upload them into youtube.. please help !

Member Avatar for AndreRet
0
148
Member Avatar for prakash.arul87

[code]Private Sub Command1_Click(Index As Integer) If KeyAscii = vbEnter Then If Len(Trim(txtlogin)) > 0 And Len(Trim(txtpwd)) > 0 Then If CheckPwd(txtlogin, txtpwd) = "ok" Then MsgBox "Password ok" Else MsgBox "Wrong password or Login not found." End If Else MsgBox "Login and password should not be blank" End If End …

Member Avatar for AndreRet
0
131
Member Avatar for abi62

Hello Every One. I want to read weight from an electronic weight machine which is connected with computer and save it in a database. Please if any one know the procedure, please help me. Thanks

Member Avatar for AndreRet
0
97
Member Avatar for gangadharpanda

hai i want to code of this problem my problem is i have data in msflexgrid i want to print in datareport of vb 6.0 so i want to print only one record at a time

Member Avatar for AndreRet
0
98
Member Avatar for dmarvp

Hi everyone, I have a little problem with the class XmlDocument in .net. I'm using framework 2.0 and I am loading an xmlDocument from a path. The xml has a node without value like this: <somexmlnode/> When I load the xml using the xmlDocument class, it seems that it is …

Member Avatar for dmarvp
0
138
Member Avatar for cristina06

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

Member Avatar for cristina06
0
246
Member Avatar for Vast

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 …

Member Avatar for AndreRet
0
86
Member Avatar for Vast

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 …

Member Avatar for AndreRet
0
83
Member Avatar for aslamsadia

The End.