2,155 Posted Topics
Re: Have a look at your post with the select statement there. Please close/mark as solved this thread. I will be concentrating on your newest post.:) | |
Re: Manhid, you are a new member, so we will oversee your blunder in breaking the posting rules.:) Please read our posting rules [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]HERE[/URL]. We do not easily answer questions starting with "Help/Please Help/Urgent/Need Help Now" etc. It is also very difficult for us to try and establish exactly what your … | |
Re: Have a look at this thread - [URL="http://articles.techrepublic.com.com/5100-10878_11-1046287.html"]HERE[/URL]. This is to get the handle and start "communication" with that window. To find and manipulate the text in another application, have a look at [URL="http://www.bigresource.com/Tracker/Track-vb-Vr7nO0ktnu/"]THIS[/URL], or the best for last over [URL="http://www.vbforums.com/archive/index.php/t-562668.html"]HERE[/URL].:) | |
Re: Have a look at [URL="http://www.daniweb.com/forums/thread326476.html"]THIS[/URL] post with a very similar question. The solution is contained within. First go through that, see if it works for you and then we can move on the next, shut down server...:) | |
Re: No, it does not affect your application at all. On the contrary, it helps with the overall maintenance of an application and is thus promoted and supported by ALL teachers around the globe. Imagine you have to "adjust" another developer's application that has NO comments. He also has his own … | |
Re: What code do you have under your printing sub? Normally use something like - [CODE]Print.EndDoc[/CODE] | |
Re: If understand this correctly, try the following- [CODE]Dim MyTime As Date, DataTime As Date MyTime = Format(Now, "hh:mm:ss") DataTime = 'Get the time from your database here If MyTime > DataTime Then ' Code to Open Door Else Code To Close Door End IF[/CODE] | |
Re: Have a look at [URL="http://databases.about.com/od/tutorials/l/aarelationship1.htm"]THIS[/URL] link with a description of relations, how to create relations etc. | |
Re: There are plenty. Just search Google for "Visual Studio 6 Free Download" I must however warn you that it will NOT be free, no matter what the link states. You will still have to register the product, which will cost you money.;) | |
Re: Welcome to Daniweb. :) I do believe you will find the answers for your IT requirements here. Have a look at the top of the page with the different menus and select your area from there. Happy coding and a LOT of success in the retail of your properties.:) | |
Re: I have made use of a own created calender system which is much more manipulated than the vb control. Try it out and let me know if it worked for you. | |
Re: [CODE]Dim MyDate As Date, ReturnDate As Date MyDate = Format(Now, "yy:mm:dd") ReturnDate = MyDate + 15[/CODE] | |
Re: Yes there is. It will be something along these lines - [CODE]MyRS.Open "SELECT * FROM MyTable WHERE MyObject LIKE 'a%'", MyConnection, adOpenstatic, adLockoptimistic[/CODE] | |
Re: [QUOTE]cool. now watch this neat trick as I embed it right here:[/QUOTE] Show off:) | |
Re: Call the command print by its value. [CODE]Private Sub txtRMANo_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then 'if ENTER or carriage return then call print command button cmdPrint.Value = True End If End Sub[/CODE] | |
Re: I think the reason why no one could help you is because they do not have enough information.:) What file do you want to back up? Where do you want to back it up to? restore sql server? I have no idea what you mean by this. Give us more … | |
Re: I would suggest you contact a copyright lawyer and get some more info from them. They will be able to help you and keep it legal.:) | |
Re: Your code is a little mixed up. Try the following - [CODE]If d.BOF = True Then Exit Sub Else ProgressBar1.Min = 0 ProgressBar1.Max = d.RecordCount ProgressBar1.Value = 0 Do While Not d.EOF If d.Fields(0) = txtRWise.Text Then 'Whatever for the textboxes... 'All the listview codes here... Else ProgressBar1.Value = ProgressBar1.Value … | |
Re: Mismatch refers to an incorrect field name in your table, incorrect control name, the use of say "Text1.Caption" and not "Text1.Text", incorrect string value etc. Post your full code here and where the error occurs. | |
Re: Welcome to Daniweb.:) Post your question in the vb4/5/6/ forum, and we'll gladly help you solve your problem. | |
Re: Jemz, there is no free edition of CR. You can download a trial version, but it still has to be activated by paying for it, sorry.:sad: Also to keep in mind is that the newer versions of CR is not workable within vb6. Only up to version XI (version eleven) … | |
Re: Yes it is possible. You'll need to add a Reference to Microsoft Word Object Library (with the Tools, References menu) [CODE]Dim wrdApp As New Word.Application wrdApp.Documents.Open "E:\My Documents\ReadMe.doc" wrdApp.Visible = True[/CODE] | |
Re: What is a 'Sharp Grid"? Is it an active x component (third party component) you are using? | |
Re: Yes it is. Now give us some more information so we can help you get a proper solution.:) | |
Re: As WaltP pointed out, unload ALL forms in the application OR you can disable the window "x" button as in - [CODE]'In a module, add the following code... Option Explicit Private Const MF_BYPOSITION = &H400 Private Const MF_REMOVE = &H1000 Private Declare Function DrawMenuBar Lib "User32" (ByVal hWnd As Long) … | |
Re: Hi Precila. Your question makes absolutely no sense at all.:) When you say protected and private, what do you mean by that? | |
Re: Welcome to Daniweb Judy.:) You came to the right place for help. We will assist where possible and I'm sure with much more patience.:) When not coding, enjoy the pool, I love it as well. Time is prohibiting me playing recently, but hope to give it some more time soon.... | |
Re: What on earth are you really asking here? It makes no sense at all. | |
Re: You have mentioned that you are using VS 2010 Express (VB6). These are two different versions, completely different code required. Which version is it, VB6 or 2010 Express (VB.NET)?:) | |
Re: Make use of an if then statement, something like - [CODE]With MSFlexGrid1 If .TextMatrix(iRow, iCol) = "-1" Then .TextMatrix(iRow, iCol) = "False" Else .TextMatrix(iRow, iCol) = "True" End If End With[/CODE] | |
Re: Try the following - [CODE]Private Sub Command1_Click() Static xCount As Integer Select Case xCount Case Is = 0 Text1.Text = "2" xCount = xCount + 1 Case Is = 1 Text1.Text = "A" xCount = xCount + 1 Case Is = 2 Text1.Text = "B" xCount = xCount + 1 … | |
Re: Hi Jemz. Have not heard from you in some time now.:) Use the trim function - [CODE]Text1.Text = Trim(Text1.Text)[/CODE] Debasisdas code will look something like - [CODE]Text1.Text = Replace(Text1.Text," ","")[/CODE], which by the way is the best way to remove empty spaces....:) You can also add the below code to … | |
Re: Poisened, this is more a question for the IT Professional lounge. I have asked that it be moved there. Good luck with your new project.:) | |
Re: Debasisdas code will show the default question icon. By using vbInformation, the indormation icon will show, vbExclamation will show the exclamation icon. Did you want to add your own icon on the message box? | |
Re: What exactly do you want to do with the calender control? What database will you be using? What kind of reservations? What code do you have so far? | |
Re: I suppose the only reason you want to disable/enable the toolbar is because there is command buttons contained within it? To do that, disable the actual buttons. The toolbar itself can not be disabled. You can however set it to visible true/false. [CODE]'Disable buttons... Toolbar1.Buttons("MyButtonName").Enabled = True[/CODE] I found this … | |
The End.