20,284 Topics

Member Avatar for
Member Avatar for spyros.lois

after i define con.ConnectionString = dbprovider & dbsource con.open() leads to error The '.NET Framework Data Provider for OLE DB Data Source = C:\Users\.... \Database1.mdb' provider is not registered on the local machine. i have access and .net framework installed

Member Avatar for Reverend Jim
0
253
Member Avatar for PM312

i have below code for my custom textbox to allow numeric chatecters for entering amount. Protected Overrides Sub OnKeyPress(ByVal e As System.Windows.Forms.KeyPressEventArgs) MyBase.OnKeyPress(e) If Asc(e.KeyChar) >= 48 And Asc(e.KeyChar) <= 57 Or _ Asc(e.KeyChar) = 46 Or _ Asc(e.KeyChar) = 13 Or _ Asc(e.KeyChar) = 8 Then If Asc(e.KeyChar) = …

Member Avatar for PM312
0
181
Member Avatar for manoj_582033

Friends, How Can i Validate to a User, That He Could Type Only Numeric Value in datagridviewtextboxcolumn, Please Suggest Me.......

Member Avatar for tinstaafl
0
81
Member Avatar for schroaus

Is there any way to change all of the text inside a label to another character? It would still be the same length, but all of the text within the label would be the new character.

Member Avatar for schroaus
0
698
Member Avatar for UKnod

I am in this position again with warning that I cant get rid of, Here is the code: Public Function POPErrors(ByVal strMsg As String) MsgBox("POP3 ERROR - " & vbNewLine & strMsg, MsgBoxStyle.Critical) End Function Here is the warning: Function 'POPErrors' doesn't return a value on all code paths. A …

Member Avatar for UKnod
0
90
Member Avatar for nashy13

hello guys, anyone can know about viewing Pictures into DataGridView from database(Access) in my database its only a path. Thanks

Member Avatar for Luc001
0
76
Member Avatar for Anine

I need a voice of experience. I am working on a project for school. My project is a small B&M store. I am coding in VB .net I have an Access database with 3 tables - Inventory, SoldInventory and Sales. I need to create a simple POS. I would like …

Member Avatar for carlbutler7
0
2K
Member Avatar for Mononucleosis

I have created the Colour Dialog as much as I can and have been told that might be helpful but everytime I try to use it in my program I have, which is a basic version of MS Paint, it crashes. Private Sub butCColor_Click(ByVal sender As System.Object, _ ByVal e …

Member Avatar for Begginnerdev
0
103
Member Avatar for Lethugs

hi we have an office chat messenger in our office, it is executable, and ofcourse cannot modify the codes already. i dont know exactly how this messenger save history, looking from its root folder, i cant see something related from its conversation or message history. I just need to save …

Member Avatar for Begginnerdev
0
582
Member Avatar for manoj_582033

Friends, I am Using Datagridviewcombobox and datagridviewlinkcolumn in a single datagridview, now i want to assign the value to datagridviewlink column by selecting datagridviewcombobox, How it May be Possible, Please Suggest....

Member Avatar for Eenda
0
87
Member Avatar for Neokyuubi

Hello everyone I'm using VB.Net and I have a database contains two tables "Personne" and "PersonneCopy" ( Same schema as Personne [4 columns = N°, FirstName, LastName, B_Day]) I load the first table in a Datagridview all it's fine with that, here's the code: Dim Connection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data …

Member Avatar for Neokyuubi
0
1K
Member Avatar for selwyne

Hi there, I have created a vb.net application. Every time i open any of the reports for the first time on only some of the computers then it says Logon Failed. Please try again. When i then open the report again it opens fine! The report however opens first time …

Member Avatar for Dili1234
0
219
Member Avatar for game4tress

I'm trying to place a texture in a 3d object, using Visual Basic and WPF, but I'm not being able to do it. If instead of an image I render a blue square, by replacing the line mymodel3dgroup.Children.Add(New GeometryModel3D(mymesh, df)) for mymodel3dgroup.Children.Add(New GeometryModel3D(mymesh, New DiffuseMaterial(Brushes.Blue))) then I get a blue …

Member Avatar for Begginnerdev
0
617
Member Avatar for kindofsudden

Seems like this should be simple. I am binding comboboxes successfully to my Access DB. It looks like this: Dim da As New OleDbDataAdapter(asql, con) Dim ds As New DataSet da.Fill(ds) cboEmployeeNumber.ValueMember = "ID" cboEmployeeNumber.DataSource = ds.Tables(0) cboEmployeeNumber.SelectedIndex = 0 Works great. Then I try to bind a text box …

Member Avatar for Begginnerdev
0
212
Member Avatar for amvx86

This may sound like a crazy request. However, anyone from the vb 6.0 days will know what I'm talking about. Remember how the editor had the +/- signs that you can hide the code but it would be as follows: public sub this () End sub and clicking the + …

Member Avatar for amvx86
0
152
Member Avatar for chichi005

Could someone help me with this? ins.CommandText = " INSERT INTO CoupleTbl (acntId, kasal, spouseName) " & "SELECT (acntId, " & dtpMarriage.Value & " , '" & txtSpouseName.Text & "') FROM AccountsTbl INNER JOIN " & "CoupleTbl ON AccountsTbl.acntId = CoupleTbl.acntId);" ins.CommandType = CommandType.Text ins.Connection = con ins.ExecuteNonQuery() MsgBox("Record Inserted") …

Member Avatar for Reverend Jim
0
323
Member Avatar for Bill the Cat

I am trying to make an application for deploying to all our workstations at work. I am using VB.NET to create a Windows application. What I need to have done is for the app to open up and display the IP address, MAC address and computer name in text boxes. …

Member Avatar for ad48
0
4K
Member Avatar for Papa_Don

Hello Group! I've looked around to see if there is specific code in VB.net to do this, but I haven't seen any. I'm using ListView/Detail and want to ensure that it is sorted ascending by one specific column. That column is called "hdrLineNo". I know that I can choose "Sorting …

Member Avatar for Jx_Man
0
8K
Member Avatar for schroaus

Recently, I programmed a game in visual basic for my brothers birthday. I was planning on sending it to him through our schools email (other email sites are blocked) and when I tried to send the application my email was stopped with a mesages saying that I am not aloud …

Member Avatar for Mr.M
0
211
Member Avatar for Mononucleosis

Okay so, what I need to achieve is a button that allows the user to click two different locations in a picturebox and can create a straight line, just like in Microsoft Paint. This is for my Major project due on the 17th June 2013 for Software and am unable …

Member Avatar for tinstaafl
0
99
Member Avatar for matthewdiet

Im using Visual Studio Express 2010 My code TextBox1.Text=Int((Random)1-7) .............. What I basically want is it to give a random number from 1-7. I know im somehow close

Member Avatar for Reverend Jim
0
211
Member Avatar for Neokyuubi

Hello everyone. How can I get information from Active Directory by Printer name ? I have a list of IP addresses, i use 'System.Net.information.Dns' to get the printer name, there are 35 printers in all. I will use this Link to get propreties name , but i don't know how …

Member Avatar for Neokyuubi
0
175
Member Avatar for harrybo

<p> I have a problem where I deleted a blank code page where it had nothing on it and after I deleted it an error came up when I wanted to debug my project and then it told me that there was build errors. Would be nice to have a …

Member Avatar for harrybo
0
97
Member Avatar for UKnod

I am having a little difficulty witht he syntax of a lookup using access DB here is the code: "SELECT * FROM tblContacts WHERE ContactID IN (353,1520,2031); Order by ContactID" It works find without the order and I have tried without the ; or with the ; at the end, …

Member Avatar for pritaeas
0
127
Member Avatar for Mr.M

Hey peps I've just used this code to block a website Imports System.IO Public Class Form1 Dim path As String Dim sw As StreamWriter Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load path = "C:\Windows\System32\drivers\etc\hosts" sw = New StreamWriter(path, True) Dim Block As String = "\n …

Member Avatar for aman'z
1
2K
Member Avatar for o Chantelle o

Hi guys. I'm stuck. How can I use a custom color (rgb 25, 25, 25)(for example) as my fill rectangle color instead of the default blue? 'Private Sub ListBox10_DrawItem(ByVal sender As Object, ByVal e As System.Windows.Forms.DrawItemEventArgs) Handles ListBox10.DrawItem ' e.DrawBackground() ' If (e.State And DrawItemState.Selected) = DrawItemState.Selected Then ' e.Graphics.FillRectangle(Color.??, …

Member Avatar for o Chantelle o
0
2K
Member Avatar for o Chantelle o

I'm puzzled. Somebody built a program that hooks into the API of a chat program called "Paltalk". With the program, you are able to control the room and do things like send text, restrict users from talking on the mic, etc. However, the program (from now on called 'bot') will …

Member Avatar for o Chantelle o
0
127
Member Avatar for kipslem

Hello, Could someone please assist here? I have a program that reads a text file and copys the contents separated by a $ sign and writes the details to another new text file excluding the $ Sign. What I need assistance is to do a count and get the total …

Member Avatar for kRod
0
208
Member Avatar for loso09

I'm pretty stumped. I need to read a textfile using Streamreader in VB but not reall every single line I have to look for the line that has a specific character in a specific position to indicate that this is a start point, then read that line and the remaining …

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

for my combobox i want to prevent user from typing **further text** if the typed text **do not match part** of combobox items i.e from starting Autocomplete mode set to SuggestAppend Autocompletesource set ot Listitems Private Sub ComboBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles ComboBox1.KeyPress Dim i As …

Member Avatar for Reverend Jim
0
2K

The End.