Search:

Type: Posts; User: nitro66215

Search: Search took 0.13 seconds.

  1. VS 2008 Re: [RESOLVED] VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communi

    Thanks! I wasn't aware of the security changes.
  2. VS 2008 Re: [RESOLVED] VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communi

    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?
  3. VS 2008 Re: [RESOLVED] VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communi

    I hope I grabbed the right project.147005
  4. VS 2008 Re: [RESOLVED] VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communi

    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...
  5. VS 2008 Re: [RESOLVED] VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communi

    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
  6. VS 2008 Re: [RESOLVED] VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communi

    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...
  7. VS 2008 Re: [RESOLVED] VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communi

    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...
  8. VS 2008 Re: [RESOLVED] VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communi

    Not a problem. I hope it works for you.
  9. VS 2008 Re: VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communications. US

    Let me know if this basic app helps you out.

    122649
  10. VS 2008 Re: [RESOLVED] VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communi

    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...
  11. VS 2012 Re: Owner Draw ListView / Design Time Column Adjusting

    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...
  12. VS 2012 [RESOLVED] Owner Draw ListView / Design Time Column Adjusting

    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...
  13. VS 2012 Re: Custom Listview - Default ActionList

    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...
  14. VS 2012 Re: Custom Listview - Default ActionList

    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...
  15. VS 2012 [RESOLVED] Custom Listview - Default ActionList

    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...
  16. VS 2010 Re: How i can obtain two "InnerText" for two tags with HtmlAgilityPack

    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...
  17. Replies
    15
    Views
    1,608

    VS 2010 Re: Windows form application help

    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.
  18. Replies
    15
    Views
    1,608

    VS 2010 Re: Windows form application help

    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.
  19. Replies
    15
    Views
    1,608

    VS 2010 Re: Windows form application help

    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

    ...
  20. VS 2012 Re: Custom GroupBox - Double Buffer Display issue

    FOUND IT... Duh... :rolleyes: I was disposing the graphics object at the end.... this bombed with e.graphics. This works.




    Public Sub New()

    InitializeComponent()
    ...
  21. VS 2012 Re: Custom GroupBox - Double Buffer Display issue

    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....
  22. Replies
    9
    Views
    4,706

    VS 2010 Re: Hexagon shaped buttons

    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...
  23. VS 2012 Re: Custom GroupBox - Double Buffer Display issue

    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.
  24. VS 2012 [RESOLVED] Custom GroupBox - Double Buffer Display issue

    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...
  25. VS 2008 Re: VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communications. US

    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...
  26. VS 2008 Re: VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communications. US

    I hate "bumping" threads, but I'm still at a loss with this. Anybody have BiDirectional USB experience?
  27. VS 2008 Re: VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communications. US

    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...
  28. VS 2008 Re: VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communications. US

    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.......
  29. VS 2008 Re: VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communications. US

    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...
  30. VS 2008 Re: VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communications. US

    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?
  31. VS 2008 Re: VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communications. US

    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...
  32. VS 2008 Re: VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communications. US

    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...
  33. VS 2008 Re: VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communications. US

    Has anyone worked with Bi-Directional USB communications? Regardless if it's a printer or not? What about something like a USB Monitor?
  34. VS 2008 [RESOLVED] VS2008 / VS 2012. Win 7. USB Printing to Zebra - Bidirectional Communications. USB004

    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...
  35. Replies
    13
    Views
    20,253

    Re: Reading SMS Inbox using VB.NET

    Dim sess As New InTheHand.WindowsMobile.PocketOutlook.OutlookSession
    Dim smsAcc As SmsAccount = sess.SmsAccount
    Dim smsFdr As SmsMessageFolder
    smsFdr =...
Results 1 to 35 of 35



Click Here to Expand Forum to Full Width