|
It shouldn't take much code to scan a barcode. Today's barcode scanners do all the processing of the barcode and are simply an input device no different than a keyboard.
If you have your scanner hooked up, move focus to a text box on your form and scan a barcode. The textual representation of that barcode should appear in the textbox.
Hope this helps.
|
|
|
|
|
Sir/Madam,
Please tell me DLL name for using Outlook Express (for Messaging) in VB.Net 2003
Thanks and regards
Pankaj
|
|
|
|
|
You don't. Under .NET 1.1, what you're looking for is under the System.Web.Mail[^] namespace. This will send messages using CDOSYS.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Sir/Madam,
I was trying a project in vb.net.I don't have all the initial requirements.I wanted to design my database.Now my question is database designing is based on form designing or the requirement phase.
Thanks and regards
Pankaj garg
|
|
|
|
|
amaneet wrote: Now my question is database designing is based on form designing
No. Do not base the design of the database on the design of the forms.
Most tables represent entities in the system (people, products, orders, customers, employees, etc.) Start with identifying the main entities. Then go around again and see what sort of relationship they have with each other. Perhaps you'll discover more entities you didn't think about before.
Take a look at sample databases (such as Northwind or AdventureWorks) to see how they fit together - It might give you some ideas.
However, if this is the first time you have tried to design a database, the best approach, in my opinion, is to get someone to mentor you through the process. Someone who has read and understood the requirements. Someone who can explain why certain design descisions were made and what the benefits and disadvantages were.
|
|
|
|
|
|
Sir/Madam,
Can i programically find out the IP address of my machine in vb.net 2005
Thanks and regards
Pankaj
|
|
|
|
|
Yes. How you do depends on what IP address you want. You can get the local IP address used by the computer by examining the network card(s). This is a rather common question, you should be able to search for it in the forum.
If you are behind a firewall or router and want the external IP address, you have to send a request to a server outside the local network that returns the IP address to you.
---
single minded; short sighted; long gone;
|
|
|
|
|
Sir,
Can u please provide the code to get the ip address of my machine programically in vb.net 2005
Thanks and Regards
Pankaj
|
|
|
|
|
A little haiku in the morning:
Few simple words
In search engine I type
Instant gratification
Have a look at this article:
The Code Project: How To Get IP Address Of A Machine[^]
The code is in C#, but it has what you need.
---
single minded; short sighted; long gone;
|
|
|
|
|
Thank You Sir.It is working very fine.
|
|
|
|
|
Sir/Madam,
I am programically snding the mail in vb.net 2005 Window application.
I am using the following code.
But there is occuring an error
Failure sending mail
Dim mail As New Net.Mail.MailMessage()
'set the addresses
mail.From = New Net.Mail.MailAddress("pankajgarg10@yahoo.co.in")
mail.To.Add("pankajgarg10@yahoo.co.in")
'set the content
mail.Subject = "This is an email"
mail.Body = "this is a sample body"
'send the message
Dim smtp As New Net.Mail.SmtpClient("This is the I.P address of my machine")
smtp.Send(mail)
|
|
|
|
|
amaneet wrote: Dim smtp As New Net.Mail.SmtpClient("This is the I.P address of my machine")
What's the exact error message?
This will only work if your machine has an SMTP server installed on it AND is allowed to mail to another mail server on the Internet.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi i have different User roles in my sqlserver database...,
Ex:
in "admin" approle i given all rights for that table..,
in "Normal User" Approle i given insert record right only for that table...,
How to use those roles in my vb.net form....
Plz solve my probs...,
All sorrows will be forget...,When u think ur most lovable one...,
Mag,
|
|
|
|
|
i hv one problem.
i hv done one mdi form they hv many child form but one form is that it's also contain one child form so how to create child of child form in mdi form?
|
|
|
|
|
have a look at the Showdialog function of a Form and its Parameters......
If you are calling form2 from form1 call like this
Dim myFrm as frm1<br />
myFrm=New myFrm<br />
myFrm.Showdialog(Me)
it will make frm1 as Parent/Owner of frm2
Tirtha
"A man can ride on your back only when it is bent....."
|
|
|
|
|
You can't do it the way you decribed. Windows does not support MDIChild forms having MDIChild's themselves. A form can NOT be both an MDIParent and MDIChild at the same time.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Can I use a modem for analog to digital conversion
using VB or C/C++ wihtout using any other hardware?
|
|
|
|
|
No. That is not how a modem works.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
plz tell me to display/call a value in a label/textbox accesed from database of sql 2005 express edition using data reader or any thing else (not grid veiw method)
if possible send me example
|
|
|
|
|
Your question makes no sense. What do you want to do ? It sounds like if you could word it better, you could just type it in to google and find dozens of hits. You want to combine a data reader, a textbox and a database ? Which bits don't you know how to do ? Once you have the data, you can just read it and assign it to the Text property.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
please i need help to finish my FINAL YEAR PROJECT
any body can help me for VOIP.. please give me the whole source code. please please...any example..perhaps...
alpuse
|
|
|
|
|
You're joking, right??
You want use to give you the entire source code to a VOIP project so you just turn in something that's not your work? It's bloody obvious you don't even know what you're talking about. Why should we help you cheat in a class you're not qualified to pass?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Does anyone know how to open Windows Picture and Fax Viewer using Shell Command in vb6?
I tried the following code, but it does nothing:
Shell "rundll32.exe C:\WINXP\System32\shimgvw.dll, ImageView_Fullscreen " & Chr(34) & (<filepath>) & Chr(34), vbMaximizedFocus
Please help!
|
|
|
|
|
I can't get it to work either. It would appear that that functionality isn't exported anymore. But, it's probably possible to do it using its COM interface. Try adding a Reference to the "Preview 1 Type Library". Once you add the reference, you can open the Object Browser and see the methods and properties the Preview class exports.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|