20,284 Topics

Member Avatar for
Member Avatar for lolsn0r

Hi everyone I have a question to everyone. dim a as string ="preview=" dim b as string = "&amp" textbox1.text = a + "Random Code" + b result must be: preview=93a92&amp Random Code: I Need something that does not skip the text/number. Random Code can be everything. Example: 93a92,b3at2, 1256abcde …

Member Avatar for marsky
1
142
Member Avatar for arjen

help pls i need someone that can help me when i enter the date of birth using the [COLOR="Red"]datetimepicker[/COLOR] box it automatically compute the age and output in a textbox.text

Member Avatar for anaszaheerp
0
7K
Member Avatar for bornwith

I am trying to catch the System.InvalidCastException error. If I put a number into the calculator the program runs ok. If the calculate button is pressed with nothing in the text boxes I get the casting error Conversion from string "" to type 'Decimal' is not valid. I understand why …

Member Avatar for bornwith
0
160
Member Avatar for shivya jain

Hello Experts, How can i save the optionbutton and checkbox value in sql database? please send the query: dim cmd as new sqlcommand("insert into [tablename] values(........)",c.con) please help me :)

Member Avatar for adam_k
0
105
Member Avatar for Naveed_786

When i pass the parameter and run the report it works fine as i close the form it closes the form is there any way so that i should be able to close the crystal report viewer and pass the parameter again and should be able to view report again. …

Member Avatar for Naveed_786
0
104
Member Avatar for mishphar

I have a csv file in drive C: when I am going to display in datagridview but the 1st line is not display in gatagridview, My csv file content data is as follows "^NSEI",5040.00,"9/2/2011","6:00am",+39.00,0.00,0.00,0.00,0 "RCOM.NS",84.70,"9/2/2011","6:29am",+5.15,81.90,85.65,79.70,13378691 "RELIANCE.NS",805.45,"9/2/2011","6:29am",+22.85,796.70,813.70,789.45,7791545 "DLF.NS",207.85,"9/2/2011","6:28am",+11.10,194.25,209.90,191.05,10297314 "UNITECH.NS",26.85,"9/2/2011","6:30am",-0.75,27.80,28.45,26.70,44035656 "HANUNG.NS",101.10,"9/2/2011","6:29am",-0.50,102.35,104.80,100.60,326326 "LITL.NS",16.75,"9/2/2011","6:29am",-0.30,17.00,17.50,16.35,9415675 "INDIABULL.NS",149.95,"9/2/2011","6:28am",-4.00,155.00,157.00,148.50,677258 My code is below: [CODE]Dim csvFileFolder As String = …

Member Avatar for Phasma
0
592
Member Avatar for mrbungle

As the title says- I'm not sure which appdata folder to use- Should I use CommonApplicationData, The directory that serves as a common repository for application-specific data that is used by all users. Or LocalApplicationData, The directory that serves as a common repository for application-specific data that is used by …

Member Avatar for mrbungle
0
120
Member Avatar for hackerjackie

I am using the list view and data grid to display my records!!what are the codes to be used for printing these data records......??please help me..thanks

Member Avatar for Oxiegen
0
55
Member Avatar for Lek Plepi

Hello i have created a form that has a combobox.the combobox displays the products.how can i add a selected product into a listview?????

Member Avatar for Lek Plepi
0
171
Member Avatar for uamahmood

I have found this code for using control array in VB.net, but this only works when I place text boxes on form, whereas in my case within tab control i have created group boxes and within group boxes there are a number of text boxes which i have used for …

Member Avatar for Reverend Jim
0
355
Member Avatar for Polongo

Help me guys. Iam new in making a setup. [ProgramFilesFolder][Manufacturer]\[ProductName][Version] is the Default. i Want to change the programfilesfolder to documents folder. I already try this: [DocumentsFolder][Manufacturer]\[ProductName] but it doesnt work. error in installing the product. ERRROR: "Could not access network location \Polongo company\MC" Please help me guys. _________________________________________________________________________________________________________________________________________________________ Iam …

Member Avatar for Polongo
0
103
Member Avatar for AdamK90

I am very new to VB and I am using VB studio 2010 now. What I want to do is to receive data from another port and save it in my directory. However the port can receive my buffer from another port but could not save the file. The codes …

0
42
Member Avatar for cjoyce

guys can you please help me in displaying columns from my ms access table to a listview in vb.net.. i use oledb in connecting to ms access..

Member Avatar for Phasma
0
380
Member Avatar for littlegrynder

I have the following code. My program loads 20 pictures in one panel and each pictures has for the moment like 500 Kb, but in the future they shall have like 2~6 Mb. When I use this part of code, my program that uses only 6 Mb of memory, but …

Member Avatar for littlegrynder
0
998
Member Avatar for Galbatorix

hi guys, am pretty new to socket programming in vb.net . i am used to the winsock control in vb6 but it seems that vb.net has a difft approach as i could not find the control. Could someone please explain to me about sockets

Member Avatar for thatscrap12543
0
174
Member Avatar for april_er
Member Avatar for thatscrap12543
-1
395
Member Avatar for Lek Plepi

Hello i have a big problem with msflexgrid i can't save it into ms.acess can somebody help me?

0
62
Member Avatar for Ehtesham Siddiq

Hi, My application is in VS2008 coded in Vb.net. I have a datagridView which is getting populated from the Database.I has RegNo,RollNo,Name etc fields.The data in the Name column of database is coming from 3 columns of a certain table from database. This is how im concatinating it and displaying …

Member Avatar for Zeth643
0
861
Member Avatar for dhimmar

Hello Highlly Tinker Guys, I want XPath of Each Node in XMlFile in Vb.net Below Is my Code on button click event [CODE] Dim szXMLDoc As XmlDocument=New XmlDocument() szXMLDoc.Load(Server.MapPath("ChurchFolders.xml")) '------Code to find xpath for each node----------- [/CODE] The ChurchFolers.xml file is As below [code=xml] <xml version="1.0"> <folder id="parent" path="~/MyChurch"> <folder …

Member Avatar for vijay_myl
0
145
Member Avatar for cigoL..:)

Greetings, i'm currently developing a web browser for my school project (i'm kinda new to advance visual basic)... it's 75% complete and the only problem i encountered is that when i enter items for the combo box it accepts duplicate .. for example i entered [url]www.daniweb.com[/url] and re-entered it again, …

Member Avatar for cigoL..:)
0
469
Member Avatar for concepcionmark

I have found this code in this forum: [CODE]Dim objForm As Form Dim sValue As String Dim FullTypeName As String Dim FormInstanceType As Type ' Form class name sValue = "Form2" ' Assume that form classes' namespace is the same as ProductName FullTypeName = Application.ProductName & "." & sValue ' …

Member Avatar for dimasalang
1
177
Member Avatar for jp_jones

Hello, Last year my team wrote a VB .Net project that used the webbrowser control to automatically fill out user forms, click images, action buttons etc. for a web application used in our company. This year, the web application was upgraded to version 3.0. We got the application in our …

Member Avatar for Oxiegen
0
294
Member Avatar for jespina

Please help me update a gridview using a pop up. It couldn't get the primary key of the selected row. these are my codes: Protected Sub btnSaveRemarks_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSaveRemarks.Click strSQL = "UPDATE CandidateScreening SET Remarks = @Remarks, Status = @Status WHERE ID ='" …

0
109
Member Avatar for leemc1989

Hi there! I have read through quite a few tutorials and videos and I am building my application quite good now, I have a webbrowser control that has a bunch of links from my website (MP3 files) now, how would I open a link and play it in my inbuilt …

0
49
Member Avatar for mikejs

Hi I have used the following code to populate a DataGrid based on the contents of a textbox. the users searches for a name which is populated into a combobox based on the name in the combobox several textboxes are populated with data based on the data in one of …

Member Avatar for Zeth643
0
150
Member Avatar for mikejs

Hi how would I go about creating a payment schedule based on a date and a number of months 3 or 6 or 12 to then populate the database with reoccurring dates so lets say new user added on 31/10/2011 for 6 months I need the database to add all …

Member Avatar for Zeth643
0
179
Member Avatar for qwertylove

can any one help me about this error [CODE]Private Sub BtnSave_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnSave.Click If Objconnection.State = ConnectionState.Closed Then Try Catch ex As Exception End Try Objconnection.Open()---->>> The ConnectionString property has not been initialized. End If Objcmmand = New SqlCommand(" Insert into cases_of_accidents ( …

Member Avatar for Zeth643
0
238
Member Avatar for hackerjackie
Member Avatar for debasisdas
0
45
Member Avatar for twalton42

Using Visual Studio 2008, I have a form with a datagridview. I want to use a button called BTNDelete and I need help on deleting the selected row from the datagrid then update the datatable.

Member Avatar for twalton42
0
99
Member Avatar for hackerjackie

how to add records in the list view?? And the codes to print using this list view..thanks

Member Avatar for debasisdas
0
58

The End.