20,899 Topics

Member Avatar for
Member Avatar for ddanbe

Hi everyone, Want a DateTimePicker column in my DataGridView. Essentially used code I found on MSDN [url=http://msdn.microsoft.com/en-us/library/7tas5c80.aspx]here[/url] Just dropped the different classes in separate files. It works, but the problem is I have to click from 2 to 4 times before I can select a date! The first click shows …

Member Avatar for ddanbe
1
2K
Member Avatar for Demon4231

I have a program that allows a user to create a number of Textboxes that they specify. I would like to know how to get the information from each of those Textboxes in a different Sub. Here is code on creating them: [CODE] Dim txtLetter(x) As TextBox txtLetter(x) = New …

Member Avatar for GeekByChoiCe
0
76
Member Avatar for Alphard

I have 3 Users and I have a different environment for each. How do I code that in my initial form(login form)? I need help: My sample If dr.Read=true then Dim adp as New OleDbDataAdapter("Select * From tblUSer WHERE Security_Profile='User 1'","PATH") Dim dt as New DataTable adp.Fill(Dt) Homepage.Show() Homepage.Button1.Enabled=False Form3.GroupBox1.Enabled=False …

Member Avatar for Alphard
0
99
Member Avatar for Learning78

Hi; I need help woth random number generation. I am developing a game show which has more than 100 questions and for each question there are 4 options. I am using a random function which ranomizes the value of t (row value of database). But the problem is that I …

Member Avatar for sknake
0
120
Member Avatar for samir_ibrahim

I am creating a form that will filter datagridview while typing in a textbox. I came through this error and I would like to know why is occur. [CODE=vb.net] Dim dt As DataTable = Ds_Pos.Employees Dim dv As New DataView(dt) 'findcrit is declared as string public and it contain a …

Member Avatar for samir_ibrahim
0
151
Member Avatar for awestove

I am trying to dynamically add checkboxes to a panel depending on if a file exists. My code is: [CODE]While d1 <= d2 If File.Exists("C:\bnb\" & m1 & "-" & d1 & "-" & y1) = False Then rm1CheckBoxes(rm1I) = New CheckBox() rm2CheckBoxes(rm2I) = New CheckBox() rm1CheckBoxes(rm1I).Location = New Point(20, …

Member Avatar for kvprajapati
0
112
Member Avatar for gedkins

I have a stored procedure in SQL Server 2008 that follows: USE [Numbers] GO /****** Object: StoredProcedure [dbo].[thenextnum] Script Date: 09/23/2009 15:35:16 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER procedure [dbo].[thenextnum] @descrip varchar(50) as begin declare @t table (nextseq varchar(100)) update number_definition_table set Current_Number=Current_Number+1 output inserted.prefix_format +(Case …

Member Avatar for GeekByChoiCe
0
186
Member Avatar for gianrocks

hey everyone im sort off new on .net and i was wondering if u can help me bigtime.. i am having problems with editing records when i do a search. example i was to search a specific record but then when i try to edit it, it turned out that …

Member Avatar for gianrocks
0
116
Member Avatar for jrosh

How to create an installable exe with vb.net 2005? i'm a novice to .net and let me knw a it simply.. Thnkx in advance

Member Avatar for Pgmer
0
109
Member Avatar for bonny343

how can i add the items in combox?i want to add item and then if user select that item it will open new form containg item which we selected.i want to make combox in which i want to select all browser which i have installed in my system and then …

Member Avatar for Pgmer
0
115
Member Avatar for navinkumar

I have installed visual studio 2008 I have installed sql server 2005 Now the problem is i want to make a application in which i enter the product id in text box and i shud get all other details such as cost quantity in cost textbox and quantity textbox respectively.. …

Member Avatar for TomW
0
78
Member Avatar for wetlife00

I doing the common 'enter scores, total, average and display" problem as I'm learning VB (see screenshot). It works great with the following code: ___________ Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim score As Integer = score Static scoreTotal As Integer = scoreTotal Static …

Member Avatar for TomW
0
108
Member Avatar for victor0101

How can I have a selected item in a combobox display the entire row in a data gridview using vb.net.

Member Avatar for TomW
0
92
Member Avatar for Bigead

I just need to know the code for switching the pages in the page panel. I want it so that when I press a button, it will switch the page.

0
57
Member Avatar for Mash'Funk

Hi have 2 list boxes on a form i have uploaded an example of the form im trying to code, would like to transfer an item to the next list box without duplicates so if you trying to send one item twice it should say msgbox("Borders already in the list …

Member Avatar for TomW
0
87
Member Avatar for mem81

Hi there, I have been struggling with this for quite a while now. I am a novice in .net so no wonder I can figure it out. I have a tab delimited file, where the sequence of lines should be 01UN1........................ 04UN1.......................... 09UN1........................ 01UN2.................... [COLOR="Red"]04UN2.............[/COLOR] 04UN2............... 09UN2................ However sometimes in …

Member Avatar for mem81
0
197
Member Avatar for gabanxx

i created a form with 4 textbox tht user can insert their data and stored it in sql server 2000 databse..than i manage to display the data when user starting the program... i also create an update button for user to update their data... the problem is when i want …

Member Avatar for obicerno
0
544
Member Avatar for yorro

How do I use the User-Controls as a form within a Form? This is my answer to my problem located on [URL="http://www.daniweb.com/forums/thread214973.html"]this thread[/URL] As seen in the original thread's solution, I've used solution #2. Instead of switching forms, I've used switching panels and the controls are contained in those panels. …

Member Avatar for yorro
0
2K
Member Avatar for perumar

I have successfully load a dynamic array reading the numbers in a text file into form. But how can I save that array again into text file after I change some numbers.

Member Avatar for CodeDoctor
0
1K
Member Avatar for Requestmd

Dear Members, Please Help Me. I am in huge problem. Please Send a solution of this problem. problem is:- Read Table of Word File and take cell value and store in excel file using vb.net in VB Please Help me............ thanks Requesmd

Member Avatar for CodeDoctor
0
113
Member Avatar for chicaloca

hi everyone I'm really just looking for some help to get started really. I've done a postgrad in web design and multimedia however have had no luck getting relevant work yet. I've designed a small demo site which I've uploaded onto some free webspace however I want to expand my …

Member Avatar for chicaloca
0
229
Member Avatar for samehsenosi

hi everyone pleas i want to know the way how i can clear a particular line in multiline textbox i ant to know how to do that thanks 4 all

Member Avatar for GeekByChoiCe
0
86
Member Avatar for danielagaba

hi, i'm using the code below to insert data into an access db but keep gettin the error "Datatype mismatch in criteria expression" [code] total = Integer.Parse(txtMonth.Text) * Integer.Parse(rent.Text) Com.CommandText = "Insert into Report Values (?,?,?,?,?,?,?,?,?, NOW())" With Com.Parameters .Add("@ID", OleDbType.Integer).Value = CID .Add("@Tenant", OleDbType.VarChar).Value = cboTenant.Text .Add("@type", OleDbType.VarChar).Value = …

Member Avatar for TomW
0
84
Member Avatar for m_shanak

hi. I need to make one setup file .exe to install many programs. eg : i wanna to include the sql server in the setup of my application that i developed . so the user don't need to setup the two programs separatly . thansx

Member Avatar for m_shanak
0
159
Member Avatar for Merovingian

I have a listbox and a datagrid. When the form is loaded the listbox is filled with a list of tables from a selected database (SQL 2008). [CODE] sqlstr = "SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' ORDER BY TABLE_NAME" [/CODE] Then I have a SelectedIndexChanged that populates …

Member Avatar for sknake
0
145
Member Avatar for jamesrobb

How can I extract repeated paragraphs of data from an html document. Every paragrahp is preceded by the line: <p><i>Summary as passed House:</i> <br> Thanks.

Member Avatar for sknake
0
769
Member Avatar for Merovingian

So I've been coding for a few months now and I have a pretty good grasp of most things but I can't wrap my head around getting info from loops. So here is my problem. I have a text file containing text similar to this: [CODE]<domain name="proxies"> <section name="proxy0"> <setting …

Member Avatar for GeekByChoiCe
0
156
Member Avatar for hemchantra

I have datagridview which display 3 columns. i would like to show icon in each rows with different by if column 3 = "OFFLINE" then the icon offline show else online show. the above is my code but not working. it is creating other column. please help me. Chantra. Public …

Member Avatar for GeekByChoiCe
0
2K
Member Avatar for codeambarish

I m creating an sms based application , so how to connect to GSM MODEM using VB.net , do any one have code snippet of this appl

Member Avatar for CodeDoctor
0
107
Member Avatar for haxor98

I need a little help :) My program opens up internet ports in the windows firewall for help with downloading via bit torrent or conenction issues with msn or steam. Now at the moment i have 3 settings , 1 hour, 2 hours or permenant but since this program leaves …

Member Avatar for TomW
0
233
Member Avatar for dorkwad

I compiled a project I made in visual studio 2008, but for some reason it only works on the computer it was created on, on any other computer I just get the "... has encountered and error and needs to be closed..." error message. At first I thought it was …

Member Avatar for dorkwad
0
125
Member Avatar for emint

Hi all how can i display data in data grid after reading txt file using vb.net. i got no problem in reading txt file. i just want to know how to display those data into data grid. if any can help that will be gr8. thx

Member Avatar for TomW
0
68
Member Avatar for helmX

I would like to convert the following code to .NET from VB6 [CODE]While Not rsMem.EOF i = i + 1 lstView.ListItems.Add i, , rsMem.Fields("lname").Value With lstView.ListItems(i) .SubItems(1) = IIf(IsNull(rsMem.Fields("fname").Value), "-", rsMem.Fields("fname").Value) .SubItems(2) = IIf(IsNull(rsMem.Fields("Title").Value), "", rsMem.Fields("Title").Value) .SubItems(3) = IIf(IsNull(rsMem.Fields("telNo").Value), "", rsMem.Fields("telNo").Value) .Tag = rsMem.Fields("per_id").Value End With rsMem.MoveNext Wend[/CODE] lstView is …

Member Avatar for kvprajapati
0
93
Member Avatar for yorro

I don't know how to explain this more clearly than I can. The codes in my form are getting too many/long. How do you split the codes into another? and still having the same classes and events in order to [U]reduce the amount of codes in the form.[/U] Sorta like …

Member Avatar for yorro
0
471
Member Avatar for jhill1979

Hello, My name is Josh I am in college and I am taking Intermediate VB.Net 2008 and I have been doing ok until now. I have been working on this problem for 2 weeks and still can not get it to do what it is suppose to do and it …

Member Avatar for TomW
0
116
Member Avatar for lovelysri16

[B]Hi Friends[/B], This is Srinivas. I developed an application n it requires a picture box to be moved over another. When i wrote the code n moved it over another,the latter picture box(only the part on which the former one moves) is fading and black color is getting displayed! Plzzzzz …

Member Avatar for TomW
0
129
Member Avatar for sgleason

Hello everyone, I am working on my first week's assignment for Intermediate VB. It has been a couple years since I took my last VB course and I am very lost at this point. I work in Visual Studio everyday, but I mainy do scripting and I don't get to …

Member Avatar for sgleason
0
106
Member Avatar for danielagaba

hi i developed an app in VS 2008 with vb.net which was intended to have reporting features but unfortunately deploying with crystal reports was too hard so i chose to go with .rdlc but i'm completely clueless on how to use it, whether it has a report viewer, how it …

Member Avatar for CodeDoctor
0
112
Member Avatar for vasanth.kanna

Hello Friends, When i try to show VB.net interop forms within VB 6.0 i have got the error "object variable or with block variable not set ". I was create interop form library in vb.net and use the created TLB as a referece in VB 6.0 and in button click …

Member Avatar for CodeDoctor
0
236
Member Avatar for Jumbo12

What is the difference between Common Language Interface and Common Language Infrastructure? Please explain.

Member Avatar for CodeDoctor
0
95
Member Avatar for ktkevin1222

I'm fairly new to coding VB 2008 I need help converting a text document with a type of code in it. One line looks like this: 52.000000, 400.000000, 1.3107711, 0 I need to convert that to an xml file that looks like this: - <CuePoint> <Time>11619</Time> <Type>event</Type> <Name>Marker 01</Name> - …

Member Avatar for ktkevin1222
0
229
Member Avatar for sonia sardana

I want to convert VB.Net to C# code VB.NET- [code] Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try Dim lCount As Integer For lCount = 1 To 5 ListView1.Items.Add(lCount.ToString) Next Catch ex As Exception MsgBox(ex.Message) End Try End Sub Private Sub Button1_Click(ByVal …

Member Avatar for DdoubleD
0
234
Member Avatar for TechSupportGeek

Hello again guys, this time I need help with the [B]FormClosing()[/B] Event in the Picture Viewing application I made. I wanted it to prompt the user before closing the form (if he had any unsaved changes) and I did it without help. But, the bad thing is, when someone saves …

Member Avatar for sknake
0
248
Member Avatar for doomfrawen

Hi guys!! I've to make a program that reads an arithmetical sentence from a textbox, e.g 12.3*34+4*5-3 and then on another textbox identify and display what is the content of the first textbox, for example taking the last ex: If I have this input: 12.3*34+4*5-3 The output should look like …

Member Avatar for doomfrawen
0
211
Member Avatar for Umarmai

Please faithfuls, I ve been vein problems with the properties of the combo box. wat i really want is disallow users to type into my combobox ( I want them to be limited to the items in the combo) 10qs.

Member Avatar for samir_ibrahim
0
124
Member Avatar for iwaqasi

Hi, I am working on a Project that has to search some specific folders and inside those folders I want to check if any file resides. I used the following techniques but they are not working if I need to connect to the machine as USER: [CODE] If Directory.Exists("\\" & …

Member Avatar for samir_ibrahim
0
132
Member Avatar for omotoyosi

Greetings to all Please i have a listview displaying files in a particular directory e.g c:\test so i want the user to be able to sort it based on date modified. 1. The list view have to column The file name and the date modified How can i sort by …

Member Avatar for TomW
0
79
Member Avatar for Merovingian

I have two function that replace certain strings in a text file. The first one works perfectly: [CODE] Dim readAlias As String Dim RxDIR As String = Nothing Try RxDIR = Registry.GetValue("HKEY_LOCAL_MACHINE\Software\RLtd\R", "MAIN", False) RxDIR = RxDIR + "\Bin\Configuration\alias.config" Dim sr As StreamReader = File.OpenText(RxDIR) readAlias = (sr.ReadToEnd()) sr.Close() sr.Dispose() …

Member Avatar for Merovingian
0
122
Member Avatar for PalC

Need help with vb 2008 express code to copy value from form1, textbox1, then paste it to all the records in access db ,table1, field 1. I know there must be 50 ways to skin this cat however its kicking my butt. Thanks

Member Avatar for sknake
-1
128
Member Avatar for perumar

Hello all, I could finally save my array to the textfile but how can I format the textfile so that i will have 9 rows and 9 columns [code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveButton.Click Dim cellValue As String, i As Integer Dim returnValue …

Member Avatar for perumar
0
114

The End.