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 Mike Lewis 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. Taxidriver

    Select not default printer

    PHV I think that I cannot use your code, it requires specific casting; I have to put in the code the info about the printer, is it right? I tried to put the code in the faq http://www.tek-tips.com/faqs.cfm?fid=5479 and it works quite well!
  2. Taxidriver

    Select not default printer

    Is there a command to retrieve automatically the default printer, in order to avoid explicit definitions?
  3. Taxidriver

    Select not default printer

    Ok now it works, I had to put the name of the printer in a variable and the pass it to application.printers. now it's fine, thanks!
  4. Taxidriver

    Select not default printer

    I write Set Application.Printer = Application.Printers("\\qfax\qfile") but gives me an error, either the call is not valid or the argument.
  5. Taxidriver

    Select not default printer

    Hello, how can I choose a printer via code (not the default printer) without changing the default printer?
  6. Taxidriver

    Problem with log file

    I eventually found out that the udpappender works and sends correctly the packets. the problem is now the udp listener, i found the code in vb on the msdn page but it doesnt' work. it says it is listening but hears nothing! Please help me!
  7. Taxidriver

    Problem with log file

    OK now I tried using the udpappender of log4net <appender name="UdpAppender" type="log4net.Appender.UdpAppender"> <localPort value="8079" /> <remoteAddress value="my machine ip" /> <remotePort value="8080" /> <layout type="log4net.Layout.PatternLayout, log4net"> <conversionPattern...
  8. Taxidriver

    Problem with log file

    I tried rightclicking the folder and changed the properties and it worked but would it be possible to do it by code?
  9. Taxidriver

    Problem with log file

    I'm trying to write a logfile with vb.net but always get System.UnauthorizedAccessException: Access to the path "C:\Inetpub\wwwroot\WebQgest\WebQgest\example.log" is denied. seems asp.net cannot write, how can I do?
  10. Taxidriver

    log file

    I'm trying to write a logfile with vb.net but always get System.UnauthorizedAccessException: Access to the path "C:\Inetpub\wwwroot\WebQgest\WebQgest\example.log" is denied. seems asp.net cannot write, how can I do?
  11. Taxidriver

    adodc

    my pop up are enabled so that's strange
  12. Taxidriver

    adodc

    Thanks Frederico! It worked well! I'm trying to give you a star but when I click on the link it does nothing! Thank you!
  13. Taxidriver

    query and data display

    Would it be possible to do a query with select dettaglio.Idtipo as c200_c201 from etc etc and instead of displaying 1 or 2 (the possible values of idtipo) C201 if the value is 1 and C200 if the value is 2.
  14. Taxidriver

    adodc

    I build a datagrid using Adodc1.RecordSource = "SELECT DettaglioLavoriOre.idDettaglio,DettaglioLavoriOre.IdTipo as C200_C201 FROM etc etc..." the data in IdTipo can be 0 or 1 or 2. I would prefer to have C200 if the value is 2 and C201 if the value is 1, displayed in the datagrid. Is it...
  15. Taxidriver

    change size via code

    Thanks. Because I already had a cycle where I have different labels for every tab (data coming from a database). Anyway, I tried with tab as well but it gives me an error, it works with .tabindex instead.
  16. Taxidriver

    change size via code

    Thank you! It worked, I use a for cycle. Can you tell me also the syntax to choose the type of font? thanks
  17. Taxidriver

    change size via code

    how can I change the size of the words written in a sspanel via code? .font.size = 10 doesn't work.
  18. Taxidriver

    datagrid columns width

    Thanks a lot Miho! I wouldn't have worked it out by myself!
  19. Taxidriver

    datagrid columns width

    Hello I have this datagrid working with adodc and the columns are autogenerated. I would like to change te width of the columns. In the property box the width is set to zero and cannot change it. I tried with DataGrid1.Columns.Item(7).Width = 2 but not working.
  20. Taxidriver

    problem with socket

    I have a problem with a winsocket in a vb application. Private Sub WinsockPdf_DataArrival(ByVal bytesTotal As Long) ' MsgBox (Format(bytesTotal)) WinsockPdf.GetData Mailfile, vbString ', bytesTotal ' OpenURL "http://192.168.0.8/qfax.demo/provapdf/prova.php3?file=" + Mailfile End Sub...

Part and Inventory Search

Back
Top