20,284 Topics

Member Avatar for
Member Avatar for Ashenvale

Hi everyone! I'm trying to display the logo for a particular supplier but I always end up with an error picture. here's my code: Imports System.Data.OleDb Imports System.Data Public Class SupplierDetails Dim objConnection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Cristy\Desktop\InventorySystem\InventorySystem\inventory.mdb") Dim objDataAdapter As New OleDbDataAdapter( _ "SELECT Supplier, ContactPerson, PhoneNumber, FaxNumber, " & …

Member Avatar for TnTinMN
0
117
Member Avatar for Yorkiebar14

Hello, So I'm trying to make a program to auto bump my facebook posts. I have made it log in etc but there is no 'post' button on facebook, you have to press enter on the keyboard. How can I make the program press enter in the box and make …

Member Avatar for Begginnerdev
0
241
Member Avatar for gs1344

Visual Web Developer 2010 how to save textbox to SQL VB.net I am new to Visual Web Developer Express I connected the SQL Created a webpage and simply added 2 textbox(s) a gridview (works) Submit button When trying the app the Submit button, The page resets, it appears to work …

Member Avatar for geniusvishal
0
273
Member Avatar for savedlema

Hi friends! I got one puzzle. I wonder if there is a way I can create a table but get a table name from a value of the textbox/combo box control. Does anyone have an idea? I mean something like "CREATE TABLE (TextBox1.Text) (".....)" I wonder if that is really …

Member Avatar for RvSon
0
655
Member Avatar for major_lost

Some time ago, Reverend Jim gave me some good advice on dynamically creating controls with VB.net. Following the advice, I created 26 Labels (with text A-Z) and a event handler for the click event of the labels. Now I need to determine WHICH label was clicked and the text of …

Member Avatar for major_lost
0
324
Member Avatar for ImZick

Hi this code is to fill up my Combo1 Item which is came from my Table1 .Combo_Main_AM.Items.Clear() Dim da As New OleDbDataAdapter("Select * from Table1", con) da.Fill(dt) For Each myRow In dt.Rows .Combo1.Items.Add(myRow.Item(0)) Next so it will add up the combo1 Jessie James Nick now the question is how can …

Member Avatar for ImZick
0
211
Member Avatar for dinesh012

hi i have problem with my VB.net program I have a form and 3 GroupBox in the same form. i want go next 2 GroupBoxes afther Clicking the Next Button.. Can you Help me ? plz.. GroupBoxes1 to next GroupBoxes2 next GroupBoxes3

Member Avatar for ImZick
0
174
Member Avatar for craigallansmith

GoodDay All. I am trying to create a hit counter in vbscript on a HTML Page for specific client needs. I cannot use any hit counters available for free. My problem is that my code only finds the text file on my notebook(Local C:\ drive) and not in the website …

Member Avatar for LastMitch
0
777
Member Avatar for Mireya B.

Hello, I am new here. I would like to ask opinion from you guys on what are the best options available for me to develop a database system using Visual basic? I am using Visual Basic Express Edition. My problem: I am currently developing a toolkit that needs the user …

Member Avatar for Reverend Jim
0
221
Member Avatar for dinesh012

hi i have problem with my VB.net program I have a form and 3 GroupBox in the same form. i want go next 2 GroupBoxes afther Clicking the Next Button.. Can you Help me ? plz.. GroupBoxes1 to next GroupBoxes2 next GroupBoxes3 using same Next button

Member Avatar for Dili1234
0
99
Member Avatar for EjhayEspineli

Hello guys, I'm new to vb 2010 and it screws me alot... can you please help me to code my login form containing 2 textboxes: usrn and pass. my database **Account** has two columns, namely Username and Password... one thing is, I thought it was the same as Vb 6.0, …

Member Avatar for Begginnerdev
0
279
Member Avatar for waleed.makarem

Gentlemen, I have an issue regarding collecting address data from webpage (telephone directory with have name,address,phone, speciality and Map location). I need to do vb.net application that collects all of these data to my application. The issue i face now is to read extract teh html code to names, Also, …

Member Avatar for Begginnerdev
0
263
Member Avatar for Papa_Don

Group, I've got several textboxes within a form that are set to link to a data column that are set to accept a "null" (blank) value. However, these columns are formated to receive numeric data. When the user bypasses entering anything within those textboxes (as they should do), what is …

Member Avatar for RvSon
0
370
Member Avatar for emran.bader

i was try to solve it , but im begnner in vb.net this is my code Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim x As New ListViewItem(t1.Text) x.SubItems.Add(t2.Text) x.SubItems.Add(t3.Text) x.SubItems.Add(CInt(t2.Text) + CInt(t3.Text)) l1.Items.Add(x) t1.Text = "" t2.Text = "" t3.Text = …

Member Avatar for gian88r
0
250
Member Avatar for ImZick

Hi i'm having a trouble with this i got 3 textbox and i format it to Textbox1.Text = Format(Textbox1.Text, "Standard") Textbox2.Text = Format(Textbox2.Text, "Standard") Textbox3.Text = Format(Textbox3.Text, "Standard") which give something like this 1,230.00 2,500.00 1,245.00 and when i add it `Textbox4.text = Val(Textbox1.Text) + Val(Textbox2.Text) + Val(Textbox3.Text)` the result …

Member Avatar for ImZick
0
239
Member Avatar for Papa_Don

Group, I see there are multiple "validation" type events to choose from in the "Declarations" drop-down box. I want to understand these choices better to see if one would work for what I want to do. I've got several textboxes that need to have either a number entered into them …

Member Avatar for Papa_Don
0
235
Member Avatar for lo0lo0999

Hi everyone I want some help in my paint application, I am using pictuerbox to draw on it but in the last day my requirement is change that the user want to open an image and do all the functionality on it.. I try to open an image but when …

Member Avatar for tinstaafl
0
114
Member Avatar for ImZick

Hi i finally done my first project and thanks to those who help me here in daniweb. Special mentions @Reverend Jim and @TnTinMN. But when i run the setup to install it in another computer which is a 64bit. My project didnt connect to the database which is access. But …

Member Avatar for ImZick
0
214
Member Avatar for brandon66

Hey guys i was just wonder how i would do this; i need to supply a value for Counts() in the triples function how would i do this to check all values in the array? Private Counts() As Integer = {two, three, four, five, six, seven, eight, nine, ten, eleven, …

Member Avatar for brandon66
0
93
Member Avatar for Djmann1013

I am having a bit of trouble with converting a string (url) into a Uri. Here is the screenshot of the error: http://www.imgbomb.com/i/d15/3bk3v.png Here is the code that is giving me trouble: Private Sub ComboBox1_Change(sender As Object, e As EventArgs) Handles ComboBox1.TextChanged Dim myString As String = ComboBox1.Text.ToString() Me.WebBrowser1.Navigate(New Uri(myString)) …

Member Avatar for TnTinMN
0
2K
Member Avatar for VIPER5646

Hi all I have multiple checkboxes to be used as the status of a certain order. another words as the order is being processed the user will check the status and a date will be inserted into an access table. Now my isue is when a checkbox is checked for …

Member Avatar for VIPER5646
0
412
Member Avatar for willshed

I am making a workout software, and it holds multiple accounts. The acounts are saved in a directory like: C:\Software Name\athletes\John Smith\ C:\Software Name\athletes\Veronica Shelby\ C:\Software Name\athletes\Tyler Front\ I want the ListBox to list each name (i.e. John Smith, Veronica Shelby, etc.) as its own item. I need it to …

Member Avatar for tinstaafl
0
222
Member Avatar for mercury113

how can i put an if statement in a OkCancel Msgbox .. for example when i choose OK .. it will perform the code .. and if I Cancel it will not perform the code?

Member Avatar for avtaars
0
220
Member Avatar for Papa_Don

Group, I'm stuggling to get values from an sql database table into several textboxes. I'm not getting an error, but I'm also not getting anything to show up in these textboxes. Can you offer some thoughts as to what I need to do to fix this? Private Sub btnUpdateOrder_Click(ByVal sender …

Member Avatar for Reverend Jim
0
175
Member Avatar for analys

I try to export my tables to excel in multiple sheets but i'm having an error state that object variable or with block variable not set. Hope anyone can help me. Here's my code. Private Sub exportexcel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles exportexcel.Click Dim del_cmd As New …

Member Avatar for QVeen72
0
2K
Member Avatar for Papa_Don

Group, I've got part of my code started to populate the DataGridView with the data I need to return. When testing it, I have this long pause and no returned data. I finally have to kill it via <Control><Alt><Delete>. I've tried reading through mulitple websites to find some information to …

Member Avatar for Papa_Don
0
316
Member Avatar for ulasoc

i added file extesions to associate with my program from Puplish/Option/File Association But i dont know how to execute related codes when users open the file associated with my program? how can it perform a specific code associate file type and determine which file type it is after program loaded?

Member Avatar for TnTinMN
0
205
Member Avatar for ScarWars9

Hello, I have been making an employee timeclock and have run into a bump in the road. Here's what my setup is like when an employee (who is not an Admin) loggs on they get a simple screen telling them the current time current date and two button that allow …

Member Avatar for ScarWars9
0
939
Member Avatar for themaj

I have a database table that is a catalog of each day of business (DOB) for my 3 'stores' ranging over a year. Other than the Store ID and DOB, all other data here is irrelevant for this discussion. The data entry of this table is not necessarily in chronological …

Member Avatar for Reverend Jim
0
304
Member Avatar for Papa_Don

Group, I've read through the tutorial regarding Listviews and SQL's (http://www.daniweb.com/software-development/vbnet/code/445801/avoiding-sql-injection-attacks). Thanks for the article. It was very imformative. So I thought I might try this with the project I'm doing. I really like how these listview look and what they can do. But I realize I need to know …

Member Avatar for Papa_Don
0
154

The End.