- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
36 Posted Topics
Re: I checked, and Kinv001 actually started a new thread a week later, had made a good effort but got stuck, and got some help from a couple of members. I wouldn't do peoples homework for them either, what I do is test them by saying something like "what have you … | |
Re: [QUOTE=Phaelax]Except that Gates didn't write DOS, he purchased it from some guy for like $10k or something and then turned around and sold it to IBM for tons more money than he paid.[/QUOTE] It's also said that Gates's DOS was mostly 'dumpster-dived' OS/2, No wonder he grins all the time. | |
Re: Hi, Luxe you first have to look in the File menu (in VB) and select Make[name of project]. This creates the .exe file. Then open the Package & Deployment wizard. Study it carefully, it's not hard to make a mistake if you haven't used it before. The DLL's it mentions … | |
Re: After you compiled your project with 'Make', did you use the Package and Deployment Wizard? This collects any dependancy files (.DLL, .OCX etc) and includes them in an Install package. Just copying the .EXE file to another PC isn't going to work. | |
Is there a VB function to allow you to construct counters using different number systems ie base 3, base 4, base 5, 6, 7 etc ? I haven't used VB for a while and I'm getting a headache trying to think how to get started on this, I just need … | |
Re: And what do you mean by 'somewhere is highlight' ? | |
Re: This is how it goes on my version: First, open your project. Then in the File menu you should see 'Make [name of project].exe', click that. The .exe file and some others will be created in your project folder. Then Start - All Programs - Microsoft Visual Studio 6.0 - … | |
The object here is to open a selected Word file and Copy&Paste its contents into a text file. The problem seems to be with the Sendkeys commands having no effect. The project freezes, apparently because Notepad has not been closed (by Sendkeys "%FX"). Can anyone tell me what's wrong? :confused: | |
Re: You need error-trapping for your textboxes, for instance: If Not IsNumeric(Text1.Text) or Not IsNumeric(Text2.Text) Then MsgBox ("Invalid Entry") Exit Sub End If rejects non-numeric entries or no entry | |
Re: here's a few to start with - but if you websearch for "visual basic tutorial" there's plenty more. [url]http://www.timesheetsmts.com/adotutorial.htm[/url] [url]http://www.vbtutor.net/vbtutor.html[/url] [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconprogrammingfundamentals.asp[/url] [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconintroductiontovariablesconstantsdatatypes.asp[/url] | |
During the program, Word is opened and displays a document. When Word is closed by clicking X or selecting File>Exit, the program must detect the event and reset controls. How is that done, anyone? | |
I need to search the pc for all files with a particular extension. Can anyone point the way ? | |
Re: Hello, and welcome Try the attached project. Needs a bit of work still, but it basically does what you want. If you need the data you've entered to still be there when the program is run, you will have to save it in a file. Hope this helps. w00dy | |
Re: You will need to give a basic explanation of what the program is meant to do. Plain simple language will do fine. | |
Re: This may help: [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr98/html/vamsgoutofbounds.asp[/url] | |
Re: Yes, post something of what you've done so far, making it a little clearer what you need to do. | |
Re: It's not really clear what you need. Can you explain a little more? | |
Re: Hello, and welcome. Can you give us a little more information on what you're trying to do? | |
Re: Timer.Enabled = False works for me, there should be no need to work round it like that. Did you follow that with an Exit Sub? If not, then the rest of the sub will execute, maybe something in there enables it again? | |
Re: Hi, Slavrix, and welcome. You didn't say in what way it wasn't working, what error message(s) do you get? You could do it something like this, with nested If...Else statements, I assumed you would have first put something in the textboxes. Basically, every time the Sec or Min textboxes change … | |
Re: Try this site: [url]http://www.vbtutor.net/vbtutor.html[/url] and the site Comatose has already recommended | |
Re: Sorry purplegerbil, but that makes all 6 values equal the same thing. Try this: [CODE]If Z = 1 Or If Z = 3 Or If Z = 5 Then [INDENT]SIDE = W - (V/3600#)[/INDENT] End if If Z = 2 Or If Z = 4 Or If Z = 6 … | |
| |
Re: Try these sites: [url]http://www.iamnotageek.com/a/413-p1.php[/url] [url]http://www.rdpslides.com/pptfaq/FAQ00642.htm[/url] an internet search for AUTOEXEC.NT will find more if necessary. | |
Re: 'Global' isn't actually a type of variable, the term is used to refer to the scope of a variable. For instance, if you declare the variable in the general section of a form ( even just using DIM ), it is 'global' to that form. Declare it in a module … | |
Re: Hi, Harish I started with a version of VB(Control Creation Edition, I believe this version is downloadable free), and a book from the library. This is all you need to get you going, plus there is plenty of online help. If you already have these 3 things, could you give … | |
Re: Change this line: Form2.Text1.Text = Form1.Text1.Text to this: Form2.Label1.Caption = Text1.Text Or did you not want to use a command button? You could try Text1_Change, instead of Command1_Click. If you don't want Form2 to show at this point, then use "Load Form2" earlier, then you can Show or Hide it … | |
Re: Sharpy, have you considered using a random access file to store your data? It would mean that instead of 15 files to keep track of, you would just have 1 file containing 15 records, which can be read and edited quite easily. If you're interested I can post a prog … | |
Re: Everyone has a life apart from the forum, you know ( or maybe you don't). If you had just a little patience, someone would be able to hel :rolleyes: p. | |
Re: Post the relevant section of code, that might provide a clue, plus any combo box properties you have changed from default. | |
Re: Come on, cfonseca, you're not giving us much info to work with , are you? | |
Re: What exactly do you mean by a 'spool file'? this looks all incorrect to me: [CODE]Open Filename For Random [I][B]Access Read Write[/B][/I] As #1 Len = 30000[/CODE] I think 'Access Read Write' is not needed, and every time you open it you're stating that the file length is 30000. If … | |
Re: [I]'argument not optional' [/I] basically just means 'you can't do it like this'. For all these comparisons, you could use other methods such as Select Case, or loops within loops, to make the code easier to read, but of course that comes with experience. One thing I think I should … | |
Hi All, I wrote a guitar-related program, one of the options is a guitar tuner which works fine, each note is in a separate 3second wav file. However, when I tried to write an option to play a full chord i.e. play 6 files, one after the other, only the … |
The End.