10,989 Topics
| |
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 … | |
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. … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
Can any body tell me how can i check that record already exists? | |
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 … | |
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 … | |
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 | |
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 … | |
How can I call Crystal Report from VB 6.0 ? | |
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 … | |
ok i'm want to populate dropdown with fields from a table in database(sql). Please help!!! | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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, … | |
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 ! | |
[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 … | |
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 | |
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 | |
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 … | |
[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 … | |
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 … | |
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 … | |
The object 'lblMonYr' was not found in Data Report |
The End.