2
Answers

Get Friendly Name form EVERY connected Device

Photo of joe

joe

11y
3.1k
1
hi together
I'm trying to get the Friendly Device Names, which you can find under Start => "Printer & Devices" => Devices (Model Name)

I tried with Win32_PnPEntity and Win32_USBControllerDevice and Win32_USBHub.

I get every possible Information, like VIDs etc. but i don't get the friendly Name. Even in the Depent Property there seems not to be the Name i'm looking for.

I know that i can search the registry for it and compare against the VID, but there should be a direct way, or not? => It seems, that even the Registry doesn't hold this Names.

Thx a lot

Answers (2)

0
Photo of mariah sharp
NA 0 0 11y
code 128 can be generated in many kinds of platforms,just take this guide for code 128 in asp.net for example.
besides,as for barcode reader you may refer to reader in .net.
0
Photo of fsdrfew fsre
NA 2 0 11y
check the sample codes on drawing code 128 in c#:
REImage reImage = REFile.OpenImageFile("c:/Sample.png", new PNGDecoder());

Linear barcode = new Linear();//create a barcode

barcode.Type = RasterEdge.Imaging.Barcode.Creator.BarcodeType.CODE128;//select barcode type

barcode.Data = "123456789";//set barcode data
barcode.X = 1.0F;//set x
barcode.Y = 60.0F;//set y
barcode.Resolution = 96;//set resolution
barcode.Rotate = Rotate.Rotate0;//set rotate

barcode.DrawBarcode(reImage, 300, 450);//draw barcode on REImage with location x and y

REFile.SaveImageFile(reImage, "c:/code128.png", new PNGEncoder());
0
Photo of JAY KARL
NA 22 0 12y
First , you need figure out which app. you want to use?
For instance, generate code128 in asp.net:

  1. Install ASP.NET Barcode Control;
  2. Add ASP.NET Barcode Control onto your .NET Visual Studio Toolbox;
  3. Copy "linear.aspx" and "linear.aspx.cs" to the folder where your aspx pages are generating barcodes;
  4. Drag and drop the WebLinearBarcode control into the Forms;
  5. Run the website and you will see a barcode image generated;
  6. More Code 128 Setting see below.
 
Then, you just copy the C# to your peoject to decode it!

Hope it helps!
0
Photo of ada jones
NA 8 0 12y
You need to add the DLL to your VS 2010 toolbox as a common control, then drag and drop it to form to generate Code 128. Here is sample of generating Code 128 in Winforms apps. Hope do help to you.
0
Photo of Brain HameL
NA 2 0 12y

We searched a lot and ended up using leadtools barcode module, which helped us to write and read different barcode types (including code 128).

For more information, see the following page:

http://www.leadtools.com/help/leadtools/v175/dh/ba/leadtools.barcode~leadtools.barcode.barcodereader.html
0
Photo of robert dunleavey
NA 2 0 12y
Hi

Are you trying to print the barcode on a specific printer?

Barcode Labels printers have barcodes on-board you just need to send the correct parameters down i.e. x y cordinates, barcode type, density etc.

Regards

Rob

Barcolde Label Answers
0
Photo of Krishna Garad
NA 16.5k 6.2m 12y
Take a look here
Barcode Generator
Barcode Scanner

may helps you.