12,155 Topics
This is for a challenge I must do. It is two forms. I have it almost done, but my second form is not giving me a total. I can't figure it out. Thanks in advance!! Here's the code: Main form 1 [code] Public Class MainForm1 Private Sub MainForm1_Load(ByVal sender As …
hi to everyone. I am new in this kind of programs. so pls help me. i want a code that i can put into one of the column in datagridview. the scenario... if the message is active in the column of datagridview it says active. if the message is deleted, …
Hello, I would like to modify a value that is in a window of another application using Windows API. I am trying to use Spy++ to determine the particular handle/class, but, I haven't any luck. Attached should be some pictures. One is a snapshot of the window I want to …
We are going to make a system for computer using visual basic where the server pc can able to schedule what application you may want to run at a certain time, like photoshop, microsoft office, paint, autocadd, etc.. Then when the time is up, the client pc will automatically shutdown …
do comments in code affect the Programs efficiency or it slows down the processing or reading of the code?? does it have disadvantages? In our program, we are not allowed to delete the past programmer's code when we have modification, we just have to comment it.
i have a problem with printing the Official Receipt using vb, we are currently deploying a new system. our problem is after printing it feeds the entire paper, i.e we want to stop the printer because it prints only the half of the paper, and the paper should be ready …
Good day to all, Im creating a computer laboratory admission system, and one of the functions of my program using a bar code reader, this how the system runs, assuming that mr. villa has the bar code and the code is 00123456789 then after you scanned it, it will look …
i working with msAccess right now.. i studying how to build a query. i wonder what is the use of the relationship thing.. im new to this. i want to learn more, what should i focus in the part of the database. can someone talk to me?
Hello everybody. Is it possible to overlap picture boxes in a flowlayoutpanel. I am trying to learn visual c#. I want to create a card game for practice with four players but only show the hand of the main player as one might set their cards in hand in real …
I've recently taken up an AP Computer Science class online for Maryland State education at my high school, and was wondering if I could receive help on a few of the projects. Most of them are simple like programs I made in Visual Basic for my first programming class with …
I am using VB 6 for my Project. There is requirement that Managers want to see blocking dates of an employee for a project. Eg: If an employee blocked for a project till Dec 2010 then the dates in a calender till Dec 2010 will be showing in a specific …
hello sir......... i give system date in issue date of library. i add 15 days and display to return date ..... i dont know tho vitual basic codings,..... pls help me...........
The question I am going to ask involves Mircrosoft Access and VB and I am stuck with it. This is the question: I have 4 peoeple: L, M, N, O, P there are 4 object: a, b, c, d, e L has: a, c, d M has: a, d, e …
hello everyone, i need help, can anyone help me to check out the coding?? [CODE] Private Sub cmdBatal_Click() paparan.Show Me.Hide Unload Me End Sub Private Sub cmdSimpan_Click(Index As Integer) If InsuData = True Then con.Execute "Insert into Pemilik(Na,Nokad,Warganegara,Notel,Harga,Tingkat) values ('" & txtNama.Text & "','" & txtNoKad.Text & "', '" & …
Hi all, I have two textboxes only in a form. At textbox1, upon pressing enter/carriage return it suppose to setfocus to textbox2 instead it's performing textbox2's keypress event by calling a command button. How to handle this? Where am i doing wrong? Please help. [CODE]Private Sub txtSNO_KeyPress(KeyAscii As Integer) If …
good morning ... I wanted to ask you, how to make file backup and restore sql server 2000 through visual basic 6.0 application already many forums I visit and ask, but until now there is no single person who can help me Can you help me? your help is much …
[B]Hello..! i have an problem to connect a progress bar with listview object.P.bar working properly. bt i want to connect p.bar with ma sql database while m searching database.kindly help me where m i doin wrong..the code is below.[/B] [code] Private Sub cmdRFind_Click() On Error Resume Next Dim vLst As …
[ICODE]CR.Reset CR.ReportFileName = "StudentInformation.rpt" CR.SelectionFormula = "{SPINF.GRNO}=" & Me.txtGRNo.Text & "" And "{SPINF.CMBCAT}=" & Me.cmbCat.Text & "" CR.Action = 1[/ICODE] [I]m trying to passing two parameter for cr..! bt it always shows the error type mis match.! plz help me[/I]
Hello Everybody, I'm new to this and kind of new to programming. I can't stay long because I'm at work. I was looking for some help on updating a table from another table while using a variable for the table name in access visual basic when I can across your …
Who shall and in which language convert this VBA UDF Code to be applicable for the application forms? [CODE=text]Function Tryme(mycell) mylen = Len(mycell) For j = 1 To mylen mytest = UCase(Mid(mycell, j, 1)) If InStr(1, "AIJQY", mytest) > 0 Then mysum = mysum + 1 ElseIf InStr(1, "BKR", mytest) …
hello can you help me please where can i get the crystal report and how can i use this...thank you in advance hoping for your positive responds.
Ok, im having a long time creating reports for my program. I would like to ask if it is possible to connect my program to an existing msword file. E.g: If i click a button on my form, lets say cmdLeaveReport, an msword file named leavereport.doc will open (of course …
can someone help me how to get the value of the cell of the sharp grid?? like in msflexgrid str = grd.textmatrix(row,col) tnx
hey, i'm new here..need help is it possible to save your work from other applications (e.g. word, excel, photoshop etc.) using vb6?? thanks.. this is for our thesis.. ASAP
I have a project that when opened automatically shows a userform for LOGIN/PASSWORD. Everything works great except that if the user clicks the Close(x) button included in the title bar of the userform, the userform is exited but the workbook is still open to its first page. Is there any …
so. i downloaded a dll of the net and im trying parse data through it. this bit of code i pretty much ported from VB so i expect a reason its not working for me is the syntax is incorrect. iv tried to make it as c# as i know …
Hi All, I am using a msflexgrid to display my access database (not editing it in run time). But, I have one column which is a boolean. When I display it, that boolean column doesn't show as "True/ False" or "Yes/ No". It is shown as " -1 / 0 …
Hello. I'm relatively new to Visual Basic 6, but I've been getting around pretty good. But there's one thing I need help with. You know how when your texting someone on your phone and you have to press the same button multiple times to get the letter(s) you want? Well …
hello can you help me please, how can i remove lots of spaces in a string for example: The space space space space quick space space space brown fox. the output should like this. Thequickbrownfox can you help on this...thank you in advance and I'm hoping for your positive response...
i have been using the microsoft visual basic 2005 express edition beta which is my first attempt at doing anything with visual basic so it has been taking me a long time to learn myself how to do things - mainly by using google and also reading through all the …
can someone tell me how to put a picture on a msgbox? or even just an icon?
hi, ahm. well can someone help me in my project, it is a reservation system in a church, the problem is, I have to reserve the date that my client wants. I don't know what application I should use. At first, I use the calendar contol 6.0 but I don't …
Ok here's what i want to do. I woul like to disable the toolbar and menubar in my main form depending on the usertype that was logged in. My dbase field is UserType and record type can only be User and Admin (Depends on the registration). When a user log …
Hi guys, I have a very simple form with 2 textboxes only and a listview to display added record. Upon form load i wanted to sest focus to textbox1, but it shows this error: Run-time error 5:Invalid Procedure call or argument My form load code [CODE]Private Sub Form_Load() bModelMaster = …
I want to send some packets they are in hex format 01 00 00 00 AA 00 00 00 01 because how winsock works i first need to convert it to ascii right? how could i do that every time i try it looses the NULLS - 00 help would …
Uhm ok. I am near n finishing my project (Payroll System) But im having problems regarding some codes and i am only able to fix some of it My real problem is the saving of picture in the database. Have the code, works well but doesn't save the pic as …
I'm well versed in creating a setup file in VB .NET, but am working in the older VB 6.0 on an older project I've been asked to maintain. How can I create a setup file in Visual Studio 6.0? Thanks in advance! Halbo (More than a name; it's ... Dim …
I am developing a application using VB 6.0. My requirement is if the user log off the application using File->Exit the below action should perform Action1 : The login status should get updated with 0 in the back end table called "Create_Login" so that next time if the user login …
Cant get the following program to display the decision in the listbox. Suggestions/corrections????? (visual basic 2005 Express edition) [CODE] Public Class Form1 Dim pupil As Integer Dim number_of_pupils As Integer Dim pupilname(4) As String Dim age(4) As Integer Dim score1(4) As Integer Dim score2(4) As Integer Dim totalscore(4) As Integer …
I'm just trying to make a cash till and something is wrong because when i try to execute it it just freezes. I think something is wrong with my loop, also i don't know how to refresh my sale total when i click clear order. It clears it but when …
Hi, Im doing a project in my class where i have to make code. i have to make a spread sheet that will control the sales that are taking place. The cash till has to add up the total cost of the items being bought, take in the input of …
hi to all! i am a newbie in visual basic programming and have been currently assigned a project for developing a small HUMAN MACHINE INTERFACE. can anybody help me out how to start and how to proceed. i'll be very grateful to all who answered. Thanks
How can we auto complete a textbox in VB 6 please help
Hello, I am working on a combo box, Visual Basic 6.5 on Microsoft Word 2003. When I put in the text for the combo box, it loads fine. I save, close the document. When I re-open the file, everything in the drop box is gone. What am I doing wrong?
Hello all, When you first open a professionally made application a dialog box appears with an "install wizard" that lets the user install the program to a specific destination on the hard drive and among other thing change some settings. How do you make one of these using visual basic …
Hello all, In lots of applications there are copy,cut,and paste buttons where the user can highlight some text and click "Copy" or "Cut" or "Paste" and then the program would do the corresponding actions. I was just wondering how to code such a button in Visual Basic 2010? Thanks in …
Hello all, I am trying to make a program in visual basic 2010 where the user enters hours minutes and seconds into text boxes and then the program will count down from that until its equal to 0 when a msgbox appears and says its finished. I was converting hour …
The runtime error -2147217396 (8004100c) keep occurs once i attempt to run this code to get the received signal strength of my WLAN card from WMI by using VB6 in Windows Vista. So is there any solution to solve this automation error ? Is VB6 cant access to certain WMI …
I put one smaller picture box inside the bigger picturebox. The annoying thing is, I cannot have a good picture, because the my smaller picture is in rectangle shape, while the smaller picture box is in square. So there is a residual space in the smaller picture box that I …
Hello all, I am hoping you point me in the right path here. How do I open a workbook when a value in the listbox is clicked? Thankyou
The End.