Hello, I want to write a C# label print application. My printer is Zebra P4T. My label size is 3x3 cm one column one row. I tried some libraries, RawPrinterHelper class etc. but they didn't fit. What is your advice to start with? Thanks.
candogu
Posts
-
Label printing with c# -
HttpWebRequest authentication problemMy WebConfig file is like this. There is no difference. Thanks.
-
HttpWebRequest authentication problemHello, I am trying to make an ASP.NET application that uploads a file to a server on a domain. When I provide my username and password to the application, I can upload but, I need to use credentials who uses the web application that time. I am using HttpWebRequest object and tried CredentialCache.DefaultCredentials but it didn't work. Because of security rules in my company, I have to exclude passwords in my app. How do I get NetworkCredentials of the current user? I couldn't find any solutions? Please help. Thanks, Can DOĞU.
-
ASP.NET WebDav file uploadHello, I need to upload files to a location that supports WebDav connection. How can I do that using C#/ASP.NET? Thanks.
-
How do I generate 6 or 8 digits hash from a string and decode it back??I need to generate a meaningless code that includes last 4 characters of MAC address and a date for example; F28D31122014. Thanks.
-
How do I generate 6 or 8 digits hash from a string and decode it back??It can be hash or something like that, I need to convert a 12 characters long string to 12 characters long string or smaller meaningless one. Thanks for your reply.
-
How do I generate 6 or 8 digits hash from a string and decode it back??Hello, I need to encode a string to a 6 or 8 digits hash and decode it to original string. Encoded string has to include only numbers and alphabetic characters. Thanks.
-
How to deny users from disabling my C# serviceHi everyone, I have a problem, we borrow our clients laptops in our company for a short time. Users should be the local admin of the computer in order to add/remove programs they need. However, some of them didn't return the laptops in time so, we decided to write a program that locks the computer on date that we give before. I have one windows service, one form application which interacts with user and communicates with the service. While I testing, when I kill my program or my service, I give bsod but, when I try to disable the service and restart my computer, it doesn't run anymore. I need a method to prevent disable my service. Even my form application gets killed, my service has to run in background. Thanks.
-
Testing my first C driverWhen I build the file, all the lines gives error. I think configuration files have errors. SOURCES and MAKEFILE. Thanks for your replies.
-
Testing my first C driverMy code is below; #include "ntddk.h" NTSTATUS STDCALL DriverDispatch(IN PEDEVICE_OBJECT DeviceObject, IN PIRP Irp) { return STATUS_SUCCESS; } VOID STDCALL DriverUnload(IN PDRIVER_OBJECT DriverObject) { DbgPrint("Driver_Unload"); } NTSTATUS STDCALL DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegisterPath) { DbgPrint("Driver_Entry"); DriverObject->DriverUnload=DriverUnload; return STATUS_SUCCESS; } Thanks.
-
Testing my first C driverHi, I have a C file which contains a simple DbgPrint in DriverEntry but, when I build my project, I get 9 errors like C:\drvtest\src\testdriver.c : error CS2059: Syntax Error : ';' C:\drvtest\src\testdriver.c : error CS2059: Syntax Error : 'type' C:\drvtest\src\testdriver.c : error CS2059: Syntax Error : identifier DriverDispatch I use WDK and CodeBlocks as a C compiler. What is the problem? Please help. Thanks.
-
How to add annotation to the pdf file viewed by axAcroPdf componentHi, I need to edit the pdf using axAcroPdf component but, buttons used to edit are disabled. I cannot click on the buttons??? Thx.
-
iTextsharp annotation problemI am trying to annotate an existing pdf document, however, i can only open the document readonly mode, it doesn't edit or annotate it, on the other hand, i can only create a pdf and overwrite my version. What is the problem?
-
PDF EditingHi, is it possible to edit pdf files using csharp? (Eg: Putting notations on it, change text...) I need a library (.dll) Thx.
-
Showing images from DBHi All, I have an app and it retrieves images from database (image column) and shows the user in a spesific format. However, I use a generic handler(.ashx file) to show the images, it does not show more than 1 image. It only shows 1 image the other images appear like they don't exist. My code is like below; In aspx page: It prints
In ashx page: I get the byte[] of the images and I write context.Response.BinaryWrite(buffer); context.Response.Flush(); What can I do? Thx. :doh:
-
Csharp Set text of a textbox from winformsI want to do this because, the I don't have a chance to change the web site and I don't want to make changes on the site. For instance, I am working for an IT support of a company, we have a site that workers ask questions and we answer them. I have some constant answers so, when I focus on a textbox that for the answer, my form will appear and I will choose the constant answer for that question finally I'll send it. Thanks for the answer.
-
python and C#I don't know how to do that but, if you know what that pyhon script do, you can write it yourself in csharp as a dll file.
-
python and C#I think you can. Because from Csharp we can call another dll's functions by importing them with DllImport. However your python script should be a dll that registered to the system once ;)
-
Csharp Set text of a textbox from winformsHi, can I set the value of a textbox in a webpage from a windows application in my computer? For example, www.aaa.com there is a textbox (I know its variable name and it is constant) when I focus on that textbox, my windows application will appear. I will choose a text from a listbox and it will write the value to the target textbox?? Thanks.
-
C sharp windows serviceYeah I understand, I don't want to restrict administrators from doing nothing but in our company we give our users admin rights and this is a mistake I know that. We'll get back admin rights from users soon but until that holy day, I made a service that is not non killable but it's really hard to kill or disable or stop it!!! I understand all of u who don't want programmers to restrict administrators from doing something but in some cases like mine I should. Thank all of u for your answers. :)