20,285 Topics

Member Avatar for
Member Avatar for srm2010

I want to package and deploy windows app which has images in allimages folder,resource folder is also generated that refers to all images in my vs 2008 application.I have calc.exe in debug folder.I tried deploying using setup project that uses windows installer, when i run application some images r not …

Member Avatar for codeorder
0
147
Member Avatar for EatingGennaro

I am trying to make a software that signs up for hotmail etc. I am running into a couple of problems with the choosing of the birth date and clicking the submit button. I am newer to coding. So here is my code I have tried so it will enter …

Member Avatar for codeorder
0
143
Member Avatar for vivekanandaan

I am selecting the max value of a column from a table. If the table does not have any rows i need the result as zero. how can i achieve this Regards Vivek

Member Avatar for Reverend Jim
0
723
Member Avatar for wael meto

Now i am tring to make a data set by creating it in separte DLL file(using VB net) the code i used in this dll fle aready workong in my form but i tried to use it by this diffrent way ,,,but no way this is the code of the …

Member Avatar for Oxiegen
0
312
Member Avatar for Begginnerdev

Hello my fellow Daniwebbers, I have a modest question for you. I have a panel, which contains child panels. I have code the alows the user to delete the selected panel, but can't figure out how to refresh the parent panel with the deleted panel gone. When I use the …

Member Avatar for Begginnerdev
0
200
Member Avatar for AquaNut

Hi Coders, Once again I feel I need your help/assistance. I have been trawling the net and forums for a simple way of automatically updating a newer version of my application from a network share. Everything I have read pertains to an update from a web site. This is possibly …

Member Avatar for AquaNut
0
691
Member Avatar for poojavb

Hello All, Actually I am facing issue in creating an ASP.net application. I have created a project in VB.net but now my seniors are saying that the code should be in ASP.net and it is taking hell lot of time for code conversion, designing and all other stuff. Actually I …

Member Avatar for poojavb
0
368
Member Avatar for Alex_2011

Hi, I am totally lost and I went through a lot of sites about searching within an array, but I could not find any clues. I created the following array : Private LetterArray() As String = {"A", "B", "C"} and I don't know how to get the target letter from …

Member Avatar for Alex_2011
0
364
Member Avatar for poojavb

Hello All, Actually I am facing issue in creating an ASP.net application. I have created a project in VB.net but now my seniors are saying that the code should be in ASP.net and it is taking hell lot of time for code conversion, designing and all other stuff. Actually I …

Member Avatar for poojavb
0
221
Member Avatar for applebule5

I am trying to set up a database with Students, Courses and grades. This is the main bulk of my code, I am stuck with the error below, could anybody help me? [CODE] Imports System.Data.OleDb Imports ADODB Public Class Form_Main Dim cn As OleDbConnection Dim StudentUpdateCommand As New OleDbCommand Dim …

Member Avatar for hericles
0
168
Member Avatar for adhani85

[CODE]Imports System.Data.SqlClient Imports System.Data.OleDb.OleDbConnection Imports System.Data.OleDb.OleDbCommand Imports System.Data Partial Class Main Inherits System.Web.UI.Page Public strSQL As String Public strConn As String = ConfigurationSettings.AppSettings("strConn") Dim objConn As SqlConnection Dim objAdap As SqlDataAdapter Dim objCmd As SqlCommand Dim objReader As SqlDataReader Private Sub cbfGenerateTable() Try objConn = New SqlConnection(strConn) strSQL = "SELECT …

Member Avatar for thines01
-2
171
Member Avatar for Alex_2011

Hi, I am trying to add (Push) whatever the user enters in (MyStack) into 5 different labels that should show the (UserResponse). The problem is I don't know how to display each element in a different label. For example: - The first element that the user enters (UserResponse) should be …

Member Avatar for Alex_2011
0
179
Member Avatar for D19ERY

Hi there I'm completing an application to display a weather report - unfortunately i can't seem to get the name entered to appear in the message shown and i can't get each picture to appear individually when the radio button related is chosen. Here is the question i'm working off …

Member Avatar for ChrisPadgham
0
150
Member Avatar for jaimin4829
Member Avatar for doomhades666

How can i get selected text in web page and put it on textbox? This is the text that i want to copy. [URL="http://i1059.photobucket.com/albums/t432/doomhades666/1-1.png"]http://i1059.photobucket.com/albums/t432/doomhades666/1-1.png[/URL] This the page source of the web page [CODE]<div class="output"> <h1 class="titlebar">Calculator Output</h1> <div style="padding: 1.2ex;"> <pre>Simplifying -2x + 3y = 8 Solving -2x + 3y …

Member Avatar for codeorder
0
1K
Member Avatar for renzlo

Hi all, Please see attached for my query. Hope someone can help me. Thanks in advance. -renzlo

Member Avatar for renzlo
0
315
Member Avatar for groff

I have two combobox in a form: Cb1 and Cb2 When I load the form, Cb1 and Cb2 are connected to a bindingsource. When I change Cb1, the code (below) changes Cb2 to show only the items according to Cb1 This is working fine. The problem is when I change …

Member Avatar for groff
0
174
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
263
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
116
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
682
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
567
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
92
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
372
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
165
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
247
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
181
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
145
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
173
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
131
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
429
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
220
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
109
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
46
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
271
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
188
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
195
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
209
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
161
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
400
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
280
Member Avatar for Poongundran

hi In my scenario when i press the "Get Book Details " of the Form1 , it will redirect to the Form2 , in the form load of Form2 a datagridview is filled with values along with the checkbox column and the desired rows of all the columns are selected …

Member Avatar for Phasma
0
87
Member Avatar for Mwoot

I have seen similar questions which attempt to solve this issue, but none seem to work for me so far... Basically, for my first VB project, I am creating a virtual keyboard where a sound is played from the resources on KeyDown. So far, the program seems to work except …

Member Avatar for Mwoot
0
210
Member Avatar for Bheeman89

hi friends. Im currently working in integrating GR Fingerprint SDK with vb.net application. I am using MSSQL 2008 as my database and vb.net as the front end. I have completed almost 90% of the application and im stuck in integrating this SDK with my application. It has an error such …

Member Avatar for Reverend Jim
0
650

The End.