20,278 Topics

Member Avatar for
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
123
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
116
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
87
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
143
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
739
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
173
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
179
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
40
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
98
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
91
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
119
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
133
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
96
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
69
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
76
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
457
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
97
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
111
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
115
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
92
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
742
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
87
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
35
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
309
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
62
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
153
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
66

The End.