20,284 Topics
| |
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 … | |
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 … | |
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]. | |
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") = … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 & "," … | |
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 … | |
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' | |
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 … | |
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) … | |
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 … | |
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> … | |
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 … | |
[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 … | |
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 … | |
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.. | |
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 … | |
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 … | |
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.. | |
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 | |
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, … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … |
The End.