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

    Return Values

    Hello everybody, once more I need your help! My little program should be compatible to UNIX and WINDOWS environments. In Windows I can retrieve the error code if send() or receive() function of winsock fails with WSAGetLastError(). How can I retrieve the error code under UNIX environments...
  2. webstony

    Timeout on send and recv calls

    Hi there, how is it possible to set a timeout-value on send and recv calls through the winsock? mfg, stony
  3. webstony

    Retrieve filename

    Hello everybody, may you can help me with this: how can i retrieve the filename of the current opened word document with a vba command? (it is a word document in which i use an AutoOpen macro. every time when it is opened i start the saveAs dialog, so it is not the same filename any more)
  4. webstony

    Working with Forms, Application dissapears!!

    Hello everybody, I am working with Forms. When I press a button Excel shall start. But in the same moment it dissapears. My Code: Dim ExcApp As Object Privat Sub Button1_Click() Set ExcApp = CreateObject("Excel.Application") ExcApp.Visible = True End Sub How can I achieve, that...
  5. webstony

    Call Sub Routines

    Hello everybody, new day, new problem. ;-) i am using forms and a lot of checkboxes in my vba-word-script. so i wonder myself, if there is a possibility to do things easier. my code: Sub main() Call Transfer1(CheckBox1) Call Transfer1(CheckBox2) ... End Sub Sub Transfer1(myBox As CheckBox)...
  6. webstony

    Hello everybody, i am new to vba

    OK, sorry for that simple questions. I find it out by myself very quikly. must be following code: Sub WrdXl() Dim ExcApp As Object Set ExcApp = CreateObject("Excel.Application") ExcApp.Visible = True ExcApp.Workbooks.Open "C:\Mappe1.xls" ExcApp.Range("D2").Select...
  7. webstony

    How to start Excel from Word-VBA-Script

    For people who has the same problem: Sub WrdXl() Dim ExcApp As Object Set ExcApp = CreateObject("Excel.Application") ExcApp.Visible = True ExcApp.Workbooks.Open "C:\sheet1.xls" Set ExcApp = Nothing End Sub
  8. webstony

    Hello everybody, i am new to vba

    Hello everybody, i am new to vba, so please be patient. :-) maybe you can help me. i want to open an excel sheet, select a cell (maybe "D2") and copy its value/content. then i want to return to word and paste this value/content. my vba-script does only work until the value/content of...
  9. webstony

    How to start Excel from Word-VBA-Script

    Hello everybody, is it possible to start Excel while running a Word VBA Script? I mean, is it possible to start Excel with an explicit Word-VBA-Script-Order? And further: Is it possible to overtake a value from an Excel Cell automatically in Word? #-) Thanks in Advance! Greetings from...
  10. webstony

    Hi everybody, is it possible to

    Hi everybody, is it possible to ask (in word with vba) which printer- driver is to be used? And how can I use this, f. e. to trim document properties on this driver? Any help is welcome!! ;-) Greetings from Europe, webstony
  11. webstony

    File reloding code.

    Hi Hiren, Try the Application.OnTime-Method. For further information check out the online-help. Greetings from Europe, Sebastian
  12. webstony

    How do I get OS- Infos? Environ- Function?

    I just found this at the web: Private Sub ListEnviron() Dim new_value As String Dim txt As String Dim i As Integer i = 1 Do new_value = Environ$(i) If Len(new_value) = 0 Then Exit Do txt = txt & new_value & vbCrLf i = i + 1 Loop MsgBox txt End...
  13. webstony

    How do I get OS- Infos? Environ- Function?

    Hi everybody, vba is totally new to me, so my question might be very simple. I work with VBA in Word and I need some operating system informations (my OS is WIN NT 4), like which user 's logged in ... Can I use the Environ- Function? And if, how do I get information with it. The help-system of...
  14. webstony

    Content Type

    I just saw it on the net: binmode(FILE_HANDLE)
  15. webstony

    Content Type

    Hi everybody, I have a file that cannot readout with a perl-script correctly. This may be caused because the file is not ASCII- format. How can I instruct my perl- script the correct content- type of the file?? Thanks in Advance, webstony
  16. webstony

    urgent: proxy

    Hi everybody, I use a Proxy- Server with User Authentification to access to the internet. So, if I use the LWP- Module in an perl- script, which calls a www- adress, it will not work. how can I tell the script that I am using a proxy?? Thanks in Advance, webstony
  17. webstony

    Proxy- Server Authentification automatically

    Hi everybody, I am working behind a firewall and have internet access through a proxy- server. This server needs username and password for authentification. Is it possible with Perl to automate this authentification? Thanks in Advance, webstony
  18. webstony

    Insert new Lines at a certain point in a file

    Hi everybody, I have a problem concerning Filehandles. Is it possible to open a file just to insert new lines at a certain point in that file? I don't want to append the new content, I just want to write it before a specific keyword in that file. Or do I have to read out the whole file ?? I...
  19. webstony

    Databases in Perl

    Hi everybody, I have a question concerning perl. Because I am a Beginner in Perl- Programming, please excuse if my question is too simple, but I need your help. Is it possible to work with Oracle Databases (maybe through the ODBC- Interface) in Perl? And if: Which commands do I have to use, for...

Part and Inventory Search

Back
Top