20,284 Topics

Member Avatar for
Member Avatar for coolsasuke

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 …

Member Avatar for skatamatic
0
623
Member Avatar for jonoman

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 …

Member Avatar for Reverend Jim
0
178
Member Avatar for coolsasuke

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 …

Member Avatar for Techyon
0
139
Member Avatar for bettybarnes

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!

Member Avatar for bettybarnes
0
278
Member Avatar for TIP.Synergy
Member Avatar for TIP.Synergy

Hello, it's possible to move listview1 subitem(1) to another listview2 subitem(5) please help

Member Avatar for Teme64
0
257
Member Avatar for bhavna_816
Member Avatar for Ehtesham Siddiq

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 …

Member Avatar for Ehtesham Siddiq
0
246
Member Avatar for khentz

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 …

Member Avatar for Techyon
0
123
Member Avatar for khentz

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. …

Member Avatar for GeekByChoiCe
0
194
Member Avatar for hueikar

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 …

Member Avatar for samson_zed
0
597
Member Avatar for tfj

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 …

Member Avatar for tfj
0
1K
Member Avatar for zoraster01

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

Member Avatar for MartinPlatt
0
105
Member Avatar for coolsasuke

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 . :)

Member Avatar for MartinPlatt
0
265
Member Avatar for Andy90

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 …

Member Avatar for Unhnd_Exception
0
219
Member Avatar for caseyl89

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 …

Member Avatar for caseyl89
0
699
Member Avatar for taruna patil

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 …

Member Avatar for hkdani
0
391
Member Avatar for 8mir

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 …

Member Avatar for AnkitGuru
0
152
Member Avatar for khentz

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?

Member Avatar for AnkitGuru
0
187
Member Avatar for ymathur

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.

Member Avatar for mb01a
0
202
Member Avatar for papershop

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 …

Member Avatar for pritesh2010
0
137
Member Avatar for iefilec

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 …

Member Avatar for MartinPlatt
0
469
Member Avatar for Oneryavuz

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 …

Member Avatar for Reverend Jim
0
180
Member Avatar for macvere

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 …

Member Avatar for Reverend Jim
0
146
Member Avatar for tombihn

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 …

Member Avatar for tombihn
0
1K
Member Avatar for TIP.Synergy

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]

Member Avatar for NetJunkie
0
190
Member Avatar for Oneryavuz

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 …

Member Avatar for NetJunkie
0
237
Member Avatar for TriceD

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. …

Member Avatar for TriceD
0
484
Member Avatar for Jesus Jacques

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 …

Member Avatar for Jesus Jacques
0
1K
Member Avatar for deepanbecse

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 - …

Member Avatar for deepanbecse
0
115

The End.