2,155 Posted Topics
Re: Jemz, are you talking about automatically loading the users username and password when the application started. In other words, the user selected an option to "remember me" or "automatically Log Me In" scenario? | |
Re: Your problrm lies in the data values. If there is no records available, but you are still calling it, there will be errors generated. first trap the erroes and then call the recordset. In other words, if there are no records to show, exit the sub and then call something … | |
Re: Most definitely the Enterprise Edition. | |
Re: You can either show your login form modally. in vb6 it will be [CODE]frmLogin.Show 1 'Or vbmadal[/CODE] This enables the main form, although it is visible. Another option is to disable the mainstrip, again in vb6 [CODE]frmMain.Tabstrip.Enabled = False[/CODE] | |
Re: Hardware is quite a "dark" area for most of us, but I have found these sites where there are plenty links to some code samples. I am sure they will help you in finding what you need. [URL="http://www.avrfreaks.net/index.php?name=PNphpBB2&file=printview&t=83878&start=0"]http://www.avrfreaks.net/index.php?name=PNphpBB2&file=printview&t=83878&start=0[/URL] [URL="http://www.mcselec.com/index.php?option=com_docman&task=cat_view&gid=99&Itemid=54"]http://www.mcselec.com/index.php?option=com_docman&task=cat_view&gid=99&Itemid=54[/URL] Then the one from the manufacture sample - [URL="http://www.mcselec.com/"]http://www.mcselec.com/[/URL] | |
Re: Try to seperate the ' from your statement - [CODE]"SELECT * FROM Bill WHERE ID=" & "'" & cuno.Text & "'"[/CODE] Hope this solves your problem.. | |
Re: Create a sub that checks for duplicate values BEFORE updating the first time a user adds a new record - [CODE]Private Sub CheckDuplicate() Dim dupstr As String dupstr = txtIDNumber.Text Set rsDuplicate = New ADODB.Recordset rsDuplicate.Open "SELECT * FROM SalesmanSetUp WHERE IdentityNumber = " & "'" & dupstr & "'", … | |
Re: Have you tried the actual printer page options as yet? Look at the code below - [CODE]With Printer .PaperSize = vbPRPS10x14 End With[/CODE] At .papersize, type vbprp and ctrl spacebar for intellisense. This will give you much more options than the original size coding stuff. Hope this helps... | |
Re: It all depends on what code you are using in your Quit function. Please post the code for that function and lets see where your problem arises. When the document is closed and an error is raised, where in your code is the error generated. Show us that as well. | |
Re: If I understand this correctly, you need to laod a few remarks on different dates from an employee. This means that you first need to get all the data from one employee before continuing to the next. I would suggest using a for, next loop as in [CODE]for x = … | |
Re: You need to reference your project in project 1. Go to 'Project - Referneces and select vbpProject2 (or whatever your second project is called) and add the reference. From Project1 add the following where you want to call the project 2 form - [CODE]Dim objNewForm as Form objNewForm = New … | |
Re: Jemz, As below. You do not really have to notify a user with a message box everytime they press the wrong key. Rather make a small label note next to the text box or the top of your form etc, notifying them that only text and numbers is accepted. You … | |
Re: Mmmmmmm.... What kind of search, search where, what needs to be random, where will sequential be used etc. Please give us more, much more information. | |
Re: You can not have [CODE]conn = ""[/CODE] This should rather read [CODE]If conn.State = 0 Then[/CODE] which checks if your connection is open or closed. 0 = closed, 1 = Open. | |
Re: Yes you can most certainly connect to mySql using root. It took me about a week to find the solution to the same problem and with many posts. Funny, none of the posts could help. It was eventually the MySql ref. manual that gave the answer - you need to … | |
Re: Vaibhav, You have used a very old thread (2 years old), to post your own question. In the future please start a new thread. Regarding your question, the little bit I could gather from search engines is that the dll file seems to be incorporated with either printers or your … | |
Re: Firstly, to avoid possible errors, check if the file is opened by another application. The remote file to be tested can be specified using either mapped drives (e.g. z:\filename.exe), UNC format (e.g \\server\share\filename.ext), machine name (e.g. \\vbnetdev\share\filename.ext), or IP address within the network (e.g \\192.168.1.102\share\filename.ext). In your project with a … | |
Re: Attached is a sample of ALL listbox functions. At the bottom right you will find listbox copy including multiple coloumns. You obviously have to change the sample to suit your needs. This was obtained a while ago from vbfx.com I hope this helps to solve your problem AND to add … | |
Re: As vb5 said, start your own thread. To answer the question, you need the developer SDK license for CR XI(11) to use in vb6, otherwise it will NOT give you the component to add to your project. | |
Re: Firstly, good luck. I am not sure why you want to get involved in something this old, but I suppose it was your decision. The code is based on old games covering 8 and 16 bit. VERY old. To learn more about Chip 8, see the following - [URL="http://users.skynet.be/drealmer/chip8/"]http://users.skynet.be/drealmer/chip8/[/URL] OR … | |
My turn to ask a question.... Does anyone know how to open a report (.rpt) in Crystal Reports 2008 using vb6? I have just spend a lot of money purchasing this and now it seems that it is not compatible with vb6 at all. It was working fine in earlier … | |
Re: Karla, attached is a sample of a treeview with API and custom icons. You can use your own icons etc. All you need now is to write the code once you click on a file to add it to your media player. I will try and upgrade this for you … | |
Re: As the request stated, devide yourself into a group, meaning that you need to sit with the rest of the people in your class/group and discuss how you will be going about creating the application, how the code will be executed etc. You need to do SOME work from your … | |
Re: You need to specify the following - Which language to use i.e. vb6, .net etc... What have you created thus far? We are not here to do your homework, only to help when you are stuck on a certain piece of code. What database will you be using i.e. MySql, … | |
Re: The error is generated because there are no runtime files for vb installed on your Vista pc. Install the proper runtime files, available in your vb directory under program files on your OLD system or download them. I do however think that you might still have a problem with vb5. … | |
Re: The way I understand this (I think), you need to trap an error raised for stock you want to sell, but there is no stock on hand... When populating your datagrid, first select the correct data to display - [CODE]strSQL = "SELECT * FROM tblWhatever WHERE quantity > 0" mchrs.Open … | |
Re: The mere fact that you ran out of memory will obviously be the capacity of your pc. Always remember that other people might have a system slower or smaller than yours, thus you need to ensure to make your application as bug free and fast as possible. Getting to your … | |
Re: Show us your code and where the error occur. By doing this we can help you sort the error. | |
Re: As per vb5prgrmr, you are probably receiving requests from your winsockets/ports. This is mainly because they are still open and the timer event is triggered while you are ending the app. Try the following: You can close your winsockets by using something like - [CODE]Private Sub socket_Close(index As Integer) 'close … | |
Re: Or, you can tell us what you have in the form of codes thus far and what you are struggling with. If you give us more information on what you need help with, we will try our best to solve your problems. | |
Re: Yes it is possible by using the windows msgbox API's. This will however leave you open to numerous errors if you do it wrong. I found it much easier to write my own message box which is much nicer than windows version. Try it and see if it works for … | |
Re: Has your exe file being compiled correctly? If you say you want to copy it over to your flashdrive, where is the error occuring. In the copying or when you try and open it. Please give us some more info, and I am sure we can help. | |
Re: You can either use the format function as in - [CODE]txtAnswer.Text = Format(p - (a * f - ct), "##,##0") 'Using the 0(zero) at the end will round the number off to a zero.[/CODE] Or you can use the round function as in - [CODE]Dim TotCost As Single Dim srTotal … | |
Re: Soilarmoon, Are you talking about searching specific data in a database? Please tell us more in specifics on what you need to search for. | |
Re: Select your picture box, set its border style to none, resize it to what you would like a user to see. Add a timer control and set its Enabled property to false and its interval property to say 250, depending on the speed you want to scroll the picture. Add … | |
Re: And even more good luck. Nice way of getting anyone to do your homework for you..... ;) | |
Re: I don't know if this will help, but try the link below. It covers quite a lot about fpoint and sql - [URL="http://www.fpoint.com/support/whitep/statemg/SpWebStateMgmt.pdf"]http://www.fpoint.com/support/whitep/statemg/SpWebStateMgmt.pdf[/URL] | |
Re: Johan, jy is in vir 'n klomp kopsere hier... For everybody else to understand, you firstly need to reference the sms API to use its functions. There is much better ways of solving this in different languages. I am using the best out there in ALL my applications. Go to … | |
Re: Have a look at the attachment. It covers access database, grid AND reports - Hope this helps. This is not my own code. I have just changed some as I needed at the time. | |
Re: Look at the following. I hope this helps you getting the task done. | |
Re: All your symbolic links is saved in a file. You can retreive these links by running fsutil. This is on XP and I am sure on Vista. Not sure about 7 or other OS's. I think when an error is raised, it means that the file is no longer in … | |
Re: I agree with VB5, a textbox can not be rotated in itself. I have attached a small app with rotating fonts that I have done some while back. Play around with the code until you have what you need. | |
Re: Follow the following link. It gives you full on descriptions on the "meaning" of all errors and how to implement them. Your question is answered at about half way through the page - [URL="http://www.vb-helper.com/err_sample_text.html"]http://www.vb-helper.com/err_sample_text.html[/URL] | |
Re: KSS, I have attached a sample of downloading ANY file using winsock. All you need to do is change to the IP address online and off you go. Thanks goes to Elucid siftware for this sample posted on vbforums. Please read the about form and please mention the author in … | |
Re: You are unfortunately in the wrong forum if you are using vb 2008. You should post this in vb.net. If you were to use vb6, you would have used something like - [CODE]Printer.CurrentX Printer.CurrentY Printer.DrawWidth Printer.EndDoc 'To stop printing Printer.Height Printer.KillDoc 'etc, etc, etc.[/CODE] Please repost this in vb.net | |
Re: Jamesweeks, You have to keep in mind that when you fit your form to a screen size, you need to resize all controls on the form as well to keep a proper and neat looking form. I have attached a very basic sample on how to achieve this. You need … | |
Re: You will find all the info you need with picture files on the following link - [URL="http://dev.mysql.com/tech-resources/articles/vb-blob-handling.html"]http://dev.mysql.com/tech-resources/articles/vb-blob-handling.html[/URL] Although for vb6 coding, your basics will be the same. Hope this solves your problem. | |
Re: Omkarwarekar, As everybody else here stated, you need to put all your plans to paper and believe me when I tell you, PLAN PROPERLY. We have all made the mistakes of rushing into coding, only to find out halfway through the application that everything is a cock up. Funny enough, … | |
:icon_confused:I have made the change from access to mysql. I am using vb6 to connect. The connection seems to be fine, it was some code sample that I have downloaded from the net. The app is reading the databases, but as soon as I select a database, i get an … | |
Re: Try to save it onto your drive, unzip it and then open it with vb6. It works fine. Nice example abu_taher... |
The End.