|
Have you tried Google?
A barcode-scanner will usually return the code as if it is entered by the keyboard. That means that retrieving info from a database works the same as retrieving info using a code that is entered manually.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Depends on
- the interface for SerialPort settings
- format of answer from barcodescanner
- is it attached to a computer on as device in a Pocket-PC?
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
Hi all
I'm using VB 2008 and VB.NET
I have a database data. Each column namely as name, age and hobby. For 1 person have more than one hobby. Each time user key in the name, it will directly display their age and hobby. So, I need to loop through each item in the dataset.table.row and wondering how to do this.
Dim ds As DataSet
Dim row As DataRow
If ds.Tables.Count > 0 Then
If ds.Tables(0).Rows.Count > 0 Then
For Each row In ds.Tables(0).Rows
Next
???
Can someone help me to teach me to make this loop or give some suggestion to write this loop? Thank you in advance
|
|
|
|
|
|
Hi everyone,
I'm working on a project consisting of writing an inventory management system for a small business. The system will be used by a multiple users concurrently.
I was thinking on using a client/server architecture and WCF came to mind. I have little experience with WCF and RESTful services so I'm a bit lost when it comes to applying WCF technologies in such a scenario.
Are there any guides, advice, sample scenarios which I could look at for ideas and to see how WCF can be used in such a scenario?
Huge thanks!
|
|
|
|
|
|
ndswdev wrote: inventory management system for a small business.
Presumably in that scenario they actually need a client/server architecture.
|
|
|
|
|
See my article Design a WCF Service[^] for a useful introduction to designing a WCF application.
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare
Home | LinkedIn | Google+ | Twitter
|
|
|
|
|
am working a result slip for a student and want each student results to be in a separate page..how do i go about? i have tried grouping by registration no but it doesnt work
|
|
|
|
|
|
Quote: In a code behind page under the Page_Load sub, I am trying to set some value to a Label:
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
myLabel.Text = "Some text"
End Sub
I keep getting 'myLabel' is not declared. It may be inaccessible due to its protection level.
But I do have the following :
<asp:label id="myLabel" runat="server" text="text" visible="true">
This control (along with other controls) is inside the following tag:
<asp:formview id="FormView1" runat="server" datasourceid="sqlDS_ProjectForm" defaultmode="Edit" width="900px">
.
.
I have tried something similar in a separate simple project, where I can display the required text in the label, as a result of the Page_Load
Partial Class _Default
Inherits System.Web.UI.Page
Hide Copy Code
Private Sub Form1_Load(ByVal sender As System.Object, ByVal _
e As System.EventArgs) Handles MyBase.Load
Label1.Text = "some text";
End Sub
End Class
UPDATE
So I have worked out that the behind the code page needed a FindControl method to find the actual Label control
Now I have to assign a value to it.
FINAL UPDATE (and solution)
After some research I managed to find what I was looking for, yes I am a noob, we all were at some time
Dim SpirosLabel As Label = DirectCast(FormView1.FindControl("myLabel"), Label)
SpirosLabel.Text = HttpContext.Current.User.Identity.Name
modified 1-Apr-15 22:27pm.
|
|
|
|
|
It is annoying but yes, FindControl is the way you have to do it because it lives inside another control. The reason being is that you could have another label outside your form view and also call it myLabel in which case you would have ambiguous controls.
Glad you were able to find the answer.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
I downloaded and installed two Express your solutions:
1) Studio 2013 Express for Windows Desktop
2) Studio Express 2013 for the Web.
Having developed an application that works on a DataBase nature of medical and health, I thought
create a setup for a possible distribution to doctors my friends. Following the information
found on the Internet, I clicked on the Solution Explorer and My Project.
Of the two versions Express, only the one for Windows Desktop presents the "Publish".
I tried to create a setup using this version for Windows Desktop but I Setup
past to try one of my friends does NOT work. To run this setup the system, the
which was made the test, says that does not have the suitable framework. I tried
suggestions on the Internet saying to click on File -> New Project. From the window
proposal select Setup and Deployment Projects folder and then the project
installation. But this window with the folder Setup Projects NOT exist.
With Visual Basic Express 2013 for the Web, clicking on the Solution Explorer and My Project item
"Publish" does NOT exist.
Question: How can I create a setup that allows the installation of my application
on systems, not having the necessary Framework, need to install it with Setup
|
|
|
|
|
Member 11249327 wrote: To run this setup the system, the which was made the test, says that does not
have the suitable framework. What framework did you target? Which Windows-version would the machine running?
I haven't built setups for quite some time, but I remember that InstallShield made it as easy as marking the framework as "required".
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I know that this question have already been posted but without answer.
I would like a tabcontrol with somes tabs on top and somes tabs on bottom.
Problem is that Alignment property is for tabcontrol, maybe the best solution will be to have Alignement property to tabpage controls?
how can i do that?
|
|
|
|
|
fabsyl wrote: I know that this question have already been posted but without answer. Not possible using the native TabControl. You'd have to search for one that does support said scenario.
Frankly, I'd be confused. I can imagine a nested TabControl, where one has pages within a page - that way your proposed navigation would make sense - but you are talking about having a selection of the pages shown on top, and the rest at the bottom?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Yes, for presentation reasons, i want to show 10 tabs headers on top of my tabcontrol and 8 on bottom, bottom's tabs are same family (shortcuts).
|
|
|
|
|
In fact what i want is in the tabcontrol component of lidor systems IntegralUi but it's not free solution!
|
|
|
|
|
|
Use 2 TabControls; both the same size; one with Tabs aligned across top; the other with Tabs across the bottom.
At design time, try placing one over the other. The designer may balk, so you will have to align them in the form's constructor; e.g.
this.tabControl2.Top = this.tabControl1.Top + 20;
this.tabControl2.Left = this.tabControl1.Left;
Note the Tops are offset by the height of the Tabs.
In the Selected event of EACH TabControl, "send" the other Tabcontrol "to the back"; e.g.
private void tabControl2_Selected( object sender, TabControlEventArgs e ) {
this.tabControl1.SendToBack();
}
(You can get fancy and determine which TabControl is already in front and not bother with the SendToBack() if it does not need to be done; visually, it probably makes no difference).
|
|
|
|
|
HI,
Every Body
I want to ask that, what is Full Text Search in sql server with examples.
|
|
|
|
|
|
MSDN has a topic on those subjects. They've invested some time in it. I suggest you do the same
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
As already mentioned, this is not the right group. However, please refer to https://msdn.microsoft.com/en-us/library/ms142571.aspx[^].
And you are asking questions that can be easily answered by a simple search in google.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
HI,
Every Body
I want to ask, that when to create clustered index and
non clustered index on tables in sql server.
|
|
|
|