|
USB interface - tested, can print, can use windows driver, cant use my app, cant use SDK app
Ethernet interface - tested, can print, can use win driver, cant use my app, cant use SDK app
This was tested on both win 7 and win Vista, I also tried it on VMWARE windows XP SP2 but it crashed immidiately, but possible due to virtualization itself.
Tomorrow I will try it on "pure" Windows XP, but I dont expect much.
|
|
|
|
|
from that information, I would focus on a real XP system, no virtualization, no UAC stuff.
Vista & 7 keep regular users away from protected data, you can't even get a disk's serial number as that requires an OpenFile(mydisk).
If that turns out to be the problem, the manufacturer will be bound to come up with a solution, as the Windows world is slowly moving to Vista/7 and they can't ignore that.
FWIW: and the error code(s) should be more informative!
|
|
|
|
|
Their SDK is from 2007, done in C, and their support people havent responded to my queries yet, I wont hold my breath
If we had known we would have gone with a different manufacturer.
|
|
|
|
|
|
It (SDK example) crashes with no relevant error code even on "pure" windows XP SP2 machine which normally accesses the printer.
I have (finally) been contacted by Zebra support, they have given me an email address, which unfortunately does not exist.
|
|
|
|
|
Hi,
I am new to Visual Basic 2005.
I need to create a vb project inside it there is a treeview at the left panel and right panel is empty. when user click the node in treeview, a form related to this node will be open in the right side panel. multiple forms launched by the tree nodes can be existed together, the latest one at the top of the stack.
I try to create a window application with MDI form, inside the MDI form, I create a splitContainer component, on the left panel I add a treeview node, if user click the node in the treeview, multiple child forms can co-exist, but how can I let the child forms opened only at the right panel, and attached to the right panel?
Is this the right way to design the project that satisfies my requirements?
do you have some samples about this?
Thanks!
|
|
|
|
|
Andraw Tang wrote: I try to create a window application with MDI form, inside the MDI form,
If you're saying that you're trying to create a form that is both an MDI Parent and an MDI Child at the same time, you can't. Windows doesn't support it.
Every MDIParent form has a control on it of type "MdiClient". You won't find this control in the ToolBox, so don't bother looking. This control occupies all available space on the MDIParent form that is not taken up by menu bars, command bars, status bars, ... and is managed automatically. You would need to get a reference to this control (you'll find it in the MDIParent form Controls collection), then manipulate the control just like any other. Once you create your split containers, you can move the MdiClient control to the right side split container quite easily.
Of course, you have to do all of this in code...
|
|
|
|
|
Dave,
Thank you for your reply.
I got the MDIClient control, but would you please tell me while we move the MDIClient control to the right panel of splitContainer? Since you said the MDIClient occupies all the available area except menu, status and tool bar, if we move it to the right panel, what area the right panel will occupy?
|
|
|
|
|
I should said that the MdiClient occupies all the remaining space of it's parent container by default. It has it's Dock property set to fill the container.
Andraw Tang wrote: what area the right panel will occupy?
All of it since there are no other controls in the Panel.
|
|
|
|
|
Dave,
Also is there any difference to display MDI child form on the splitcontainer right panel by using the following code
frmSimu.Parent = Me.SplitContainer1.Panel2 '-----------Method 1
or like you said move the MDIClient control to right panel, then I '---------- Method 2
display MDI child form??
I tried first way, the newly opened form is always hidden by previous opened form, even I set TOPMost flag to true.
Do you have any tutorial or sample code about this?
Thanks!
|
|
|
|
|
Andraw Tang wrote: Also is there any difference to display MDI child form on the splitcontainer right panel by using the following code
frmSimu.Parent = Me.SplitContainer1.Panel2 '-----------Method 1
Won't work since an MdiChild can only be shown in an MdiClient control...
Andraw Tang wrote: Do you have any tutorial or sample code about this?
Nope. But in playing with this for a little bit, you cannot do this with a split container. The parent container of the MdiClient must be a Form, not another control. You'd have to implement this in a pretty complex manner. Basically, I thikn you'd have to undock the MdiClient, add a Panel to where you want it in the forms Controls collection, then redock the MdiClient. I just don't have the time right now to code it up and test the theory.
|
|
|
|
|
Dave,
Thanks.
Since I will have a treeview on the left side and all the child forms launched by clicking treeview nodes are displayed on the right panel.
Splitcontainer make resize panel easy, but how can I display child form on the right panel? how to move the MDIClient control to the right panel?
Thanks again!
|
|
|
|
|
Andraw Tang wrote: but how can I display child form on the right panel? how to move the MDIClient control to the right panel?
Didn't I just get done telling you that I tested this and it won't work? As soon as the MdiClient leaves the Form's Controls collection, the Form stops being an MdiParent and MDI no longer works.
If you insist on using MDI, you have no choice but to skip the split container. If you implement this using a single form on the right side, then you can skip the MDI stuff and use the split container.
|
|
|
|
|
Dave,
ok now, I remove the splitcontainer control, just create MDIForm as parent, then add a treeview and dock on the left, add a splitter and also dock on the left, so the other space is belonged to MDIClient.
It works fine now, and the treeview can also be resized.
Thanks!
|
|
|
|
|
Hi, dear all,
I am alway confused by the terms of Visual Basic 2005 and VB.NET 2005, are they same? if not, what's the difference?
I installed Visual Studio 2005 in my compuer, when I create vb project from Visual Studio 2005, is it VB 2005 of VB.NET 2005?
Thanks!
|
|
|
|
|
'Traditional' VB died with VB6, but unfortunately it appears to be still kicking out a few death throes still. Anything VB since then is VB.NET.
|
|
|
|
|
Chirs,
Thanks for your clarification.
These terms are very confused.
|
|
|
|
|
Hot fix:
Andraw Tang wrote: These terms are very confused confusing.
|
|
|
|
|
What makes it confusing is that Microsoft, since 2008, has referred to the latest .NET version of VB as simply "VB" - you won't see any mention on the product pages of Microsoft's site of "VB.NET".
So, the current and correct terms are "VB", "Visual Basic", "VB9" (VS 2008), and "VB10" (VS 2010).
David Anton
Convert between VB, C#, C++, & Java
www.tangiblesoftwaresolutions.com
|
|
|
|
|
Experts,
Why can i not create a setup wizard?
I have VB.net 2005 (express edition) but i don't seem to have a setup wizard pack. When i click file, add new project, i am given like only 4 choices. On google it says go on to "other" and then select setup wizard........ I havent got an other tab??
Can any body help??
Cheers
Dan
|
|
|
|
|
When you install VS, I guess you select "Custom installation". Run VS setup and check required checkboxs. Or install professional edition
|
|
|
|
|
This is why:
VB.net 2005 (Express Edition)
The Professional versions and above can create installers. AFAIK, Express Editions use ClickOnce and don't come with the other installer projects.
|
|
|
|
|
I am currently developing an application for displaying history/statistics of a persons bowling games. I also am very new to vb.net, but have coded in a number of languages through out my IT carrier.
What I am looking for is a suggestion on how to display multiple lines in a list box type of control for every history event there is. Example>
"Date Bowled" "Name of Place Bowled" "Name of League" "Game Number" "Score of Game"
"Lane # Bowled On" "Oil Pattern on lane" "Oil condition on lane" "Ball Used" "Surface of Ball"
What I listed above would be 2 lines of information for every game played. This is a history listing, so there would be 1 to many of this information displayed.
I looked at examples of groups in list view, but I don't think that would do it. And I just am not proficient enough in the various controls you can use on a form to know which would be the best for this type of displaying information.
Any and all help is always appreciated.
Thank you in advance.
Dan
|
|
|
|
|
I think you would be able to use a listview control, there are probably a couple of ways you could do this;
1) Use listview, and set alternate row styles so the first start row of a row pair is bold or something
2) Use listview, and split the data into 2 rows as above and assign each row pair to a unique GroupID and then use grouping
3) Use listview, and only have 1 row of data with each column containing 2 parts of the data, e.g. DateBowled and Lane# would appear in the same cell. I think you can force a wrap by injecting a CRLF into the combined string. (would need to try this as i haven't do that before).
4) Create a new class that inherits from Panel and has all the data for each game in the relevant other controls within, e.g. text boxes, then for each row add this new class to a parent container e.g. flowlayout
5) Use a DataRepeater control from the VisualBasic PowerPack
Probably other ways also, but thats a starter for you to think about.
|
|
|
|
|
I never thought about doing a line break character. Funny, I have used that same logic when coding in vbscript.
The idea of the grouping I thought about, I just had the feeling it would um... klunky??? Use up alot of form retail space?
I thought about just using two physical rows for every line of detail history, with a blank row between them. Still kicking that around in the back of my head.
Chuckle, to make this even more complicated. I plan on allowing them to select what they wish to see in the detail history. So, this will be a dynamic build of the view with regard to what is shown and what isn't.
I think I'm going to just play with the different ways, to see what appears to work best.
Thank you for your feed back, it gives me more to think about. And try to see what looks the best.
Dan
|
|
|
|
|