1,372 Posted Topics
Re: I have no idea how you would do that in Shell Scripting. I could do it in Perl fairly easily... but I think that might be a little bit of a task in Shell. | |
Re: The only thing that I can think of, is that there has to be something in the registry that holds this information. I mean, VBScript has a method of an object that can get the name of the user currently logged in, but I dunno about retrieving novel's login.... I'll … | |
Re: I'll be honest, I only vaguely understand what you need done. I can assist you in building a perl program that logs someone in, etc, etc, but I'm a little lost on your whole file structure with dates and stuff. I don't have enough information to help you with your … | |
Re: The limit is also stillin place on VB6, I have no idea about .net, but I knew for certain that vb6 has that control limit in place (I just clicked about 255 times, on the toolbar to add a button). At button caption 254, I was told it couldn't add … | |
Re: I'm not really sure what you mean by showing frames, or what kind of purpose this would serve.... it sounds to me like there will be 3 fames on 1 form. It will start off with showing frame1, 500ms later will show frame2 and hide frame1, then 500ms later, hide … | |
Re: [QUOTE=MrConfused]1. With VB5 you can either create an EXE file while you are running VB, or use the separate setupwiz utility to create a .EXE file. The setupwiz way results in a smaller EXE file. Is this the only advantage? Also the setupwiz way results in the program doing something … | |
Re: They are whole bunch ocx and dll files that VB uses behind the scenes in order to make the application work. A Few of things include some of the tools that you might use, (some control's) and so forth. Microsoft has or had an EXE that automatically installed the VB … | |
Re: I've e-mailed your account, and I think I can help you. Once you return the specifics to me, I will help you with this. I also plan to post the code here, so that others have access to the methods behind how this will work and function... | |
Re: If you put advertisments in the same place, people will tend to not even look at it. It will be sort of zoned out... like the "ad section" of the site. | |
Re: [CODE] thedate = Format(Date, "dd/mm/yy") [/CODE] That line will effectively make the variable "thedate" contain the date in the format you specified :) | |
Re: I'm not sure that I know of any charts and graphs books regarding VB. All the VB books I've ever seen have a pretty general tone, and cover a variety of things. The only book, that I've ever seen that was specific, was a VB book covering the API. If … | |
Re: I usually sign them, but in case you were wondering, I gave you the one for the example project. | |
Re: The Very Simple Answer is no. I'm sorry. The only way to do what you want, would be to build it yourself (using frames, or some other funky magic) with a whole lot of .visibles..... I thought maybe messing with it through some of the API's might be helpful, but … | |
Re: It Casts an expression to a long value. If, for instance, you have a string, or a hex value, you can use clng to convert it to a long. It takes any valid expression and returns a long value. Plain and simple. Read Here For Details: [url]http://17.webmasters.com/caspdoc/html/vbscript_clng_function.htm[/url] | |
Re: The only real way to find out, is to have the VB IDE running the program when it crashes, so that the debugger can highlight the problem line. I'm guessing that you are compiling it to an EXE and then running it on the client machine. It may be a … | |
Re: Look up something called "chromeless windows." Granted You would have to popup a window, and position it.... but the window would be borderless, titlebarless, everything less....chromeless windows have no window frame or anything. I had chromeless.js somewhere, but I can't seem to find it...but a good search of google will … | |
Re: Well, With javascript it is going to require you to use cookies. You send the browser a cookie, with the value as the number of visits. Next time they return, read the cookie, increment it, and over-write the cookie with the new value. In order to do something like this … | |
Re: Are You trying to make the batch file pause, or the VB Program wait until the batch file is done? If you are trying to wait until the batch file is done, don't use shell. (you can use shell, but it's a lot more code than this here). Use WSH … | |
Re: Have you tried actually booting to the CD? (Shut off the computer with the CD in the drive, and try to boot to it). That usually works for me. | |
Re: ok, is ipadd a variable that contains an IP Address or host name? you could try removing "ipadd" and replacing it with an actual IP or host: [CODE] Private Sub connect_Click() Winsock.RemoteHost = "google.com" Winsock.RemotePort = 10101 Winsock.connect End Sub [/CODE] I'm fairly certain that google will have 10101 (port … | |
Re: What type of privs do you have on the box, or do you have super user/root access? Is LDAP installed on the system already, or PAM, or Expect.pm? I'll keep digging around and see what I can't make happen, but it may come down to editing the md5 digest pm, … | |
Re: As I've been helping you, I'm sure that this post is probably not needed to solve your problem any more, however, regex is a very important part of working with strings, and therefore, I have a page that helps breakdown regex into a pretty easy form: [url]http://www.troubleshooters.com/codecorn/littperl/perlreg.htm[/url] | |
Re: I realize this is an extremely old post, that has gone left unanswered for close to a year, but if you still need help with that, give me the names of the form fields, and what they are (or link me to your HTML), and I'll help you out with … | |
Re: I could be wrong, but it seems to me that line: [CODE] if ($Item eq "") { print "<td>$Item</td>"<td>$Page</td>"<td>$Desc</td>"<td>$Pack</td>"<td>$Price</td>\n"; } [/CODE] is not correct. You are saying "if $item variable is empty, then print this to the web page". Maybe you planned for $item to be empty, and if so, … | |
Re: you could do a regular expression on it, or a substitution on it. I'm a bit confused about the SUB -, though, because I'm not sure if the - that comes after SUB is SUPPOSED to belong to the 1 or not. Is SUB - and INT -1 2 different … | |
Re: I'm not sure which version of acrobat you are using, but if you go here: [url]http://partners.adobe.com/public/developer/acrobat/sdk/index.html[/url], and download the SDK (you'll have to register for a free account), it comes with sample code of how to automate Acrobat processes with Visual Basic (and C/C++). Download and install the sdk and … | |
Re: Something to consider, is setting the database reference to nothing. This should close and unload the adobooks object from memory, and allow you to re-create, and re-open it. I might be mistaken, but it looks like it's mad that you are trying to open a database that is already open..... | |
Re: mount -t msdos /dev/hda6 /mnt/fat that should do the trick. I'm not 100% sure about fedora core, I'm positive it's worked in every version of RH that I've tried. | |
Re: I'm pretty sure you can use defined in javascript. You can try: [CODE] if (defined(somevariable)) { alert(somevariable); } [/CODE] I'm not sure, but I think that's accurate. | |
Re: I'm not sure if you can actually specify the name of the hash with content contained in a variable, but something you may be interested in checking out is "annonymous hashes" | |
Re: I know that perl has a built in hash (associative array) for environment variables. Take a look at $ENV{'PATH'}. That might be what you need. ;) | |
Re: My personal suggestion, would be to do a split or regex on it. I would do a split, but I'm a bit silly. The thing is, if a colon starts a comment, then there can be no colon's within the "good string". what I mean is, if the line has: … | |
Re: I understand your concern about jerks sending virus's with zip files. I will only post enitre projects in .zip format. However, you may not need my help at all. If you go to [url]http://www.catalyst.com[/url], and look up the freeware version of socketwrench, it comes with a freeware dialer control, that … | |
Re: If you ask me, that sounds like the way to do it. You make an EXE that will copy the updated programs from the network to the PC, removing the old version, and letting them use the new version. It's just 1 EXE that you make, that will auto-update the … | |
Re: Too Bad They want to stop support of VB6 :( | |
Re: Hmn, Maybe I should make this link sticky, it seems to be a pretty popular item, so here is the link to a page regarding Access Database with Visual Basic: [url]http://www.timesheetsmts.com/adotutorial.htm[/url] | |
Re: Here is a good tutorial regarding the use of MS Access with Visual Basic (VB6, VBS): [url]http://www.timesheetsmts.com/adotutorial.htm[/url] | |
Re: I'm not sure if there is a more efficient way to do this, but it seems the best way is to have a server program that runs on all the machines who's registry needs editing. Then, you have a "client" app on the machine/machines that will be actually doing the … | |
Re: I'm not very clear about what you are trying to do here.... elaborate clearly please. | |
Re: Also, For "Random" Tips of the day, the way to go about it is to read in all the tips from the database or file into an array, then run the randomize function between the lowest and highest element of the array. Then display the tip that is inside that … | |
Re: Yes, You need to edit the CGI (the guestbook.pl) in order to modify the appearance of the entries. The thing to understand here, is that guestbook.pl actually edit's the html file that contains the guestbook entries. So, guestbook.pl opens the file polguestbook.html, and reads everything that's in it, into an … | |
Re: I don't even know what a dongle system is.... but I will say that going about protecting your program from piracy is going to be a difficult task. There have been hundreds of attempts, most of which fail. You can make it secure from the majority of users, who "don't … ![]() | |
Re: I'm not 100% sure what you are asking. Are you asking how to transfer a sound file in an e-mail?? | |
Re: [QUOTE=Commander Salam]Hi everyone, I'm trying to: (1) take an excel spreadsheet with two columns of data (2) convert to tab-delimited text file (3) import into perl as a hash I've managed to import as an array: open (LIST1, "list1.txt") || die "File not found\n"; while (<LIST1>) {push(@list1array, $_)}; close LIST1; … | |
Re: Check Out This Code snippit (In The VB Code Snippit's section): [url]http://www.daniweb.com/code/snippet36.html[/url] | |
Re: [QUOTE=MrConfused]I have uploaded an HTML document to my WEB site. It looks fine on screen. However if I print it out (via explorer) the font size increases vastly and it looks a mess. I suspect this is a well known problem as I have often seen "printer friendly" documents on … | |
Re: Belama, While any insight that you can offer would be greatly appreciated, this thread is designated for Visual Basic, While your code is PHP, and will not work in a VB IDE ;) | |
Re: My personal opinion is that MS Is Full of crap. If I buy a bottle of Coca-Cola, and someone says "hey man, I'll give you two bucks for that!". Isn't it mine to sell? I think it is. I bought it at a given rate, agreed upon between party A … |
The End.