20,278 Topics

Member Avatar for
Member Avatar for dashawk

Hi guys, I have a project that reads a json data and parse it. The program is working properly except that I cannot get its individual rows and view it in separate panels. Here is my code: [CODE] Imports System.Net.Json Public Class Form2 Private Sub Button1_Click(ByVal sender As System.Object, ByVal …

Member Avatar for dashawk
0
259
Member Avatar for PF2G

Can someone tell me what's wrong here: [CODE] Dim sql As String = "SELECT * FROM courses" Dim con As New MySqlConnection Dim dt As New DataTable(sql) Dim cmd As New MySqlCommand(sql, con) con.Open() ComboBox1.Items.Add(dt)[/CODE] It doesn't show the courses.

Member Avatar for jbutardo
0
115
Member Avatar for LearnVBnet

I Have Listview with All transaction with column InvoiceNo Date Customer Total Now I want to filter only month transation only month with combobox selection and one textbox year Me.cboMonth.Items.Add("1") Me.cboMonth.Items.Add("2") Me.cboMonth.Items.Add("3") ........... Me.cboDate.Items.Add("12") Me.cboDate.SelectedText = 1 my column date display mm/dd/yyyy How can I selection cboMonth to filter only …

Member Avatar for LearnVBnet
0
673
Member Avatar for jbutardo

Hi, I have a program that needs to create a downloadable excel template with the following headers on the first row named, name, age, gender. And I also want the template to only have 1 sheet on it. how can I create a sample template using vb.net code? Thanks

Member Avatar for jbutardo
0
1K
Member Avatar for jbutardo

Hi, I have this program that would upload files from the client to the server, Now I want to validate the filesize before uploading it into the server.. How can I create this kind of validation? Thanks.

Member Avatar for jbutardo
0
556
Member Avatar for daydie

Here is my HTTP cookie request which auto loads browser after doing the cookie stuff. But it does not login and i dont know why =/ [CODE] Dim logincookie As CookieContainer Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim postData As String = "referer=http%3A%2F%2Fforum.ea.com%2Fuk%2Fcategories%2Flist.page&selectprofile=true&remoteurl=http%3A%2F%2Fforum.ea.com%2Fuk%2FgusUser%2Flogin.page&action=Login&registrationSource=&authenticationSource=EA-JForums&HIDE_GUS=&username=" & …

0
89
Member Avatar for markdean.expres

Guys, I can't still figure out how to show to a user the file info of a file programamtically. Can I just use the Properties window that Windows use to show all the detals of a file (e.g. name, type, size, path, date created ect.) I am using the IO …

Member Avatar for markdean.expres
0
365
Member Avatar for Begginnerdev

I have a question for all of my fellow Daniwebbers. If I place a panel within another panel, can I "click" the panel later? In other words, if I am able to click the panel, can I reference that panel in code for manipulation? Such as flipping or rotating the …

Member Avatar for Begginnerdev
0
160
Member Avatar for sirmcfly.works

i need help in adding image in my current payroll project i need a more simple way or easier to understand codes in adding image in my database tnx in advance

Member Avatar for Ggalla1779
0
238
Member Avatar for bilal_fazlani

Okay, So I have an application which uses MSSQL server as datasource. Is there anyways I can avoid using any database server and use a local file as datasource ? If yes , what are options. AND HOW ? PS: this is very important guys. please help. THANK YOU.

Member Avatar for bilal_fazlani
0
177
Member Avatar for vivekanandaan

[CODE] Dim connection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=""d:\sprrg\\scm\scm\sprrg.mdb"";") Dim adapter As New OleDbDataAdapter("SELECT * FROM mr_head", connection) Dim dbInsert As New OleDb.OleDbCommand Dim table As New DataTable adapter.Fill(table) 'job_code,mr_no,mr_date,item_code,qty,mr_status,mr_approved_date 'Dim row As DataRow = table.Rows(0) connection.Open() dbInsert.Parameters.Add(dbInsert.CreateParameter).ParameterName = "job_code" dbInsert.Parameters.Item("job_code").Value = jobcode dbInsert.Parameters.Add(dbInsert.CreateParameter).ParameterName = "mr_no" dbInsert.Parameters.Item("mr_no").Value = mr_no dbInsert.Parameters.Add(dbInsert.CreateParameter).ParameterName = "mr_date" …

Member Avatar for vivekanandaan
0
1K
Member Avatar for jbutardo

Hi, I just have this program that needs to create a downloadable template for the excel file that will be used later in my program, now I have this templates in my server and I think that i'll just import this file first and then put it in the data …

0
142
Member Avatar for Alex_2011

Hi, I am trying (Push)add data into my stack (length of five) and (Pop)delete from the end of my stack. I need to know how can: - Add the elements to the stack with keeping track of adding and deleting from it (adding an element will increment until 5 and …

Member Avatar for Alex_2011
0
171
Member Avatar for Ghoztrider

Good Day! I've created a rudimentary program that takes multiple .csv files and creates one merged .csv file. What I'm looking to do is after merging the file into one, I want to convert it to an .xls file, however, when I do this the converting is not correct. Here …

Member Avatar for Ghoztrider
0
2K
Member Avatar for pradeepreddy

hi , I am pradeep. i wrote a code to get all information with in brackets of each sin() ,which i would like to give as my input to text box. but i am not able to get it exactly, for example i write "sin(90*2)+sin(60)+sin(60+(75*2))+sin(50)+sin(20)" in textbox i need "90*2,60,60+(75*2),50,20" …

Member Avatar for ChrisPadgham
0
128
Member Avatar for daydie

Is this possible? Download a webpage source without using a browser and place in to a textbox ready to edit and post(stop page/image load times)

Member Avatar for codeorder
0
425
Member Avatar for sdimantova

My program performs a search on a specific directory and returns a list of files with specific criteria. I want the user to be able to select an item in the list and click a button and have that file open...is this possible? The first column of my list gives …

Member Avatar for PraDevil
0
2K
Member Avatar for GAiXz

Good Day Programmer's ^_^ i'm having a problem with this two DateTimePicker in DateTimePicker1 the format or value is "dd-MMM-yyyy" or "01/Jan/2012" and in DateTimePicker2 the format or value is "yyyy" or "2012" when i change the year in DateTimePicker2 to change the year in DateTimePicker1 i'm getting an error.. …

Member Avatar for codeorder
0
2K
Member Avatar for AnkitGuru

Hi guys, I'm designing a form and trying to get different opacity values for different controls. How should i do it?? eg. clear visible text floating over 50% opaque form.

Member Avatar for codeorder
0
217
Member Avatar for bhavan kamble

Guyzz My project is on Restaurant Mgm. I stuck to a place,where I have to Delete Values from Multiple Tables in the database This is My code [CODE] Private Sub BtnCancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnCancel.Click Dim id1 As Integer id1 = Cbid.SelectedItem ds.Dispose() con.ConnectionString = …

Member Avatar for Reverend Jim
0
1K
Member Avatar for sylvester3

Hello, Well my application is 37 KB size, but when i start the program it took like 10-15 sec to startup, is there a way or code to make my applications run fast and fresh?

Member Avatar for codeorder
0
107
Member Avatar for TheWayEnd

Hi Everyone I want to pro about web site login control. for example [CODE] Dim allelements As HtmlElementCollection = WebBrowser1.Document.All For Each webpageelement As HtmlElement In allelements Dim ba As HtmlElement = WebBrowser1.Document.GetElementById("username") Dim sa As HtmlElement = WebBrowser1.Document.GetElementById("password") ba.SetAttribute("value", TextBox1.Text) sa.SetAttribute("value", TextBox2.Text) If webpageelement.GetAttribute("value") = "Login" Then webpageelement.InvokeMember("click") End …

0
45
Member Avatar for skran

Hi all! I try to filter a datagridview and I wrote an sql statement for that reason. The problem is that although I achieved to have multifilter I can find how to make my cod ignore the criteria which are null (empty criteria, when the user doesn t give any …

Member Avatar for skran
0
264
Member Avatar for Contagious98

I have made a database file in MS Access 2007, Now I made a basic blank form in VB2008. I have connected it already in the form. Now the problem is, how would I know if I have connected it successfully? I run the program > added a new entry …

Member Avatar for Contagious98
0
186
Member Avatar for cyberdaemon

Good day, I am creating an application that can play sounds on my program i used the snippet of VB.net i am using this code to play some sounds My.Computer.Audio.Play(".wav") all i want is to random pictures and the sounds associated on that pictures will be played... I ma having …

Member Avatar for cyberdaemon
0
191
Member Avatar for jbutardo

Hi, I have this program that uses OLEDB connection to import excel file to data table then use it in other functions. Now I have this question: What are the possible limitations of OLEDB when it reads the Excel file. The File is on xls format, and I want to …

Member Avatar for jbutardo
0
1K
Member Avatar for sw8revenge

please check my code: it use to generate number in date format my problem is that it doesnt show any output in the textbox nor in the database the last num in my database is 2012010001 [CODE] Dim i As Integer Dim strSQL As String Dim strMonth As String Dim …

Member Avatar for Smith5646
0
206
Member Avatar for khentz

Here's my scenario I do have many link labels in my form. What I want to happen is, when a user click on that link label, the name of that link label will be passed to a variable.

Member Avatar for Vichualito
0
157
Member Avatar for sylvester3

Hello, Im newbie at VB and i need help solving my issue please The code i used: [CODE] Dim SaveFile As New SaveFileDialog SaveFile.FileName = "" SaveFile.Filter = "Text Files (*.txt)|*.txt" SaveFile.Title = "Save" SaveFile.ShowDialog() Try Dim Write As New System.IO.StreamWriter(SaveFile.FileName) Write.Write(RichTextBox1.Text) Write.Close() Catch ex As Exception End Try[/CODE] The …

Member Avatar for sylvester3
0
396
Member Avatar for ashishgh

I have created an application which creates multiple webbrowser controls at runtime...now i want to clean up memory when these webrowsers are deleted see the code below please let me know how can i do it(i have tried dispose method but no luck) Creation on dynamic web browsers on button …

Member Avatar for codeorder
0
271

The End.