20,284 Topics

Member Avatar for
Member Avatar for slpefanis

Hi All First time I've posted but have done lots of reading on here as it's an amazing resource. I am busy writing a program that is going to read data from 2 serial devices. One being a scale and the other being a "load testing" machine. Currently im working …

0
98
Member Avatar for discovery-power

Hi All, Hope evryone is well. I have a program I have created for booking out conference rooms, I want to code a print button so the user can print the booking they have created on the booking form. I have been stuck on this for about a week and …

Member Avatar for discovery-power
0
281
Member Avatar for MaddTechwf

I've noticed running in a PE environment and seeing the "Nerd Herd" MRI software, I was wondering if anyone can tell me now to recreate this using VB.NET. I want to show the system info over the background if possible. You can see an example at this address [URL="http://maddtechwf.com/gsmri.jpg"]here[/URL].

Member Avatar for MaddTechwf
0
88
Member Avatar for sampaw20

i have a problem while updating specific records in datagridview.. i want to update specific records on my datagridview.. but only the first records are updating.. LVLStat name of column Sections name of table [code] Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Try ds.Tables(0).Rows(0).Item("LVLStat") = …

Member Avatar for zinnqu
0
111
Member Avatar for CrankyMero

Hello Everyone, I'm still new at programming, and im having problems with the project i was assign, so im supposed to make like a retail store POS, where i look for the articule and add how much did they take and the price. [B]SORRY IF ITS IN SPANISH[/B] So this …

Member Avatar for CrankyMero
0
281
Member Avatar for NikRadSystem

Dear Experts. I have a DLL , written in VB.Net. This DLL has a below Function: [code] [COLOR="red"]Public Shared Function CreateApplication(ByVal aobj As Object) As Object[/COLOR] [/code] When i Try to call this function by exe application with below routin i get "Parameters count mismach" Error. [code] Public Function loadDllAndRunMethod(ByVal …

Member Avatar for kvprajapati
0
192
Member Avatar for Jayson83

Does anyone know how to send a message to another computer in my companys network using visual studio 2008...I would like to be able to list all the computer names on the network and select certain ones and send them a message that would pop up on their screen PLEASE …

Member Avatar for kvprajapati
0
361
Member Avatar for Gizmo89

Hi Everyone, I'm looking at using ews to move new emails to a sub folder and download attachments to a network drive. I was wondering if anyone had any experience with this particually using VB.net but all and any advice, tips and ideas would be gratefully recieved. Thanks in advance …

Member Avatar for DeveloperStar
0
46
Member Avatar for kruxena

Hi guys, can you pls help me what is the vb code in retrieving my data in the database? my code is this. [CODE] Dim SandLine As String SandLine = txt1S.Text & "," & txt2S.Text & "," & txt3S.Text _ & "," & txt4S.Text & "," & txt5S.Text & "," …

Member Avatar for kruxena
0
132
Member Avatar for tim8w

I have the folloing code using OleDB to manipulate an Access database: [CODE] Dim adpMasterRecipe As OleDb.OleDbDataAdapter Dim dsMasterRecipe As New System.Data.DataSet adpMasterRecipe = New OleDb.OleDbDataAdapter("SELECT * FROM tblMasterRecipe WHERE MasterID = @MasterID", My.Settings.RecipesConnectionString) adpMasterRecipe.SelectCommand.Parameters.AddWithValue("@MasterID", iRecipeNumber) adpMasterRecipe.Fill(dsMasterRecipe) If dsMasterRecipe.Tables(0).Rows.Count > 0 Then dsMasterRecipe.Tables(0).Rows(0).Delete() dsMasterRecipe.AcceptChanges() adpMasterRecipe.Update(dsMasterRecipe) End If [/CODE] The problem …

Member Avatar for Unhnd_Exception
0
395
Member Avatar for Commando123

hi guys. i want to give a button a text but i dont want to write button1.text = 'blabla' becuase i dont know the button name. is there anyway to to call the button by a string for example "button"&I.text = 'blabla'

Member Avatar for Commando123
0
109
Member Avatar for Josef01

does anyone has a sample code or it it possible to fix error in this code I appreciate any advice the error i get : There was an error parsing the query. [ Token line number = 1,Token line offset = 13,Token in error = user ] cmd.ExecuteNonQuery() [code] Imports …

Member Avatar for Josef01
0
694
Member Avatar for izyrider

Hi, I have a Windows Form frmMain() holding seven more-or-less unrelated UserControls, "ucFlopsy", "ucMopsy", "ucCottontail", etc... I say "more-or-less" because each of the seven UC has three similar public read/write properties: IsLocked (a boolean indicating if the following two properties are "Locked") IsLockedID (if IsLocked=True then IsLockedID is an integer) …

Member Avatar for izyrider
0
98
Member Avatar for tendaimare

this code works well but somehow it is giving me a warning saying: "Variable 'str1' is used before it has been assigned a value. A null reference exception could result at runtime."How can i remove the warning. [CODE] Public Shared Function getAllColumnNames(ByVal tblname As String) As String() Dim com As …

Member Avatar for Luc001
0
339
Member Avatar for katmai539

Hi there, I'll be dropping in quick: I'm trying to pull four <t> nodes from a XML file, eg. [CODE='XML']<?xml version="1.0" encoding="UTF-8"?> <tasks tid="TERMINAL012345"> <t> <reqs>keuringen/bammens3h.xml</reqs> <deadline>200120111600</deadline> <desc>WML keuring BAMMENS-3H</desc> <loc>Danzigerbocht 87 AMSTERDAM</loc> <ocode>TEST1234567890</ocode> <form>quiz</form> <sn>0000000001</sn> </t> <t> <reqs></reqs> <deadline>200120111630</deadline> <desc>Vulgraad meting</desc> <loc>Danzigerbocht 87 AMSTERDAM</loc> <ocode>TEST1234567890</ocode> <form>quiz</form> <sn>0000000002</sn> </t> <t> …

0
146
Member Avatar for dre-logics

I have an application X version 1.0 in Visual Basic 2008 and forwarded through setup installed on a user's PC. In this application was in these settings: Imports System Imports MySql.Data.MySqlClient Now you have a link to webshop and uses HttpWebRequest. There fore I added the following settings : Imports …

Member Avatar for Teme64
0
113
Member Avatar for R1Programmer

[CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click OvalShape1.BringToFront() Timer1.Enabled = True End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick OvalShape1.Anchor = AnchorStyles.None OvalShape1.Width = Val(OvalShape1.Width) - 1 'OK,Ovalshape decreases when timer enabled OvalShape1.Height = Val(OvalShape1.Height) - 1 'OK …

0
63
Member Avatar for tendaimare

i recently posted a code that i had that i needed assistance for and it was solved it was for displaying all tables in a database.but now i have this code for showing all column names in a table i was in the process of turning it from oledb to …

Member Avatar for tendaimare
0
151
Member Avatar for saysrouna

I am trying to create an automated word document where a user have to fill some textbox and then he click a button to submit it Can I add those tools to the word document? Please help..

0
46
Member Avatar for lpmike

hi, now i'm hving problem to show card number that is not currently in used. let me give the example. I have 3 card numbers (A, B and C). A & B are user card number while C is temporary card number. I want to attached C to A. so …

0
63
Member Avatar for tendaimare

i have corrected my conn string i am now using sql connection but now when i run the code it gives me he error Object reference not set to an instance of an object. [CODE] 'I put this code in the load event ListBox1.Items.Add(CType(GetTables().ToString, String)) [/CODE] [CODE] Public Shared Function …

Member Avatar for tendaimare
0
1K
Member Avatar for theweakestlink

plz help me to make media player in vb6 or vb2010.. not using windows media player.. need in my finals project plz help me... thank you..

Member Avatar for AndreRet
-2
22
Member Avatar for akritiu

hello i am using sql as backend and vb.net as front and in my particular field i want it 2 b autogenerated..bt i dont knw exactly how 2 do it..m a beginner and i need help urgently

Member Avatar for sandeepparekh9
-1
105
Member Avatar for Resentful

I've got a simple string problem I can't seem to fix. The string itself contains things like "random" & random.next(1,3) & "random2" etc. The string registers all of this as a string and doesn't actually calculate random numbers. Is there any way to fix this? I know that was confusing, …

Member Avatar for Resentful
0
119
Member Avatar for zakben1

Advice on vb graphics By john g in VB.NET Hi I have been searching the internet for some time but am none the wiser reguarding my problem. I am trying to build a drawing application The idea is to use mouse down, mouse move, mouse up events On mouse down …

Member Avatar for zakben1
0
81
Member Avatar for The 7331 Geek

Hello everyone. I am working on a simple program called "Who's Connected?" where it runs a command (netstat -aon) and then displays the results in a multi-lined textbox. However, when I press the button that will run the command, it tells me that it can't convert the string to an …

Member Avatar for The 7331 Geek
0
3K
Member Avatar for ab8thom
Member Avatar for vn412

Hi, I m usng Ms-Access 2007 with vb.net. My problem is that I have a table with column name strval which has following values: 2,3,43,5,6 etc in each row. Now I want to search for that row which contains e.g 2 in cloumn strval . i use SELECT * FROM …

Member Avatar for zinnqu
0
77
Member Avatar for akritiu

hello i used the code..bt m gettin the same value of 1 aftr the form loads.. the value is not being incremented.. and m a beginner so dis is d overall code and i have done d module part too..plz help

Member Avatar for akritiu
-3
77
Member Avatar for WDrago

All, I am trying to build a simple event driven program to monitor a com port until there is data and then respond. The basic serial IO is working, but I can't figure out how to make it event driven. Specifically, how do detect when there is data ready to …

0
83

The End.