Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Grizz2

    Inet and https security

    Hey all, If I use the inet control to transfer information back and forth through an https connection, is this info secure? (As in scrambled) I want to connect to a website database script, pass a couple of "login codes" back and forth, then download the resulting file. Just need to...
  2. Grizz2

    How to delete an item from a text file

    Forgot a couple of items here. First check to make sure $ip is not empty, then chomp $line. I'm assuming your file looks like: IP_one IP_two IP_three etc If it looks like: somedata|somedata|IP|moredata, In this case "eq" won't work unless you split the fields so you would be right to...
  3. Grizz2

    How check if a $variable is in a @table ?

    First I would put 'offer' in a variable. #!/to/perl use CGI; $query = new CGI; $found = "no"; @table = (`value1`,`value2`,...,`valueN`); $lookfor = $query->param('offer'); foreach $i(@table) { if($lookfor eq $i) { $found = "yes"; } } push(@table,$lookfor); #add...
  4. Grizz2

    How to delete an item from a text file

    Just out of curiosity try replacing =~, with eq. open(FILE,">/root/alert2") || die "Unable to open alert2 \n"; # print the file without $ip foreach $line (@file) { unless ($line eq $ip){ print FILE $line; } }
  5. Grizz2

    Script displays text I don't want.

    I just fixed this same problem in a script. It had the Content-type statement near the top of the page, and it also had it in an error sub. When this error sub was called it printed Content-type: text/html. Try removing the content-type statement from your sub and see what happens. Chuck
  6. Grizz2

    TAPI, AT commands and send fax

    Thanks, I'll check these out. Chuck
  7. Grizz2

    resource file question

    I had the same problem with an avi file. Add your file as a "custom" resource and then pull it out like this. It should work. I've tried it on avi and fax cover page files. I usually put it in a function but you can do it either way. Dim bytResFile() as Byte Dim strNewFile As String...
  8. Grizz2

    TAPI, AT commands and send fax

    Hey all, My first visit to the telephony forum. A while back I needed to write a small vb app that would among other things, simply send a fax. I managed to work it out using DDE to Winfax, but while trying to solve the fax issue I came across Tapi. So as usual I decided I had to know how to...
  9. Grizz2

    How to update an application

    I'm sure this has been asked a million times but could not find it in a search so here goes. Your user installs version 1, you make version 2. How do you go about updating version 1 to version 2. Do you just install the package in the same location and will this overwrite the changed files...
  10. Grizz2

    Array help please

    Good eyes John. I missed that!
  11. Grizz2

    Array help please

    Try Changing ReDim col(0 To 10) to ReDim col(10)
  12. Grizz2

    Fax in VB?

    I have been trying to figure that one out myself. I have managed to work it out using winfax and DDE. Winfax shipped (in my case) with Win 98 and if you dig down in the winfax help files you will find explanations and even a vb example. You can play around a bit to change the way it acts. Having...
  13. Grizz2

    I need to find the path to users default email

    Hi strongM, Yes I want to use their mail program but need to be able to check mail also. I was trying to use MAPI controls but for some reason my anti virus software kept causing vb to crash, the first time all I did was add a MAPISession control to a form and boom. So thought it might be simple...
  14. Grizz2

    I need to find the path to users default email

    Hi all, I've been trying to figure out how to find the path to a users default mail program, without knowing the app name. ie. Outlook, Netscape, or third party. Surely theres an API that would make this simple. All help is appreciated. Thanks
  15. Grizz2

    MAPISession and Norton Antivirus

    Hi all, Just have some questions regarding using MAPI controls and anti virus software. I was playing with some code from a microsoft book and wanted to try one of the sample apps which was an email app. As soon as I placed a MAPISession control on the form, Norton antivirus pops up and shuts...
  16. Grizz2

    Library for a standalone spellchecker

    Hey all, I need to create a small standalone spellchecker. I started with some old code I had but this required a reference to the MS Word 8.0 object library which I don't have. Can I find this library somewhere and download it without installing word? If so where? If not, does anyone know how...
  17. Grizz2

    List Box Trouble

    For I = 0 To List1.ListCount -1 Do whatever to List1.List(I) Next I This is the basic idea. You might want to change it around so you don't have to call the db 15 times?
  18. Grizz2

    How to start an app with windows

    No it won't be running any other apps. It will just check the date, do some math, then either shutdown or show a message. Putting it in the windows start menu, that would be done in the package and deploy? Do you know the macro for that? Thanks
  19. Grizz2

    How to start an app with windows

    Hey all, I have an app I want to start up when windows is started and looking for the proper way to approach it. Basically it will start in the background, check some details, then either shutdown or display a form. Some questions. 1. How to set it so it starts with windows? 2. Should I force it...
  20. Grizz2

    Outlook VB help required

    Well I'm fairly new to vb so if this idea is stupid, I don't mind you saying so. Suppose you declared a public variable in your declarations and set the value of that variable in your button_click event? Private Sub Button1_Click() myString = Item.Subject & " - chkd" 'Do whatever...

Part and Inventory Search

Back
Top