20,899 Topics

Member Avatar for
Member Avatar for moone009

VB.net 2010 How I want the date: 2012-01-24 11:48:40.000 How I my program is exporting the date: 1/24/2012 11:48:40 AM currently I am using the sqlreader myreader.GetDateTime(10) which is giving me the format of 1/24/2012 11:48:40 AM

Member Avatar for moone009
0
96
Member Avatar for Alex_2011

Hi, I am trying to write a program that - Generates 3 unique random numbers between 1 and a number entered by the users in an InputBox - Displays the 3 random number results in labels - Count the number of Loops So far I wrote this code but I …

Member Avatar for Alex_2011
0
316
Member Avatar for kje

Hi. I am new to developing services and I am trying to develop a service that can print out labels from something called Codesoft. I have added a reference to the Codesoft component/server. I have tried to make at standard Windows forms application with Exactly the same code and it …

Member Avatar for kje
0
143
Member Avatar for vivekanandaan

Please look into the code and help me ... [CODE] dbInsert.Parameters.Add(dbInsert.CreateParameter).ParameterName = "mr_no" dbInsert.Parameters.Item("mr_no").Value = 1 dbInsert.Parameters.Add(dbInsert.CreateParameter).ParameterName = "mr_date" dbInsert.Parameters.Item("mr_date").Value = DateTimePicker1.Value dbInsert.Parameters.Add(dbInsert.CreateParameter).ParameterName = "item_code" dbInsert.Parameters.Item("item_code").Value = txtItemcode.Text dbInsert.Parameters.Add(dbInsert.CreateParameter).ParameterName = "qty" dbInsert.Parameters.Item("qty").Value = txtQty.Text dbInsert.Parameters.Add(dbInsert.CreateParameter).ParameterName = "mr_status" dbInsert.Parameters.Item("mr_status").Value = "N" dbInsert.CommandText = "insert into mr_head values ('MBBK7490','2',DateTimePicker1.VALUE,txt_itemcode.text,txtQty.text,'N',NULL);" dbInsert.CommandType = CommandType.Text …

Member Avatar for vivekanandaan
0
101
Member Avatar for Ziggy713

Hi Everyone, I'm doing a stock Control System as a school Project using An Access 2007 DB and Visual Studio 2010. I'm trying to do an update Query based on two variables entered into comboboxes, I cannot get the VB to accept the conditions for this, Can anyone Help me? …

Member Avatar for M.Waqas Aslam
0
4K
Member Avatar for khizer03

how to play a video on the background of the form please guide i am really confused

Member Avatar for Jx_Man
1
330
Member Avatar for jayawant.sawant

Hi All, What is equivalent property of Window.document in vb.net? Window.document it is the property in vb 6.0.What is equivalent property in vb.net? in vb.net Web browser.document property is available,but I want Window.document equivalent property in vb.net. Thanks, Jayawant

Member Avatar for Teme64
0
237
Member Avatar for Hawk123

i want my order id to be autoincremented and stored in textbox and when i hit click, it gets stored in datagridview, so i can save my order in bulk from datagridview again. my code have some issue [CODE] 'i put this on formload (order page) Dim order As String …

Member Avatar for M.Waqas Aslam
0
428
Member Avatar for jbutardo

Hi, I have this code that will import the excel sheet to the datatable then inserts it in the database, but I have this problem. I have set the HDR to yes so that the first row will be considered as its header, but the problem now is that if …

Member Avatar for jbutardo
0
942
Member Avatar for jbutardo

Hi, I'm having a little trouble about message box, Since the website has been deployed in the IIS, the msgbox won't work anymore, Now I need a new alternative to create a message box that could also have a validation, something like if msgbox("do you want to save this?", msgbox.yesno) …

Member Avatar for jbutardo
0
332
Member Avatar for jbutardo

Hi! I just have this program that validates if the selected file is an excel file, and I want this to have a separate function for validation so I can use that function to other program, can you please give me an example on how to do this function.. Thanks

Member Avatar for jbutardo
0
288
Member Avatar for jayawant.sawant
Member Avatar for thines01
0
69
Member Avatar for m1234ike

Hello Daniweb, I am starting this thread to receive some help about a permissions problem with overwriting files when moving files to a Cleanup folder from the Desktop. I have researched the issue and it says to modify the permissions in the app.manifest to something like: [ICODE] <requestedExecutionLevel level="requireAdministrator" uiAccess="false" …

0
66
Member Avatar for dashawk

I have been searching this topic over the internet and found a few solutions, but I can't seem to find any for Visual Basic. I tried json from codeplex, newtonsoft but has no luck... the json data that i want to parse is this [CODE]{"sample":[{"id":"1","fname":"kristine","lname":"reyes","address":"manila"}]}[/CODE] hope anyone could help.. thanks

Member Avatar for gusano79
0
600
Member Avatar for Ziggy713

Hi Everyone, I am currently Building a Stock Control System for a School Project and Using access 2007 with Visual Studio 2010 to build the VB. I am trying to use an INSERT INTO SQL Command to insert new stock items into my Access DB. I am getting an error …

Member Avatar for Reverend Jim
0
183
Member Avatar for Johan__

hello. [CODE]Public Class GasPump Private name As String Private quan As Double Private prequa As Boolean Private total As Double Private YN As String Private Const RegularPrice As Double = 13.08 Private Const PrimePrice As Double = 13.56 Public Sub Start() Readinput() Calctotaltopay() Printrecept() End Sub Private Sub Readinput() Console.Write("What's …

Member Avatar for Johan__
0
154
Member Avatar for maccinelyro

Hi. I was creating an enrollment system for my Thesis, and my adviser told me that I must have a Code in my program that Synchronize database from client and server so that if the terminal connection is "Up" the data will go to the server and if the connection …

Member Avatar for lolafuertes
0
241
Member Avatar for Shodow

[CODE]Imports MySql.Data.MySqlClient Imports System.Data.SqlClient Module connection Public conn As MySqlConnection Public Sub xconnect() conn = New MySqlConnection conn.ConnectionString = "Server=localhost;User=root;Database=test;pwd=;" Try [U][B][COLOR="Red"]conn.Open()[/COLOR][/B][/U] MsgBox("Success") conn.Close() Catch ex As MySqlException MsgBox(ex.Message) Finally conn.Dispose() End Try End Sub End Module System.TypeInitializationException was unhandled Message="The type initializer for 'System.Transactions.Diagnostics.DiagnosticTrace' threw an exception." Source="System.Transactions" TypeName="System.Transactions.Diagnostics.DiagnosticTrace" …

0
315
Member Avatar for markdean.expres

Guys anyone know how to stop or close a running program remotely through a vb.net program? I am already aware on how to run or open one using the System.Diagnostics.Process.Start method. I would be needing it in my next project Thanks

Member Avatar for markdean.expres
0
161
Member Avatar for NAJAFEE

I HAVE MADE A SIMPLE PROGRAM FOR INVOICES, e.g. THE TOTAL AMOUNT IS COMING 48,950/$, CAN ANY BODY HELP ME HOW TO APPEAR THIS AMOUNT IN WORDS "FORTY EIGHT THOUSAND NINE HUNDRED AND FIFTY. THROUGH MODULE. THANKS.

Member Avatar for Pgmer
0
88
Member Avatar for shredder2794

Hello all, Is there a way of editing the ID3 tags(title,artist,album, etc) of mp3 files in Visual Basic. Any way of doing this via command prompt or audacity from the command line would also work. Thanks a lot and I obviously am no expert at VB so please be detailed …

Member Avatar for Oxiegen
0
200
Member Avatar for markdean.expres

Guys is there any way that I can create a program that has the ability to check spelling that are being entered by a user or even displays a definition of a word? For example, when a user keys in a word in textbox then displays a definition into another …

Member Avatar for M.Waqas Aslam
0
120
Member Avatar for markdean.expres

Guys I just want to ask why my KeyPress event is apparently not working. What I want is that when I press the letter m, the selectedindex property of my listboxes would change. Here is the code; Select Case Asc(e.KeyChar) Case 13 Try tray.ListBox1.SelectedIndex = tray.ListBox1.SelectedIndex + 1 tray.ListBox2.SelectedIndex = …

Member Avatar for weeraa
0
242
Member Avatar for idhasitha

how can i insert data from data base with selected Datagridview columns i have insert combobox to Datagridview and it can load data from DB now i need insert data to another columns in Datagridview when i change combobox items plzzz helpppppppppppppp

Member Avatar for kothaisaravan
0
135
Member Avatar for m1234ike

Hello DaniWeb, I have a new idea for an app: I have an external harddrive and I usually backup my desktop with a cleanup folder which I usually move to the external harddrive. The problem is: when I search for a file (i.e. example.mp3) I will find multiple copies which …

Member Avatar for codeorder
0
284
Member Avatar for Alex_2011

Hi, I want to add a button (ButtonCalculate) to make the user select this button to generate the loop for calculating the sum. [CODE] Private Sub TextBox1Integer_TextChanged(sender As System.Object, e As System.EventArgs) Handles TextBox1Integer.TextChanged Dim OddSum As Integer = 0 Try Dim CountTo As Integer = TextBox1Integer.Text For Index As …

Member Avatar for Alex_2011
0
227
Member Avatar for ng5

i am having trouble linking 2 listboxes together... What i woud like to happen is a selecting from listbox1 to populate listbox2. Any ideas on what to do? thanks in advance

Member Avatar for codeorder
0
150
Member Avatar for Mits14

i have this code in my btnsave..it can detect conflicts but after that a dialog box saying: An unhandled exception of type 'System.NullReferenceException' occurred in AppointmentSchedulingClient.exe Additional information: Object reference not set to an instance of an object. and it points to the green one below. [CODE] If Val(cbostart.Text) > …

Member Avatar for Begginnerdev
0
787
Member Avatar for kindofsudden

This is my very first trigger and I'm not sure I have it set up correctly. I have a table called PayTypes. Here is my trigger syntax: [CODE] ALTER trigger payTypes_trigger on PayTypes AFTER INSERT, UPDATE, DELETE s PRINT 'AFTER TRIGGER EXECUTED SUCESSFULLY' [/CODE] I run this with a breakpoint …

Member Avatar for adam_k
0
218
Member Avatar for dashawk

guys, can anyone help me on this problem? i have two tables then what I want is that, when an identical item is found in table2, it will not be displayed. Example: [CODE] Table1 Table2 item1 other1 item2 other2 item3 item2 item4 item3 [/CODE] Condition: if we use this query: …

Member Avatar for Reverend Jim
0
265
Member Avatar for moone009

I built an app to create a night export of data. I am new to programming (basically I have found vb.net to be more powerful than SSIS) and I was looking for tips in improving my basic program. [CODE] 'Declared columns from SQL Script Dim Servicenumber As Integer Dim pilotarea …

Member Avatar for moone009
0
148
Member Avatar for Ziggy713

Hi Everyone, I am currently Working on a School Project which has the form of a stock update System. I am using an access 2007 DB and building my code in Visual Studio 2010. I am trying to get an Update Query to work and I am completely unsure on …

Member Avatar for Ziggy713
0
313
Member Avatar for Frederick2

How can I cause the Paint event to fire from a Form_Click() event? This is what I'm trying to do... [CODE] Public Class StrTests01 Private Sub StrTests01_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Click Dim ps As Graphics = Me.CreateGraphics() 'RaiseEvent StrTests01_Paint(sender, ps) End Sub Private Sub StrTests01_Paint(ByVal …

Member Avatar for Frederick2
0
591
Member Avatar for neh555

What is the difference between window form application and WPF application? Also i want to know about WPF application.

Member Avatar for Reverend Jim
0
165
Member Avatar for daydie

hey guys im really stuck, when i run y program if finds fields fill's them in and submits, but sometimes the page does not have them fields and i just want it to skip them if not found so it continues otherwise it crashes. my e.g field: WebBrowser1.Document.GetElementById("subject").SetAttribute("value", TextBox3.Text) please …

Member Avatar for thines01
0
125
Member Avatar for vivekanandaan

Hi, I am having the below situation ... In the form i will itemcode, quantity and rate controls.... If i click the add item button after putting values it should get saved in one temp table and should display in the side of the table. The fields should get automatically …

Member Avatar for kothaisaravan
0
175
Member Avatar for Cronicle8

Good morning, Here i am again, asking help to all of you that are able to help me, my problem is the following, i translated some code from C# to VB, mas the code in C3, what it does is change the wallpaper and it's style for Windows Starter, but …

Member Avatar for Cronicle8
0
235
Member Avatar for Sunny28525
Member Avatar for lasalle

I'm trying to automate browser at google website, [URL="http://www.google.com/finance/option_chain?q=nflx"]http://www.google.com/finance/option_chain?q=nflx[/URL]. There are several expiration dates in the drop down list. If you choose one, the option table below is updated accordingly. The website script is listed below. [CODE]<div id="expirations" class="id-expirations float sfe-break-left"> <select> <option value="0">Jan 21, 2012</option> <option value="1">Jan 27, 2012</option> …

Member Avatar for ashishgh
0
340
Member Avatar for kushwah0812

Dear Friends i have an application using Oracle10g as backend database and visual Basic 2008 front end tool. my problem is i have one application where more thn one user are working on a particular form and when a button, named proceed, pressed it generate next number and stored in …

Member Avatar for ChrisPadgham
0
127
Member Avatar for jmt0

Hi, I'm working on a program and keep getting the error "conversion from string to integer is not valid" for one variable and "conversion from string to type double is not valid." I'm fairly new at vb.net and I thought if you converted it you'd be okay. However every time …

Member Avatar for ChrisPadgham
0
435
Member Avatar for Sevyt

I am writing a small program to quickly search through a archive. But i cannot figure out how to get it to filter. I got my regular fields like firstname,lastname, gender, birthyear, street, city, zip, phone. Which i can search through by just entering one of these fields. Then i …

Member Avatar for Reverend Jim
0
236
Member Avatar for roottybrian

Hi guys, Have been trying this out for sometime with no success. I want to be able to use pdf printing application like pdfprinter to print my vb reports to and then save the reports to a particular location on my computer. Anyone with an idea how i'd achieve that? …

Member Avatar for Reverend Jim
0
372
Member Avatar for gerchi152

in my combo box, I checked use data bound items and I think I properly set the necessary things... also I have retrieve button that has this statement [CODE]strsql = "select * from books where title='" & cmbTtle.SelectedValue & "'"[/CODE] and the error is type character '&' does not match …

Member Avatar for GeekByChoiCe
0
76
Member Avatar for QuickBooksDev

I have several programs that must write to [B]HKLM[/B] in XP and Windows 7/64 Pro. The programs work in VB6 but not in VB.Net 2008 on target machines. It does works on our development machine. Same exact windows. User is an Administrator. NOT using Run as. Both programs are using …

Member Avatar for QuickBooksDev
0
391
Member Avatar for J0hn30

Hello. I'm trying to create a software in VB.Net to disable the following from a Windows 7 pc. - Cut, copy, paste, rename, delete, open, print, share, create shortcut, open with, send to, properties. I want to give users the option of disabling them selectively/individually via checkboxes so those options …

Member Avatar for J0hn30
0
2K
Member Avatar for Shodow
Member Avatar for TheQuestor

[CODE]<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <addon id="plugin.video.stagevu" name="StageVU" version="1.3.6" provider-name="AJ"> <requires> <import addon="xbmc.python" version="1.0"/> </requires> <extension point="xbmc.python.pluginsource" library="default.py"> <provides>video</provides> </extension> <extension point="xbmc.addon.metadata"> <summary>stagevu: Watch video</summary> <description>Watch what you have been searching on internet.</description> <disclaimer>The video add-ons hosted by my XBMC add-ons repository(aj add-ons) makes no warranties, expressed or implied, and hereby …

Member Avatar for GeekByChoiCe
0
304
Member Avatar for wael meto

HI ALL I HAVE SMALL PROPLEM I CANT SOLVE AND I THINK ITS SIMPLE I ONLY TRY TO FILL THE DATASET WITH TABLEADABTER BY SELECT WHERE IN FILL,GET METHOD BY SELECT STENAME, PATENT, RCOMER FROM FOURNI WHERE (RCOMER =@RCOMER) I ALWAYS GOT THE ERROR Error in WHERE clause near '@' …

Member Avatar for wael meto
0
224
Member Avatar for SeniorAlexandro

Hi, I have been trying to change the highlight color when the mouse gets on it of the stripmenu...how do I do that? Thanks in advance.

Member Avatar for Oxiegen
0
3K

The End.