2,155 Posted Topics
Re: This function will determine whether or not a thread is running in the user context of the local Administrator account, you need to examine the access token associated with that thread using the GetTokenInformation() API, since this access token represents the user under which the thread is running. By default … | |
Re: Welcome to Daniweb Marcus. I'm sure you will enjoy your stay. | |
Re: Welcome to Daniweb.:) I'm sure we'll see you around the web forums. | |
Re: Welcome back. As Davey said, don't beat yourself up over the past, its gone. Re-enjoy your stay with us.:) | |
| |
Re: Have a look at [URL="http://www.iconarchive.com/"]IconArchive[/URL]. They should have what you are looking for. Otherwise search google for "Add.png, Delete.png, Save.png" etc. | |
Re: To move to the next record - [CODE]usercmd.NextResult()[/CODE] To move to the previous record - [CODE]usercmd.MovePrevious()[/CODE] Also, have a look at [URL="http://www.vb-helper.com/howto_net_navigate_database.html"]THIS[/URL] link. | |
Re: Try the following - [CODE]rs.Open "SELECT * FROM MyTable", cn, adOpenStatic,adLockOptimistic Dim x As Integer If rs.BOF = True Or rs.EOF = True Then 'No records to show Else For x = 0 To rs.RecordCount Combo1.AddItem rs!MyFieldName rs.MoveNext Next x End If[/CODE] | |
Re: [URL="http://msdn.microsoft.com/en-us/library/aa223084(office.11).aspx"]This[/URL] should help.:) | |
Re: What kind of error do you get? Is the error appearing WHILE you are installing or after installation and you try to run the application? | |
Re: Firstly, set ALL your controls on the form, including text boxes's TabStop Property to False. [CODE]'Gets or sets the character corresponding to the key pressed. 'Declaration Public Property KeyChar As Char 'Usage Dim instance As KeyPressEventArgs Dim value As Char value = instance.KeyChar instance.KeyChar = value[/CODE] Use the KeyChar property … | |
![]() | Re: Congrats man!!!! You have no idea what you have started, hahahaha. It is probably THE most exciting thing in life to do, go riding. You will soon find that a 125 is way tooooo small for you. I must add though that I started all my shenanigans on a 125, … |
Re: You need to determine or read between lower and upper case. First do the check, reads lower and then upper case, compares with your data entry. If matched, move on. Have a look at the following links, which gives you sample code on how to determine the values of each … | |
Re: I am a bit confused. If a teacher teaches more than one subject, you want to split the student fee to the amount of classes he teaches? Where does the 50% come from? | |
Re: Try the following - in the format section , u will get options "New Page After" or "New Page Before". Set these formats and you should be able to view the second page. | |
Re: Have a look at the following links. [URL="http://www.blueclaw-db.com/select_case.htm"]http://www.blueclaw-db.com/select_case.htm[/URL] Or [URL="http://objectmix.com/ado-dao-rdo-rds/309076-trying-write-select-statement-vba;-access-2002-a.html"]http://objectmix.com/ado-dao-rdo-rds/309076-trying-write-select-statement-vba;-access-2002-a.html[/URL] | |
Re: Firstly, welcome to Daniweb.:) Have a look at the attachment. It will need some tweaking to suit your needs. | |
Re: You can not convert an .exe. It seems that you want to post a sample of your application (how it works) on youtube, is this correct? If so, use a screen capturer application that will take a "video" of your application in work. You will then have the option to … | |
Re: What language are you using, vb.net, vb6, php, java etc.? | |
Re: Prakash, you are a new member here, but we still need you to read our posting rules. You have "hijacked" someone elses thread, and it is from 2006. I have already asked the moderators to move your question into it's own post.:) As far as your question is concerned, rs … | |
Re: This is unfortunately the crux of development in any language. You will find the "Hard" parts, no matter where you decide to go. Rather stick it out with one subject, improve on that and the rest will seem to fall in place. At least you are at the best site … | |
Re: There is much more to the solution than just asking the question:) Is the machine connected to your pc via a RS232 cable? What database will you be using, access/mysql/sql? What code do you have thus far? Is there errors appearing in your code? | |
Re: If you say 1 record at a time, does that mean row 1 to print, then row 2 to print etc.? As far as the data report is concerned, read the following tutorial with sample code and how to create a data report in VB6.:) [URL="http://visualbasic.freetutes.com/learn-vb6/lesson22.15.html"]http://visualbasic.freetutes.com/learn-vb6/lesson22.15.html[/URL] | |
Re: The .backgroundcolour is incorrect. Try the following - [CODE]Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.ToolTip1.ShowAlways = True Me.ToolTip1.ReshowDelay = 10 Me.ToolTip1.AutomaticDelay = 100 Me.ToolTip1.Backcolour = Color.LightGreay End Sub[/CODE] | |
![]() | |
Re: Have a look mat the following links, get firefox to open in vb6. [URL="http://www.bigresource.com/Tracker/Track-vb-404TOW3qpu/"]http://www.bigresource.com/Tracker/Track-vb-404TOW3qpu/[/URL] This one has an active x control as well - [URL="http://www.iol.ie/~locka/mozilla/mozilla.htm"]http://www.iol.ie/~locka/mozilla/mozilla.htm[/URL] The following for emulation - [URL="http://www.graphicdesignforums.co.uk/website-design-resources/4246-emulate-ie6-perfectly-firefox.html"]http://www.graphicdesignforums.co.uk/website-design-resources/4246-emulate-ie6-perfectly-firefox.html[/URL] | |
Re: You can use the following to determine the time difference between your two dates - [CODE]Dim x As Date, y As Date, z As Date x = Format("10:31:15", "hh:mm:ss") y = Format("01:58:58", "hh:mm:ss") z = x - y Label1.Caption = z[/CODE] | |
Re: lblMonYr seems to be a reference to a label control in VB6. Place a label called lblMonYr in your form and re-test the code. Did this solve your problem? | |
Re: It all has to do with security setup and VS analyzer. Follow the link below to solve your problem. [URL="http://support.microsoft.com/?scid=kb;en-us;257413&spid=3042&sid=194"]http://support.microsoft.com/?scid=kb;en-us;257413&spid=3042&sid=194[/URL] | |
Re: Tyras, please read our posting rules carefully. Although you are a new member, you should know that we have no idea what your real question is by just supplying us the above - [QUOTE]with visual basic bus management system[/QUOTE]. Did you start the application as yet? are you using VB6 … | |
Re: [CODE]'Firstly, I would minimise or clean up my code us follow... Dim rsSearchx As String, rsSearchy As String rsSearchx = "select sector, year, sum(val(prcompany))/count(sector) as Mean, sum(val(prcompany))/2 as Median from pr_q where year=" & curr_year & " and Q=" & q - 3 & " group by year, sector order … | |
Re: Not the same Nathan as a few minutes ago? Welcome to Daniweb Nathan. I'm sure you will enjoy the variety of forums and discussions here. | |
The End.