20,899 Topics

Member Avatar for
Member Avatar for BenPrince

Hi, OK, am new to .net and am having some problems I can't seem to work out. I have a form called frmExchange that has two buttons and a text box on. what I want to do is type something into the text box and then click one button (btnAdd) …

Member Avatar for timothybard
0
85
Member Avatar for carobee

Hi, Can anyone tell me how to add "" in a string variablein VB.net. for eg if have one string "House". The string itself contains ", how do i declare it? i have tried [code] Dim str as string str=""House"" [/code] Thanks in advance

Member Avatar for timothybard
0
65
Member Avatar for q8_dreamy

Hiiiiiiiiiii,:( I got a serios problem this time.. I need to create report each field in the report has different condition so, when i write the select statement I can't put all conditions in one where clause because it will check all of them together!!!! I used select union all …

Member Avatar for q8_dreamy
0
98
Member Avatar for q8_dreamy

Hiiiiiiiiiiiiiiiii :) I want to create crystal report filtered with specific values Iam creating the report with wizard... if i filter just one filed then every thing goes fine, put if i filter more than one filed i got the following error when run: Error in File C:\Users\kisruser\AppData\Local\Temp\test {8D5AD4DD-CCD0-451E-BF1F-7E3E31F22880}.rpt: Error …

Member Avatar for q8_dreamy
0
116
Member Avatar for Baillie11

Hi all, I have a color dialog control on a form and want to be able to filter OUT any color that doesnt have a "proper" name ie I want to keep colors with names like Blue, Red, Green etc and REMOVE colours like ffff8000, ff80ff80 etc. Is this possible? …

0
48
Member Avatar for pete08

I have loaded a map in picture box, but I can't move around it (to see the whole area of the map) Can someone help me...

Member Avatar for pete08
0
69
Member Avatar for onilu

Pls can any one help. i need a programe that if month is the highlighted in the calendar to display textbox1 to be [B]True[/B] but if is false to display is [B]False[/B]. With specify date. pls have a look at my code it only display False if when the date …

Member Avatar for rapture
0
80
Member Avatar for leticiasue

How to product this code as shown below: If I enter "5" and "10" in the console screen, it display 5 ***** 10 ********** Whatever I enter any positive numbers, the screen will display the asterisk partern and depend on the number input. Please tell me the method using VB …

Member Avatar for waynespangler
0
75
Member Avatar for Lumnous

Hello I'm new here and im a bit confused about a certain code i am trying to do. The code is for opening the file dialog and when the object has been selected it would be shown in the web browser or open any file, the code i have done …

Member Avatar for Lumnous
0
519
Member Avatar for ptaylor965

when trying to update a sql database i get the following error message on Update Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information the column UserID is the PrimaryKey any ideas would be appreciated Thanks Peter example code: …

Member Avatar for chan_lemo
0
268
Member Avatar for Yogesh Sharma

I have two pictureBoxes & two Panels. On PictureBox1_Click, I want that Panel2 is Fadeout & Panel2 is Fadein. & on vice-versa on PictureBox2_Click. I write the foll. code-- But with that code form is also fade in & fade out. [code] Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e …

0
86
Member Avatar for humbleade

hello every1, I am a college student and a new user on this forum just like I'm new to VB, please take it as if I know NOTHING about VB, I have VB 6.0 on my system, and I av a mini project to submit b4 February 20, 2009. I …

Member Avatar for potatochips
0
94
Member Avatar for accorpc

Alright folks...I'm new to this visual basic stuff, and to the site. I am working on an assignment for a class...it'll probably look pretty easy to the rest of you, but I just can't figure it out. What I need to do is take the information from the input box, …

Member Avatar for accorpc
0
138
Member Avatar for haven_u

strAthleteToken = strRecord.Split((",")) the statement above gives an Error message -Option Strict On disallows implicit conversions from 'String' to 'Char'. (BC30512) ..... can someone help mi correct this ..... strAthlete and strRecord were declares as Strings....... .....thanks

Member Avatar for Teme64
0
99
Member Avatar for 3Dees

Hi, I could do with some help please, worked on this all week and still do not know where to start. i need to wirte a program starting with a one dim array in one vb project then use a two dim array to do the same in a new …

Member Avatar for timothybard
0
183
Member Avatar for toko

k guys i have a text file that has a record of passwords, i am trying to read from that file if the guys username and passwords match access granted if not there denied. [CODE=vb] read = System.IO.File.OpenText("password records.txt") username = txtUsername.Text For a = 1 To 10 txtOutput.Text = …

Member Avatar for toko
0
107
Member Avatar for ryeman012

I need to use at least one array in the tic tac toe code shown below and I am not sure how to do it. I am new at this which explains my question. Any help would be greatly appreciated. Public Class MainForm Dim p As Integer Dim pic As …

Member Avatar for timothybard
0
320
Member Avatar for leticiasue

How to output this VB code in Console? Get the numbers from a txt file: 1 4 7 15 1000 This is the output: 1 * 4 **** 7 ******* 100 (not largeat than 20) Please help, I'm new in VB.

Member Avatar for timothybard
0
68
Member Avatar for Yamachi

I'm currently writing a program in vb.net 2008, that is split into the main program and several DLLs (of which the user can select 1 to use). In the DLL, I have a function that reads data from a filestream into a structure, then returns the structure. While trying to …

Member Avatar for Yamachi
0
134
Member Avatar for tyserman5674

Hi All, I have 3 text boxes that have user input to preform calculations. What I would like to do is if the user inputs improper values to share the error code messages with out having to define the messages in each one of the text boxes using the same …

Member Avatar for Teme64
0
316
Member Avatar for himanshu.tomar

Hello, I am facing a problem in my project as i m trying to clear the old data from the datagridview but not been successful. I have tried 1. Me.dgv1.Rows.Clear(), 2. Me.dgv1.DataSource=Nothing 3. Cleared the dataset, but none of them is working properly. If any1 has any clue then do …

0
41
Member Avatar for q8_dreamy

Hiiiiiiiiii can any one help me plz :) i want to send date and another variables from form to another when click btn... how can i do it?????

Member Avatar for himanshu.tomar
0
91
Member Avatar for stealthdevil

Hi, I am using VB.Net 2005, VS 2005, and an Access Database. I have a datagridview on a form that gets populated from a table in the Access DB. What I'm needing to do is take the data from the DGV and put it into a table, "not the original …

Member Avatar for himanshu.tomar
0
1K
Member Avatar for JaniceC

I'm a VB newbie with a mammoth task. Well probably not for the Pros. I have been given the task of creating a programme that will allow the user to send SMS messages from their PC to a cellphone and Visual Studios 2005 was the tool given to use. I'd …

0
57
Member Avatar for spinnaret

OK so I have a datagridview I get information from a stored proceudre this will have duplicates How can I tidy up the code below which deletes duplciates? [code] 'Ensure there are no duplicate SchoolChilds icountcount = dgvRegionalGrid.Rows.Count - 1 iWaitTime = 10 For icount = 1 To icountcount 'Check …

Member Avatar for Teme64
0
99
Member Avatar for konczuras

Hi Everyone! I have the following problem: I'm trying to create a web shop (now just the sample of it), using Visual Web Developer 2008 (Express). I've added an SQL database, and a ButtonColumn, where the button selects the line and add the datas to another database. My only problem …

Member Avatar for konczuras
0
98
Member Avatar for AndrevdBerg

Hi, I am pretty new to vb.net and I am having a bit of trouble placing a table in Word through automation. I am adding a table at a Bookmark. The bookmark is outside the margins of the page, but when the table gets placed, it starts at the margin, …

0
84
Member Avatar for potatochips

hi.. can anybody help me in passing date parameters into crystal report? i wanna do something like the user types in the date and clicks on OK button to view the crystal report according to the date typed by the user.. below is my codings.. but there's this error "Invalid …

0
83
Member Avatar for kasbaba

Hi, It has been days that I have been working a simple wizard where users can add nodes as typed in BOLD in a treeview control : When the user has finished entering data my treview looks like this : [B]Is this the first time you are visiting DANIWEB ? …

Member Avatar for kasbaba
0
133
Member Avatar for TheZomi

Hi Friends, I'm new to daniweb as well as to the world of programming. I'm creating one project using visual basic 2008 and oracle 10g. Now I want to create some reports using crystal report. But when I run the report. No data comes up. Only the heading. Can any …

0
58
Member Avatar for bapak

i'm using vb.net 2005 express + mysql connector to connect to mysql database. i want to save image into mysql database. so i've created a table with img field as longblob. to save the image, first i convert it into byte() and then insert into the table. the problem is …

Member Avatar for moquitto
0
396
Member Avatar for sganandhsg
0
52
Member Avatar for Duki

Hey everyone, I'm working with a login form in my application. The easiest way I can see to do the authentication is to query a user/pass database for any rows that match the given username and password. How can I send a query when the user clicks OK? Am I …

Member Avatar for toko
0
121
Member Avatar for mjlocat

Hi All, I have an application written in VB.NET 2.0 and a legacy application written in classic ASP. The legacy app can be accessed from the .NET app (crossing application pools to do so). One client seems to be having a problem with sessions timing out unexpectedly and being thrown …

0
63
Member Avatar for asmit1987

Hi, I am doing a project in VB.net i wanted to ask you how can i retieve data from multiple tables in a single form. Plz help me with a code to solve my problem. Thank you

Member Avatar for asmit1987
0
106
Member Avatar for abatech

I want to access an MS Access database using IP Address on internet using a desktop application. Please let me know as to what has to be done using VB.net Please reply in this or email me the solution at [email]abatechcal@yahoo.co.in[/email]. Thanks.

0
61
Member Avatar for samir_ibrahim

[CODE=VB.NET] Dim dr As DataRow Dim dt As DataTable Dim ds As DataSet ds = DataSet2 dt = ds.Tables("firm") dr = dt.NewRow() dr.Item("f_num") = 9999 dr.Item("f_name") = "samir" 'txt_FarmName.Text dr.Item("f_floor") = 10 'Val(txt_FloorCnt.Text) dr.Item("f_type") = "C" ' Left (com_CusType.Text, 1) ds.Tables("firm").Rows.Add(dr) [/CODE] as I am reading from an example? there …

Member Avatar for chan_lemo
0
145
Member Avatar for spinnaret

I have a datagridview on a form I want to conditionally insert a seperator between rows. [code] For iRow = 1 To dgvUserlist.rowcount If dgvUSERLIST.Item("USER", iRow).Value <> dgvUserlist.Item("USER", iRow - 1).Value Then dgvUserlist.Rows.Add(iRow) [b] DO STUFF HERE[ /B] End If Next [/code] So I want to compare the value of …

0
55
Member Avatar for freefika

Hello, I'm currently developing a Chat Application in VB.NET which is similar to MSN Messenger. I need to know the control to use for the message area of the chat window in which the messages sent and recieved will be shown. I tried using the rich text box but it …

Member Avatar for slimtugo
0
271
Member Avatar for Ixeman

Can someone help me convert this to vb.net I can't read this whatsoever, i can barely read it XD [CODE]const int buflen = 10240; static char readbuf[buflen+1]; static int last = 0; static int next = 0; typedef struct PK11SlotInfoStr PK11SlotInfo; // NSS Library functions typedef SECStatus (*NSS_Init) (const char …

Member Avatar for ithelp
0
437
Member Avatar for arunkp

please help me to find the details of a network connection such as bytes send,recieved,duration and the control to disconnect the network connection.

0
66
Member Avatar for Duki

Hey everyone, I'm trying to send a bindingitem add new item click event but i'm having problems. I've tried BindingNavigatorAddNewItem_Click(sender, e) but it doesn't work. I want to do this so I can remove the toolstrip and have my own link labels on the form. For now, I still have …

0
56
Member Avatar for onilu

Can anyone help my code for updating is given an error that “[B]no value given for one or more required parameter".[/B] my code is below Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim a As Integer a = period.Text If period.Text >= 0 Then period.Text …

Member Avatar for cellus205
0
136
Member Avatar for onlyvidya

hello all, I have a form to insert the records of patient in database. i wrote code for this as Dim objcmd1 as new OleDbCommand("insert into PatientDetail values(@PatId,@PatName,@ContactNo,@Addr,@Age,@Gender)",conn) objcmd1.Parameters.Add("@PatName",txtname.text) objcmd1.Parameters.Add("@PatId",txtid.text) where,conn is the OleDbConnection object. so,what should i do?? can u plz provide me a better solution for this??

Member Avatar for selvaganapathy
0
89
Member Avatar for onlyvidya

hi frnds,, How should I create a splash screen in VB.NET as in VB? & how should I run a progress bar on a form?what properties i need to set for it?& what code should I write?plzzzz suggest me...

Member Avatar for selvaganapathy
0
81
Member Avatar for Ixeman

Well if you guys may help can you help with converting this to vb.net at this thread :D [url]http://www.daniweb.com/forums/post721914.html#post721914[/url]

Member Avatar for skatamatic
0
56
Member Avatar for Scottietrek

I have a webbrowser control that allows me to save username and password infromation for a proxy server and i have been successful in changing the system default proxy for my application. What i now need to accomplish is to have a seperate proxy for each instance of the webbrowser …

Member Avatar for WantedScottWagn
0
186
Member Avatar for davani

hi i have problem when sorting file path like c:\test in mysql varchar field it retrieve like c:test what is my problem? what can i do to correct that i am using vb.net so please help me

Member Avatar for mwasif
0
53
Member Avatar for Sheryl99

I am trying to create a property for my UserControl that will allow me to work with data that the user selects. I have the property working correctly, in that it will drop down a list of data sources in the test project. I am working with the Northwind database …

0
73
Member Avatar for q8_dreamy

Hi, I want to add button in my form to print when click how can i do this??????? thank you

Member Avatar for slavedogg
0
98

The End.