20,279 Topics

Member Avatar for
Member Avatar for Hazuan Nazri

i want to auto bind data to my textbox after user click the textbox and i already make it!! but my problem is, after i click the textbox again, it still same as the first click!!! HELP ME!!!!

Member Avatar for Hazuan Nazri
0
341
Member Avatar for Ahmed.C

Hey guys I was just wondering how can I add all the folders which are in a directory to a listbox. e.g. all the folders in C:\ should appear in a listbox on the form load event. How can this be done? Thanks :D

Member Avatar for Ahmed.C
0
2K
Member Avatar for midnite11

I have a DataGridView whose DataSource is a DataView based off of a Datable. I am allowing the user to filter the DataGridView based on value in cells within a Column. After the user selects the value to filter - I create a filter string and apply it to the …

Member Avatar for midnite11
0
571
Member Avatar for Jhermzb_22

my problem is how to add new records from database using dataset? jhermzb_22

Member Avatar for G_Waddell
-1
110
Member Avatar for Iamkenny

I'm completely clueless to this as I have never used crystal reports before. So I want to use a textbox to pass values into my crystal report so basically only those I inputted into my textbox will be read and be outputted into my crystal report. Here is my code …

Member Avatar for Dili1234
0
2K
Member Avatar for Dili1234

When to trying to display data to datagrid view using query i got an error "a column named date already belongs to this datatable in net 2008" Dim dt As New DataTable Try myConnection = New SqlConnection(connectionstring) myConnection.Open() Dim cmd As New SqlClient.SqlCommand With cmd .CommandText = "SELECT [Date],[Totalamount] FROM …

Member Avatar for Dili1234
0
181
Member Avatar for kipslem

Please could someone help me with this one? I have developed a small application to call several powerpoint presentations. The user will enter the powerpoint number and the powerpoint will be shown in Viewshow form. However this is not the case. The powerpoints are showing in the normal powerpoint form …

Member Avatar for mufu411
0
476
Member Avatar for jennafher

in sheet1, i have a table like this activities date completed drawing jan.1,2013 painting jan.6,2013 (note:this table is downloaded from web,everytime the value on the web changes,the value in the excel spreadsheet also changes.) then, i have a form . it is composed with a combo box and a textbox. …

Member Avatar for kRod
0
157
Member Avatar for Ahmed.C

Hey guys, I was just wondering how I can get a filebrowser to open folders and files and put the path depending whether its a file or folder. e.g. if the filebrowser selects a folder then in textbox1 the folderpath should appear and if the filebrowser is a file then …

Member Avatar for gusano79
0
293
Member Avatar for themaj

Having another brain fart on what I believe is a no brainer. I'm trying to read the contents of a DBF and write it to an ACCDB table; this is a daily event and the DBF has between 500-1200 records each day. I have successfully read the contents of a …

Member Avatar for ss125
0
284
Member Avatar for fuhanspujisaputra

i have been doing like the code below, but why when i clicking the "delete" button, it is delete all records in the datagridview, but it does not updating to the database. And, how do i make only the selected row that has been selected by the user that gonna …

Member Avatar for ss125
0
166
Member Avatar for sachintha

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click myconnection = New OleDbConnection("provider=microsoft.ACE.OLEDB.12.0;data source=C:\Users\DELL\Documents\Visual Studio 2012\Projects\WindowsApplication9\WindowsApplication9\NIBM.accdb") myAdapter = New OleDbDataAdapter("select*from Driverdetails", myconnection) myAdapter.Fill(Ds, "Driverdetails") myconnection.Close() DataGridView1.DataSource = Ds DataGridView1.DataMember = "Driverdetails" End Sub

Member Avatar for kRod
0
227
Member Avatar for pedders

I'd like to programatically add a page border to a document being created. The Macro code from Word is With Selection.Sections(1) With .Borders(wdBorderLeft) .LineStyle = wdLineStyleThinThickSmallGap .LineWidth = wdLineWidth300pt .Color = wdColorAutomatic End With End With I can't fathom out how to convert this, if indeed it is possible, the …

Member Avatar for pedders
0
137
Member Avatar for kazekagerandy

i am working with a messaging feature in my system. i was planning to make it in an old-fashioned way. using tables from the database and then fetch from it. but when i was doing my research, i came across this control messagequeue which from what ive read is much …

Member Avatar for Begginnerdev
0
139
Member Avatar for ricardo.scheufele

Hi, I have a tabcontrol with 3 tabs. Every tab has a great deal of textboxes which I use to refresh the properties of an object. To save my time, I bind the textboxes.Text to the properties of my object. The main problem happens 'cause I can make the binding …

Member Avatar for ricardo.scheufele
0
701
Member Avatar for Hazuan Nazri

anybody can help me? i want to add code after autocompletemode selected, code for autocomplete mode is running good, this is my code for autocompletemode: Dim AutoComp As New AutoCompleteStringCollection() Dim acs As String = "select NDP from DAFTARPELAJAR" acscmd.CommandText = acs Dim acsda As New OleDbDataAdapter(acscmd) acsda.Fill(acds) For i …

Member Avatar for Hazuan Nazri
0
141
Member Avatar for Ahmed.C

Hey guys, I need some help with a combobox. basically I have items in my combobox and when the user types in a letter everything starting with that letter shoudl appear and keep going until the user has typed in the item text and that's the only item remaining. Here's …

Member Avatar for Ahmed.C
0
136
Member Avatar for mohankumar554

hi, how can i get the system admin password and user id into my asp using vb.net program.i need the code for it... can u give me the idea....

Member Avatar for suks
0
708
Member Avatar for anJelo.towT

can someone help me ? whenever i start this program its always says that " compile error type-declaration characters does not match declared data type. then the rs.Fields! will go hightlight. can someone help me ? Dim rs As Recordset Private Sub Form_Load() Dim list As ListItem ListView1.ListItems.Clear Set rs …

Member Avatar for tinstaafl
0
136
Member Avatar for Deepak_14

Hello Everyone, I am working Asp.net website and I got some vicious requirement like I need to use multiple Language Bar ![1f82104a6a8a83f4562cef2dbe2e480e](/attachments/large/4/1f82104a6a8a83f4562cef2dbe2e480e.png "1f82104a6a8a83f4562cef2dbe2e480e") but issues is that whenever suppose I changed master page language as English then automatically content page get reflected this is right. but other hand if i …

Member Avatar for bradly.spicer
0
147
Member Avatar for Ahmed.C

Hey guys, I've been working on this program and basically I've debugged everything and it all works fine on my computer BUT! I tried to take it to another computer to run it and it says "Program has stopped working". I don't get it. I've got all the fiels in …

Member Avatar for Ahmed.C
0
226
Member Avatar for eiallen

hey anybody know how to filter contents in ReportViewer during 'run-time'? somebody told me to read this [U][url]http://msdn.microsoft.com/en-us/library/ms252125%28v=vs.80%29.aspx[/url][/U] but this doesn't help at all because it filters contents in design time. What I need is to filter contents in 'run-time'. thanks in advance :?:

Member Avatar for rhiyan.tale
0
1K
Member Avatar for Andrees92

Hi, this is my first post, and I'm in need of some help making an application that saves the data from a textbox to an access database. This is my code, it gives no errors, but when I use it, ie, I input the text in the textbox and click …

Member Avatar for Andrees92
0
267
Member Avatar for DM Galaxy

I require some help. I want to resize my form from the Corner (Right corner) in the boderless form. I know the coding as for resize it with the four different direction but unknown with the Corners. Codes I used to resize the Form from four different direction (up,down,right,left): Private …

Member Avatar for tinstaafl
0
3K
Member Avatar for HBovenkamp

Good day, I have a vb.net application that reads my default inbox. Now I need to expand it to read the inboxes of other accounts to which I have access. Can anyone please point me into the right direction? Thanks, Hans

Member Avatar for lolafuertes
0
162
Member Avatar for adadziwa

Hi Am working on a project and this time i want the use to choose whether or not to show the splash screen. If the user choose NOT to show a NO is registered in a hidden XML file which tell the program not to show the splash screen when …

Member Avatar for adadziwa
0
137
Member Avatar for bishop_kv

Hi, I have a little problem with reading data from text file which has more than 5000 words. To make long story short, I need to make english to serbian translator.It has to have 2 text boxes,one for english word and one translation; one button for translating. I tried almost …

Member Avatar for bishop_kv
0
177
Member Avatar for Gus_19

I am trying to figure out if and how it would be possible to implement something like a conditional statement for the excel spreadsheet my program writes to. The spreadsheet is created on the fly each time the program opens up. I would like to place a statement along the …

Member Avatar for kRod
0
138
Member Avatar for G_Waddell

Hi, Getting some strange behaviour when using Interop to create a Word document from a template. I'm using word to generate a nicely formatted and printable Receipt from Sage 200 based on a Word Template. The code should open Word then create a new document based on the template I …

Member Avatar for G_Waddell
0
254
Member Avatar for gmmorpheus

Private Sub Save_Record() Dim cmd As New OleDbCommand Dim sSQL As String = String.Empty Dim arrImage() As Byte Dim myMs As New IO.MemoryStream Dim bSaveImage As Boolean = False Dim strImg As String = String.Empty Try If Not IsNothing(Me.pic1.Image) Then Me.pic1.Image.Save(myMs, Me.pic1.Image.RawFormat) arrImage = myMs.GetBuffer Else arrImage = Nothing End …

Member Avatar for Kishan Tilak
0
639

The End.