2,155 Posted Topics

Member Avatar for jemz

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?

Member Avatar for jemz
0
385
Member Avatar for bryansworld

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 …

Member Avatar for dwel
0
111
Member Avatar for krille
Member Avatar for sjn21682

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]

Member Avatar for sjn21682
0
105
Member Avatar for abyan

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]

Member Avatar for abyan
0
150
Member Avatar for juniorj

Try to seperate the ' from your statement - [CODE]"SELECT * FROM Bill WHERE ID=" & "'" & cuno.Text & "'"[/CODE] Hope this solves your problem..

Member Avatar for vb5prgrmr
0
2K
Member Avatar for Bashir ahmad

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 & "'", …

Member Avatar for vb5prgrmr
0
109
Member Avatar for Bashir ahmad

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...

Member Avatar for Bashir ahmad
0
3K
Member Avatar for neosonic

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.

Member Avatar for vb5prgrmr
0
240
Member Avatar for death.cometh

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

Member Avatar for Bashir ahmad
0
129
Member Avatar for anjal_pawar

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 …

Member Avatar for AndreRet
0
98
Member Avatar for jemz

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 …

Member Avatar for jemz
0
83
Member Avatar for romaguera

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.

Member Avatar for AndreRet
0
35
Member Avatar for Pradnya.117

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.

Member Avatar for AndreRet
0
85
Member Avatar for deepmadan

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 …

Member Avatar for AndreRet
0
2K
Member Avatar for Vaibhav Kumar

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 …

Member Avatar for kvprajapati
0
276
Member Avatar for rejina

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 …

Member Avatar for vb5prgrmr
0
523
Member Avatar for bryansworld

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 …

Member Avatar for AndreRet
0
131
Member Avatar for Bob_Magalhaes

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.

Member Avatar for AndreRet
0
64
Member Avatar for Agent-of-Chaos

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 …

Member Avatar for Agent-of-Chaos
0
362
Member Avatar for AndreRet

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 …

Member Avatar for AndreRet
0
1K
Member Avatar for flowerfriend

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 …

Member Avatar for AndreRet
0
954
Member Avatar for ogundile

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 …

Member Avatar for abu taher
0
137
Member Avatar for ibrahim2010

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

Member Avatar for AndreRet
0
118
Member Avatar for top123

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

Member Avatar for kinwang2009
0
119
Member Avatar for jemz

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 …

Member Avatar for jemz
0
330
Member Avatar for neosonic

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 …

Member Avatar for neosonic
0
375
Member Avatar for Maglin

Show us your code and where the error occur. By doing this we can help you sort the error.

Member Avatar for AndreRet
0
44
Member Avatar for anchorjoe

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 …

Member Avatar for AndreRet
0
118
Member Avatar for priyadarshani s

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.

Member Avatar for AndreRet
0
89
Member Avatar for jemz

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 …

Member Avatar for jemz
0
220
Member Avatar for jemz

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.

Member Avatar for jemz
0
228
Member Avatar for dixie_flatline

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 …

Member Avatar for dixie_flatline
0
2K
Member Avatar for soilarmoon

Soilarmoon, Are you talking about searching specific data in a database? Please tell us more in specifics on what you need to search for.

Member Avatar for vbboy
0
146
Member Avatar for uzumaki
Re: help

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 …

Member Avatar for uzumaki
0
80
Member Avatar for tbelgard

And even more good luck. Nice way of getting anyone to do your homework for you..... ;)

Member Avatar for vb5prgrmr
0
49
Member Avatar for viveksisodia

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]

Member Avatar for AndreRet
0
45
Member Avatar for johankotze

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 …

Member Avatar for AndreRet
0
602
Member Avatar for gms_019

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.

Member Avatar for jireh
0
81
Member Avatar for rockybtechit
Member Avatar for AndreRet
1
123
Member Avatar for NickBomb

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 …

Member Avatar for NickBomb
0
483
Member Avatar for neosonic

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.

Member Avatar for hkdani
0
87
Member Avatar for subhaoviya

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]

Member Avatar for AndreRet
0
3K
Member Avatar for KSS

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 …

Member Avatar for AndreRet
0
466
Member Avatar for acidking001

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

Member Avatar for acidking001
0
2K
Member Avatar for jamesweeks

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 …

Member Avatar for AndreRet
0
117
Member Avatar for antonius61

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.

Member Avatar for AndreRet
0
139
Member Avatar for omkarwarekar

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

Member Avatar for AndreRet
0
156
Member Avatar for AndreRet

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

Member Avatar for AndreRet
0
176
Member Avatar for Israelsimba

Try to save it onto your drive, unzip it and then open it with vb6. It works fine. Nice example abu_taher...

Member Avatar for Israelsimba
0
96

The End.