20,284 Topics
| |
Hey, im just wondering if there was any easy were to make sure that an entry havent been used twice in a selection of ComboBoxes. Heres the start for what id have to do if there isnt. [CODE]Private Sub ComboBox9_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox9.SelectedIndexChanged If … | |
i am trying to create a crystal report and run it on the fly so far this is where i am can anyone help or point me in the right direction.Any help will be appreciated [CODE] Private Function SetupReport(ByRef objCrystalReportDocument As CrystalDecisions.CrystalReports.Engine.ReportDocument) As System.Boolean Dim crTableLogOnInfo As CrystalDecisions.Shared.TableLogOnInfo Dim crDatabase … | |
As the title suggests, i am trying to pull a bitmap image stored in a table location with an OLEObject type to my picture box on the form. The code i am using is as following: [CODE=VB.NET]img_ProductPicture.Image = DS.Tables("LocationInfo").Rows(0).Item(5)[/CODE] The error i am receiving is an InvalidCastException: Unable to cast … | |
hi friends i m coding for birth-date in vb.net i have 3 comboboxses in my form (month day year) i want to add this 3 combobox in databse in one field i try [CODE] myrow.Item(i) = Monthcbo.Text & "/" & daycbo.text & "/" & yearcbo.text[/CODE] its working fine but during … | |
Hi guys, Do you know how to set maximum length of character in the textbox of rdlc report? I already dug all of its properties but I didn't see any. Please guys I need your help. Thanks in advance. WHchaz1027 | |
Hi! I have a vb.net project on a jump drive that connects to an Access (2003) database (located on the jump drive). My problem is when I change computers, I have to change the drive letter the jump drive is located. Currently, I have the following code and have to … | |
Hello! Every 1.. Can Any1 Please tell me How to make A Form in vb.net Transparent without Making Its Contents Transparent..! Actually I mean I make a border less form which i want as Transparent and in that Form i added little animation picture .. and iwant this animation picture … | |
I am looking to adding a title to my crystal report document programmatically. This is because i am generating the report dynamically. And the other thing is it possible to just create a crystal report and to run a query and get a result on the fly i am working … | |
Create A New Project as a Windows Form Application. Create any object, such as a text box, in that application. Look at the Properties of this text box. Its Font is set to a default. With a value that is incorrect. How do I change this default to the correct … | |
I am using streamreader to read and streamwriter to write, i have put the lines into an array [text file contents] ********** Remove [ ] ***************** blah blah blah ;this is blah blah blah ;this is another blah [end of example file] i want to remove the lines that start … | |
Hi, I would like to set my application to show [COLOR="Green"]system under maintenance[/COLOR] if it hit the [COLOR="Red"]start time[/COLOR] until the [COLOR="Red"]end time[/COLOR] which i set in the xml (24 hrs). How do i code it. Please anyone can guide me.Thank You! [B]XML[/B] [CODE] <Value Name="StartTime">22.45</Value> <Value Name="EndTime">00.00</Value>[/CODE] | |
[B]In this case, Form1 is the Main Form.[/B] Pre-requisites: [B]2 Forms (Form1 and Form2), 1 Button (on Form1)[/B]. [CODE]Public Class Form1 Function centerForm(ByVal Form_to_Center As Form, ByVal Form_Location As Point) As Point Dim pLocation As New Point pLocation.X = (Me.Left + (Me.Width - Form_to_Center.Width) / 2) '// set the X … | |
I am a young computer programmer. I do my development in visual basic. I currently have a project to develop a software that is internet based. What i want to know is; 1. It is possible to achieve this through vb? 2. What do i have to do to get … | |
Hello. Can someone tell me why this doesn't work? [CODE] Public Sub LoadFile() Dim file As StreamReader Dim temp As String Try file = New StreamReader("C:\file.txt) temp = file.ReadLine() While Not temp Is Nothing Dim ListaTemp() As String = temp.Split(CChar(",")) ListBindingSource.Add(New Mod(CInt(ListTemp(0)), ListTemp(1), ListTemp(2))) temp = file.ReadLine() End While file.Close() … | |
This is going to sound weird but I was wondering if there is a way to show in a list all of the installed Windows Updates. | |
Hi guys, I would appreciate it if you could give me sample code for linking two forms. I have a program which has 2 forms. I execute form1 first because it reads files and then writes to a file. Then I execute second form (form2) that will read the file … | |
Hi, In .NET i used the follwing codings for the Next and Previous buttons for Navigating the records. but it showed error. In NextButton_Click... [dim Rec_count = 0] -> this is globally declared. [dim Row_count as Integer = Data.Tables(0).Rows.Count - 1] [ If Rec_count <> Row_count Then] [ Rec_count = … | |
I am facing a minor challenge in my coding i am trying to generate reports from sql statements.however the method i was using ealier involves making a crystal report using the "Add new item".in the menu and using the wizard until you end up putting the table you want on … | |
Hi, I have a problem with my code. I am checking for the application instance. When i run application A , application B also must run. Below is my code to check the Application B if it is not running i have to make sure the code below execute it. … | |
Hi, I have a form with gridview data with database data. With query I run INSERT INTO from one table into another, with button. I would like when I run procedure, also reset/update/refresh gridview with new import data??!! For info, I have try with some methods, such as me. gridview.refresh() … | |
Team - I hope you can give me a hand here. I am working on a shopping cart type site which displays products in a datalist. I need to find a way to add up all the products and place that total in a label outside of the datalist. Also, … | |
I'm trying to write a small app and I want it to show the OS Install key. How can I pull this? I'm using Visual Basic 2008. | |
I've been scanning all over Google for code or articles explaining this but nothing seems to tell me what I need to know. Most have said to use InPtr = 4 for 32 or 8 for 64. I just need to be able to determine whether the OS the program … | |
Hello... I want to change the TextBox border color if certain event is true. For example, in a GroupBox, there is a TextBox and a Button. If the TextBox is empty, and I click the button, I want the TextBox border color to change to red. If the TextBox is … | |
hi there, i had a question regarding this before as well. i have a datagridview and it has three combo boxes, with one with form name and the other with employee name and the other just a selection. what i want to do is to make the form name combo … | |
I use visual basic 2008 I use Groupbox1 In the Groupbox1 in have two labels: label1 and label2. I have change the font of[COLOR="Red"] label1 [/COLOR]with properties to size [COLOR="red"]12[/COLOR] No i change the font size of [COLOR="red"]Groupbox1 [/COLOR]with properties to size [COLOR="Green"]8[/COLOR] Only [COLOR="Green"]label2[/COLOR] inherit font ([COLOR="green"]8[/COLOR]) format from … | |
Hi, anyone there who is kind enough to share a simple inventory system with basic cashiering source code built on .net platform. I just need to build a system for the furniture & jewelry store of a foundation. There's just some basic tweaking that needs to be done especially on … | |
hi, i am very new to vb.net and just started learning from the sources on Internet. i m trying to create a base64 coded password but i m stuck on one of its lines. I applied MD5 code to password then I want to apply base64 to password. [CODE] Dim … | |
Hi Good Day I am a newly programmer and I am a Working Student I hope you guys can help me with my problem. My Employer want's me to create a program that will auto distribute accounts. Structure: 1,300 Endorsement 300,000K up considered as high balance assuming that 300 of … | |
Hi there! Can someone tell me or place codes in here how to put a calendar inside a datagridview in vb.net. Thanks! God Bless. :D |
The End.