20,285 Topics
![]() | |
HOW COULD I UPDATE DATASET WITHOUT USING FOR LOOP IN ONE COMMAND............///////////////// | |
i have 2 database (access,SQL) with 2 different connection string i want to select a table from the first database insert it to the second database any help | |
how to make this print fit to page my listview data doesn't fit in the page help please Private Sub PrintDetails(ByRef e As System.Drawing.Printing.PrintPageEventArgs) Static LastIndex As Integer = 0 Static CurrentPage As Integer = 0 'Getting the current dpi so the textleftpad 'will be the same on a different … | |
I am building a support application (VB.net 2010) for a device that will attach via USB. Most of the end users will not be geeks. In starting the app I need to discover available ports on the machine, which I can do with this code. myPort = IO.Ports.SerialPort.GetPortNames() 'Get all … | |
So i have small problem. Idk how to explain so we will go like this. I have 2 projects. 1. MyLib its compiled .dll 2. MyApp its compiled .exe Okay now Mylib has form, and MyApp has form. So there are 2 forms. Mylib form is login form with 2 … | |
Hi guys, need help here. I would like to check the registry key is exist for this code: Sub main() Dim regKey As Object = Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D75F38ED-E49A-48F3-9B72-D4BC5FE73B44}", True) ' Check if it exists If regKey Is Nothing Then MsgBox("Registry key does not exist!") Else MsgBox("Registry key is exists.") End If End … | |
If your Excel spreadsheet is laid out as regular columns and rows with a header row that identifies the columns then this code will allow you to read the data using ADODB the same way you would read records from a database table. To try this code 1. Create a … | |
I'm wondering if there's a way to cut the long statement and make it shorter as possible. the case is i have 5 radiobuttons each questions. thanks in advance.. =) If Q1.Visible = True Then If q111.Checked = True Or q112.Checked = True Or q113.Checked = True Or q114.Checked = … | |
Hi All, I am trying to create a VB application where I will have to upload the Excel data into MS access automatically, can anyone suggest me a method as how to do it? Regards, Srinivas | |
i really have a problem to this code. can anyone help me? Try Dim fBrowse As New OpenFileDialog With fBrowse .Filter = "Excel files(*.xls)|*.xls|All files (*.*)|*.*" .FilterIndex = 1 .Title = "Import data from Excel file" End With If fBrowse.ShowDialog() = Windows.Forms.DialogResult.OK Then Dim fname As String fname = fBrowse.FileName … | |
Im having difficulties in making a connection with my database. Can someone help me to resolve my problem. It says "Unrecognized database file format". I am using vb2010 ultimate and ms acess2013. :( | |
can someone help me to identify what is wrong with my code? i recheck and recode it many times as possible but still cant figure out the one error. it doesnt run. | |
If anyone can help me , I wanted to know how to use a progressbar while the sql query is executing. Just a "Beg"inner in VB.net here's my code: dataopen() cmd.Connection = con cmd.CommandText = "Select User_Name, userpass from Borrower where user_name='" & EmsTextBox1.Text & "' AND userpass = '" … | |
Can someone help me in my source code... my problem is, i need to check if there is an existing record on my current database(ms access 2007) here is my connection that i've place on module Public con As ADODB.Connection Public rs As ADODB.Recordset Public Sub connection() con = New … | |
So frustrating...I've been Googling all over, posted at various developer forums, but so far I can't find an answer: The goal -- use VB.Net to write a windows forms application that responds to a limited set of voice commands after the user says a keyword, (such as "Wake Up"). I … | |
Having a problem setting up a login form for my project, here's the code: Imports System Imports System.Data.SqlClient Public Class Login Dim con As SqlConnection Dim cmd As SqlCommand Dim rd As SqlDataReader Private Sub dataopen() con.ConnectionString = "Server=IGNITER-PC\OBEXPRESS;Database=EMS;User ID=sa;Password=au" con.Open() End Sub Private Sub EmsStickyButton1_Click(sender As Object, e As … | |
Hi Friends, The general code in my project is as below: In Module: ---------- [code] Structure TopDataType 'UPGRADE_WARNING: Fixed-length string size must fit in the buffer. <VBFixedString(40),System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValArray,SizeConst:=40)> Public TopName() As Char 'TopData.HDName Dim Catagory As Short 'TopData.Catagory Dim Status As Short 'TopData.Status Dim Deleted As Short 'TopData.Deleted 'UPGRADE_WARNING: Fixed-length string … | |
what are the functions used for voice recognization system in vb.net?explain Dim engine As New Speech.Recognition.SpeechRecognitionEngine Dim dictionGrammar As New Speech.Recognition.DictationGrammar Dim recognitionResult As Speech.Recognition.RecognitionResult Dim timeSpan As New TimeSpan(0, 0, 10) engine.SetInputToDefaultAudioDevice() engine.LoadGrammar(dictionGrammar) recognitionResult = engine.Recognize(timeSpan) For Each word As RecognizedWordUnit In recognitionResult.Words MessageBox.Show(word.Text) explain all these with their … | |
Hi guys, i have been all over google looking for proper examples that work with dword values, but i have found some examples online but nothing that worked for me. I've also read this http://www.dreaminco...istry-in-vbnet/ but that doesn't cover dword value reading. Actually i am kinda struggling to understand the … | |
Friends, In VB.net Form properties, There are Maximize Box and Minimize Box.If we make them false, those prperties will be disabled.Likewise there is a Close Box at the right top corner of the form.How can we disable this? Is there any way at design time to disable this? If not,Can … | |
Hi, I am newbie to vb.net and am developing a windows application for a client. In that index page, when a first textbox text changed, it should automatically add a new field below the first textbox. And if the second textbox ( child control)text changed, it should automatically add a … | |
hello friends i cant find the solution to create control array in vb.net.for e.g i want to create calculator.it required so many buttons,take so many buttons ,give them a name and handle them at the time of coding is cumbersome task.so if we use button's array like in VB 6.0,by … | |
Hi, I am creating a project which is a remake of a game so I want to be able to read a map from a Notepad file and store the location and character in the file so I can place a selected image in the location on the grid that … | |
I am generating pdf's using iTextSharp dll.I need to put watermark on every page generated. how can I add watermark to the pdf generated using iTextsharp dll? Any assistance would be appreciated... Abhishek | |
Good evening, Just want to ask if there's a way to get the contrast and pixeltype(if it's colored/bitonal/grayscale) of an existing image using vb .net such as: gif/jpg/pdf/png/tif If yes, how? Godbless and thanks in advance, nel | |
Hi All I can set paper size to landscape but I want to divide the paper to 2 pages such that each record is on a separate page. Any help will be appreciated. gbhs-newbie | |
hi all, i am in trouble to solve this. i want to show the report in the manner in which the tablix column 1 record should continue in the same page in column 2. LIKE THIS: column1 column 2 1 6 2 7 3 8 4 9 5 10 and … | |
hi.. i am creating as program that needs to generate a batch. for example i added job that has a batch range of 001-100, it is a must that all of the number greater and less than one hundred are included. and i don't know how. Please help. need it … | |
Hello, can somenone help me solve this problem? i try this code to insert my data into microssoft access 2013 database but when i insert, a new row is created with no data, someone can help me? this is my code for my save button, only date can insert. acsconn.Open() … |
The End.