20,285 Topics
![]() | |
I am having difficulty accessing modified data from a dynamic tab control in VB.net. In this case I have a client record with a "one-to-many" relationship to an address table. I have created code that successfully generates and populates the tabs as required. When I attempt to read the individual … | |
Hi friends, New one here...:) and new in vb.NET also I have started building a application which will display some data from access and plot the graph of them.. I have plotted it on one form, but i need zoom that graph runtime if user wants so..I am planning to … | |
good eveninh sir/madam, error is :- An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll Additional information: System error. code is : - Dim a, b As Date a = Date.Now.Date b = a.Now.AddDays(-7) Dim dataset2 As New DataSet Dim myconn As SqlConnection = New _ SqlConnection("server=;database=project3;uid=;pwd=") Dim obj_deletecommand As … | |
Hello. I have sadly been trying to solve this since 1pm, (its now 9) Basicaly i have a single instance project when a user right clicks an image it trys to host it. i use this code (yes this really did take me all them hours to get) [code] Private … | |
Hi, I would like to know if there is a way to rename a label which is inside a GridView during the runtime. What I'm trying to do is: if the user chooses an option, Label.Text will be "Option 1"; if he chooses the other option, Label.Text = "Option2". Is … | |
I am using a data connection (i don't know what...) I just have a connection string in APP_CODE and some supporting codes to execute it. (That's not the question) Well What is your recommended DB connection in ASP.NET, Is the real world still using ADO? is ADO for simple website … | |
I tried to sum a column using the Dim myValue As Double =myDt.Compute("Sum("total cost"),"Condition") But I ony end up with the result. SyntaxError:SytaxError in argument: expecting an argument for singel column with possible "Child"-qualificator. Anyone knows what I do wrong I tried the same code with the column quantity and … | |
(As a warning - if at any point you think "umm why don't you just use X to get your 2 column display - I'm all for that! This is the only way I came up with). I want to end up nice looking display of data on the form … | |
Hello guys, i am in final year and planing designing an E-voting system for a country. What do you think is the basic requirements for such a system.. Please i need clues thanks | |
Hi all, I've written a piece of software that connects to a server's SQL database. The software has a timer which fires every second, and the timer connects to the database every time and pulls out a list of current to do's from a table (CurrentToDoList). This database only has … | |
I am not too sure if this is easy or not but I have a datagrid with a return date field. All I want to happen is if any of the dates in the grid are before the current date Datetime.Now then turn a picturebox to visible. I have had … | |
I built a vb.net solution and it works well on my computer but it doesn't on other computer. so what files I have to copy with the solution | |
anyone can help me with this problem to make coding about : example question : me got 1 table with item X,1,2,3 and other table with item Z and value at row 1,2,3 i want make 1st table item 1,2,3 got a same value at other one table at row … | |
How do I export the data in a datagrid view to an excel file? | |
Hi All I need to capitalize the first word of each new sentence as user types. How will i come to know about the start of new sentences? do i need to use regular expression for this? | |
in gridview i have labels in columns. in footer row i have textboxes(multiline) .now if i enter multiline text then after clicking add on label i am getting a big single line.what to do in source i am not getting wordwrap prop for label. thank you in advance | |
I was just wondering for future information if you add a message to a combo box such as this: [code] ComboBox1.Items.Add(ComboBox1.Text) [/code] is it possible to save it in the combo box so that if the form is closed then re-loaded that message will still be stored? Thanks | |
I have a main form with a combobox linked to a dataset when the user selects an account I have another form that opens the customers details on it. I can get it to display the first customer in the combobox but if select a different customer the form loads … | |
Hi, I'm using Visual Basic Express 2008 (VB.NEt). I've created a project which connect to a Microsoft Access Database (OLEDB) & displays the records using textboxes in the windows app. I need to add a button which exports the database to a fixed length text file. Does anyone know the … | |
I have a code that is reading the contents of a xml tag and storing in a variable, e.g. batchVal = TAN,BMC,MIZ I want to replace the , by ',' so that final output looks like batchVal = TAN','BMC','MIZ Please note that the (') at the start and end has … | |
Hi guys , i am trying to create a form which will have a scroll pane so the user will be able to use it in order to view what it will be inside the form .. the problem is that i am designing some questions in the form and … | |
hi all I wld like to make some projects in vb.net so anybody can help me? | |
I need to connect to a foxpro database and fill a dataset with the tables within the foxpro database. Does any one have a solution | |
Hi friends, I am planing to create and vb.NET application in which i have to call some existing vc++ codes... :rolleyes: After some initial reading i found i have to create some .dll and then call them.. but i cant able to do so with existing big code.. I need … | |
Hi all, I'm going to attempt to create middleware in C# and i need some advice. What I'm looking to do is have an open socket, then when our VB app connects to it, it makes another socket and keep the newly connected one open. It then has to get … | |
Suppose I have two exes WindowsApplication1.exe WindowsApplication2.exe..On the form load of WindowsApplication2.exe,I m calling WindowsApplication1.exe & sending the command line arguements..I copy the WindowsApplication1.exe into the debug folder of WindowsApplication2.exe. WindowsApplication2.exe [code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Process.Start(Application.StartupPath & "\" & "WindowsApplication1.exe", "one" … | |
see my code pls Imports System.Data.SqlClient Inherits System.Windows.Forms.Form Dim myConnection As SqlConnection Dim myCommand As SqlCommand Dim dr As SqlDataReader ' the database we'll be connecting to myConnection= New SqlConnection("Data Source=MSALAMEEN;Initial Catalog=Biometric;Integrated Security=True") I am having declaration in the last line above(myConnection) | |
[CODE] Dim SchemaTable As DataTable Try NewFaceOptions.comboselecttable.Items.Clear() SchemaTable = createConnection.GetOleDbSchemaTable(System.Data.OleDb.OleDbSchemaGuid.Tables, _ New Object() {Nothing, Nothing, Nothing, Nothing}) Dim int As Integer For int = 0 To SchemaTable.Rows.Count - 1 If SchemaTable.Rows(int)!TABLE_TYPE.ToString = "TABLE" Then 'Add items to list box NewFaceOptions.comboselecttable.Items.Add(SchemaTable.Rows(int)!TABLE_NAME.ToString()) End If Next Catch ex As Exception MessageBox.Show(ex.Message.ToString(), "Data Load … | |
Hi,... i wish to create databases using runtime in the *.mdb format. The user will hhave MS-Access installed on his/her system but would not havt to manually create a new database using access before connecting through my program | |
Well, i really got stuck into this problem. In my project i wish the user to be able to select a database using an open file dialog box. I am unable to connect with this database. i used the code.. [CODE] createConnection.ConnectionString = _ "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Tostring(ofdselectdatabase.FileName)" [/CODE] and [CODE] createConnection.ConnectionString … | |
i want to overlay bitmap image(size 75 x 75 pixels) on a panel1 that already has a background image and i want to drag and drop the bitmap to another panel 2.The panel 2 has background bitmap image(600 x 600 pixels) and i want to overlay the small bitmap image … | |
hi all i have a media player and listview added to my form. i got the paths added to my listview. that goes fine. the problem is that i want the paths in the listview to play one by one when i click the play button in the player. itried … | |
plz tell me the procedure to deploy the application.i also hav to include a database in it. | |
Hi, I’m having a simple problem, but I don’t know what is wrong. I’m trying to remove all duplicate records from a DataTable using the following code: [CODE]Private Function removeDuplicate(ByVal dTable As DataTable) As DataTable Dim row1 As DataRow Dim row2 As DataRow Const wantedColumn As Int16 = 1 Dim … | |
I have put a background picture in a panel and now i want to drag and drop bitmap images on it.how do i accomplish that? | |
i wanna try using the databinding technique to display all the records in the database in a listbox.plz give me the code n yes does it coz ny problem if i use the inbuilt databinding features during deployment. or installation. | |
acees 2007 vb 2005 error: "Syntax error in insert into statement" [code] m_ColourCount = m_ColourCount + 1 Dim drNewRow As DataRow = m_ColourDataTable.NewRow() drNewRow("CID") = m_ColourCount drNewRow("ID") = m_CustomerCount drNewRow("Colour Name") = txtColourName.Text.Trim m_ColourDataTable.Rows.Add(drNewRow) m_ColourDataAdapter.Update(m_ColourDataTable) [/code] | |
![]() | Is there any way to tell if a shape collides with another shape im trying to make a simple game to test things. Im drawing circles with fillpie. |
Ive made an icon library for my program, so that I dont have my program depend on Windows for icons. I want to know how I can have my program use the icons from that dll file instead of from individual icons that I have in the program directory. | |
Hey guys. I have a program that does a SQL query and parses the info into a text file. The problem is it misses the first row every time it loops. I know the root cause here is my double use of the read function. I'm hoping to gain some … | |
I am trying to populate an MS Access table using VB.Net through a connection string everything else seems to work except when I try to add a new row. I get this error: OleDbException was unhandled Syntax error in INSERT INTO statement Here is the code [code=vbnet] [Dim MaxRows As … | |
:) hi...can anybody help me on how to create a login page in vb 2008 and oracle 9i?please help me..your help are so much appreciated... | |
hi, Just before I start I am new to VB.net, not much experience :) Ok so what I want to do is sort some files in a folder based on the order the files are listed in a text file. Is this possible? So an example, I have a text … | |
Hi, I hav designed a custom control which already has scroll but not inherited from control or usercontrol. Now, i hav added some controls in it using csContol.control.add statement and i want to scroll these controls with scrollbar(vertical). Is it possible to do it? if yes then how can i … | |
Hi all, I have a problem on sending the sms. The message can be sent but the receiver did not receive the full message that is being sent. For example, if i sent the message "helooo", the receiver only receives the letter "h". Here is the code that i am … | |
hi guys heres the problem i have a excell file which reads into a datagrid now everything works fine BUT yes theres alwas a but i want to password the excell file and have the password passed through to excell so far i have pulled out my hair teeth and … | |
hie i want the user to inset the email id in correct format. so i thought of using a masked text box. there are some predefined masks but none for email. plz help | |
help plz....hi i wud like to know how to count each row of a datagrid and display the answer in a textbox. thks | |
Can it be done in vb.net? I've looked online but haven't been able to find anything. If anyone can help me with this, I'd really appreciate it :) | |
Hi guys , i got a problem ,i have some radio buttons in my vb.net project and when i select one for the first question and go through the second question to select its answer the radio button changes to the latest one .. i want it to remain on … |
The End.