20,899 Topics

Member Avatar for
Member Avatar for naveedqadri

Dear Experts, Your Help is always Appriciated Scenario: OS.server 2003, VB +ASP.NET VS2005 My application is developed in 2003 on vs2003, now validation error while checking in design mode. This application is using two classes with if condition. Error 36 Cannot switch views: Validation (Internet Explorer 6): Attribute 'class' can …

Member Avatar for naveedqadri
0
239
Member Avatar for shers

Hi, I have a combo box and a property grid in a form. The combo box contains 2 items. If one item is selected, two properties are listed in the property grid. These properties should have a dropdown that contains a list of items. I have two string arrays that …

Member Avatar for kingsonprisonic
0
87
Member Avatar for mr1991

wen i open mdi through the login form, the forms inside the mdi child forms dont seem to execute.pleez help me.

Member Avatar for kingsonprisonic
0
126
Member Avatar for nav07
Member Avatar for dennis_ian

hi just finished my first project and it was quite a journey (hahaha, considering its my first time to do it. Just wanna ask, with this code:..... [CODE]Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintiTicket.PrintPage e.Graphics.DrawString("COUNTER 17.Your number is " & iTicket, TextBox1.Font, Brushes.Blue, 50, 50) …

Member Avatar for Begginnerdev
0
89
Member Avatar for CX Mike

Dear Team, I have a question regarding LINQ 2 SQL and data integration with textbox: I have one textbox and button on my form, one stored procedure and LINQ 2 SQL class file in my project, I want that when I hit button, my store procedure run the SQL query …

Member Avatar for thines01
0
248
Member Avatar for zuvefox

hi.. VingCard has software name Vision to create hotel's door access KeyCard an to connect to encoder device. I want to connect and crate access keycard via my application but I don't found SDK . could anyone help me how to create access KeyCard using vb.net or have SDK?

Member Avatar for G_Waddell
0
59
Member Avatar for daniwaber

Can anyone suggest a code used to print a certain text from and RTF box with different formatting for different words. Also, can I print preview it and page setup it. I tried to use the print dialogs but could not do it. Please help:)

Member Avatar for G_Waddell
0
116
Member Avatar for pankaj.garg

Dear All, Screen Size of my deployment screen is larger than my development screen. If i try to set my form size larger than my development screen size, IDE doesnot accepts this. Please let me know How can I use a form larger than my development screen Size? Pankaj

Member Avatar for pankaj.garg
0
1K
Member Avatar for dashawk

Hi guys, I am just wondering if anyone have already developed an application using Visual Basic 2010 with Multitouch gestures? I have some research in these fields but I only get WPF or C# codes but still lacks details.... Anyone could share their ideas?

0
79
Member Avatar for skp03

With the help of VB.net how to lock a computer screen using a form do anybody know please let me know

Member Avatar for Reverend Jim
0
437
Member Avatar for khizer03

hello everybody !!!!!!!!!! I have a code which i coded but in that their is an error to lock the screen in the form1 i have written [CODE] msgbox("we are about to lock your screen!!!") me.visible=false lockscreen.visible=true lockscreen.killprocess.enabled=true 'the code i had written in the timer is public sub killprocess(byval …

Member Avatar for adam_k
0
103
Member Avatar for falconsorceror

Hi, I cannot seem to figure out how to search through a created/filled dataset for a certain value which exists in column(1), returning Column(0)'s value into a textbox. My code looks like this: Dim connStringdg44 As String = "server=(local);database=Cricket;trusted_connection=yes" Dim conndg44 As New SqlConnection(connStringdg44) Dim strSQLdg44 As String = "select …

Member Avatar for falconsorceror
0
117
Member Avatar for thegrovesy

Hi all, I have created a custom datagridview cell type (which allows the user to either enter text or add an image). This is working as I had planned, with one exception... This new cell type, which is set as the CellTemplate, has a button to the right of the …

Member Avatar for thegrovesy
0
318
Member Avatar for vb.netfreak

Hi, i need to load all buttons(200) text in my vb.net windows form at run time from my database table column. for single button its like button1.text = database value but i want For i = 1 to 200 button(i).text = database value Next i i tried this but its …

Member Avatar for Reverend Jim
0
236
Member Avatar for nore

Iam using data set and create table adapter then create select some data to be used in my aplication. In my app, i create data table to gain data from table adapter, but i don't know how to get some specific data, ex : item in column "a". Could you …

Member Avatar for nore
0
410
Member Avatar for tashee2007

Hi All, I have one vb form with two textbox,one checkbox, and two buttons. I am using SQL Database as back end for this form. Controls of my form goes like that: 1. txtGenderID 2. txtGenderName 3. chkIsDefault 4. btnSave 5. btnCancel SQL Table as follows: Table Name: tblGender GsGenderCode …

Member Avatar for tashee2007
0
403
Member Avatar for sigridish

hi all! i have here a code [CODE] Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged mycommand = New MySqlCommand Dim daMyName As New MySqlDataAdapter Dim dsMyName As New DataSet Try connection() mycon.Open() With mycommand .Connection = mycon .CommandText = "Select * from finaltickettable where work_group …

Member Avatar for sigridish
0
174
Member Avatar for anc6802

I'm writing a program for my job in which we are keeping track of employees usage of food at work. The form in question interacts with an access database to a binded control with labels and textboxes. This form I'm working on is the user view which doesn't allow them …

Member Avatar for anc6802
0
305
Member Avatar for Begginnerdev

I am having a problem with a datareader. [CODE] Do While myData.Read itmListItem = New ListViewItem() strValue = IIf(myData.IsDBNull(0), "", myData.GetValue(0)) itmListItem.Text = strValue For shtCntr = 1 To myData.FieldCount() - 1 If myData.IsDBNull(shtCntr) Then itmListItem.SubItems.Add(" ") Else itmListItem.SubItems.Add(myData.GetString(shtCntr)) End If Next shtCntr view_data.DatabaseListView.Items.Add(itmListItem) Loop [/CODE] I have used message …

Member Avatar for lolafuertes
0
287
Member Avatar for Tobyjug2222

Hello, I'm currently making a program in Visual Basic 2010 for my Course work, and I'm struggling a little as it involves a "log-in system." The system will save the Users Information in a folder (Called UserInfo.txt) (Address, Password, Email etc..), and the folder name being the username of the …

Member Avatar for berniefitz
0
1K
Member Avatar for Begginnerdev

Hello, I have one more question. I am connectinag to SQL Server 2008, not express, and I keep getting the "login failed for user "..."" The connection string I am using is: [CODE] Dim connStrg As String = "Data Source=" _ & ServerAdressTextBox.Text & _ ";Initial Catalog=" & _ DatabaseNameTextBox.Text …

Member Avatar for Begginnerdev
0
2K
Member Avatar for tvone

Say i have these XML tag: [CODE]<?xml version="1.0" encoding="utf-8" ?> <AutoMobile> <KeyPhrases list="BMW"> <[COLOR="Green"]Question value="Is this type I or type II?"[/COLOR]> <[COLOR="Red"]Option value="Type I"[/COLOR] id="1"> <Question value="Is this controlled or uncontrolled?"> <Option value="Controlled" id="1"> <Diagnosis_List> <Diagnosis icd9=""> type I - controlled</Diagnosis> </Diagnosis_List> </Option> <Option value="Uncontrolled" id="2"> <Diagnosis_List> <Diagnosis icd9="">type I …

Member Avatar for hericles
0
188
Member Avatar for toldav

I'm trying to find out what is the final output value for this "for loops." I'm getting 81 [CODE]Dim sum As Integer sum = 0 For i As Integer = 1 To lstNumbers.Items.Count - 2 sum = sum + lstNumbers.Items(i) Next lstNumbers.Items.Add("The sum is " & CStr(sum)) "lstNumbers.Items" 5 10 …

Member Avatar for toldav
0
90
Member Avatar for dennis_ian

hi iam new with vb and iam just trying to learn this one by reading tutorials online. After months of trying, i have created one db which i would like to use at our office. Its a counter Ticketing system. Its fun actually i must say, but its also giving …

Member Avatar for Reverend Jim
0
164
Member Avatar for razree

Hi all I run into a problem and I'm asking for you help again. I have a IF statement which is checking each row in the data table (for a match) and ELSE statement with commands which are executed if the If statement is not satisfied. Now I would like …

Member Avatar for Begginnerdev
0
194
Member Avatar for churni

Hi All I am creating a program which will (in the end) help me quickly transfer products from one category into another within a MySQL Database. I have a database with TWO separate tables which are connected using INNER JOIN where the products have a categoryID as do the categories …

Member Avatar for invisal
0
1K
Member Avatar for RaoxFaello

I'm new to VB.Net i was asked by my professor to create and pass an application (He didn't mention any specifics so i'll take it as creating my own application) So i'm thinking to create something simple and it include something like opening a form within a form For example …

Member Avatar for Begginnerdev
0
90
Member Avatar for khizer03

how to link a form so that the form should appear as soon as the computer gets on in VB.net

Member Avatar for Reverend Jim
0
93
Member Avatar for aishapot

I need to save pictures in my database, my database is MSSQL as of now, my code for getting the picture is this: Private Sub browsepic_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles browsepic.Click With dialogpic 'Open File Dialog sa toolbox .InitialDirectory = "C:\Users\CAMILLE\Pictures" .Filter = "JPG Files|*.jpg|PNG Files|*.png|GIF …

Member Avatar for aishapot
0
255
Member Avatar for lili22

[B]Hello .. im a business student with a vb.net course .. donno why we're being taught vb but that's that .. any ways could anyone help me solve this problem: Develop an application which reads two integers n1 and n2 from the user via two textboxes and displays in a …

Member Avatar for Reverend Jim
0
380
Member Avatar for Bheeman89

Hello people. Im having a problem in my coding. I am doing a username and password application (sumtthing like a password keeper). So I have created the interface and i integrated vb 2008 with sql server 2008. So the adding of account and password all went fine. I have applied …

Member Avatar for lolafuertes
0
433
Member Avatar for abhit_kumar

Dear All Experts, How to display datagridview with default six blank rows and two columns. Please guide me. Regards, abhi

Member Avatar for Netcode
0
53
Member Avatar for flywheeljack

I am currently working with a vb2010 front end with access as the database. everything works for accessing the information adding information. But when I try to edit/update the contents of a row I find that the update is being applied to the first row of the table rather than …

Member Avatar for Netcode
0
164
Member Avatar for skran

Hi! I m trying to open a filter form at the center of a form which is inside the panel 2 of a split container.. I ve selected Start Position of the filter form => Center Screen but the problem is that when I push the button which opens the …

Member Avatar for Netcode
0
371
Member Avatar for skp03

i have a form in which their is a two text boxes text box1=username text box2=password when i execute then i have to enter the username and password when i cancel the execution it will close every thing ok But i need the same username which has been used at …

Member Avatar for skp03
0
140
Member Avatar for skp03

A bit of confusion what to do I have a form1 in that their is a button by name "login" by clicking on the button "login" the form2 will be shown in a form2 their is username and password text boxes and two button one is "ok" and another one …

Member Avatar for GeekByChoiCe
0
85
Member Avatar for sara

hi.. can u help me calculate age using vb.net. i have txtage.text and txtdob.text. the format dob is 21.03.1978. and if txtage.text <35 it will in group 1, if txtage.text < 49 it will in group 2. the group in radiobutton. i've bee thinking this problem almost 3 days. please …

Member Avatar for bescobar
1
338
Member Avatar for skp03

what to do in order to get the same setting in the execution of the form which has been done during the previous execution of the form in VB.net

Member Avatar for adam_k
0
428
Member Avatar for priyamtheone

I have inherited the standard panel control to create a panel having custom border color. The problem is, while the panel is on a form and any other form is moved across it, it paints hapazard lines of the same color as the panel custom border color, all throughout background …

Member Avatar for priyamtheone
0
811
Member Avatar for priyamtheone

I have a readonly datagridview that is bound to a datasource. It has two columns. Now I want the first column to have no cell borderstyle; and the second one to have 'All' (i.e. all sides of the cell shall have a border) as cell borderstyle. Before binding the datagridview …

Member Avatar for priyamtheone
0
4K
Member Avatar for daniwaber

Hi:) I want to change the formatting of a rich text box's selected text with lines of different sizes. For example if I have written " [B]I code in VB[/B] " (any font, size 72, bold) on the first line and " [I]VB is easy[/I] " (any font, size 48, …

Member Avatar for codeorder
0
337
Member Avatar for bhagawatshinde

Hi Guys, In my appplication Backgroundworker throw an error exception has been thrown by the target of an invocation. Any idea how i can resolve this thread.

Member Avatar for bhagawatshinde
0
1K
Member Avatar for mansi sharma

hey,I know the foll. Method to read the textfile line by line. & it is also working Fine. But I want to know that method which includes EOF(End Of File). Can Somebody tell me that method. [code=vb] sFilename = "C:\Listview.txt" If Dir(sFilename.ToString) <> "" Then sFileReader = System.IO.File.OpenText(sFilename) sInputLine = …

Member Avatar for thines01
0
5K
Member Avatar for naazsayed

hi, i have a project in my last year and have 2 queries i am using vb.net and sql server 2005 as backend first problem is, i have a search form in which a field called billno is searched and all details are displayed in datagridview but the problem is …

Member Avatar for naazsayed
0
225
Member Avatar for digital_signage
Member Avatar for shers

Hi, I'm working on a propertygrid that has two items. The value of these items has to be taken from a database table. The table contains two columns, but I only want one column data to be displayed in the propertygrid. When the user selects one value from the drop …

Member Avatar for shers
0
230
Member Avatar for adnysam

Dear Friends I have an issue when I place a label box in the MDI Parent form and then open a child form the [B][U]label box highlighted in child form[/U][/B], could you please help me out to regret this problem, Thanks in Advance.

Member Avatar for adnysam
0
154
Member Avatar for 2advance

Hello Friends, I've one problem with an Image which is to be placed in crystal report. I stored image in sql server 2000 database in varbinary datatype. Now i want to retrive that image and display in crystal report using vb.net 2005. Any one know how to do this?

0
111
Member Avatar for kothaisaravan

Hi, I want to save the gridview values of one form while leaving that particular form using VB.NET. I did this in case of textbox and combobox values by using Savesetting and getsetting property. Thanks if any help...

0
81

The End.