Search:
Type: Posts; User: nitro66215
Search:
Search took 0.13 seconds.
-
Thanks! I wasn't aware of the security changes.
-
I get the same thing. That is weird.
Have you put the printer in DUMP mode and checked to see if anything is making it to the printer? ZPL or EPL?
-
I hope I grabbed the right project.147005
-
Glad I could help. I know I fought with the same issue for a while. Then the light bulb went off on creating separate read/write ports as well as threading. Like I noted... debug it on your own. I...
-
This version has the threading with 2 ports. 1 for read... 1 for write. I didn't comment a whole lot... just step through the code.... It's basic stuff.
124785
-
If I get a chance, I will clean up and wrap up the newest project. I've learned that unless your stream includes a terminating character, there is no "END" of a USB stream. Using a while loop around...
-
There was a bit of residual graphics code that I failed to remove. I was using an integer variable to count the number of graphics that were stored in the printer. This code had a specific function...
-
Not a problem. I hope it works for you.
-
Let me know if this basic app helps you out.
122649
-
Because I have incorporated this into an application used in-house.... give me a few and I'll make a simple generic app that allows you to type in the text you want to send to the printer and have...
-
After further review.... I'm not sure how I missed this.... I did have this function within the Designer Code... it was just Malformed..... now it's all good.
Protected Overrides Function...
-
I've been working with a custom listview that includes Custom Colors for the column headers and a transparent background for the rest. At runtime, I have no issues with colors or transparency. My...
-
Ok. I got it. I suppose I should have just copied the whole C# source and converted it to VB.Net... but I didn't want everything in it. The original C# code is here... ObjectListView
Imports...
-
Ok... so In order to get the exact list from Listview.... without coding my own Edit Items, Edit Columns... etc... I had to do a Type Hack because ListViewDesigner is "Friend".
Only issue I'm...
-
Due to the fact that I have many applications using ListViews and we already have code to populate them, I want to customize the listview with some new color schemes through it's painting events...
-
without actually testing with code... does this do anything?
For Each link As HtmlNode In doc.DocumentNode.SelectNodes("//dl[@class='Information']//dt|//dd")
adding the | in between the //dt...
-
drag a button to the form...double click it... on Click event do Me.Validate... remove the textbox1 textchanged routine.
dday9 gave you some more up to date code. also included a button event.
-
lblValue is a label control that I put on the form to display the value of the Square Root. You can replace that with whatever control you are using to display the value.
-
Very quick throw together...
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
Me.Validate()
End Sub
...
-
FOUND IT... Duh... :rolleyes: I was disposing the graphics object at the end.... this bombed with e.graphics. This works.
Public Sub New()
InitializeComponent()
...
-
The Try Catch was code I kinda left behind when I was initially going through and fixing code errors.. I agree that I can remove that
The CreateGraphics is the only way to do my custom painting....
-
Create a new class in your project... replace with this code. Rebuild.... you'll now have a new Hexbutton control. Drag it to your form. It shows as a Hex Button. There still needs to be some...
-
Another note... after selecting the GroupBox control in design time... and hovering over the edge of the control, it displays. When unselected, it intermittently displays and vanishes.
-
I'm having an issue when I enable Double Buffer. If this is set true in the "New" constructor, the design time display of the control is "invisible". If I remove the DoubleBuffer style, it displays...
-
I finally had some success....
After reading this.... http://msdn.microsoft.com/en-us/library/windows/hardware/ff545972%28v=vs.85%29.aspx
I gave it a try.... and it works! After adding that to...
-
I hate "bumping" threads, but I'm still at a loss with this. Anybody have BiDirectional USB experience?
-
I've tried lots of them
'\\?\usb#vid_0a5f&pid_0088&mi_00#7&B329F6&0&USB004#{36fc9e60-c465-11cf-8056-444553540000}
'USBPRINT\ZEBRA_TECHNOLOGIESZTC_GX430T\7&B329F6&0&USB004...
-
It's actually a USB printer and part of the Printing "area". SerialPort requires that it be a "COM" port, but Windows sees it as USB004. I've tried putting the full path.......
-
Interesting. What I really would like to do is go direct to the printer. While watching the spooler, if I'm in the Zdesigner setup program and looking at direct communications window, I can send...
-
http://msdn.microsoft.com/en-us/library/windows/desktop/dd162895(v=vs.85).aspx
This shows the actual signature for ReadPrinter. Maybe I need it to be an intPtr and do a string conversion for that?
-
I've tried initializing the dwCount to 0 and dwBytesRead to 1 as you suggested.... No dice. As a matter of fact, I do not get an error.... and dwBytesRead stays as a 1.
I also changed the...
-
I failed to include the ReadFromPrinter function... that is what is called. Then ReadPrinter..
Here's the whole class...
I was re-opening the printer using the Name string. Then I tried...
-
Has anyone worked with Bi-Directional USB communications? Regardless if it's a printer or not? What about something like a USB Monitor?
-
The primary issue that I'm having is reading a response on the USB port for a Zebra Printer. I have successfully used the winspool.drv invocation to write to the printer and I see the communications...
-
Dim sess As New InTheHand.WindowsMobile.PocketOutlook.OutlookSession
Dim smsAcc As SmsAccount = sess.SmsAccount
Dim smsFdr As SmsMessageFolder
smsFdr =...
|
Click Here to Expand Forum to Full Width
|