20,278 Topics

Member Avatar for
Member Avatar for Begginnerdev

Hello my fellow Daniwebaholics! I know it is kindof off the wall, but I need help converting a piece of C# code to VB.net. I know a little C#, but not enough to be able to convert complex syntax from one to the other. Here is the code in C#: …

Member Avatar for Begginnerdev
0
353
Member Avatar for cooket3

Hi I have a macro in excel that, creates an email in outlook. The issue I have is, this spreadsheet can be used by multiple people and I want their corresponding email signature in the email when they send it The signature code I have is : SigString = "C:\Documents …

0
134
Member Avatar for AquaNut

Hi all, I am trying to error check a piece of code and hope someone can help. This is from my previous thread which 'Codeoder' help me on.. [URL="http://www.daniweb.com/software-development/vbnet/threads/403994/1725770#post1725770"]http://www.daniweb.com/software-development/vbnet/threads/403994/1725770#post1725770[/URL] I have a RTB which I import with a set of 7 or 9 didit numbers, 7 for Staff and 9 …

Member Avatar for AquaNut
0
207
Member Avatar for GAiXz

GOOD DAY PROGRAMMERS!! :twisted: i just want to know How to do this kind of problem [url]http://www.daniweb.com/forums/attachment.php?attachmentid=23623&stc=1&d=1327489022[/url] i just want to save the date interval like i will select the Start Date and End Date ex. [COLOR="Red"]Start Date/Time: 26-Jan-12 / 03:00:00 PM End Date/Time: 31-Jan-12 / 03:00:00 PM [/COLOR] how …

Member Avatar for codeorder
0
455
Member Avatar for daydie

hey guys this code is not working [CODE] Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Do Until X = TextBox6.Text X = TextBox5.Text + 1 Label4.Text = X Me.Refresh() WebBrowser1.Document.GetElementById("subject").SetAttribute("value", TextBox3.Text) WebBrowser1.Document.GetElementById("message").SetAttribute("value", RichTextBox1.Text) WebBrowser1.Document.GetElementById("btnSubmit").InvokeMember("click") WebBrowser1.Navigate("http://forum.ea.com/uk/pm/sendTo/" & X & ".page") ReaderTimer.Interval = 5000 ' In thousands …

Member Avatar for codeorder
0
201
Member Avatar for BharatBodage

Dear sir, I need your help for VB.net 2008. Currently i am MCA student. I have develope a small apllication. I required help for Browse button & Print button. Browse button can accept path of image from any drive & of any type. And print button gives command of print …

Member Avatar for codeorder
0
178
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
92
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
313
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
138
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
99
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
3K
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
327
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
235
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
421
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
941
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
329
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
282
Member Avatar for jayawant.sawant
Member Avatar for thines01
0
67
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
64
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
582
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
176
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
151
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
237
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
266
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
154
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
85
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
193
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
117
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
238
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
133

The End.