1,130 Posted Topics
Re: abdalla, You are in the wrong forum! You need the .NET forum! And when you post your question over there, DON'T RAISE THE DEAD! Create your own thread!!! Damn necrophiliac's :) Good Luck | |
Re: I would check for an interval delay or use a boolean value to prevent the called sub/function from being called repeatedly, or perhaps a timer control would do... Good Luck | |
Re: Okay, there are three files you need to distribute you application. The Cab, the lst, and the exe. (You did create a standandard deployment package, didn't you?) The support directory you do not need to include in your zip, if that is how you are putting you application on the … | |
Re: Ahhh!!! I see dead threads!!!! lashatt2, Please in the future start your own thread and if need be, copy the url into your new thread. And NO, I don't understans so please start your very own thread and if you really need to, copy this threads url into yours. Good … | |
Re: Search the web...!!! There are many examples out there! Good Luck | |
Re: Through emulators, VB 6.0 can run on Linux and Mac but .NET is .NOT on those platforms last I heard.... Okay, .NET can run on Linux... and you have to run a windows OS on a Mac for .NET to run (Quick reads). As for MySQL or MS's SQL Server, … | |
Re: In module... [code] Public Const MyVar As Integer = 5 [/code] However, you will not be able to change this value if you are wanting to have this value change. Now, there is another way if you have your program start up in a sub main... [code] Option Explicit Public … | |
Re: You might get away with [code] Printer.Orientation = vbPRORLandscape [/code] Or via the use of the common dialog control but if not you will have to go around the hard way with the SetPrinter API. Good Luck | |
Re: Well, if you have the findwindow API working you are half way there if not more. Search on vb6 kill process, vb6 terminate program, vb6 sendmessage wm_close (at least if my memory serves me right that is the constant to use...). Good Luck | |
Re: For connection string information, see [url]http://www.connectionstrings.com[/url]. For further support on exposing your server to the internet, see the documentation or MS for further info. Good Luck | |
Re: something like... [code] If j Mod 42 = 0 Then Me.cls Print ... [/code] This will clear the form of the printing you have done to it and reset the currentx and currenty properties to 0. Look it up in help to make sure you use it right if you … | |
Re: Search the web for watch directory and for a good start look at this thread and follow strongm's links to his code... [url]http://www.tek-tips.com/viewthread.cfm?qid=1568282&page=1[/url] Good Luck | |
Re: Well since OP does not have the source, the OP cannot check references, and I'm betting that the "Error Creating Letter: Cannot Create Object" is our best clue as to what might be going on. I'll also bet that the system is missing some third party software like Adobe, or … | |
Re: GoTo the school or public library and watch how the transactions are made. Write down, step by step, how a typical transaction goes. Talk with the employees there and find out the steps they go through for each and every transaction. Then, figure out the five W's. Who, what, when, … | |
Re: Thanks for the reference AndreRet :) | |
Re: Thirdly, how can you call this thread anything to do with visual basic versions 4/5/6 when it contains .NET code??? | |
Re: Where did you tell your setup package to install your database? Because I believe the path you used to point to your database is incorrect and hence the error you are recieveing... Good Luck | |
Re: Either rewrite as an ASP application or convert it to activex. Good Luck | |
Re: by use of the rnd function (see help) and the randomize statement in your startup object. Good Luck | |
Re: Why not just use the DriveListBox??? | |
Re: Lines 22 and 23 need to be reversed. First open the recordset, then set the recordsource, and finally do the refresh, which reminds me. No need to do the refresh in the loop. After that then you might also want to follow AK's advice above... Good Luck | |
Re: Abu, I would suggest you start off by getting one of those cheap serial port LED cards and search on the web for it using rs232 (?) cable communications or "vb6 rs232 example"... [url]http://www.rs232-serial-communications.com/serial-communications-activex.htm[/url] While the above site is selling an activex control, if you scroll down a bit they … | |
Re: Capture start time into a variable and use datediff function to test the difference returning seconds mod 60 returns minutes mod 60 returns hours. Understand? Good Luck | |
Re: Not quite sure what you are asking but I do know you will need to use ExtractIconEx. Now, in these search results ... [url]http://search.yahoo.com/search?fr=yfp-t-701-s&toggle=1&cop=mss&ei=UTF8&rd=r2&p=vb6%20extracticonex[/url] I would suggest that you have a look at vbAccelerator, theScarams, and vbnet.mvps.org examples. One of them should lead you into the right direction... Good Luck | |
Re: What is the version of the database you are having problems with? You may have to convert it to a previous version... Another thought. Did you add the reference to the data access object? Good Luck | |
Re: In visual basic 6.0, if you have a form displayed it will recieve these events, and how you interpret and intercept them is through the query unload event of the form. As for the OS's status there is a whole lot more information than that, that you can acquire. Look … | |
Re: In form1 create a public sub so when you hide form2 you can call it... [code] Form1.MyPublicSub Me.Hide [/code] then in the form1's mypublicsub you instruct whatever data access method you are using to refresh/requery itself and to redisplay the information. Good Luck | |
Re: Well first off you need to make sure the directory exists by using the dir function and if it does not exist then you need to use the mkdir statement. HOWEVER, if you are on vista or win7 and in the program files directory, you will not be able to … | |
Re: two different ways are shown in the following... [code] Option Explicit Private Sub Command1_Click() OpenShowFile End Sub Private Sub OpenShowFile() On Error GoTo OpenShowFileError Dim FName As String, FNumb As Integer Dim FileContents As String CD.CancelError = True CD.Filter = "Text Files *.txt|*.txt" CD.FileName = vbNullString CD.ShowOpen If CD.FileName = … | |
Re: Use your friends... (yahoo, google, ask, answers, bing)... [url]http://search.yahoo.com/search;_ylt=A0oGkxqMPvZKW1IAgxBXNyoA?p=vb6+ado+retrieve+table+names&fr2=sb-top&fr=yfp-t-701&sao=1[/url] Good Luck | |
Re: On win2k and earlier you can use the Wang/Kodak imaging controls (image edit, image admin, etc), on xp and later you can use WIA (Window Image Acquisition). Search MS for the SDK download... Good Luck | |
Re: [code] mainForm.StockDisplay.Caption = mainForm.StockDisplay.Caption & vbNewLine & intLevels(lngPosition) [/code] Good Luck | |
Re: If you are talking about design time... then,... Drag mouse over all the controls you want to make visible = false. OR, you could put these controls in a frame, picture box, or other container control. If at runtime..., then,... Same advice. Put the controls in a picture box and … | |
Re: Jupiter2, Here is a way to shorten you comman1_click code... [code] Image1.Visible = Not Image1.Visible [/code] Just a piece of knowledge I thought I would pass along. As for the OP, deftones, Jupiter2 has most of what you need to accomplish what you want but allow me to clarify more... … | |
Re: Okay, in your first post you set the lock type with the second code snippet but I don't see it in the first code snippet, which means if you have not explicitly set it, it defaults back to its default settings, which might be your problem. Now, in your second … | |
Re: I believe you have posted this before and now that you have actually asked for opinions, here we go. This is not like VB.NET's Try, Catch, Finally as you explicity tell the compiler to ignore errors (On Error Resume Next or On Error GoTo 0)... The following is VB.NET code … | |
Re: Just a note... VB2008 [b]IS[/b] VB.NET... As for unique systems... Resellers database (Middle man sales) Fake stock trade with all the formulas to teach people how to trade stocks and what to look for/how to read statements MMORPG Engineering solutions (See [url]www.FantasticContraption.com[/url] or [url]http://www.miniclip.com/games/magic-pen/en/[/url] or [url]http://bbg.bridgebuilder-game.com/[/url] or [url]http://www.crypticsea.com/bridgebuilding/index.html[/url] ) User … | |
Re: Just a note here. What you are talking about is called fraud. I have flagged this thread and will leave it up to the admins to keep it open or close it. You have some splainen to do lucy (okay showing my age...) | |
Re: Connecting to the server is not the problem but when you do, any batch files will be run against the connecting computer and not against the server. To have the batch files run in the servers processes, you need to have the program reside on the server... Good Luck | |
Re: Yes... For readability, I try to keep my subs and functions as small as possible. So, if I can break a piece of code out and put it somewhere so I can call it, then so it is done. If there is a piece of code that I keep repeating, … | |
Re: Use the query_unload event, set cancel to true and hide the form with me.hide or me.visible=false Good Luck | |
Re: Welcome! >Randomly getting data populated with first record information. Please explain a little more... Do you know how to retrieve data from database? How are you accessing this data? (ADODC, ADO, RDO, DAO ODBC Direct) Good Luck | |
Re: Look at where you have saved your files. You should see a *.vpg, and one or more *.vbp files. the *.vpg is the group while the *.vbp are the project files. To access just the project, double click the *.vbp file. Good Luck | |
Re: Several ways in which to do this and here are three... 1.) (Pass) Add a module and declare a public string variable and when user hits ok, you set the variable with the string you want. Then when the other form loads, that form retrieves the value and displays it … | |
Re: Not a simple solution as you have to subclass the textbox. Please see this example... [url]http://vbnet.mvps.org/index.html?code/subclass/contextmenu.htm[/url] or this that says you don't need to subclass... [url]http://www.devx.com/vb2themax/Tip/18376[/url] this one uses subclassing in conjunction with a dll... [url]http://www.devx.com/vb2themax/Tip/18413[/url] and not so sure about this one as it uses a timer and the … | |
Re: You know what!!! If you really want someone to do this for you, then go over to rentacoder.com or odesk.com and hire someone to do it for you, else learn how to do it yourself by at least opening up the design environment and giving it a try... | |
Re: So you are using the ADODC (ActiveX Data Objects Data Control) right??? [code] adodc1.Recordset.Update [/code] Good Luck | |
Re: See [url]http://www.connectionstrings.com[/url] Good Luck | |
Re: Conver database to access97 and use the data form wizard, which you can find under Add-ins>Add-In Manager. I would suggest that you run the wizard for each type of form and with each type of data access and save this project for future reference. Good Luck | |
Re: and...??? You are not giving us a whole lot of information. What school book? what is your problem? Where is your problem? |
The End.