20,285 Topics

Member Avatar for
Member Avatar for dre-logics

Use visual basic 8.0 Dymo labelwriter 400 Installed Dymo labelwriter 400 Software Development Kit (SDK). My problem is that there is a label is printed, but the mylabel. SetField are not included in the barcode label. The default values are printed. The object name in the label are correct (OText1 …

Member Avatar for dre-logics
1
1K
Member Avatar for tqmd1

Dear Experts I use following codes to select data in ListView1, given value in textbox1.text. That codes work fine. Textbox1 data is integer and DataGridView1 first Column Value is Integer. I want to locate this value in Grid. My question is how to select data in DataGridVeiw, given data in …

Member Avatar for tqmd1
0
125
Member Avatar for jainmukesh
Member Avatar for pauldani
0
87
Member Avatar for tqmd1

Dear Sir, SQL Table employees has data as follows sno--name----img-----img_path 1-----A----Binary---D:\C2009\BITMAPS\PICT.JPG 2-----B----Binary---D:\C2009\BITMAPS\eric.JPG Now I want to display picture in picturebox1. To do this I use this codes, but it does not display picture on this line: Dim arrPicture() As Byte = CType(dt2.Rows(0)("img_path"), Byte()) it shows this message, please help Unable …

Member Avatar for gianrocks
0
536
Member Avatar for wasyazwan

i have a ASCII file that contain 3 line of numbers as below: 307.1642127.1642334.3412154.3412[COLOR="red"]3[/COLOR][COLOR="red"]34[/COLOR][COLOR="red"].[/COLOR][COLOR="Red"]3412[/COLOR]88.2652 271.330896.104 127.1642307.1642285.1534105.1530[COLOR="red"]285[/COLOR][COLOR="red"].[/COLOR][COLOR="red"]1532[/COLOR]87.3500 272.2500214.227 285.1532105.1532307.1642127.1642[COLOR="Red"]307[/COLOR][COLOR="red"].[/COLOR][COLOR="red"]1642[/COLOR]87.2001 272.395952.055 i just want to extract red number which is its stand for angle/azimuth ... so how can i do that in vb.net? the problem here is its not separated by any …

Member Avatar for jainmukesh
0
191
Member Avatar for kzdev

I use Microsoft Visual Basic 2008 Express Edition and I am begginer in computer networks. I want to make two PCs communicate via network using server/client I followed the example from this site: [url]http://www.eggheadcafe.com/articles/20020323.asp[/url] (VB.NET TCP Client/Server Socket Commmunications) When I run the applications server and client in one computer …

Member Avatar for kzdev
0
327
Member Avatar for Claude2005

Hi there, I'm just wondering if anyone can help me with this. As stated in the title, I need to simplify my code. Here's my sample code: [CODE=VB] textbox1.Text = name(1) textbox2.Text = name(2) textbox3.Text = name(3) textbox4.Text = name(4) textbox5.Text = name(5) [/CODE] I'm thinking about making it like …

Member Avatar for kvprajapati
0
113
Member Avatar for Nattynooster

Hello, I have made my program but I want to give users the option of choosing a custom color for text. I have an inputbox that works and then converts it to Color.whatever. But seeing as the user types in what they want and it is not done by the …

Member Avatar for kvprajapati
0
127
Member Avatar for anurag06

when i get system date and add some day or month or year then i want next date as per requirement.please give me some valuable suggestion.

Member Avatar for kvprajapati
-1
34
Member Avatar for pysdex

I am using VS2005 version of VB.Net programmer. I wanted to use the user input but most people tell me to use console...but I cannot use this function since my version is different, it will not show any results. I found that using mask textbox can use to read the …

Member Avatar for kvprajapati
1
100
Member Avatar for pisces20
Member Avatar for jrosh

I've used 3d control magic for VB.NET to create shaped forms. When I bulid my project to create an exe, I want to include 3d control magic.exe into it, to be installed automatically in the clients computer. How can I do that. plz help. thankx in advance

Member Avatar for kvprajapati
0
274
Member Avatar for anoop4real

Hi, I have small application which shows an alert in every 45 mins....( to take a break from work :) )..... It is a normal windows form with a timer in it and in every 45 mins I am invoking a message box. I am able to make it work …

Member Avatar for anoop4real
0
1K
Member Avatar for manutd4life

Hello, i want to make a program that that can email a message like you enter the recipient email address and then the message and then send. So i dont hav any idea on how that works or if its possible to make something like this so any help will …

Member Avatar for muzzy1000
0
106
Member Avatar for pisces20
Member Avatar for rcook

I am working in vb.net, visual studio 2008, with the crystal reports that comes with it. I have a push model: creating a dataset, putting data into it, making that a report source, and putting the report source onto (or into) a crystal reports viewer control (not neccessarily in that …

Member Avatar for rcook
0
203
Member Avatar for Progr4mmer

I would like to know how to loop a connection or close an existing connection. heres the code i have to connect [CODE]Imports System.Net.Sockets Public Class Form1 Dim clientSocket As New System.Net.Sockets.TcpClient() Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Try clientSocket.Connect("ServerIp Goes Here", Server port …

Member Avatar for Progr4mmer
0
154
Member Avatar for wasyazwan

I have a file that contain data structure as below: L,13206,11,02,06,000,3981.100 19,22,25,26,19 END L,13207,11,02,06,000,6561.000 22,24,7,8,9,25,22 END K,[COLOR="Red"]1[/COLOR],P [COLOR="red"]-18970.811,53728.643[/COLOR],BKL,,e-Coord,M END so how can i extract 1 and -18970.811,53728.643 and export it into a new output file with new structured as below: C [COLOR="red"]1 [/COLOR] [COLOR="red"]-18970.811 53728.643[/COLOR] For your information, the value …

Member Avatar for wasyazwan
0
407
Member Avatar for OldQBasicer

If I'm running a Do... Until or a For... Next loop in a button click event, is there a way I can allow the user to click the same button while the loop is running and escape the loop?

Member Avatar for Progr4mmer
0
155
Member Avatar for venom80

Hi guys, I'm a newbie in Visual Basic and I need some assistance. I have 2 tables in mysql: 1. stats (stats_id,statsno,statsName) 2.stats_det (stats_det_ID,stats_id,stat_DateAdd,stat_UserAdd,stat_DateModif,stat_UserModif) I have a form named status and from here I want to add a new record in the first table (stats). I've created the insert statement …

Member Avatar for venom80
0
2K
Member Avatar for silambharasan

i need to display the webpage in webbrowser but which it fit the webbrowser there is no need to scroll it and it shows as thumbnail

Member Avatar for silambharasan
-1
256
Member Avatar for tqmd1
Member Avatar for selvaganapathy
0
88
Member Avatar for Saran Gurung

Please help me to creat advance login form and link to the MySQL database..Im a new software programmer and i don't have much idea on vb.net..

Member Avatar for tqmd1
0
48
Member Avatar for ludamizleeto

I am using a Webbrowser control to sign into Hotmail. Then once it is signed in then I'll just use this navigate code to open the inbox: I think that the problem is that the actual inbox(mail window) is within an iframe. I have to figure out how to call …

Member Avatar for ludamizleeto
0
793
Member Avatar for tqmd1

Dear Sir, Datagridview1 has three columns as S.No-------Porducts--------Price When I enter s.no in column1 then product name and price must display in relevant columns as S.No-------Porducts--------Price 1------------Mango---------12 I wrote folloiwng codes as example Please help [CODE]str = "SELECT * FROM products where code =sno =" & Val(DataGridView1.Rows(1).Cells(0).Value) cmd = New …

0
55
Member Avatar for Joomla12

I want to be able to click a button in Form1 so that it opens a new window with an about page and maybe some other things. How can I do this?

Member Avatar for Nattynooster
0
239
Member Avatar for meba k

Hi, I need help. The thing is I’m developing this program and it is like a phone book. I made the interface with visual basic 2008 and the database with Microsoft access. I already made it to put new person’s address into the database and to show it on the …

0
54
Member Avatar for snarb

Hello, I was wondering how you can copy information (from a webpage, for example) and store it in a string? Also, how would I take only one word of the string if there are spaces between words and I will always be removing the word with the same location in …

Member Avatar for snarb
0
89
Member Avatar for tqmd1

Dear Experts I developed a simple project. The attachment contains one form and a database. This work fine But I need source codes for NEXT and BACK buttons Please unzip and help

Member Avatar for tqmd1
0
96
Member Avatar for dre-logics

I use visual basic 8.0 en MySQL. I have a connection witho my MySQL database "test" with Myconn. I have two table's : Rental Articlenr Articledis Articlerent 100 beerclass 15 200 wineclass 10 Stock Articlenr Articledis stock 200 Wineclass 25 So far i have this : [code]Dim con As New …

Member Avatar for dre-logics
0
332
Member Avatar for jrosh

I want to create a window in a different shape. Not rectangular or eclipse but lets say a window look like a panda.!!! How can I do that.

Member Avatar for selvaganapathy
0
64
Member Avatar for tqmd1

Dear Experts I use following codes to display image from sql server. On this line of codes [CODE]Dim ms As New IO.MemoryStream(CType(row("user_img"), Byte()))[/CODE] this error messages appears [CODE]Unable to cast object of type 'System.DBNull' to type 'System.Byte[]'.[/CODE] How to get rid of this error message. This message appears because image …

Member Avatar for sknake
0
722
Member Avatar for snarb

Hello, I only have a very crude understanding of vb, im wanting to make a program and... I was wondering can you get a program made w/ vb to click on a certain part of the screen outside of the program? and also, can you copy information from outside the …

Member Avatar for snarb
0
95
Member Avatar for bluem1

There has to be an easy answer for this, I hope! I basically need the grandchildren of the below xml tree to show up in a vb.net gridview. I have the data getting pulled but all values are getting put into a single cell. Here is the xml tree. [CODE]<?xml …

Member Avatar for sinnerFA
0
260
Member Avatar for samehsenosi

Hi Everyone hi was trying to call a different and Anonymous objects into my form but i can't reach to the right method tyo do that my matter here is falls under calling a tree view.... i mean any tree view !!! i was trying to handle this code but …

Member Avatar for sknake
0
114
Member Avatar for spxChrome

Hi, Trying to retreive the background color of a row in a listview but not having much luck. I have tried [code]if lsv.Items(i).BackColor = Color.White then if lsv.Items(i).BackColor.ToString = "Color[window]" then if lsv.Items(i).BackColor.ToString = Name=White,ARGB=(255,255,255,255)} then[/code] I do this because on load I set the background color depending on a …

0
58
Member Avatar for davidlewing

I am trying to build a pacman game. Currently I am in the process of building the AI for the ghosts. The way I have the AI working is whenever a ghost enters an intersection, it will check where the player is relative to its position, then it will move …

Member Avatar for davidlewing
0
115
Member Avatar for saras5
Member Avatar for Stevoni
-1
67
Member Avatar for tqmd1

Dear Programmers What are the possible alternative codes against following codes [CODE]If Len(PasswordTextBox.Text) > 0 And Len(PasswordTextBox.Text) > 0 Then MsgBox("ok", MsgBoxStyle.Information) else MsgBox("Enter User Name and Password", MsgBoxStyle.Information) End if [/CODE]

Member Avatar for Stevoni
0
101
Member Avatar for AndreRet

Just to say hi to all the .NET helpers out there. I have made the dreaded (but forced) change from vb6 to .NET. I will rely a lot on your expertise in this forum, and thanks to those that will be prepared to sort all my questions. I have been …

Member Avatar for debasisdas
0
89
Member Avatar for Progr4mmer

I have an application to make a server and clients to read/ send text to it but i want a program i can run from a remote computer that you enter the ip and port and it crashes the server

Member Avatar for Progr4mmer
0
38
Member Avatar for Ulukay

In a textbox i can see when RETURN is pressed , but when i check on the TAB key it does not work Help me Plzzz. [CODE] Dim handler As KeyEventHandler Private Sub Orderinvoer_Load(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles MyBase.Load AddHandler werkorderTB.KeyDown, handler end sub Private Sub werkorder_KeyDown(ByVal …

Member Avatar for LennieKuah
0
139
Member Avatar for muzzy1000

Hi I need to reference a .net .dll file at runtime of my program. Does anyone know the code to do it?

Member Avatar for sknake
0
70
Member Avatar for tqmd1

Dear Experts How to findout computer / server name with vb.net codes. I want to use it in connection string [CODE] con = New Data.SqlClient.SqlConnection("Data Source=noor;" & _ "Initial Catalog=accounts;Integrated Security=True")[/CODE] Please help

Member Avatar for sknake
0
96
Member Avatar for kool.net

Hi, I m using a datagrid in my project , it is just like a report but it is created with many queries so i m unable to create it with crystal report, so i created it with in loop with 10 datasets each for separate column. Now i want …

0
76
Member Avatar for ALex_ice

I have been given a project and i need to create a button to calculate N!. I've been trying to figure it out for a while now and I can't. Any help would be nice.

Member Avatar for ALex_ice
0
242
Member Avatar for Bamboozled

I've created a recordset in VB Express 2008 as follows [code] rsmembers = New ADODB.Recordset with rsmembers .Source = cn.Execute("SELECT * FROM members") .ActiveConnection = cn .CursorType = ADODB.CursorTypeEnum.adOpenDynamic .LockType = ADODB.LockTypeEnum.adLockOptimistic .CursorLocation = ADODB.CursorLocationEnum.adUseServer .Open("members", Options:=ADODB.CommandTypeEnum.adCmdTableDirect) .movefirst .Fields("Active").Value = vbFalse [/code] but the error window tells me that .fields("active") …

Member Avatar for jlego
0
153
Member Avatar for telltouday

Hi, I'm binding data table to datagrid but i'm not sure how to delete the empty cells in that data table Plz find the below image could anyone suggest the best way to delete the empty cells as marked in black pen Thanks

Member Avatar for telltouday
0
300
Member Avatar for jt_murphree

I am trying to use the validation event for all my validating on a form. However, if I try to exit the form before entering data the validation event will not allow it to exit. Does anyone know how to override this?

0
53
Member Avatar for jt_murphree

I have a combobox that pulls a list of values from a database. When a new entry is entered I want an entry in the combobox to read "New record". However, from what I have seen I can only insert and object, such as a DataRow, into the combobox. Is …

Member Avatar for jt_murphree
0
826

The End.