20,285 Topics

Member Avatar for
Member Avatar for maccinelyro

Hi. Im Using a treeview control in my Enrollment System. is there any way I can Change the style of my treeview1 nodes that is button like style and it is not like a flat style. thanks.

0
53
Member Avatar for Hawk123

i tried to customize the column name because the column name in my datagridview comes directly from the table column name, which is kindda odd. i browse throught this forum and other forums on howto's but i get this wierd error. [CODE] Dim dgTS As New DataGridTableStyle Dim ColStyle As …

Member Avatar for Hawk123
0
531
Member Avatar for sw8revenge

gud day... i just wanna ask if someone could give me a sample code of a user's activity log ..where it records the time of login and logout of the user .. and also records the users deleted, created and updated data... .tnx :D and should i also create a …

Member Avatar for sw8revenge
0
1K
Member Avatar for SeniorAlexandro

Alright, I have a Form with a Media Player in it. Which plays a Song. [CODE]AxWindowsMediaPlayer1.URL = My.Computer.FileSystem.CurrentDirectory & "\Music.mp3" AxWindowsMediaPlayer1.Ctlcontrols.play() AxWindowsMediaPlayer1.settings.playCount = 999 Me.Opacity = 0 [/CODE] It's playing in the background since the Form is hidden. When I play it [B]in[/B] Debug, everything works fine. When I run …

Member Avatar for SeniorAlexandro
0
693
Member Avatar for VB 2012

Okay Ive found some code on how to display Virtual and Physical Memory but its not working :'( any help :@ Here i show the timer will start : [CODE] Private Sub TabControlMemFreePlus_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TabControlMemFreePlus.SelectedIndexChanged If Me.TabControlMemFreePlus.SelectedIndex = 1 Then LoadStorageToolStripMenuItem.PerformClick() Call UpdateProcessList() …

Member Avatar for codeorder
0
180
Member Avatar for Fungus1487

below is a very simple encryption class which shows how to encrypt sensitive data (very simply) this example converts a string to hexadecimal form and back again with some simple error handling. please leave some feedback if you find this useful

Member Avatar for enelramon
0
370
Member Avatar for sujimon

I have a storedProcedure in SQL-Server that I am using to delete duplicates from one of the tables. This storedprocedure makes use of a cursor. I tried to create the same storedprocedure in microsoft access by just replacing the 'CREATE PROCEDURE' with 'CREATE PROC' but it didn't seem to work. …

Member Avatar for thines01
0
185
Member Avatar for PutingPanday

please help with my project here it goes... I want the every text in my label to be different color example label text is Visual the color of V is black and the rest will be red and if I press the key i the letter i will be black...

Member Avatar for codeorder
0
325
Member Avatar for remya1000

I’m using VB.Net 2008 application program. I’m using DataGridView, where column types DataGridViewTextBoxColumn. I have 3 fields. 1 field values are numeric, 1 field values are string and 1 field values are decimal. When I try to sort the string value column, it sorts correctly. But when i try to …

Member Avatar for Begginnerdev
0
181
Member Avatar for Shodow
Member Avatar for Reverend Jim
-1
290
Member Avatar for Atmos1234

Hi All, I need a help converting CP437 ([url]http://en.wikipedia.org/wiki/.nfo[/url]) to UTF-8. Its like this online converter.. [url]http://kanjidict.stc.cx/recode.php[/url] EG: I need this ▄ converted to [CODE]▄[/CODE] & #9604; with a space because this software converts it already Look for samples on the internet but cant find any.. Im total noob so …

Member Avatar for Oxiegen
0
961
Member Avatar for Trle94

Hey guys I'm working on some app for school that will be easier for my class to do homework and so on... Well first of all i got app to convert Degrees, Minutes and Seconds to DECIMAL. But now i need to get DECIMAL back to Degress, Minutes and Seconds, …

Member Avatar for adam_k
0
163
Member Avatar for Ggalla1779

Hi guys I need to find next highest no in a field that is a stick ref it has chars at front and 0 padded How so I strip off front chars and 0's to get actual highest no number in the table field? Am using LINQ against entity framework …

Member Avatar for thines01
0
221
Member Avatar for artemix22

i have 1 listbox that contain : cloth, jeans, bra (directly from database) and 1 disabled textbox. The purpose is, when user click cloth or jeans or bra in listbox, textbox should show the price automatically, how can i do that?? this is my code to add item in list …

Member Avatar for artemix22
0
149
Member Avatar for kikiwisaka

Hi... I am creating function searching on my web with drop down list, text box and button search. The following code: [CODE] <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> <asp:ListItem></asp:ListItem> <asp:ListItem Value="Pelanggan Rumah"></asp:ListItem> <asp:ListItem Value="Meter Besar"></asp:ListItem> <asp:ListItem Value="Kios Air"></asp:ListItem> <asp:ListItem Value="Pipa"></asp:ListItem> <asp:ListItem Value="Pembayaran"></asp:ListItem> </asp:DropDownList> <asp:TextBox ID="CariText" runat="server" Width="100px" Height="23px" CssClass="text_boxt_search"></asp:TextBox> <asp:Button ID="Find" …

Member Avatar for geniusvishal
0
319
Member Avatar for TheWayEnd

Hi,everyone My project is scanner for example. Then This is my code... [CODE]Dim htmlele As HtmlElementCollection htmlele = WebBrowser1.document.GetElementsByTagName("h3") For Each htm As HtmlElement In htmlele Dim chld As HtmlElementCollection = htm.GetElementsByTagName("a") For Each ch As HtmlElement In chld ListBox1.Items.Add(ch.GetAttribute("href")) Label1.Text = ListBox1.Items.Count & " Bulundu." Next Next[/CODE] but here …

Member Avatar for TheWayEnd
0
301
Member Avatar for NetJunkie

Hello DaniWeb, it has been a while since I have asked a question here so I thought now would be a great time to do so. I am creating an application that loops through the file names of a specific directory, in this case, the System32 folder. I want the …

Member Avatar for Reverend Jim
0
199
Member Avatar for srm2010

Hello there, I am using winform for printing a receipt created in vs2008.I have buttons that is printing my receipt.I have used pagesetupdialog,printdialog etc in my form programatically.What I want is to have icons of these controls which I have used the way they are availale in msword.I have got …

Member Avatar for Netcode
0
120
Member Avatar for Shreya J

Hi All, I am currently working in a project that needs Telerik Controls in it. But this concept is entirely new to me. Please guide me with its use and implementation in a Project. I need to know even the A B C's of the concept . Thank you in …

Member Avatar for Shreya J
0
184
Member Avatar for Contagious98

I am having a difficulty in this login form that I have made. The same as the premade template login in VB 2008 which I am using right now. Here's what happens when I run the program Log in form open > Log in successful > Main window appears *The …

Member Avatar for Contagious98
0
281
Member Avatar for weeraa

I know how to create a setup file. We know that vb.net exe will run under .Netframe work. but most of the computers haven't .Netframe work. So i want to include .Netframe work to the setup file and it should be auto install when installing my software. Please tell me …

Member Avatar for M.Waqas Aslam
0
167
Member Avatar for mrbungle

I have a hard coded connection string that DOES work just fine- [CODE]Public urlMySQLDatabase1 As String = "Server=170.200.80.90;port=3300;Database=DatabaseName;Uid=UserID;Pwd=Password;"[/CODE] However, I want the server and port to be dependent on the values in a textbox. I thought something like this would work but it won't connect- [CODE]Public urlMySQLDatabase1 As String = …

Member Avatar for M.Waqas Aslam
0
201
Member Avatar for dksmall

What would be the best approach to create the following: A groupbox that contains several labels a groupbox with an array of 8 labels in it Then the main form would have 4 of these groupboxs (object?) and I would need the ability to change the color and text of …

Member Avatar for dksmall
0
242
Member Avatar for pradeepreddy

HI this is pradeep, i m vb.net learner,my English not good dont mind what i need is i what to get all information within the parenthesis of Sin(). for example , i have created one one textbox in my user interface. i wanted users to enter some trigonometric expresiions like …

Member Avatar for codeorder
0
102
Member Avatar for shann1718

i have an mdi form. always display this error on closing. i have this code on its closing button [CODE] Private Sub mdiprfct_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing If MessageBox.Show("Are you sure want to quit? ", "Confirmation", MessageBoxButtons.YesNo, MessageBoxIcon.Question) = Windows.Forms.DialogResult.No Then e.Cancel = True End …

Member Avatar for ryanjayson
0
83
Member Avatar for Contagious98

Guys, just a newbie programmer here. With 1 week experience in VB2008. I'd like to ask for assistance on making one of these inventory systems concepts. I hear its one of the basic programs a newbie can make. This will be made for students financial monitoring. Like how much they …

Member Avatar for Contagious98
0
192
Member Avatar for mikeybware

I have an Invoice.accdb database (in MS Access) that I am pulling into a MicrosoftReportViewer. I am having trouble subcategorizing the data, and was wondering if anyone could offer a little insight please. I would like to display the data as follows: Invoice Date [INDENT]ID Patient Name Pt ID Status …

Member Avatar for mikeybware
0
111
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
363
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
136
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
212
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
457
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
205
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
180
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
315
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
141
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
286
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
599
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
181
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
153
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

The End.