1,372 Posted Topics
Re: If you look in the tutorial's sections of this forum (VB tutorials) there is a tutoral I wrote on how to connect to a pop3 server using VB.... here is that link: [url]http://www.daniweb.com/tutorials/tutorial20424.html[/url] | |
Re: Are you sure the VB program is only reading 10 table names from the database, or is the treeview only displaying 10 items? | |
Re: Is This a homework project, or something for work, or something for yourself? This makes a difference in the approach that you will have to take in order to make some of the options work a specific way. | |
Re: I have a nice page for you to look at regarding "regular expressions" or "regex". Now, Regex is nice, but can be a bit confusing. Line Noise, as it's been called, can do magic, however, with a correctly set up expression, or expressions. I see that you tried with "m" … | |
| |
Re: top.window.location="mail.html"; no? | |
Re: They are always there... Windows makes MRU's by default.... I've even built sample apps to read/edit/delete MRU Entries.... | |
Re: One Possible Solution, is to check and see if the app is already running. If it is, in fact, Word that is giving you grief, you could use a timer, for example, and search to see if the classname is open.... In a code module, add this: [CODE] Public Declare … | |
Re: I need more information, exactly on what you want... like... what you have access to all. Let me put it this way, if you want to give me the paths to the log files, and the paths to where you want them saved, I'll build it for you. I'm not … | |
Re: I don't understand exactly what you mean. I can tell you that spaces, tabs, and newline characters qualify as white spaces..... if you would like sample code, that tells you how to count the number of white spaces.... then that's a different story. | |
Re: I don't use winsock. It's functionality is limited in the realm of sockets, and to make matters worse, I find the code you need to work with it... well, leaves a lot to be desired. I prefer the use of a control that is free from [url]http://www.catalyst.com[/url], known as socketwrench. … | |
Re: *Has A Headache Just Thinking About It* Understand, that this will be the bloodiest, most brutal war in computer history.... as long as you are aware of this....Seeing That VB Misses A HUGE number of things that C is able to accomplish. You don't have pointers, you don't have structs … | |
Re: Well Visal, It Says "You Must Spread Around Some Reputation Before Giving More To inVisal", so, I'm giving you rep points by this post instead :) | |
| |
Re: [CODE] ' /* Dimension Object Variables */ Dim ojbExcel ' /* Create The Object */ Set objExcel = CreateObject("Excel.Application") ' /* Actually Open The File */ Set objWorkbook = objExcel.Workbooks.Open("c:\path2your\file.xls") ' /* Choose Which Worksheet (or Tab) We Are Working With */ objExcel.ActiveWorkbook.Sheets(1).Select() ' /* Read The Value From The … | |
Re: it sounds to me like you have it figured out. Sometimes it's a bit more complex than we would like it to be.... or that we originally thought. Sorry I couldn't have given you more assitance on this matter.... but I'm a little confuzzled with it myself. | |
Re: Well I would suggest getting the length of the wav file.... how long it plays in seconds, and then stick a timer control on your form, with it's interval set to 1000. That way the timer executes every second, and you set a static or public variable to increment every … | |
Re: I'm not 100% sure that I understand what you are asking. I know that you want to use a text file to be read into the script, but what I'm lost at, is are you wanting for the HTML that accepts the URL and number of hits to no longer … | |
Re: I would say that a quick scan of google for the filenames that are in question would result in a pretty good answer..... Moneystartup = Microsoft Money scanregistry = Microsoft's Registry Checker * [url]http://castlecops.com/startuplist-3215.html[/url] taskmonitor = Checks Disk Access Patterns/how often programs are used PCHealth = Apparently Automatic Updates From … | |
Re: It's ok, I'm pretty long winded myself! Welcome to daniweb, and I'm sure you'll be great addition to the community here. Especially if you're coding Perl! :D What you need to use to solve your problem is called "regex" or "regular expressions". It's very easy to use, but it looks … | |
Re: In a standard code module, add this: [CODE] Public Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long Public Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long Public Const … | |
Re: I think Visal certainly hit the nail on the head with that one. Doevents is the way to go. Do me one big favor, and let me know how it turns out. | |
Re: ;) Me again! [CODE] Dim objNetwork Set objNetwork = Wscript.CreateObject("Wscript.Network") computerName = objNetwork.ComputerName [/CODE] Will Return the computer name in question. Then you have pretty much already answered your own question with your psuedo-code above. (By The Way, You can put your code in the little boxes like the one … | |
Re: do you have a sub or function with the name of xLoadList? If so, please post the code for that as well. If NOT, then the problem is you have an X before loadList ;) | |
Re: There are controls for voice recognition with VB6. You have to download these controls. here is a page that has such a control: [url]http://www.programmersheaven.com/zone15/cat724/[/url] or for using the microsoft voice recognition control: [url]http://www.martin2k.co.uk/vb6/tips/q3.php[/url] In order to do what you want to do without using a 3rd party tool (which I'm … | |
Re: Alright: [url]http://www.digitalnemesis.com/ash/projects/picservo/SERVOTST.BAS[/url] [url]http://www.aaroncake.net/electronics/qblpt.htm[/url] and to do this in Visual Basic (Maybe More Productive?): [url]http://www.aaroncake.net/electronics/vblpt.htm[/url] Sorry I couldn't give you more of a link-list, or better description.... hope this helps some. | |
Re: I don't remember 100%, but I think you are supposed to stick the progressbar.value=current_value in a timer, or some kind of "update" function so that you can have it keep track of where it's position is, relative the operation you are performing. So, if you are installing something, you have … | |
Re: This site has a great tutorial covering ADO with VB6. This should help you out a lot. Let me know how it fair for you. [url]http://www.timesheetsmts.com/adotutorial.htm[/url] | |
Re: I'm pretty sure that if you tie the first struct, you can reference it as a hash, and then it will be like having a hash of structs. I could be wrong, but have you looked at: [url]http://search.cpan.org/~acalpini/Win32-API-0.41/Struct.pm[/url] Read the section near the bottom that discusses using tied structs, and … | |
Re: [CODE] parts = split(txtchat.text, " ") RawCommand = parts(0) Parameter = parts(1) Cmd = right(RawCommand, len(rawcommand) -1) [/CODE] That Should Work ;) | |
Re: What method exactly are using to write to the file? You have posted no code, but I'm guessing that you are using "write" to write the information to the file. Change your write command to print. print #1, "your data" should work fine. Here is the code example that I … | |
Re: I've been Looking at your code, and what you are wanting to do is going to be a little bit of work. It's a pain, because, the guestbook is saved as an HTML document, and then parsed and displayed. The reason this is a problem is because we have to … | |
Re: I'm not 100% sure what an AD Group is.... if you can give me a little more light on that subject, I can probably help you out. As for retrieving the Day of the Week (say, Sunday - Saturday), I have written a function that returns the day of the … | |
Re: I'm willing to bet that the 1 to 3 minute loading process is due to the exchange of information on the back end. I'm not blaming Oracle, I'm blaming VB in the way that it works with Large amount of information. As for the speed in loading your combo box, … | |
Re: Not without editing the word file. If you could it would be ideal, and then just add a personalized clue on the same line as the word, separated by a delimiter. With that many words, however, that simply won't do. If the game is going to be online accessible, you … | |
Re: The unfortunate answer is that VB ultimately only allows you to assign arrays as such. However, There is a minor solution that you can take into play. Depending on the data type, you can use different predefined functions in VB to return yourself arrays, but it's kind of crappy. There … | |
Re: [B]Method 1:[/B] In your project, add a new standard module, and put this in it: [CODE] public Declare Function ExitWindowsEx Lib "user32.dll" (ByVal uFlags As Long, ByVal dwReserved As Long) As Long public const EWX_FORCE = 4 public const EWX_LOGOFF = 0 public const EWX_POWEROFF = 8 public const EWX_REBOOT … | |
Re: I'm wondering if some of the properties to crystal require a specific data type: ATMhist.SelectionFormula = "{TManifestHistory.date} = date ( " & ATMDate & " )" And "{TManifestHistory.FlightNo}='" & Combo2 & "'" TManifestHistory.FlightNo, for example, might be expecting an integer, instead of a string (Returned from combo2), and if it's … | |
Re: Read This Thread: [url]http://www.daniweb.com/techtalkforums/thread22650.html[/url] As long as the network printer is installed as a printer on the system you are running the application from, this should help. | |
Re: Hmn. The code looks right. I would try to change it from handling mybase though, to handling the form in question. I'm not sure if that will make a big difference or not, since I don't use .NET, but it would seem to me that the sub should handle keypress … | |
Re: Something you may want to consider is using crystal reports.... I don't like it, but it sounds like it's right up the alley you are walking down. Here is a reference to a code example, using the chart control, though: [url]http://www.freevbcode.com/ShowCode.asp?ID=1538[/url] Hope this helps. | |
Re: There is a way, and I have searched google and hit a few activeX controls that claim to do it.... however, I think you may have to go down to the lowest possible level... and here is the RFC for that: [url]http://www.faqs.org/rfcs/rfc2251.html[/url] The connection string.... I don't know. You'd have … | |
Re: What are you doing with the access database? It looks like to me, in your code, that you are mixing access databases with sequential files. Which do you want to use, an access database, or sequential files? You do this for access: [CODE] Set db = OpenDatabase(CMDialog1.FileName) [/CODE] and then … | |
Re: use CSS with DIV Tags. You can set a border to have a "view pane" type of div... which will be your "main screen" of the page if you will. For each new "page" however, it will require a new div. You set the CSS for the div's visibility to … | |
Re: Ok, Just Make Sure That You Copy The Files PlayMP3.ocx, Playmp3.oca, and PlayMP3.lib into your windows\system32 folder. Then, You can run the .exe from anywhere. I've also included the source code for the mp3 player, so you can modify it/play with it at your own will. Hope this helps you … |
The End.