20,284 Topics
| |
Well, I recently got a program from csharp . But im not familiar with c# . I only got codes from vb.net . Is it possible if you guys help me to translate these following codes to C# ? First set of codes, it will download the file from the … | |
Hi, Reverentjim kindly gave me this code the other day that worked well. There are two more things i am trying to do but cant get my head around it. 1) I want to be able to extract the text after the second \ and before the period e.g. profile … | |
Well, my friend is opening a internet cafe soon . But i need to know how it works to save database, customer's time left and accounts. Im sure they never used MYSQL as database support as it sucks alot. It gets 'too many connections' very often . So how it … | |
hi guys anyone here willing to educate me about stored procedures, populating the datagridview, and using some bindingsource with 4 butttons, <<,<,>,>> i'm a newbie vb.net programmer willing to learn the use of stored procedures.. tnx GOD bless u guys! | |
i want to listview editable it's possible?? please help | |
Hello, it's possible to move listview1 subitem(1) to another listview2 subitem(5) please help | |
How to change the color of selected row of an HTML table without using CSS or Javascript? | |
Hi, My application is in VS2008 coded in Vb.net I have a datagridView on one of my form.This is filled from the database at the load event of the form.The datagridView also has a column of type DatagridViewComboboxcolumn. This DatagridViewComboboxcolumn already has 4 values added to it in its collection … | |
I have a textbox for searching in my access database. For example, my database is dbEmpLis; my table name is tblEmployee; columns in my tblEmployee are fName, lName and mName. What I want to do is,when a user type to the search box, and click the search button, it will … | |
Here's the setting, I have many link labels in my form(I guess around 150 link labels). All of them will handle a click event, with the same condition when clicked. What are the possible solutions regarding to this problem. Because it's not good if I'll do it one by one. … | |
| Hi guys, I have the following coding and i would like to save it using save file dialog. Any idea? Thnx. [CODE] Dim numCols As Integer = dgvExp.ColumnCount Dim numRows As Integer = dgvExp.RowCount - 1 Dim strDestinationFile As String = "c:\username.txt" Dim tw As TextWriter = New StreamWriter(strDestinationFile) 'writing … |
I have two projects: [B]SQLtesting [/B]and [B]Controls[/B]. Their physical locations are: C:\My Documents\Visual Studio 2010\Projects\SQLtesting\SQLtesting\ [forms reside here] C:\My Documents\Visual Studio 2010\Projects\Controls\Controls\ [forms reside here] The code shown below works fine. I run it from the project SQLtesting. It loads a listbox and a checkedlistbox with the controls found on … | |
hello everyone i need help.. i am new in crystal report and i wanted to make a report using vb.net.here is my problem i want to display in my report are the item which is displayed by the datagridviewer.. thanks in advanced | |
Hi, i would like to enquire if there is a tool out there which will convert c# project to a vb.net source? I think it is possible , but i do not know which tool to use.. Thanks in advance . :) | |
I want to make an application in vb.net which will allow user to use mouse in a different way. i.e Dwell Clicking. Suppose user moves mouse pointer at particular location and if the user doesnt move the mouse pointer from that location for 2 seconds then single click will be … | |
I have the code to parse data to a Datagridview and then export that into an excel spreadsheet. How can I export the headers of the datagridview? [CODE] var bs3 = new BindingSource { DataSource = query }; dataGridView1.AutoGenerateColumns = true; dataGridView1.AutoSize = true; dataGridView1.DataSource = bs3; } } private … | |
Plz help me in converting vb code to vb.net [CODE]Function Main() Dim sMsg as string sMsg = MoveFile(DTSGlobalVariables("LoadFileName").Value) if (sMsg) = "" then Main = DTSTaskExecResult_Success else Main = DTSTaskExecResult_Failure end if End Function Function MoveFile(ByVal fileName) on error resume next Dim objFSO as string Dim objFolderDestination as string Dim … | |
i have variable in web page and i want to do: copy two things X and Y x:Name y:code i have make to file ini one for x and one for y in the page , the information like this [CODE] x y x y ..... [/CODE] first line x … | |
I would like to know what is the correct format of virtual path on vb.net or vs 2010. In my project folder, is it advisable to save it in bin folder? If yes, what will be the virtual path of it? | |
I am using a ListView control in my VB Form and I want to save all the data in my ListView control. It has 2 columns and the number of rows can keep increasing depending on the user. Please help me with this query. Thanks in advance. | |
Dear All i need help how to insert data into sql database form a datagrid... this is the example.... i have view data from tabel sales in a data grid product name sales jan sales feb sales mar MILK 10 15 20 Biscuit 7 6 9 Tea 5 15 30 … | |
hi. i just want to ask how can i populate a listview n vb.net that has a is limited by a date from and date to. i have a datetimepicker for start date and datetimepicker for end date and i want do list all the entry of my database in … | |
i need to add explanation to my file i have a little filesystem in my program (so i dont want to use database for files) how can i add and call explanation to myfile i have some ideas but thats last resort couse its not not efficient and hard to … | |
The Rugby World Cup Organizing Committee has decided to embark on a project to automate their score board keeping for rugby world cup games results. This program would be tested and used in the current World Cup and then later could be used in the major rugby tournaments around the … | |
Note, I screwed up and asked how to get DisplayMember text, I meant to put ValueMember... I have a combo box I'm populating from a datatable. It has two columns, one for display and one for value. I can find the index of the associated item in the combobox list … | |
listview1.items.add << it's is possible to declare a specific subitems vertically? i don't know how, but i'm still trying fix this please help here's my sample [CODE] Dim item As ListView Dim row As ListViewItem = Me.lstLicense.Items(0) With row lstLicense.subitems.Add(16).Text = (objDataReader("Division")) End With [/CODE] | |
i need to use copy clipboard for copying files for example i ll copy some file then i need to save this somewhere in my program how can i do that? i searched little but i just can find copying strings. :S I need more than that :) Thx for … | |
Greetings to all. My problem is not particularly VB.Net specific but having looked around this forum, I didn't know exactly where to post it and considering that I'm writing my program in VB.Net, I just decided to do so here. I apologize in advance, if that was wrong of me. … | |
Ok, here's the deal. I'm trying to call make visible an object, i can do this: Button1.Visible = True but, i was wondering if there is a way that i can call it like this. Lets say i have a variable 'OBJNAME' wich value is "Button1". What i want to … | |
Hi friends, I wanted to restrict my text box to have only 10 characters.I have used the following code [CODE]Private Sub txtSpouseWorkPhone_KeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtSpouseWorkPhone.KeyDown If txtSpouseWorkPhone.TextLength > 10 Then MsgBox("Only 10 characters are alowed", MsgBoxStyle.Critical, "Invalid PAN No") txtSpouseWorkPhone.Text = txtSpouseWorkPhone.Text.Substring(0, (txtSpouseWorkPhone.TextLength - … |
The End.