1,372 Posted Topics
Re: Firstly, I don't believe Excel works with an ADO connection. You can create an excel object, and work with it, but as far as I know, SQL (Structured Query Languages), and Access (which are database systems) are the ones you can interface with using ADO. Did you read the sticky … | |
Re: Hmn, Read This Thread: [url]http://discussion.forum.nokia.com/forum/showthread.php?t=29681[/url] | |
Re: Stick This in a module (or in the declarations of the form) [CODE]Public Sub LoadTextBox(NotepadFile$, XTextBox As TextBox) Dim chk As String Dim hld As String If Dir(NotepadFile$, vbNormal) = "" Then MsgBox "File Not Found: " & NotepadFile$ Exit Sub End If Open NotepadFile$ For Input As #1 Do … | |
Re: You mean, like lines connecting to make a 3d box type of cubes? | |
Re: Honest to Goodness, you lost me. | |
Re: It's my personal opinion that, that much information should be done in seperate databases.... even seperate apps, but I'm not here to judge, I'm here to help... so I suggest using sockets. I would personally build a server program to handle the database, the database would sit on 1 computer, … | |
Re: I just crufted this up real quick.... basically, what you have to do, is to "cast" each string variable to an integer (the "val" function would also work, instead of cint, but cint makes more sense here, since the values are integers and not doubles. So, you simply cast the … | |
Re: I'm not sure the specifics of your page.... such as if this info is coming from a textbox or something. Also, being that it is a web page (if that is the case) then I promise you, it's a better solution to use Javascript. The reason that it is a … | |
Re: Is it all in the same line, like the picture that you have posted? If not, how does it look exactly, can you paste some of the file in code tags. I can help you much more with that then. | |
Re: Yes, but it's going to vary depending on the application you want to automate. | |
Re: You could also use load... which works just as well. Start a new project, and add a textbox... leave it's name alone (Text1). In The Properties Box, change index to 0. Now, in your form load (or in a button) add this: [CODE]For I = 0 To 9 If I … | |
Re: Hmn, I'm guessing the dvd disk is certainly finalized? | |
Re: Not an entire application....... UNLESS the app itself was built as a control. If you built the entire thing in an activex control, then yes. It's as easy as using the <OBJECT> tag of HTML, and referencing the ClassID, and the CODEBASE for the OCX. This site has a quick … | |
Re: As for playing a sound, yes. There is 1 or 2 ways to go about doing that..... as for Changing the output of the sound..... I'm not so sure. | |
Re: Hmn, I don't seem to get that error when I run your code on my box... I wasn't sure how your ABP-FET Reference.xls file looks, so I kind of guessed, and maybe that's the issue (probably, if it's a problem with a text range), but umn..... it seems to work … | |
Re: No doubt about that ;) *Rubs His Hands Together, and Laughs like the Crypt Keeper* Welcome Dan... | |
Re: You need to use the commondialog control. So, Click the Project menu, then select componants. In the new window find microsoft common dialog control, and put a check in it. Now Hit Ok. A new control appears in the toolbox, double click it (or drag it to the form). Then, … | |
Re: Read This Thread: [url]http://www.daniweb.com/techtalkforums/thread37479.html[/url] Basically, you have to create an object of the excel.application class. This will allow you to manipulate the object as you see fit..... such as setting it's visibility and some other fun gadgets that come with it's methods and properties. | |
Re: :eek: check this thread out: [url]http://www.daniweb.com/techtalkforums/showthread.php?t=41491&highlight=datediff[/url] | |
Re: I've had my XP box crash on me a good number of times recently (clean of viruses and malware) just silly crap.... like when I empty the recycle bin or something..... I've never (ever) had linux take a dump on me, unless it was my own fault.... As a programmer … | |
Re: I hate to give up fun little tricks like this.... but I suggest that you use the API to change the parent of the word window, to a form in your project. Then, simply ensure that your form is not visible.... you can decide to give the parent the child … | |
Re: Nice Job. If you are trying to get the item that is selected in the listbox, you could use list, instead of item, but nicely said. | |
Re: I don't see the problem.... VB is reading data from the serial port right? So should it matter if the form's .visible property is true or false? | |
Re: Create a Module (Code Module) and add this: [CODE]Sub Die() for each XFrm in Forms unload XFrm next XFrm end end sub[/CODE] Then, in your project on the "exit" menu, AND in the main windows form_unload, just do this: [INLINECODE]Die[/INLINECODE] This method, actually is 100,000 times better than using end... … | |
Re: it would probably be to have 2 forms on the screen.... you COULD probably move it, but it doesn't really like it..... | |
Re: Fooey, use the DIR command.....(stick this in a code module): [CODE]public function FileExists(sPath as string) as boolean If Dir(spath, vbnormal) <> "" Then FileExists = True Else FileExists = False End if end function[/CODE] Then call it from your code like this: [CODE]if fileexists("c:\fileinquestion.txt") = true then msgbox "the file … | |
Re: In The Textbox's GotFocus() Event (Assuming the textbox is text1) [CODE]Text1.SelStart = 0 Text1.SelLength = Len(Text1.Text)[/CODE] | |
Re: I'm sorry, I'm having a very hard time understanding what you are trying to accomplish. You have a database that stores information about the faculty, and you want to do what exactly with it? | |
![]() | Re: Yup, he's right. Truth is, that's exactly what the timer control is for. |
Re: I've done this..... it requires the microsoft text-to-speech control. The package (if you google, you should be able to find it) has controls to go in both directions (text to speech, so the computer can talk to you, and voice recognition, so you can talk to it, and it can … | |
Re: So, you want to delete the stuff from the VB program, but not the oracle database? The problem, I'm guessing, is that when you delete an item from the listbox, it's not updating the database..... so the information remains? If you post the code, I can take a look for … | |
Re: I just recently learned that canned responses are responses that are already premade. So, they can scan a Hijack This Log, find the problem, and paste the solution (already prettied up with BBCode Tags and all, so it has bullets and color, and fun stuff) without having to type it … | |
Re: Also [B]Some[/B] of the programs you use in windows you can run in linux with [URL="http://www.winehq.com/"]Wine[/URL], which is difficult to set up for someone who doesn't have a lot of linux experience, but is pretty durn good. | |
Re: Is this user disable-able? Sounds like you have been working with AT&T, and NSA? | |
Re: While I love reading blogs.... I just don't blog to the community of bloggers. | |
Re: Sounds like a problem with some of the .dll's, have you tried reinstalling VB? | |
Re: in the evaluate function, you may need to use split to rip apart the expression, and then assign the elements of the variant array to the respective variable types.... Or don't use string, use variant. | |
Re: You should be able just to reference those elements. Let's pretend you have form1, and form2. You have a button on form1, and a combobox on form2. In the code for the button on form1, you could do this [INLINECODE]msgbox form2.combo1.text[/INLINECODE], and it will gladly display the information in form2's … | |
Re: I don't know exactly what you are talking about..... if you tell me what you want to accomplish I can help you out a little more.... a batch file is going to wait though, for 1 command to finish before moving on to the next. The shell command (or shellexecute) … | |
![]() | Re: Depends! Are you talking about Scheduled Tasks (clicking start, going to programs, accessories, system tools, Scheduled Tasks) or something like the AT tool, that uses the WMI Class? |
Re: Is the captured text from your own program, or a different program? Again, if you explain what you are trying to do, I can help you a bit more. | |
Re: The only thing I get is an EXE, which I will NOT run unless I have the source code (then I'll compile it and run it). | |
Re: I'll vote for you, if you can convince Narue to re-establish her position as a moderator..... otherwise <voice type="soup nazi">No Vote For You!</voice> | |
Re: ctrl-printscreen seems to copy a screenshot (in XP anyways) to the clipboard..... then you can run mspaint (start run mspaint) and paste it into paint, in which case you can manip the image...... then when posting your thread (in advanced mode) there is an option to attach a file.... save … | |
Re: What kind of errors? | |
Re: You want to embed excel into the form, or you want to read the excel data and display it? | |
The End.