1,130 Posted Topics
Re: Hmmm... Something along a card shuffle algorithm... [code] Option Explicit Dim NumArray() As Integer Private Sub Form_Load() Dim ForLoopCounter As Integer, Temp As Integer, HoldValue As Integer ReDim NumArray(9) As Integer Randomize For ForLoopCounter = 0 To 9 NumArray(ForLoopCounter) = ForLoopCounter Next ForLoopCounter For ForLoopCounter = 0 To 9 'get … | |
Re: [QUOTE=akshits;869040]I don't think so it is possible to do it in VB6 but it can be done in VB.NET! I can send you the code if wanted! Regards[/QUOTE] Oh how contraire akshits... See... [url]http://www.tek-tips.com/viewthread.cfm?qid=1095460[/url] Good Luck | |
Re: What kind of access are you using? ADO, ADODC, DAO, DAO ODBCDirect, RDO?, What version of Access? If ADO, are you using a DSN? | |
Re: In VB's help, on the index tab, type in SetPrinter and hit enter. When the help file comes up scroll down to the bottom and click on Printing and Print Spooler Functions. You will need to look at OpenPrinter, PRINTER_DEFAULTS, DEVMODE, DeviceCapabilities, GetPrinterDriver, and quite a few others including the … | |
Re: On the remote machine... Did you create the ODBC DSN so that it pointed to the machine with the DB? Because that is the gist of the message. | |
Re: What version of DAO are you using? | |
Re: Okay, very open ended question but since you say it is your web site I must guess that you have at least some knowledge of HTML. Now, if you are wanting these programs to be downloadable for installation then you need to make setup packages. Then drop those zipped up … | |
Re: At the top of the code window, above all other code, do you see the words "Option Explicit"? If not, add these words and press F8. Your error, when you compile, should now be highlighted. Now, in the future so that this appears automatically, goto VB's menu Tools>Options and when … | |
Re: I have never tried this while using ADO but I do know that DAO does not care what the extension of the file is as it checks for the contents of the file, i.e. change databasename.mdb to databasename.abc. and even with the password this is easy enough to get around … | |
Re: For chat see... [url]http://www.vbforums.com/search.php?searchid=2040887[/url] for the game see [url]http://search.yahoo.com/search?p=vb6+tic+tac+toe&fr=yfp-t-501-s&toggle=1&cop=mss&ei=UTF-8[/url] Good Luck | |
Re: Sounds more like a combo box you are using. If so see this thread post #2 [url]http://www.vbforums.com/showthread.php?t=566063&highlight=type+ahead+ability[/url] Good Luck | |
Re: see my instrucions in this thread [url]http://www.daniweb.com/forums/thread181952.html[/url] post #4 to see if it can give you any ideas... Good Luck | |
Re: Perhaps those "spaces" you are talking about are actually "tab" characters. Try replacing with vbTab instead of " ". Good Luck | |
Re: Real simple answer is to add a module and declare your varibles with the Public keyword. Then from each of your forms as you complete your calculations you can assign these/this variable with the result of your calculations. Thus in the next form you should be able to retrieve the … | |
Re: use the keydown,keypress, or keyup event of the command button and form (just in case the command button looses focus). Good Luck | |
Re: AddFontResource API Good Luck | |
Re: So you want to limit access to the database based on access times. Well then, you will need some sort of table in the database that contains the user and the start/stop access times. Then at program start you would query for this information plus you would need to query … | |
Re: You can try the forms zorder (=0) but you may want to look at either the SetWindowPos API or SetForegroundWindow API. Good Luck | |
Re: see my reply in [url]http://www.daniweb.com/forums/post854246.html#post854246[/url] Good Luck | |
Re: search "Watch Folder" via google/yahoo and you might want to add vb6. Also there is a sample at tek-tips.com in the vb 5/6 forum I believe by strongm. Good Luck | |
Re: In VB press CTRL+T or right click on the toolbox and select components. A dialog will come up. Scroll down to the Microsoft Masked Edit Control. Selrct it and click OK. Place it on your form, select it, and press F1 to read all about it. Good Luck | |
Re: Add the microsoft internet control to your toolbox (It's actually the webbrowser control). Then you can simply use WB.Navigate pathtofile. Good Luck | |
Re: [QUOTE=arvin2006;853526]good day everyone! how can i distribute the exe application w/o using package and deployment wizard?[/quote] You can't. [QUOTE=arvin2006;853526]i just made it executable. the problem is the the database path changes because i did not use the App.Path. I know how to use App.Path using ADODB, but with ADO Data … | |
Re: With the use of the DateDiff function and either the time function or the now function, and you can look these up in vb's help. The timer control is in the toolbox of the standard exe project and placing one on your form, selecting it, and pressing F1 will allow … | |
Re: Well, you are going to need some sort of way to know where the paths are. Once you have that then the rest should be easy. One thought is to color the areas where your object are not allowed to travel with a color of your choice. Then you can … | |
Re: Not having done such a thing, I can only guess from what I have read from other posts. You will need to run the install as admin (right click run as). Then if you are able to get it to install, install everything. However if you are not able to … | |
![]() | Re: WELLLL..... If this is a transaction table, and you have an autonumber for a unique primary key, then... There are several ways in which to solve your problem, the following in only one way... Based upon the first sentance in the hopes that you have a unique primary key you … ![]() |
Re: #1 Define your requirements in excruciating detail #2 Define the technology to be used (VB6/VB.NET 2k2,2k3,2k5,2k8/Delphi/Access/SQL/Text/Other/Other) #3 Design your GUI with explanations on how each item/control is supposed to work #4 Then come back with specific questions e.g. How to connect to access database How to retrieve records/update records/daily sales … | |
Re: Are you looking for function in Oracle? Or from vb you can use the Now function to put the date/time into a variable that you can use as an update/insert into oracle. Good Luck | |
Re: Check out... [url]http://www.quickpdflibrary.com/promotions/landing1-pdf-vb-activex.php[/url] Click on Overview Click on Help Manual (Online) < Located in grey box to right Click on Extraction Click on DAExtractPageText Seems like it should do the trick for you. Good Luck | |
Re: mizkhyz, This thread is nearly two years old! In the future please start your own thread and if need be reference previous thread by copying and pasting the link in your thread. Also, it would help if you pasted the link to the php page you need help with as … | |
Re: Use PDW to distribute your apps... Good Luck | |
Re: See my post in thread... (#4) [url]http://www.daniweb.com/forums/showthread.php?t=181952[/url] Good Luck | |
Re: In visual basic 6.0, of which you have posted your question in the wrong forum, public form variables are access via form1.variablename Good Luck | |
Re: Input past end of file means that you are trying to read more than the file contains. In help, on the index tab, type in input keyword and select Input # Statement. Good Luck | |
Re: Do you have the code to open a database? Do you have the code to select what you want from the database? Do you want to keep the native database format or are you wanting to export it to something like a .CSV file? Are you looking to be able … | |
Re: [QUOTE=Dextergaisie;843840]Hello everyone, please i need your help very urgently. I am working on a data management application and am using the data control and the standard report system. The following is an example of data collected. Name Age Birthday ( Day/Month) , Gender Samuel 23 2/5 Male John 22 3/5 … | |
Re: Okay then, without knowing the IP then what are your options? Enumerate through each and every IP until you get the responce you are expecting? You may have to involve another computer to accomplish what you want if you are wanting to do something like a chat program. However, you … | |
Re: ODBC and ADO (and DAO, DAO ODBC Direct and RDO) are data access methods while MySQL, Access, SQL, ORACLE are databases. Now if you have MySQL running then check out [url]http://www.connectionstrings.com[/url] for connecting to your database. Once that is done, then we may be able to help you further. Good … | |
Re: [url]http://search.yahoo.com/search?p=extract+files+from+tar+file+vb+6.0&fr=yfp-t-501&toggle=1&cop=mss&ei=UTF-8[/url] | |
Re: goto [url]http://www.vbaccelerator.com[/url] search zip They have both the zip and unzip dlls with vb source code projects. Good Luck | |
Re: You can save yourself a lot of time and code by using an array of option buttons instead of check boxes... [code] Private Sub Option1_Click(Index As Integer) Text1.Text = Option1(Index).Caption End Sub [/code] and that is all the code you need... Good Luck | |
Re: With the single ticks [COLOR="Red"]'[/COLOR] surrounding your date, you are telling the database that you are passing a string. Try removing the single ticks or surrounding the date with [COLOR="Green"]#[/COLOR] signs. Good Luck | |
Re: Outlook, Outlook Express, Other? If outlook then search the web for automating outlook vb 6.0. Good Luck | |
Re: Check out the split and join functions in vb's help files. Good Luck | |
Re: In this simplistic example, the "Info 1" (2-3) is what you are searching for while the "1"/"2"/"3" could be considered as your row numbers. [code] Dim C As New Collection, FoundItem As Boolean, ForLoopCounter As Integer C.Add "Info 1", "1" C.Add "Info 2", "2" C.Add "Info 3", "3" For ForLoopCounter … | |
Re: If it is a legal copy then MS might be able to help or some antivirus software suites can check disks and I mention this because it seems that MS OS's seem to try to write the FAT back to the disk thus creating two FAT's for the disk. Good … | |
Re: There are several ways in which to hold/keep information between activations of your program. There is the registry, database, or simple text file just to name a few. Now, using a text file to save/read information is the easiest but we need to know exactly what you want to do … | |
Re: Okay,... Just a couple of points here... To begin with so you do not have to load, clear, and then reload you list box, I would suggest you add another listbox or some other control and load the information into it only one time. Then make that contol invisible (visable=false). … |
The End.