keepingbusy wrote: 'The problem is after I publish the site and click on "Click here to view your published website" the Windows Explorer opens and not the browser.'
Sounds like the "browser executable" is set to explorer.exe (Windows Explorer) instead of iexplore.exe...
I'm not sure if there's a hard limit on the number of parameters you can use, but you DO have to worry about the length of the command line. Once you've reached that limit, you're done. I believe the command line is limited to 256 characters unless you configure DOS differently.
Reading these posts, I'm wondering why you haven't implemented the low-tech solution: fire her. Being concerned for your company data and your system's security, not to mention her blatant failure to follow your directives, give you solid ground for doing so. I know it's not a popular solution...
I'm also an intermediate VB programmer who is learning Java. If the 30+ MB (34MB?) download is just too big to download (it is with a 56K modem) you can get it on a CD for $20. It's a "one-shot deal" of Java JumpStart.
As for learning Java, I'm using "Teach Yourself Java in 21...
Cimd- That's what he means when he talks about "design time". Good question, though.
Jorgeromero- You can trap potential problems with the On Error Goto statement. The program will branch to the label specified in that statement. You can see what error occurred and handle it, or if...
When using Mod, floating point numbers are converted to integers. If z is too large for a Long then you'll get the overflow error. You might have better luck doing it the "old-fashioned way" (divide the numbers, subtract the integer part and multiply by the denominator) but there, too...
You've got most of the pieces of the puzzle, you've just put them together in the wrong order. You also need to have two counter variables, one for the number of new files you're creating and one to count to 2000 lines per file. As it is, you have one variable trying to do the work of both of...
I recently bought VB3 after using VB6 for a few years. Here's a few things I've noticed, bearing in mind that you're going up in version.
1) Check out the Private, Public and Global keywords for variables, constants, subs and functions. They've changed a bit in what you can and can't do.
2) VB6...
Check out AllAPI.Net (http://www.allapi.net). In their API List section they have a description of SetMenuItemBitmaps and an example of how to use it. Hopefully that will answer your questions. Let us know if it doesn't.
Windows API Guide (http://www.vbapi.com) doesn't have this API function...
There is one site that has VBDOS for sale (I can't remember where off the top of my head) but they want something like $70 or $100 for it. I think they priced it by the quarter ounce :).
I use VBDOS to write some of my DOS applications. I also use QuickBasic 4.5. It all depends on the UI I want...
A number of months ago I got a copy of Win3.1 from Excite Classifieds. And I've seen Dos 6.2x (i.e. 6.2 and 6.22) on eBay. Personally I'd check eBay first for both and then check the "classified ads" section of search engines like Excite and Lycos. Good luck to you.
The only way I know of to do that is with two InStr statements. Find out where the first < is and look for the > after that position. Then read the text between those two points. Look for the second < after the first >, and so on.
Here's some quick code to show what I mean. I'm assuming that...
Just a guess, but the two computers might be using two different file systems (eg. FAT16 and NTFS) for floppies. Put a floppy in each computer (one that the computer can read, of course), double-click My Computer, right-click the floppy drive (usually A:) and select Properties. In the General...
You won't have any trouble reading floppies, and shouldn't have any problems with CDs. I copy stuff from my Win95/98 computers to my 386 (DOS and Win3.11) all the time. I'd guess that 99% of users don't bother to use FAT32 on floppies. You'd get very little benefit from reformatting them, so...
Simple fix. Just change Dir$(path) to Dir$(path, vbDirectory). This tells VB that you're looking for a directory instead of a file. Take a look at Dir$ and Dir in Help. You might be in for a nice surprise :).
Win32s is what you're looking for. There's a download link to it at http://www.completelyfreesoftware.com/windows_extras_w31.html. Never having used it myself, I don't know how you'd use it in VB4. There should be some info on the net if none comes with Win32s.
What you're looking to do is read...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.