20,285 Topics
![]() | |
Visual Basic 2005 Express Edition: This works, but, I need to get the .wav file from Resources: My.Computer.Audio.Play("C:\Documents and Settings\Owner\My Documents\Visual Studio 2005\Projects\OrthoLabRx\OrthoLabRx\Resources\PodVwBy.wav") I placed the .wav file in Resources, but, I can't seem to access it from there. This does not work: My.Computer.Audio.Play(My.Resources.PodVwBy) It says "value of type 'System.IO.UnmangedMemoryStream' … | |
I'm new to datasets, and trying to update a SQL Server database with one. I'm having trouble understanding how to correctly write the dataset info to the server db and preserve the relationship keys. When I write to the main table in the server database, it will assign the new … | |
hi ppl.. i want to create form where one part of the form should be a browser(i have used web browser control s ) and other is a visual studio 2005 application. i used the follwing code Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click System.Diagnostics.Process.Start("C:\Program … | |
please tel me how to use my classes declarations and definetions in c++ with vb.net | |
hi I have two forms, form 1 has list1 and form 2 has list 2. I need to use one context menu (cmenu)which is work in form 1 and it must be in work form 2 too the same context menu.. but there is a problem with Print Preview which … | |
Hello All, i have an aplication to make that converts a rtf text into html and then the html code must be shown into a web browser. What can't I do is to convert the HTML Code into a html website. To make myself more clear, what i want from … | |
Good Morning I am using vb.net & access ,I have a office.mdb file ,now i want that when i click on a button that automatically must have that .mdb file & than must display a savedialogbox & where user give the location for saving that .mdb file that must be … | |
Hello sir, I want to search for nodes from the text given in textbox1. After the search i want only those nodes to be displayed in treeview. | |
hi every body, plz someone explain in detail "Sql Command Builder" in Vb.net. Also i need a Code to develop "SMTP server" i mean that i want to send an email from my own project , how can i do that, plz explain. | |
hi all, I have a XML file like as shown below.. i need to replace the value of status for a particular task..can u help me how to do it.. <?xml version="1.0" encoding="utf-8"?> <Task> <TaskName tskName="PS0002440" Status="Open" /> <TaskName tskName="PS0002439" Status="Open" /> </Task> in the above file..i need to change … | |
Dear All, AM creating a XML file from my Database. I have created Sucessfully and now i need to append a another node to this below XML file Ex : <TaskName Value="PS0002440" Status="Process" /> I use the following code to create this below XML file. Am passing the Value and … | |
Hi, I have the following codes: [code] me.hide() staff.show() [/code] It run smoothly for the first time,but when I execute it for the second time,it occured the following errors: Unable to copy file "obj\Debug\FYP.exe" to "bin\Debug\FYP.exe". The process cannot access the file 'bin\Debug\FYP.exe' because it is being used by another … | |
hi can anyone know where can i find an installer vb.net? i want to learn this language but i don't have any installer :( | |
Dear Friends. I need to copy particular columns from a listview to a XML file. Example i need 1st and 3rd Columns data's to be copied to a XML file. Can any one help with any example code..How to get the Column data from a Listview.. Thanks and Regards, Jayaprakash | |
Hi, Actully i wanted to merge two txt files into one txt file. (i.e. second file has to be appended to the first file). please give me some solution for my problem. I am new to vb.net, so pls elaborate the solution. Thanks in advance. | |
I have two fields in a table(dept_code and DEPT_name) in SQL.In my form iam having two comboboxs. one for dept_name and the other for Dept_code.What i want is that when i select a particular dept_name from the combobox its associated dept_code should come in the other combobox???? | |
| |
i want to loop this could because i do not have a fixed number of values: [code=vb] Private VoteArray() As Integer ' Array for items (integers in this case) Private Const VOTE_ARRY_SIZE As Integer = 3 ' Number of items in the array ' A help variable to hold "voted … | |
With this code: [CODE] Imports System.Text Public Class Form1 Public quoteStr As String = Global.Microsoft.VisualBasic.ChrW(34) Public illegalChar As Boolean = False Public asteriskReplacement As New StringBuilder(" ", 4) Public asteriskComboIndex As Integer = 0 Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim keyboardCharacters As String() … | |
Hey, I face a problem in updating data to the original database. Everytime when I clicked the update button. an error came out in the coding where I highlighted below, saying syntax error in update statement! Can somebody please pin-point my mistake?:'( [code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal … | |
Here is what I want to accomplish--I want a ListBox exactly like everyone else uses (almost always)! When the user mouse-clicks in the box and enters a keypress, the first item in the dropdown list, with that char as a first char, is selected. The values are restricted to those … | |
i want to store multiple values in an array. lets say the variable name is voternumber which is a unique number that is generated which is between 1 and 5000. i will output the voternumber to a voter and then as them to input it so that i can perform … | |
I would like to know the purpose of using the table adapter in vb.net, how to use it and how to relate it to the coding section when it is used? | |
I have an application in that i have a gridview in that gridview i have a textbox and the textbox changes to dropdown and when i select value from dropdown that value goes to database ,how can i do this.Please help me out. | |
Hi, im working on a mouse recorder. My problem is that i cant get the mouse click to work, everything except for the mouse click works. I've tried with several tutorials around the web, but i get errors on the declarations because two of them are named mouse_event. Thanks, Dajak. | |
I have an application in that I have a form in which news are rolling up and i have taken gridview in that gridview news are rolling and i want to insert new event in that gridview.How can i do this. I want that when i click on the gridview … | |
[COLOR="Red"]Dear friends, I am new To Vb.net World. I have to Create a XML file like as shown below. <Task> <TaskStatus ID="PS0002436" status="Start" /> <TaskStatus ID="PS0002435" status="Start" /> <TaskStatus ID="PS0002434" status="Start" /> <TaskStatus ID="PS0002432" status="Start" /> </Task> Is there any Code available for creating... i need to add the "Value" … | |
I'm an MCA student i want to do mini project in ASP.NET can anyone prefer some title for that. | |
please i just got this visual basic 2008 installed on my system and i would have started work if not for the fact that i cant locate the tools on the toolbox, and what can i do without tools? plaease how can add the tools and get them working.... | |
hi dear, i need to develop custom openfile dialog box with preview in VB.NET like shown in attachment... plz help me... many thanks, | |
I am coding a program which will simulate a ballot box, where voting wil take place. The code generates a random number which is the voter number which is unique to each voter. This is output to the user before voting. I would like it to perform a check to … | |
Hi New Here, I am struggling with a project am doing in Visual Basic 2008 where I am intergrating a access 2000 database. I cant seem to use the VB2008 program to search one field from the database (House Numb er, Id like to search btw). Any help people...... Thanxs … | |
Hello sir, I would like to create exe files from VS2005 From my project, on button click it automatically wants to create new project (compiled as single exe) with a label(captioned as "Sample") and textbox and Button on a form. In that form it also wants to add coding for … | |
hi, I have Created a vb.net Application with MS ACCESS DATABASE, everything is working fine, But, There is a small problem . Everytime i ADD a new record it saves succesfully but i can only view that particular saved data only after restarting the application..Pls Help me ****************************************************** Imports System.Data … | |
Hello everyone... Plz help...i want coding for saving password each time i log in. I do not want to type the password again and again. The form is connected to FTP server. I m not authorized to make changes in that but i can create a folder for the passwords … | |
All these New Object()s are identical (and in fact, much longer!) How do I declare a single instance then reuse it in each ComboBox .Items.AddRange()? I am using Visual Studio 2008/Visual Basic. [CODE] verticalBarComboBox.Items.AddRange(New Object() {" single space", "- hyphen", " - <single space>hyphen<single space>", "` open single quote", "=", … | |
Does this leak memory? [CODE]Dim Public strBldr As New StringBuilder("test", 5) ‘alloc a StringBuilder MsgBox(strBldr.ToString()) ‘use the StringBuilder strBldr = New StringBuilder("a", 2) ‘did the destructor of StringBuilder holding “test” 'free up its memory? [/CODE] As StringBuilder does not implement a Clear() method, and I am having timing issues with … | |
Hi all How can datagrid column adjust text larger than its width? | |
Hi, I would like to know how can I apply visual styles in my projects. I've tried to use System.Windows.Forms.ButtonRenderer.DrawButton, but it doesn't seem to work. I have Visual Styles enabled, so I don't know whats wrong. Thanks | |
[COLOR="blue"]Dear Friends, Am new to vb.net environment. i need to display the number of lines in word file using vb.net..please can anyone help me with this. any code will be appreciated.. Thanks and Regards, Jayaprakash[/COLOR] | |
Is it possible that Treeview have Backcolor transparent. Cz when i select the properties of Treeview & choose BackColor transparent..error is there property is not valid. | |
Hi everybody, if you please i have a problem with the display field of a combobox column in datagridview... here is my code to add the column : 'First filling the datatable Dim dt As New DataTable Dim da As New SqlDataAdapter Dim query As String = "SELECT id, name … | |
i am using vb dot net. i want to store multiple values in a variable and then check whether any of the values held in the variable match what the user inputs. Please help i can not code it , i tried but failed. This is not homework just a … | |
Hello sir, I am having nearly 1000 of HTML Pages in my project which are viewed by WebBrowser Control. I want to add notes for every HTML pages in a notepad and must be saved within my project folder. I must also be able to edit,delete it. | |
Hello sir, I want similar coding for treeview, where for linklabel is as follows. [CODE] Private Sub LinkLabel8_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel8.LinkClicked WebBrowser1.Navigate(Application.StartupPath & "\source\test.html\") End Sub [/CODE] | |
Hello sir, I am having treeview control and webbrowser control. I Having three nodes in treeview. Node0 -> ParentNode Node1 -> ChildNode Node2 -> ChildNode So when i click Node1, i want some webpage to be displayed in webbrowser control and similarly with node2. | |
Hi Guys I think the pic will explain better than me [img]http://img81.imageshack.us/img81/6374/printscreen001iy1.jpg[/img] Link To Image [CODE]http://img81.imageshack.us/img81/6374/printscreen001iy1.jpg[/CODE] As you can see Ill I'm trying to do is make forum thread maker/ poster It will be used for easy to update/create tutorials on the forums Any Ideas where do I start Coding … | |
can anyone send me the code for auto generation of an student ID.Pls need in proj urgrnt | |
I am designing one application in which i would like to add messanger. I will distribute my application setup to my friends. what i want is to chat with my friends through this application. Is it possible? (I am not having any website) | |
I'm trying to make a base form which will be inherited by 3 other forms..Problem is the wrong information is in the form. How can you pick which information goes in the inherited forms? |
The End.