1,130 Posted Topics
Re: A couple of different things may do the trick... 1) upgrade your sp to vs6sp6b.exe [url]http://www.microsoft.com/downloads/details.aspx?familyid=9EF9BF70-DFE1-42A1-A4C8-39718C7E381D&displaylang=en[/url] 2) turn UAC off 3) learn API SendMessage with WM_SETTEXT Const (you may or may not need some combination of the following... FindWindow, EnumWindows, EnumChildWindows, PostMessage) Good Luck | |
Re: And you are in the wrong forum as this is a forum for VB6.0 which is pre .net tech... | |
Re: One, this is not a code snippet!!! Two, what do you want to search for? Aliens? Cats? Dogs? Stars? Mice? Roaches? Farmland? No! It couldn't be any of that could it??? Must be a hard drive, internet, LAN, WAN, words, machines, users, domains, or perhaps a database? Hmmm... now if … | |
Re: Okay, this can be done with the webbrowser control (Project>Components>Microsoft Internet Controls>ok) Now the best place to get a tutorial on the WebBrowser Control is over at vbforums in their codebank section... Good Luck | |
Re: Hmmm... Three child forms... Well, you are either going to need to capture a screenshot of each and assemble a bitmap from them and then print that out, or use a report of some kind. Either a data report or crystal reports should do the trick for you if you … | |
Re: Time to use your friends (yahoo, google, ask, answers, bing) to search for vb6 rs232... Good Luck | |
Re: How do you want to access the *.mdb from VB6.0? RDO, ADO, DAO, Data1, ADODC1? What code have you tried? Any errors? What Line? We need a bit more information to be able to help you but if you are wanting to use ADO see both the data form wizard … | |
Re: Yes you can. Just as soon as you use your friends (yahoo, google, ask, answers, bing) and search for it... Good Luck | |
Re: Well, without seeing the actual code that calls this function it is kind of hard to tell but I'm guessing that you are getting you error because you are not passing a cChain variable or not passing actual arrays... Good Luck | |
Re: You will need a database, some hardware, and some software. What exactly is up to you.... Now, if you want more help than that, lets see what you have tried. Where are you getting errors and on what line? What do you mean by automated? Good Luck | |
Re: I suggest that you do what jireh suggest but before you do, set the style of the combo box to 1 - simple combo. Then resized it's height to see if that is what you are looking for... Good Luck | |
Re: Well what do you know!!!! Another nonexistant code snipped!!!! And low and behold, it is another question!!!! Well now, lets see where the OP's code could have gone wrong.... Well what do you know!!! No code to examine!!! So I wonder how we are going to help the OP if … | |
Re: It should be installed on the users computer when you/they install your program... Oh, no!!! Don't tell me you thought you could get away with just giving them the exe!!!! No, you have to at least use the PDW (Package and Deployment Wizard), or better yet, you could use Windows … | |
Re: So spawn the upgrade exe from the dos batch file... Good Luck | |
Re: Glad you were able to solve it yourself, but why did you not post your solution so others could learn from it or why have you not marked your thread as solved? Good Luck | |
Re: Simple as it should have a driver that shows up in the printers list... [code] Printer.Print "This is my string" Printer.EndDoc [/code] Good Luck | |
Re: Use the datediff function and if you do not have any processing going on at the button click event, use a timer set to 60000 and see if Now() or Time is greater or equal to the value from the datediff function... Good Luck | |
Re: Perhaps a quick search with your friends (yahoo, google, ask, answers, bing) might return some results... [url]http://search.yahoo.com/search?p=vb6+quickbook&toggle=1&cop=mss&ei=UTF-8&fr=yfp-t-701[/url] or perhaps a search of their site might provide some useful information... [url]http://intuitsearch.intuit.com/search?output=xml_no_dtd&num=15&client=accountant&site=proadvisor&proxystylesheet=accountant&q=visual+basic[/url] Good Luck | |
Re: Do you know how to use ADO? Search with your friends (yahoo, google, ask, answers, bing) for vb6 ado tutorial. See [url]http://www.connectionstrings.com[/url]. Use the Data Form Wizard under Add-Ins>Add-In Manager. Good Luck | |
Re: Is there not a RTB.SaveAs or SaveFile or Save property? And if so, why have you not pressed F1 to read all about it? :) Good Luck | |
Re: Don't forget the... [code] Printer.EndDoc [/code] Good Luck | |
Re: Okay, you want to trap letters and how do you want to do this? Are you talking about trapping letters that are types into a text box? If so, you can use the keydown, keypress, and keyup events. Are you talking in general? If so, then you will need to … | |
Re: You can however find legal copies at ebay and at nextag.com. I would suggest in actually getting the enterprise version of studio (not just vb but the whole suite of programming languages.). Good Luck | |
Re: See... [url]http://www.connectionstrings.com[/url] ... Good Luck | |
Re: Well you are going to have to come up with some scheme that can decode the "license key" to set your expiry date so you will not have to have your users instal a new program because of hardcoded values... Good Luck | |
Re: The short answer is... (drum roll please...).... Yes! The long but simplistic answer is there are three graphical layers when it comes to VB6.0 forms. The first or lowest are methods done to the form itself. Meaning Me.Print and the forms backcolor and picture properties. The next layer are the … | |
Re: Well this can be done one of two ways... The first is to use an ORDER BY statement when you retrieve the records from the oracle table or you can set the sorted property of the listbox to true... Now, if you need help in retrieving records from an oracle … | |
Re: codefixer, You have a few incorrect statements in your explanation... To begin with... >for the above variable to be accessible by all functions within a form(module) declare it in the 'General Declaration' section in the code window-this will qualify to be local variable but accessible only by functions created in … | |
Re: The ListView control, found in common controls 6.0, has the ability to display checkboxes... Good Luck | |
Re: Okay, so I take it you have the filling of the second listbox figured out, even if user changes mind and unselects say MS Word and what you need to figure out is how to launch such software while using those options... Well if they are command line arguements, you … | |
Re: Perhaps if you asked this question in the correct forum, as this forum is NOT for .NET... | |
Re: Just a note of warning, doing a select * and then using variable = rs.recordcount may return undesirable results. To be more specific, it may return a -1, which means it returned records (not zero (0)), but the amount of records are larger than the page size. So to fix … | |
Re: There is always the masked edit control.... Good Luck | |
Re: Not quite sure what you are asking but for ascii codes you can look on the web with your friends (yahoo, google, ask, answers, bing) or in vb's help file on the index tab by typeing in ascii Good Luck | |
Re: You will have to enumerate through the nodes to find out which ones have been selected and if they have then retrieve the information you want from them... [code] Option Explicit Private Sub Form_Load() Dim N As Node Set N = TV.Nodes.Add(, , "Root1", "Root1") Set N = TV.Nodes.Add(, , … | |
Re: Use printer.print to print the standard aligned text, and take a snapshot (use friends (yahoo, google, ask, answers, bing)) of what you want to be rotated and use printer.paintpicture... Good Luck | |
Re: You can read about cursors in VB's help files. As for connection string help see [url]http://www.connectionstrings.com[/url] Good Luck | |
Re: [quote]What codes do I need if I want to retrieve data from my database from one pc to where my database is?[/quote] You need to point your program connection to, as debasisdas said, to the database on the shared drive... But how do you do this, you ask? You are … | |
Re: here is a one shot deal that you can use with the command object... [code] strSQL = "UPDATE cooperatesubs SET [cooperatesubs].[copiesremaining]=[cooperatesubs].[numberofcopies]-[cooperatesubs].[copiesout]" Cmd.Execute strSQL [/code] and if you open your connection to the database with pessimistic locking, the whole table will be updated in one shot without errors from other people … | |
Re: [code] Private Sub Command1_Click() Dim F As Form Set F = New Form1 F.Show End Sub [/code] Good Luck | |
Re: Well first off lets make sure you are using Visual Basic 6.0 AKA Classic VB and not any of the .NET versions, which are 2002, 2003, 2005, 2008, and coming soon 2010. Now, if you actually have the Classic Version of Visual Basic, the next question is what is your … | |
Re: Is there an actual question in there? As for creating an OS in VB,... Not happening! For creating an interface to an OS, well that sounds exactly like what you are doing... | |
Re: Okay, if you are talking about subscriptions, i.e. magazine subscriptions or something of the like. Would you not want to warn the customer a couple of issues prior to recieving their last issue that their subscription is running out??? If so, then you might want to do something like this... … | |
Re: Well not being a member of that site I can only give you the views of other sites... 1) It is considered impolite to bump your own threads prior to a day or two having elapsed. Reason: In general, with forums, when you ask a question, a person will either … | |
Re: You will have to add the setup files to your setup package. Then you have a couple of options... 1) Customize the Setup1.exe project so that it installs the MySQL files with, if any, of the appropriate command line switches if user wants it on that particular machine. Meaning, install … | |
Re: Kumar,.... It is not nice to raise the dead threads and in the future if you need to reference an old dead thread, please copy its url into your new thread. As for you question, the finger print reader should come with some software and if you are lucky, there … | |
Re: Well I do not see where you have the procedure Wait defined but it should be a doevents/sleep loop that is long enough to allow the first operation from the sendkeys to execute before the second sendkeys is sent... Good Luck | |
Re: You need to use the CurrentX and CurrentY to set the position of where you want the text to be drawn... [code] Me.CurrentX = 1000 Me.CurrentY = 1000 Me.Print "This is a test" [/code] Good Luck | |
Re: Okay, it has been awhile sinced I attempted to answer a VBA question, but my mind sort-clicked as the dark recesses of it stired... I believe there are two ways in which to do this. One is to declare a varible public in this workbook and the other is something … | |
Re: Not that I know of as I believe it is not a container for OCX's, but then again I could be wrong. Have you tried to add the control while in the designer? Unable to do so. I thought so but if someone can come along and prove to me … |
The End.