20,285 Topics

Member Avatar for
Member Avatar for statutoryape

Hi all, I have four textboxes. I have a ContextMenuStrip that I want to apply to each of them. My dilemma is that one of the options in the CMS uses the CheckOnClick property, and when I apply the same CMS to all four textboxes when that CoC property is …

0
55
Member Avatar for Lee21

Guyz I need help... How can I transfer the data from the Specified cell of the Datagridview to texbox.. For example I click on the specified Datagridview cell, I have a 3 columns Name,Username and Password. I want to transfer all of them in their designated textboxes. txtboxName, txtboxUsername and …

Member Avatar for Gospp
0
158
Member Avatar for SkyGuy

Hey folks, I just have a quick question I can't seem to find anywhere. I have a datagrid with one of the columns being a combo box with values. I would like either the default value on a new row to be one of the values from the combo box, …

Member Avatar for SkyGuy
0
96
Member Avatar for PDB1982

How would I, if it's even possible, create an array to read/store the input values from a input text file? Here is what I was thinking, but I want to pretend as if I don't know the amount of values in the file. Input File Has: 21.22, 13.23, 43.12, 123.54, …

0
71
Member Avatar for babalonas

I'm trying to make a code that changes the wallpaper in visual basic express, but it errors: [CODE]Imports System.IO Imports System.Runtime.InteropServices Public Class Form1 Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Integer, ByVal uParam As Integer, ByRef lpvParam As String, ByVal fuWinIni As Integer) As Long …

0
60
Member Avatar for chirup

i've created a 2-dim image array but cannot assign images its members. i have done as follows [code] dim img(4)() as image for d=0 to 3 img(0)(d)=My.Resources.RedPlayer img(1)(d)=My.Resources.BluePlayer img(2)(d)=My.Resources.GreenPlayer img(3)(d)=My.Resources.YellowPlayer next d [/code]

Member Avatar for kvprajapati
0
99
Member Avatar for mfdengine18

Is there a way to apply any changes made to an entire application and not just the open (active) form that you are in? I.E. I change the backcolor to a color from a color dialog. I want that chosen color to be applied to all the forms' backcolor in …

Member Avatar for kvprajapati
0
99
Member Avatar for digitalsindhx

Dear Frined my simple update statement is not working on my database software with .mdb CompanyDa.Update(CompanyDs, "DisplaycenterData") it works but only in cache, when i restart my application the record is not updated. i solved my problem with some informal steps. i m attaching vb projects zip file, plz open …

Member Avatar for samxcui
0
140
Member Avatar for rexyrexin

I am working in windows forms in c#. I have at table in sql server which has a column named AssignedTo. This column is of varchar type and contains more than one value separated by commas. When showing in datagrid, the values are shown easily in a cell. But as …

Member Avatar for kvprajapati
0
109
Member Avatar for onaclov2000

Hello, I wrote a little slide in box, that slides in from the edge of the screen, the problem i'm having is that I don't always know the size of the desktop if that makes sense, as well as spacially where things are, I.E. Suppose the start menu is on …

Member Avatar for onaclov2000
0
346
Member Avatar for atv161

This is the error I get: An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in system.windows.forms.dll Additional information: Class not registered And this is the line it points me to: CType(Me.Comm1, System.ComponentModel.ISupportInitialize).EndInit() Does anyone know why I would all of a sudden start getting this error? Does anyone know how to …

Member Avatar for puneet jayee
0
1K
Member Avatar for MeetMak

hey all, I have a class, called myClass.vb. I have a sub in it. this sub has a string variable, which has got some value. Now, i want this value to be transferred to the button_click event of a very seperate form called myForm.vb. how can this be done? Thanks …

Member Avatar for samxcui
0
118
Member Avatar for digitalsindhx

I Applied same Code on a dummy form, it worked, but when i tried it on to a Genuine <Purchase> form on which I want to work, it is not updating record, even every code Syntax is same bit by bit, i cant know where i m doing mistake, whether …

0
289
Member Avatar for betabasic

Sir.. I want to get the values from web pages using vb.net.. [U]THIS WORKS![/U] [CODE] [B]PHP[/B] <input type="text" name="sample" [B]id[/B]="sample" value="" /> [B]VB.NET[/B] TextBox.Text = WebBrowser1.Document.[B][COLOR="Green"]GetElementById[/COLOR][/B]("sample").GetAttribute("value")[/CODE] but.. what if there's no [B]id[/B]. [CODE] [B]PHP[/B] <input type="text" [B]name[/B]="sample" value="" /> [B]VB.NET[/B] TextBox.Text = WebBrowser1.Document.[B][COLOR="red"]GetElementById[/COLOR][/B]("sample").GetAttribute("value") ??? it cant read the value since …

Member Avatar for Oxiegen
0
3K
Member Avatar for neriahfred

I'm developing a mobile website using vb.net but having set my tools right as I read somewhere, I've having an object reference...null error from the sqladapter line. I'm trying to authenticate by checking the db for username and password and granting or denying access asthe case maybe, here's my code, …

-1
55
Member Avatar for PDB1982

First off, I'm not looking for any code or code suggestions, I just want to pass this by some people before I have to submit the idea to my professor. I want to know if this sounds like a good beginner's project for .NET: title: Music Identification Tool Actions: Users …

Member Avatar for CSherman
0
96
Member Avatar for shubhamshah

Hey guys , im creating a messenger via VB.NET Using eBuddy, I need to have a status and in the status i need it to update every second. The status is in label3 and i tried to put this code on form load but it doesnt change constantly only once. …

Member Avatar for shubhamshah
0
136
Member Avatar for wyett

Alright, I'm trying to generate an ODD random number between 1 and 8. [CODE] Do While (i < 4) box(i) = randomObject.Next(1, 8) Do While (flag = 0) If (box(i) Mod 2 = 0) Then k = 0 box(i) = randomObject.Next(1, 8) If (box(i) = box(k + 1)) Then box(i) …

Member Avatar for wyett
0
126
Member Avatar for dhrider

Hey everyone, I friend and I are trying to work our way through this, and right are having some issues in terms of getting vb.net to connect to an online sql server. We have found lots of resources to connect to local sql servers but nothing about connecting to an …

Member Avatar for jeffreyk16
0
118
Member Avatar for InS@NiTy

Hi, I'm using VB.net express edition with SQL server compact for a project and I need a little help. What I'm trying to do is; I want to set a certain column to true or false automatically based on what value another column has entered. I managed to get this …

Member Avatar for InS@NiTy
0
90
Member Avatar for jcb0806

I have an add/edit program I've written and I'm trying to find an example of how to test/check an Account Number that a person enters in a textbox to the database(SQL) to make sure it is unique. I've been searching and haven't had any luck. Any Advice? Thanks.

Member Avatar for crazyhorse09
0
151
Member Avatar for J-P

Hi, I would like to add some scripting support to my .NET-application (I usually code in VB.NET). Since VisualStudio 2008 won't let me use VSA to get scripting support, and the Windows ScriptControl crashes in 64-bit mode, I have been looking for an alternative solution to my problem. I would …

Member Avatar for J-P
0
744
Member Avatar for judge6

Hi all, I am reading data from an excel spreadsheet. The column data which i am reading from my spreadsheet reads as follows: integer integer integer var char integer integer integer var char var char null integer etc..... As you can see it contains no specific data types, but just …

Member Avatar for judge6
0
175
Member Avatar for mfdengine18

Hello everybody. I am struggling with this issue, which is probably something simple. How do you change the font style and font size while a VB application is running? I want to to be able to choose a different font and size based on choices from the ToolStripComboBoxe(s). Any help …

Member Avatar for Oxiegen
0
181
Member Avatar for kevin025

Hi all I am new this communtiy... Also i wants to create a login page that can be accessed by different users who is having their own id in the shared network ... How can i create a login page page with an imgae background . thank you

0
42
Member Avatar for mjltech84

[CODE]Public Class Form1 Private Sub btnCompute_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCompute.Click Dim pizza, fries, drinks As Double ' inputs by customer pizza = CDbl(txtPizza.Text) fries = CDbl(txtFries.Text) drinks = CDbl(txtDrinks.Text) displayBill(pizza, fries, drinks) End Sub Sub displayBill(ByVal num1 As Double, ByVal num2 As Double, ByVal num3 …

Member Avatar for jeffreyk16
0
100
Member Avatar for legoge

I am brand new at Visual Basic 2008 (and programming in general) and am taking an online IT course. I do not understand Visual Basic and do not know how to determine what code to write in a given situation. How do you determine what code to write?

Member Avatar for Xetwnk
0
93
Member Avatar for twentytwotwo

I have a vb.net project which i have inserted pictures and video. I inserted a video clip using the Windows Media Player control and it does work. The issue i have is that i can't move the program to another computer because the pathname for the video will be wrong. …

Member Avatar for twentytwotwo
0
123
Member Avatar for digitalsindhx

Friends I m working with RowFilter, its working good with String Data, and like statements, specially its Autometed functuallity with string data is good, just like in follwing code (it is written in Textbox "txtSearch"s TextChanged Event) [CODE] Private Sub txtSearch_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtSearch.TextChanged …

Member Avatar for Oxiegen
0
1K
Member Avatar for PDB1982

I can run the code fine without the Option Strict on, but once it's turned on, I run in to a "Option Strict On Disallows Late Binding"...why!?! I can't figure out how to fix it.... [code] 'Option Strict On' Public Class StateFinderForm Private Sub FullStateNameRadio_CheckedChanged(ByVal sender As System.Object, ByVal e …

Member Avatar for PDB1982
0
136
Member Avatar for sbanks_charles

I have a form which displays related data from three different tables. There is a foreign key between the master table and the two related. Currently I have three stored procedures to return the data based of the return key value from a search. Because I am using DataAdapters to …

Member Avatar for Chris147
0
99
Member Avatar for walmsles

Hi I have created my website in Visual Studios and it is connected to an Access database, i now need to create automatic email and login without being connected to a server... Any ideas how to create a login which is connected to the access database? Plus i need my …

0
72
Member Avatar for walmsles

I have an issue with my access database when creating a simple insert form on visual. When i load the form into the browers and add the data, it says it has worked but when i look in the database the information has not been added. can anyone help?

Member Avatar for walmsles
0
80
Member Avatar for Lee21

Guyz I need help.. I'm a newbie in vb.net 2008..I have a form for User Account Maintenance and I want to transfer the Data of the specified Cell of the Datagridview once it's selected by clicking the mouse. How can I transfer it to textbox? Please help me.

Member Avatar for Lee21
0
460
Member Avatar for ameyanatu

I have just completed my vb.net application with ms-access as back end. Then i deploy and create it's setup. In my pc IT's Running very good. But when i copy my setup and installed on another pc it won't work... I know that it;s need .net framework. Actually The problem …

Member Avatar for ameyanatu
0
102
Member Avatar for ameyanatu

Hello Friends I am newbie To Vb.net. i am building an vb.net 2005 application with ms-access 2000 as back end for practice. i just want to know that suppose user entering new data to the database if this record already exist then user should know that how can i do …

Member Avatar for ameyanatu
0
114
Member Avatar for shroomiin

Hey guys, i am kindof stuck on this one. i have a code that works fine....however i need to use an object class form and i dont know how to do that. here is my code: [CODE]Public Class CookieApp Dim TotalsInteger(5) As Integer Private Sub AddButton_Click(ByVal sender As System.Object, ByVal …

Member Avatar for Oxiegen
0
118
Member Avatar for zero_sequence

Hi to all, i am trying to set the logon data for crystal reports that i have created. in crystal report builder i manage to connect to mysql by the jdbc driver downloaded from the official site of mysql. [link=http://www.eakes.org/80/connecting-to-mysql-with-crystal-reports-xi/][/link] but i want to change the ip of the mysql …

0
95
Member Avatar for Arunabh Nag

Hi..... I want to create controls in runtime and attach them to an already connected database.. the controls must vary e.g.Array of Strings can be used. Plz Help... Also, plz tell me how to place these controls on a panel in a orderly fashion... the panel has it's autoscroll property …

Member Avatar for amrebinnaz
0
763
Member Avatar for acidking001

Hai. I have a problem regarding bill printing on roll paper. My printer is Epson LX-300+II, my roll paper is about 3" width, and is used for printing bill/invoices for the customers. The number of items varies. Whenever I finished printing the bill, the printer throws out/ejects the paper, as …

Member Avatar for acidking001
0
2K
Member Avatar for ameyanatu

Hello Friends I am using Microsoft Visual Studio 2005 and ms-acess 2000 to build very simple database application Here is my Code of Conncetion: [CODE]con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\db1.mdb") sql = "INSERT INTO emp values(@op1,@op2)" cmd = New OleDbCommand(sql, con) cmd.Parameters.AddWithValue("@op1", TextBox1.Text) cmd.Parameters.AddWithValue("@op2", TextBox2.Text) con.Open() cmd.ExecuteNonQuery() con.Close()[/CODE] This is simple …

Member Avatar for ameyanatu
0
88
Member Avatar for Robert Walker

I can loop while the datatable is full, but get an error when it is empty. How do I know it's empty.

Member Avatar for black_sun191
0
7K
Member Avatar for saj_amo

i want to call crystal report from vb.net code when i run it i get the following error "Load report failed" My code is given below. Imports CrystalDecisions.CrystalReports.Engine Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cryRpt As New ReportDocument cryRpt.Load("c:\CrystalReport1.rpt") CrystalReportViewer1.ReportSource …

0
39
Member Avatar for Haxorz

Guys, I really need your help !! I am using VB.Net & I have a Data Grid View in which I have 3 Columns and Dynamic Rows (user can insert rows based on their requirement). My problem is, I want to populate the value's in the rows that are being …

Member Avatar for Haxorz
-1
314
Member Avatar for Caraher

I have a panel with autoscroll = true. Have an inkPicture larger than the panel, hence the need for scroll. When scroll down, change focus to any other control, then go back and have inkPicture regain focus the autoscroll position resets to (0,0). This is unwanted and very annoying. Anyone …

Member Avatar for Caraher
0
64
Member Avatar for 1manik

Hi, I want to move a file, when it is created. I have filewatcher and I know filemove function, but I dont know how I can create condition, that the file will be moved, when it is create. Can you help me please? This is my source code: [CODE] #include …

Member Avatar for 1manik
0
155
Member Avatar for sunilChoudhary

i want to process the credit card in my vb.net application so plz tell me the process

Member Avatar for crazyhorse09
-1
69
Member Avatar for mldardy

I can't get past this error in my loop through the data reader specifically dr(12). I tried adding .To String but that doesn't seem to work either. Can someone help me with what need to do so it can read even if there is a Null value. My code is …

Member Avatar for mldardy
0
387
Member Avatar for swulm

Ok, So I am not sure if this is the best place to post this, so correct me if I am in the wrong place. Let say I have an array of data. In this array, It has 4 Columns, represented as: Column 1 = Customer # Column 2 = …

Member Avatar for kvprajapati
0
88
Member Avatar for celinehgl

Hi guys, The codes below is running perfectly fine. But I have a problem - if there are no records found in the database, my dropdownlist will not display nothing. However, I want it to display something like "no records found" instead of havng it blank Can someone tell me …

Member Avatar for kvprajapati
0
173

The End.