20,284 Topics

Member Avatar for
Member Avatar for weeraa

Here is a example for my work. if a date ---> 20/03/2012 should be shown as 01/04/2012 16/12/2011 Should be shown as 01/01/2012 02/05/2008 Should be shown as 01/06/2012 My requirement is to get a given date as 1st of next month. I know to do this with IF conditions. …

Member Avatar for poojavb
0
153
Member Avatar for Mechizedek

Hi peeps, pls i need help on how to hard code my database connect to my application . Example, i want to connect to my application using dim conn as new SqlConnection conn.ConnectionString = " connSring" dim cmd as new SqlCommand cmd.connection = conn cmd.commandType = commandType.text cmd.commandtext = " …

Member Avatar for Mechizedek
0
173
Member Avatar for NtheN

SELECT airplanes.ID_airplane FROM (airplanes LEFT OUTER JOIN airplanes_hangar ON airplanes.ID_airplane = airplanes_hangar.ID_airplane) WHERE (airplanes_hangar.ID_airplane IS NULL) This is the vb code. Me.AirplanesTableAdapter.superawesome(Me.Hangar_DataSet.airplanes) I want to pass the values returned to a combobox, or a string, doesn't matter i can take it from there. Can someone tell me how can I …

Member Avatar for poojavb
0
88
Member Avatar for mie.ilani

i have problem with query the database. i want to add data into two table that share same Primary key. here my code error message :The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the …

Member Avatar for Reverend Jim
0
319
Member Avatar for lbgladson

I have a Capstone Project this summer where I have to create a program from start to finish. The instructor told us we are not allowed to ask him for help or advice we have to find it ourself so that is why I'm posting here. My idea for my …

Member Avatar for Begginnerdev
0
93
Member Avatar for slpefanis

Hey all. I am busy writing a application that i can set up a list of files to copy from one location to a remote network drive. THe program has a list of "jobs" in a datagrid that it loops through and executes in sequence. What i have now is …

Member Avatar for Begginnerdev
0
215
Member Avatar for thiemebr

Hi, I have a static sqlparameter default value which I need to display in a label but I can't get it to work. I tried: lblDefaultRate.Text = SqlDataSource1.SelectParameters["rate"].ToString but didn't work. Any idea what is wrong? Thanks

Member Avatar for Begginnerdev
0
96
Member Avatar for fafa70

hi. i have a piece of code that i wanna know that in how many miliseconds it would be run. Public Sub TurnLeft(ByVal speed As Single) Dim timer As Single If Not IsNothing(Me._DriveActor) Then 'command below Me._DriveActor.Turn(speed) End If End Sub i know that we have timer class but you …

Member Avatar for fafa70
0
135
Member Avatar for beforetheyknew

Hi guys, I’ve written an application and I’m trying to utilise a database behind it. I’ve created a mysql database, and table which all appears to work correctly. I appear to have connected to the db correctly too. And hit a bit of a brick wall. As a side-note, within …

Member Avatar for lolafuertes
0
329
Member Avatar for GTTravis

hi Guys, i am planning to teach myself ASP.net using vb and c# via the visual studio 2010 ide. my issue is that many books keep recommeding visual web developer as the tool to use but i want to use Visual Studio 2010 and hence can somebody point me in …

Member Avatar for thines01
0
138
Member Avatar for vammy

Guys, Need your help here please.. I have a windows form where i have a requirement to convert money entered as integer into string format.. like : if amt entered was 5000,it shld be converted to five thousand rupees only.. please help..

Member Avatar for salman_hundekar
0
129
Member Avatar for salman_hundekar

how to insert special character in sql database like wise" @#$%^&&*" plz mail me ans at salman_hundekar@rediff.com

Member Avatar for salman_hundekar
0
93
Member Avatar for dre-logics

I use Visual Basic 2008 Database is Mysql Three tables: 1. table article fields: item number, item description, color number, month number 100 chair 2 3 2. table colors fields: color number, color description 1 red 2 blue 3. table months fields: month number, month description 1 January 2 February …

Member Avatar for dre-logics
0
189
Member Avatar for mancode1007

Guys, I having problem converting the sql server function to mysql function. It work perfect at sql server now it now working at mysql. Please help.Thanks DELIMITER $$ CREATE Function `pearldb`.`SortingAlphanumeric` ( ColValue NVARCHAR(255) ) RETURNS NVARCHAR(1000) BEGIN DECLARE p1 NVARCHAR(255); DECLARE p2 NVARCHAR(255); DECLARE p3 NVARCHAR(255); DECLARE p4 NVARCHAR(255); …

Member Avatar for poojavb
0
115
Member Avatar for codeorder

Being a vb.noob as basically most of the vb.net world, I use the `Try/Catch` statement quite a bit for when it comes to errors, as the following. With Me .Text = "a" Try .Text += 1 Catch ex As Exception MsgBox("error: " & ex.Message, MsgBoxStyle.Critical) End Try MsgBox("a") .Text = …

Member Avatar for codeorder
0
4K
Member Avatar for collin_ola

HI, I'm having a problem with saving some text in a while using the FileOpen Method, as shown below. Dim Filename As String Dim text As String = "Testing Testing" Console.Write("Enter new file name: ") Filename = Console.ReadLine Console.WriteLine() FileOpen(1, Filename , OpenMode.Binary, OpenAccess.Write) FilePut(1, text) FileClose(1) I'd appreciate it …

Member Avatar for Reverend Jim
0
98
Member Avatar for Reverend Jim

This code demonstrates how to add controls to a form at run time. The number of rows and columns, the spacing between the controls and the size of the controls are all determined by Consts, but this could easily be changed so that the parameters are user entered. My example …

3
658
Member Avatar for mie.ilani

need help! Public Sub emailNotification(ByVal strTo As String, ByVal strFrom As String) Try If strTo Is Nothing Then MessageBox.Show("Please Check Email") Else Dim [to] As New MailAddress(strTo) Dim [from] As New MailAddress(strFrom) Dim message As New MailMessage([from], [to]) message.Subject = "Parcel Info No: (" + txtTracking.Text + ")" message.Body = …

Member Avatar for Oxiegen
0
159
Member Avatar for Iamkenny

Hello people. Ive got a problem with a listbox of mine. I have three lisboxes, one listbox1 is for product category, another lisbox2 is for the product itself in which it will appear after the user has chosen a product category AND another listbox3 which acts like a shopping cart …

Member Avatar for Oxiegen
0
243
Member Avatar for collin_ola

Hi, The code shown below sucessfully saves text onto a line in a txt document, but using the array, I want to be able to save each piece of text on a separate line. How would I do this? Thanks in advance :) Dim filePath As String Dim objectWriter As …

Member Avatar for collin_ola
0
182
Member Avatar for bazzer14

I want to know how to create our own file, such as: (.Docx). If we opened the file in notepad the characters contained in the that's file could not understand, so i would like to know by what method of making the it's file? Is the file created and use …

Member Avatar for bazzer14
0
137
Member Avatar for Iamateur

Follow this link: http://www.daniweb.com/software-development/vbnet/threads/423122/crystal-report-from-date-todate/2#post1808761 As I am not getting any reply there and if any one else can solve this problem then please do reply or tell me any other alternative. Ok The problem is : 1]Its not showing any report if I click on Button. The button is where …

Member Avatar for Ezzaral
1
159
Member Avatar for jayawant.sawant

Hi all, how to hide process in the taskmanager of windows 7 in vb.net? How to hide any process in windows 7 using vb.net. If you have any solution then please give me the links or urls related to such task. Thanks, Jayawant

Member Avatar for Begginnerdev
0
295
Member Avatar for shahbaz13

Hi there, I have made a spell checker in PHP which does spell checking by splitting the words by space, checks wheather the word is spelled correctly from a database dictionary, if not, It shows some suggestions when a user clicks on it and also highllights the wrong spelled word... …

Member Avatar for Begginnerdev
0
152
Member Avatar for VB 2012

Hi people im back or well atleast for now -_- Gr 11 is Sh...t anyway. Im busy making a database for myself - im using listview not sql or other cr..p (Plain) I would like to get a guide to help me with all features of listview im new in …

Member Avatar for Reverend Jim
0
99
Member Avatar for Iamkenny

Hey guys I have a new problem. I am using mysql as my database. I want to get the sum of an amount between 2 dates heres my code for mysql: select sum(amount) from orderline group by orderlinedate between 'Datehere' and 'Datehere'; But my problem is how do i get …

Member Avatar for wen_cai
0
387
Member Avatar for ahmedsiddiqui86

Hi All, I would like to know how to create freight invoice.. In invoice we want a table with 3 columns first column wil include type of charges second column will include taxable charges with amount in rs third column will include non taxable charges with amount in rs Then …

Member Avatar for ahmedsiddiqui86
0
121
Member Avatar for Sevyt

Is there any way to create a button which basically clears a entire table in your database? I was hoping to have 2 buttons, 1 to empty a table 1 to fill the same table again. The idea is to store a year long values, and at the end of …

Member Avatar for Reverend Jim
0
181
Member Avatar for Omnibus

Suppose one has an open VB.NET form on the screen. How can one have that form printed?

Member Avatar for Begginnerdev
-1
2K
Member Avatar for Iamateur

1] One Windows Form: datetimepickers to accept fromdate and todate respectively. Crsyatl Report Viewer Button to show the Crystal Report. 2]Crystal Report How to do the coding? I tried from my side and also some1 in this forum also helped it but still not able to do it.

Member Avatar for Begginnerdev
0
84

The End.