20,285 Topics

Member Avatar for
Member Avatar for DeepKiran
Member Avatar for ryanjayson
0
201
Member Avatar for netisland

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

Member Avatar for ryanjayson
0
183
Member Avatar for Shodow

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 …

Member Avatar for oussama_1
0
365
Member Avatar for julie.macfarlane.73

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 …

Member Avatar for julie.macfarlane.73
0
326
Member Avatar for uDevv

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 …

Member Avatar for tinstaafl
0
246
Member Avatar for Junz_1

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 …

Member Avatar for Junz_1
0
1K
Member Avatar for Reverend Jim

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 …

Member Avatar for Reverend Jim
1
4K
Member Avatar for Gen_2

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 = …

Member Avatar for Reverend Jim
0
175
Member Avatar for Srinivas_2

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

Member Avatar for Reverend Jim
0
143
Member Avatar for Gen_2

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 …

Member Avatar for Reverend Jim
0
161
Member Avatar for babyluxe03

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. :(

Member Avatar for cgeier
0
169
Member Avatar for babyluxe03

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.

Member Avatar for babyluxe03
0
245
Member Avatar for ignnniter

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 = '" …

Member Avatar for Reverend Jim
0
2K
Member Avatar for johnsapante

I have a problem of creating mysql that return a single value, calculated from values in a column.what kinds of function i think to use?

Member Avatar for rch1231
0
201
Member Avatar for jeffersonalomia

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 …

Member Avatar for Reverend Jim
0
371
Member Avatar for codefinger

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 …

Member Avatar for rizwanakhalid
1
545
Member Avatar for ignnniter

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 …

Member Avatar for cgeier
0
239
Member Avatar for Simran Kaur

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 …

Member Avatar for taiwoa
0
359
Member Avatar for rizwanakhalid

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 …

0
250
Member Avatar for Sheeping

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 …

Member Avatar for G_Waddell
0
605
Member Avatar for mavtcr

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 …

Member Avatar for mavtcr
0
2K
Member Avatar for scothy

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 …

Member Avatar for parunyu.suttibut
0
801
Member Avatar for sheelap

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 …

Member Avatar for Reverend Jim
0
3K
Member Avatar for edarcy

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 …

0
200
Member Avatar for Abhishek_12

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

Member Avatar for Jacob_Shriver
0
203
Member Avatar for nel gomez

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

Member Avatar for Aaron.Stewart
0
409
Member Avatar for gbhs

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

Member Avatar for pandeysk_13
0
80
Member Avatar for pandeysk_13

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 …

0
172
Member Avatar for Grazel

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 …

Member Avatar for Grazel
0
313
Member Avatar for Hazuan Nazri

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() …

Member Avatar for Hazuan Nazri
0
268

The End.