1,372 Posted Topics
Re: Depends entirely on my mood as to what I listen to when working at my computer. While coding, in order to actually change into a "code mode" status, I have to have music. I don't listen to country or anything, that would just distract me. I can code no matter … | |
Re: [QUOTE=PaulCruice;268122]GreekWord1 EnglishWord1 Notes1 GreekWord2 EnglishWord2 Notes2 , EnglishWord3 Notes3 GreekWord3 EnglishWord4 Notes4 GreekWord4 EnglishWord5 Notes5 . EnglishWord6 Notes6 GreekWord5 EnglishWord7 Notes7 GreekWord6 EnglishWord8 Notes8 ? EnglishWord9 Notes9 GreekWord7 GreekWord8 GreekWord9 The above made-up example above may lose its formatting here but I think you will get the drift. Column A … | |
Re: I would, but I don't want to have to go through the whole setup and account creation process!!! | |
Re: [QUOTE=JohnJoon;268065]When my program runs on a machine with XP sp2 installed and with off 2003 the following goes wrong In a table in Word f.e. 3 rows the 1 row is good with the data i presume row 2 has two sentences the 1 line has the coorect data and … | |
Re: So you solved it huh? Would you posting your solution? | |
Re: Not that I know of.... You could consider using the open command, and running the script as a thread such as: [CODE] open (FH, "yourfile.pl -h"); close(FH); [/CODE] You could also use the system command, but it would seem to me that shelling no matter how you do it is … | |
Re: You could post the code, if it's a program with the code. One thing that I like to do is use a dos prompt and try to run the file.... you MIGHT have to load the perl Executable and pass the file as a parameter, something like: [CODE] c:\perl\bin\perl.exe myfile.pl … | |
Re: How is the macro going to change the security settings, if the settings don't allow macros? | |
Re: If it's XP Home, DavidRayan's Method won't work. I have found a way to disable changing the wall paper, but changing the screen saver is still in the works.... start, run, regedit open hkey_local_machine open SOFTWARE open Microsoft open Windows open CurrentVersion open policies if you don't have an ActiveDesktop … | |
Re: No, and if there was, we probably wouldn't help you figure it out..... even if your motives are pure, we don't endorse cracking-like code here. | |
Re: Not unless the emulator has an API or Object that you can use to hook keystrokes. On it's own, it doesn't offer keyhook abilities. For that, you'll need a full-fledged language. I suppose it would be possible to make some kind of keyhook class, and use createobject within the VBScript … | |
Re: have you tried debugging it with an alert (to make sure the HTML is importing the script?) something like: alert("made it to such and such function"); and stick that in a function in the external.js file, and then in your HTML code, when you call the function (that is supposed … | |
Re: Check This thread on sorting dates with other "junk" attached: [url]http://www.daniweb.com/techtalkforums/thread41491.html[/url], there are some examples in there on sorting, or some functions that might help you out. | |
Re: I want to give a thumbs up to Yomet here.... Keep up the good work. | |
Re: hmn, You could try something like: [CODE] if me.visible = true then ' /* Do Stuff To Read The Port */ doevents end if[/CODE] | |
Re: Hmn, I've had a similar experience, but I found I was able to rename the Shortcut by searching for the text in the registry, and then renaming the REG_SZ. The ClassID (long goofy numbers and letters) will likely be different on your machine, but on my XP home the key/value … | |
Re: Is this in XP (there has a been a few threads going around about problems with reading/writing serial ports in XP with VB). Also, I'm not sure if the output is supposed to be a string, or if it's supposed to be those values in hex..... | |
Re: There are a lot of possibilities when it comes to this.... first though, since more and more programs are becoming "intelligent", a whole lot of them remember recent files used, so are you looking for a specific MRU (such as for internet explorer, or for the "run" option on the … | |
Re: Maybe he means build a POS (Point of Sale) Register, Something for teachers to keep track of student's grades, and averages, or something for a hospital, where patience sign in, receive medical care (which gets documented into the DB) and gets discharged.... | |
Re: The SetWindowRgn API is the key to this.... check this site: [url]http://www.thescarms.com/vbasic/IrregularForms.asp[/url] | |
Re: [CODE]#!/usr/bin/perl while ($uinput ne "quit") { print "# "; $uinput = <>; chomp($uinput); if ($uinput eq "ls") { open(LS, "ls -AF1 |"); while (<LS>) { chomp; push @flist, $_; } close(LS); foreach $file (@flist) { print "$file\n"; } } }[/CODE] | |
| |
Re: How, exactly, do you want to present the differences to the user? By, like, a string position (character 3 of file A and character 3 of B are different)? I can figure out how to pull this off if I know how you want to lay it out.... | |
Re: This was a bit of a toughy for me... The If Statement will never be true (it will always run the else) because the trim function returns a string. Period. (Actually, that's only partly true, it returns a [i]Variant[/i] of subtype [i]String[/i], but for all intents and purposes, it's a … | |
Re: [CODE]For Each ctrl In Controls If TypeOf ctrl Is Menu Then msgbox ctrl.name & " is a Menu!" End If Next ctrl[/CODE] | |
Re: I'm not 100% sure I know what you are asking.... if I'm missing the mark completely, let me know.... are you looking for an "elseif" type command? | |
Re: you could even do those steps in a VB app by itself (although, I don't see the point when the batch file works just fine). You could also make the vb app mess with services using the API [CODE]Public Declare Function OpenService Lib "advapi32.dll" Alias "OpenServiceA" (ByVal hSCManager As Long, … | |
Re: If you can post the document, (strip it down if necessary) so I can see what is happening (I understand the problem, but can't seem to recreate it), I'll see what I can do. | |
Re: Not likely. You need much lower level access to hardware than VB can even possibly begin to imagine providing. However, VB is always a great front end to another language.... so write the dirty work in C, and have VB shell it's code... | |
Re: hmn.... are you talking about the z-order? | |
Re: The biggest problem I find Scott, is graphic artists. I can write code, that isn't the hard part..... the hard part is getting people who can draw on the computer and/or import their pictures to an electronic file.... remember, sprites are a lot like a flip-book, and even rendering requires … | |
Re: There really isn't one..... without looking at your project, I couldn't tell you. You'll need to reset all your variables, and all your forms objects, but there is no magic quick reset button. | |
Re: I haven't found a strictly OS solution, but a very, very, very small script program (3 lines of code, actually) can overcome this problem. If you build a .vbs file (VbScript file, that runs using WSH [Windows Scripting Host]) you can have it execute a program, and set it's window … | |
Re: I don't understand what you are trying to do? You don't want the C++ app to generate output to the Dos window? | |
Re: The code you found is for VB6, not VBA. The VB Editor INSIDE of office (excel, word, etc) is VBA (Visual Basic For Applications) which is a stripped down version of actual visual basic. It lacks some major functionality required to be a full-fledged programming language. As far as I … | |
Re: [INLINECODE]Let strsql = "SELECT * from bids where bidno ='" & temp & "'"[/INLINECODE] is not the solution, try something like: [INLINECODE]strsql = "SELECT * from bids where bidno = " & chr(34) & chr(34) & temp & chr(34) & "'" & chr(34)[/INLINECODE] EDIT: Nevermind, I totally missed the mark … | |
Re: Which version of VB are you using firstly? Is it VB6? Also, what is webform.vb? Is it a project file that you made in visual basic? | |
Re: If you post the macro code, we can help you out a little bit more. | |
Re: Can you please explain more what you mean about cpu scheduling? | |
Re: Javascript, IMO. Javascript is more readily understandable to most browsers. While VBScript is making some kind of attempt at becoming popular, it may very well only be supported by "popular" browsers. I'm not 100% sure, but I don't think the little guys, such as opera, support VBScript, while they are … | |
Re: I don't understand the question. If you could give a little more detailed explanation, I'll see what I can do. | |
Re: I believe destroy is a method available in *nix too. | |
Re: post an example of the textfile, and we can go from there. The concept is fairly simple, however. You open the text file, and while you are reading in all the contents, compare each line with whatever you are looking for (say, the persons social security number), and then if … | |
Re: Well, you can redesign the windows interface with VB, sure. You can not, and I'll say this again, for good measure, you CAN NOT build an OS with VB. In order to build an OS, it requires low level hardware access (to the processor, to RAM, file management, etc). If … | |
Re: Are you sure it is properly registered in the registry? | |
Re: why can't you do it on mouse_move? On mousedown set a boolean flag variable that says that the mouse is down. On mouseup clear the boolean flag variable (set it to false). On the mousemove procedure, check if the flag variable is true, and if so, draw the line..... if … |
The End.