1,372 Posted Topics

Member Avatar for moktod

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.

Member Avatar for Comatose
0
189
Member Avatar for catherine1001
Member Avatar for pomahony

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 …

Member Avatar for Comatose
0
414
Member Avatar for fareen

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 …

Member Avatar for fareen
0
686
Member Avatar for MrConfused

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 …

Member Avatar for Comatose
0
319
Member Avatar for tricia

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 …

Member Avatar for Comatose
0
228
Member Avatar for MrConfused

[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 …

Member Avatar for Comatose
0
294
Member Avatar for vhinehds

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 …

Member Avatar for vhinehds
0
379
Member Avatar for Teja

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...

Member Avatar for Comatose
0
71
Member Avatar for Dani

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.

Member Avatar for danielle183
0
336
Member Avatar for ahmadtamoor

[CODE] thedate = Format(Date, "dd/mm/yy") [/CODE] That line will effectively make the variable "thedate" contain the date in the format you specified :)

Member Avatar for Comatose
0
59
Member Avatar for wallis_online

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 …

Member Avatar for abubaker
-1
219
Member Avatar for belama

I usually sign them, but in case you were wondering, I gave you the one for the example project.

Member Avatar for belama
0
684
Member Avatar for chacal

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 …

Member Avatar for chacal
0
125
Member Avatar for sham

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]

Member Avatar for Comatose
0
95
Member Avatar for javalsu

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 …

Member Avatar for javalsu
0
231
Member Avatar for belama

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 …

Member Avatar for Aztech
0
412
Member Avatar for T.J
Member Avatar for Sukuz

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 …

Member Avatar for Sukuz
0
162
Member Avatar for purplegerbil

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 …

Member Avatar for Comatose
0
196
Member Avatar for JANINE

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.

Member Avatar for JANINE
0
245
Member Avatar for Tyreses

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 …

Member Avatar for Comatose
0
332
Member Avatar for Deathwish

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, …

Member Avatar for Comatose
0
298
Member Avatar for tat2dlady

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]

Member Avatar for Comatose
0
123
Member Avatar for lore00

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 …

Member Avatar for Comatose
0
103
Member Avatar for edw5086

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, …

Member Avatar for Comatose
0
160
Member Avatar for tat2dlady

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 …

Member Avatar for Comatose
0
192
Member Avatar for purplegerbil

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 …

Member Avatar for Comatose
0
155
Member Avatar for nawaray

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.....

Member Avatar for mdv3441
0
448
Member Avatar for rizla115

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.

Member Avatar for DMR
0
31K
Member Avatar for paradox814

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.

Member Avatar for Comatose
0
205
Member Avatar for Commander Salam

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"

Member Avatar for Comatose
0
132
Member Avatar for jayakant82

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. ;)

Member Avatar for Comatose
0
106
Member Avatar for tat2dlady

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: …

Member Avatar for Comatose
0
217
Member Avatar for Bikerrod

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 …

Member Avatar for Comatose
0
152
Member Avatar for dreyes67

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 …

Member Avatar for Comatose
0
189
Member Avatar for xanatoes
Member Avatar for StephenHancox

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]

Member Avatar for Comatose
0
118
Member Avatar for samology

Here is a good tutorial regarding the use of MS Access with Visual Basic (VB6, VBS): [url]http://www.timesheetsmts.com/adotutorial.htm[/url]

Member Avatar for Comatose
0
136
Member Avatar for blacknight

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 …

Member Avatar for Comatose
0
342
Member Avatar for smoked_apart
Member Avatar for Comatose
1
1K
Member Avatar for kuteesa

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 …

Member Avatar for Comatose
0
144
Member Avatar for redsabre

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 …

Member Avatar for redsabre
0
833
Member Avatar for MrConfused

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 …

Member Avatar for nicentral
0
161
Member Avatar for mehdy

I'm not 100% sure what you are asking. Are you asking how to transfer a sound file in an e-mail??

Member Avatar for Comatose
0
125
Member Avatar for Commander Salam

[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; …

Member Avatar for Commander Salam
0
401
Member Avatar for sham

Check Out This Code snippit (In The VB Code Snippit's section): [url]http://www.daniweb.com/code/snippet36.html[/url]

Member Avatar for Comatose
0
114
Member Avatar for MrConfused

[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 …

Member Avatar for DaveSW
0
162
Member Avatar for Seyha Eng

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 ;)

Member Avatar for invisal
0
135
Member Avatar for Shackbase

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 …

Member Avatar for Catalana
0
361

The End.