11,870 Topics

Member Avatar for
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
185
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
223
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
113
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
266
Member Avatar for deadelgabar

hi, my name is saad. i will start working at my graduation project. we should do a windows mobile application. the project is a mobile application interacting with a web-site to help people avoid traffic jam. description:- we should develop a mobile application which will work on (HTC) windows mobile, …

0
139
Member Avatar for hueikar

I would like to do a coding to delete the txt.file that i had created before using visual studio..can anyone teach me the coding?thank you.

Member Avatar for AndreRet
0
920
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
290
Member Avatar for hueikar

Hi.i am facing the problem that is when i open my file in datagridview.it didnt have extra column let me edit(add,change) the data.Besides that, when i want to save it into textbox.it will appear like it added 1 more empty column between each column..why it will save like that?please help …

0
43
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
898
Member Avatar for Naveed_786
Member Avatar for AndreRet
0
260
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
650
Member Avatar for hueikar

hi.i m new in the visual studio basic 2010..can i noe how to import txt file to datagridview? the txt file like below: name>date>id jay,2010,a111* cheryl,2011,a222* i had successfully import the data to the datagridview. but i cant import for the attribute.. the attribute and data will always change if …

0
54
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
109
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
128
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
395
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
284
Member Avatar for mozy40
Member Avatar for AndreRet
0
41
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
81
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
104
Member Avatar for schoenfelder.p

I'm new to Visual Studio 2010 and whenever I create a new project I can't actually create new files or add files to the project. The only option under the Project menu is "Rescan Solution". There is no "Add New Item..." or "Add Existing Item..." option. Why is this? Is …

Member Avatar for Taywin
0
105
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
226
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
131
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
165
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
128
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
150
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
136
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
100
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
101
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
141
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
249
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
88
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
87
Member Avatar for aslamsadia
Member Avatar for enong

huy guys, iam Newbie. I am using visual studio 6.0 when I would run the exe file an error occurred :>> [B]Setup was unable to create a DCOM user account in order to register ‘C:\Program Files\Microsoft Visual Studio\Common\Tools\VS-Ent98\Vanalyzr\valec.exe'[/B] I have remove the program up to 3 times, but i still …

Member Avatar for AndreRet
0
125
Member Avatar for tyras
Member Avatar for AndreRet
0
108
Member Avatar for johntech2001

I am working through the book Beginning Visual Basic 6 Database Programming by John Connell. I have finished the section on Building a Data Control Class Module and have created a nice Book List program for my wife. I am using the DAO database control as shown in the book. …

Member Avatar for AndreRet
0
608
Member Avatar for VB2008beginner

I add connections in server explorors. Then, I use AdventureWorks Person.Contact to set up a query by searching peter and mary ,but how to add it on form 1 ? and I type part of their names and by the way how to link a "VB label of text" or …

Member Avatar for lolafuertes
0
210
Member Avatar for sureshprg

Dear all, I need to send a string value along with an 'Enter' keystroke from an active form to a multi-line text box in an inactive form. Tell me a way to do this in VB6. Thanks.

Member Avatar for PoisonedHeart
0
141
Member Avatar for lady_lily

hello anyone, hope you could help me, im working for my project a mini system in title Test Banking system, definitely its an examination system that might use at our guidance office for students to do their entrance examination. Im just beginner and doesnt have idea on how do i …

Member Avatar for AndreRet
0
283
Member Avatar for asaness

hello there! is anybody to help me in my program... my problem is how to hide application in process list in a task manager??? thanks...

Member Avatar for AndreRet
0
86
Member Avatar for i.am.wolf

So, our group was assigned a project to calculate the GPA of a student. We are using visual Studios 2010. Anyway, all seems to be good but I just cant figure out how to link the out put the GPA to its corresponding boxes. If you scroll down to the …

Member Avatar for ddanbe
0
372
Member Avatar for Wesley80

this windows application finds the amount of your pay if your pay is doubled each day, starting with a penny a day or a nickel a day. Instead of one month's salary, a boss offers her new employees a penny the first day and experienced employees a nickel the first …

0
53
Member Avatar for glurlay

Schema is a string, lstSchemas is listbpb and rc is a variant Schema = VB6.GetItemString(lstSchemas, rc)

Member Avatar for AndreRet
0
43
Member Avatar for George Jump

Hello - I have been searching to no avail for a clear and concise definition of VB6 Classes and Class Modules with perhaps some simple examples. Does anyone know where I might find this??? Thanks! George

Member Avatar for AndreRet
0
151
Member Avatar for TechSupportGeek

Hello world of DaniWeb, it's been months since I last visited this forum but here I am asking for your help again :) I've been developing a text editing application and my problem is that the RichTextBox control will "lose" all special formatting (like font, color etc.) when enabling WordWrap. …

Member Avatar for TechSupportGeek
0
205
Member Avatar for syd_master

when i run my code...this error come out [QUOTE]"data type mismatch in criteria expression"[/QUOTE] here my code: [CODE]Private Sub Text2_Change() TXT1 = "" TXT1 = "SELECT * FROM Profile WHERE sID =' " & Text2 & "'" If RS.State = 1 Then RS.Close End If RS.Open TXT1, Conn, adOpenKeyset, adLockOptimistic …

Member Avatar for AndreRet
0
328
Member Avatar for sti

...will you pls help me with regards about my project.. it was a database and i've already created a form (user interface form for inputing data) with visual basic 6.0.. my prblem is, if the user wants to edit the data he entered how does he do that?.. send me …

Member Avatar for AndreRet
0
161
Member Avatar for locsin

Greetings Anybody know how to change the position of form controlbox(Minimized, maximized, close) button. Original location is on the top right of the screen. I want to relocate it on the top left. Thankyou in advance

Member Avatar for AndreRet
0
99
Member Avatar for Dr.Del

Hi, I am a pastor of a small church. I am 67 years old. I am trying to learn to program an address book for our church lay people. I am using the a book titled, “Beginning Visual Basic 6 Database Programming” by John Connell. I managed to get along …

Member Avatar for Mohidul
0
202

The End.