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!
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!
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...
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?
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?
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.
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...
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.