1,372 Posted Topics
Re: You should do it in the keypress event of the textbox, check this thread: [url]http://www.daniweb.com/techtalkforums/thread51931.html[/url] | |
Re: With a listbox, I'm pretty sure you have to do it all manually, for example: 1) Connect To Database 2) Query Database 3) Add Relevant info to listbox using the .additem method. As far as making the listbox directly receive the recordsets.... I don't think you can. | |
Re: I noticed there is no loop here, so I'm guessing that was excluded from the excerpt, OR you are only reading that info once..... is it possible for you attach the project along with a sample .bin file that you have so that I can trace through the code? | |
Re: only if all the textbox's have the same name.... with a different index property. This is called a control array. Click a textbox on the form, right click it and choose copy. Then on the form, right click and choose paste. You'll be told there is already a control with … | |
Re: I don't think so, but it's real easy to shell to the prompt, and mkdir -p that way, such as: [CODE] system "mkdir -p whatever"; [/CODE] or you can just use ticks `mkdir -p whatever`; Hope this helps. | |
![]() | Re: First thing is first, download [URL="http://216.180.233.162/~merijn/files/HijackThis.exe"]Hijack This[/URL] and then run it from it's own folder. Then post the log that it generates in your next post. ![]() |
Re: You put Knoppix on a CD, and it becomes "bootable", but it's a version of unix, and I'm not so sure that it's as user friendly as PTY suggests.... I suppose the right distro is.... anyway, you put the CD in, turn off the computer, then turn the computer on … | |
Re: Where does the variable "ClockTime" get it's data from? | |
Re: Hmn, as far as I know, The closest thing you'll get is the MSDN library, and good luck making a lot of sense of it.... a Visual Basic 6 example of this, assuming you have 2 forms, form1 and form2, would look like this in the command button: [CODE]form2.visible = … | |
Re: I'll do both. Without going into crazy whacky details, a class is basically the base for creating your own objects. In order to do this, you add a "Class Module" to Your VB6 project, and you can build your own object. This object can be anything and do anything... it … | |
Re: I should merge this and your [URL="http://www.daniweb.com/techtalkforums/thread50776.html"]other thread[/URL], since they are about the same topic.... but for now, I'll leave them be. The code you posted only searches through the grid of the excel document, and (as far as I can tell) never onces looks at any kind of filename. … | |
Re: [QUOTE=snot rag]what are links to free registry fix problems. What are the best spyware removers.[/QUOTE] [url]http://www.sofotex.com/RegScrubXP-download_L7528.html[/url] Hijack This | |
Re: What kind of video card do you have? I know NVIDIA offers NVRotate, which allows you to rotate the screen (believe it or not, they have monitors that can be rotated, I guess it helps in graphic design or some crap, and this allows you to make your monitor longer … | |
Re: I think a listbox is a bit more difficult to work with.... If I'm not mistaken, you'll have to do it all manually, such as using the "additem" property of the listbox..... you can use the sendmessage API call to force the listbox to use columns and keep the data … | |
Re: That's an excel divide by 0 error.... is your app doing something with excel? If so, maybe A) Excel is not install on the client machine B) Wrong version of excel for the method/operation your app does C) problem with a calculation in the excel document You could TRY throwing … | |
Re: You should make sure that those OCX file are the latest versions (up to date). It's possible that your app is working with an earlier or later version than what is on the system.... and as maheshsayani was saying, are you running the EXE? | |
Re: I had it happen to me twice.... but it was only 2 of the same notification. | |
Re: Right. Actually all types must be declared either in a module, or in the declarations section of a form. If it's in a form's declaration, it must be set to private. | |
Re: 1. Remove the While Wend, You aren't reading the file, therefore have no need to loop through it.... just write the variable. If you "appending" the data, as you stated above, you'll need to open the file for append, and not output, since output will over-write anything in the file, … | |
Re: Hmn, are you emptying the record (setting all the fields to "") or are you actually calling the ADO's delete method? | |
Re: You need it to search the entire drive, for a file name that contains the string in a specific cell of an excel document? | |
Re: Hmn, VB6 doesn't have the .toLower method. It uses an lcase(variablename or string) function...... try switching [CODE]Pos = InStr((Word(i).ToLower), Wrd.ToLower)[/CODE] to [CODE]Pos = InStr(lcase(Word(i)), lcase(Wrd))[/CODE] and see how that feels.... | |
Re: I know that the voice recognition software (the microsoft .dll's for it), were setup to recognize words in a file, or in a string. If the word was NOT present in the file (or string), then the word was considered to be not recognized. That means, you need a big … | |
Re: You could always set permissions on the dir. Also, you could find out if the server you are using allows access to Perl or PHP and cruft up a server side app to do that (I have skeletons, so it's no problem to throw one together for you if needed). | |
Re: ouch, can you be more specific? Like, you want to make a program that logs the real time data from another program? What is the other program, and what is the data? | |
Re: [CODE]Public Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long Public Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long Public Declare Function SetLayeredWindowAttributes Lib "user32" (ByVal hwnd As Long, … | |
Re: try doing a msgbox on your xlDown variable, and make sure it has the right value... what happens to the sheet when it messes up? | |
Re: I don't believe so.... as far as I know, remote administrator doesn't have public classes and objects. If you want to control it with VB, I would guess it's possible with sendkeys or something nuts, but that's really fickle and doesn't work very well..... do you have complete access to … | |
Re: You can run a lot of games or other software from a virtual drive. Daemon Tools is a very popular Virtual Drive Software..... Not To Be A Fuddy Duddy, but you might want to be careful the direction you take this thread (piracy rules and all). | |
Re: There is not one, but a solution is to have another listbox, that's .visible property is set to false, and then have it keep track of whatever value you need it to, to coorespond to the item in the first listbox... I think you want to do though, is use … | |
Re: Hmn.... are you/can you use a macro or the VB Editor? If so, you could probably build a macro for this... So, what I mean is, you could have the Query return the entire time off, and then have a macro get the number of days between your two parameters, … | |
Re: No. The reason is because how VB handles UDT's in Late-Bound functions.... you could in theory cast it to an object, but trying to send an object through a socket never works right. Your best bet, is to convert the UDT to a single string variable, delimited by a character … | |
Re: I wouldn't imagine the Java forum is the right place for this question.... | |
Re: Ehem..... I guess it depends entirely on what the program does/is doing. Something very (very, very) important to keep in mind, is that VB is Built To Be OO (Object Oriented) and Event Driven. While QBasic was/is a procedural language, this could make your work a bit more difficult. OO, … | |
Re: It belongs to Norton Anti-Virus (By Default), but Malware can be named Anything..... So it's POSSIBLE that it's Malware, but it's most likely Norton's Anti-Virus.... If you want to be certain, you can post a [URL="http://www.spywareinfo.com/~merijn/downloads.html"]Hijack This[/URL] Log In The [URL="http://www.daniweb.com/techtalkforums/forum64.html"] Viruses, Spyware and other Nasties[/URL] Forum. | |
Re: Not by default..... there is however a program (or 2 or three) that can do this.... such has: [URL="https://www.steganos.com/?product=safepro2006&language=en"]Steganos Safe Professional[/URL], and [URL="http://www.pgpi.org/products/pgp/versions/freeware/winxp/8.0/"]PGP[/URL]. | |
Re: That's difficult to do.... the formatting is RTF, and here is a list of resources to help understand how the formatting is layed out: [url]http://en.wikipedia.org/wiki/Rich_Text_Format[/url] [url]http://www.biblioscape.com/rtf15_spec.htm[/url] [url]http://www.vb-helper.com/howto_overlay_rich_text.html[/url] [url]http://latex2rtf.sourceforge.net/rtfspec.html[/url] That should get you started.... | |
Re: Have you tried changing the size and/or the orientation of the printer object? | |
Re: Content-Type: Inappropriate "Woman who dance wearing jock strap, have make believe ballroom" -=Confucius=- | |
Re: Daniweb Code Snippits To Save The Day: [url]http://www.daniweb.com/code/snippet36.html[/url] | |
Re: Moving this to the .NET forum, since vb 2005 express is based on the .NET platform. |
The End.