20,899 Topics

Member Avatar for
Member Avatar for TechSupportGeek

Hi again DaniWeb, this time I'd like you to help me with the text alignment options available in a standard text editing application. My problem is, even though I got the application to successfully align the text where I want it, that if I click on every single option (Justify …

Member Avatar for Luc001
0
2K
Member Avatar for intes2010

I want to create two buttons that would pause and resume my backgroundworker but it is giving me an exception error of "Object reference not set to an instance of an object". It seems like the resetevent is not linked with my BackgroundWorker and i don't know how to link …

Member Avatar for intes2010
0
2K
Member Avatar for sushilsth

Private Sub btnupdate_Click(sender As Object, e As EventArgs) Handles btnupdate.Click Dim myindex As Integer Dim reg As Integer Dim roll As Integer Dim nepaliw As Integer Dim nepalio As Integer Dim mathw1 As Integer Dim matho As Integer Dim mathw2 As Integer Dim engw As Integer Dim engo As Integer …

Member Avatar for M.Waqas Aslam
0
189
Member Avatar for fugio

Hi there ! how to select row from datagridview when column have cells is empty I tried this but nothing worked Please help on this private void selectrow() { int i; for( i=0 ;i<dataGridView1 .Rows .Count -1;i++) { string row = dataGridView1.Rows[i].Cells["Name"].Value.ToString(); if (row =="") { sqlconn.Open(); string sqlquery = …

Member Avatar for ChrisHunter
0
2K
Member Avatar for lexaeterna

i am working on a project and theres a feature that i seemingly want to include, it is the attachment of a word file in an email and the values that are included in the letter are imported from the database using vb.net is there a way to import values …

Member Avatar for G_Waddell
0
322
Member Avatar for satti

How to popup alert message to a 2nd client end when a new data enter in database done by client1 on network ? for example me and my friend using an application for data entry, when i enter any data through software he get an alert message that new data …

Member Avatar for Begginnerdev
0
126
Member Avatar for Mireya B.

Hello, I am using checkboxes for the users to choose one of the options given. My problem is, the checkbox does not uncheck after the data has been inserted into the intended spreadsheet. Means, I have to use command button with clearform instruction to clear the checkbox. How do I …

Member Avatar for kRod
0
400
Member Avatar for ComputerFirstAde

Hi Guys, the project im currently creating is a basic form with calculations, which all works great, my task now is to save the form data (labels, textbox data etc) to a word document, now i have achieved it to do this, but i had to specify the name of …

Member Avatar for BigFatMama
0
410
Member Avatar for adity

could any one please help me with the code for creating a MS word document from a record that already exists in the database using vb.Net coding.. thank you in advance

Member Avatar for BigFatMama
0
273
Member Avatar for sushilsth

Grpnursery.Top = 38 Grpnursery.Left = 20 grpone.Top = 38 grpone.Left = 20 i have 15 groupbox in my form and i want them all to be in same position in form. How to make a function of position and all call to all the controls.. function position() dim grp as …

Member Avatar for ddanbe
0
87
Member Avatar for Fangling

Hi, i have this query: cmd.CommandText = "SELECT DISTINCT PaperNo,ModuleCode1,ModuleCode2,ModuleCode3, ModuleCode4, ModuleCode5, ModuleCode6, ModuleCode7, ModuleCode8, ModuleCode9 FROM(PapersList)ORDER BY PaperNo ASC" and i have this code to loop: Dim dt3 As New DataTable dt3.Columns.Add("AdminNo", GetType(String)) '/*Add column AdminNo dt3.Columns.Add("PaperNo", GetType(Integer)) Dim curmodule As String = String.Empty For Each dr2 As DataRow …

Member Avatar for Fangling
0
2K
Member Avatar for Fangling

i have dt1 from a query cmd.CommandText = "SELECT DISTINCT AdminNo, ModuleCode FROM(SEGDATA)ORDER BY AdminNo ASC, ModuleCode ASC" Dim dt1 As New DataTable dt1.Load(cmd.ExecuteReader) DataGridView1.AutoGenerateColumns = True DataGridView1.DataSource = dt1 another query dt2 cmd.CommandText = "SELECT DISTINCT PaperNo,ModuleCode1,ModuleCode2,ModuleCode3, ModuleCode4, ModuleCode5, ModuleCode6, ModuleCode7, ModuleCode8, ModuleCode9 FROM(PapersList)ORDER BY PaperNo ASC" Dim dt2 …

Member Avatar for Fangling
0
137
Member Avatar for dalebryant76

IF I wanted to change the text inside of a RichTextBox on the click of a button. What code do I need? So far I have: Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click RichTextBox1.Text(???? What goes here? because I'm getting Property access must assign to the property …

Member Avatar for dalebryant76
0
197
Member Avatar for xXdragon15Xx

Hey, I'm very new when working with %userprofile% ect, The code I have now is. When I press the button VB tell me It cannot find the directory. Please note I've tried %Userprofile%, %userprofile% Nothing will work :/ What's wrong? And How do I go about fixing this. Private Sub …

Member Avatar for xXdragon15Xx
0
2K
Member Avatar for JohnKelly

Dear all I have a private MSMQ on a server in workgroup mode (SBS 2011) On a client I can see the queue using System.Messaging.MessageQueue.GetPrivateQueuesByMachine(servername) and am able to read the name of the queue. I am able to write to the queue but am unable to retrieve anything from …

Member Avatar for Begginnerdev
0
139
Member Avatar for billwester

Running VB-2012 on Windows8 PC using MS-Access 2010 (.accdb) and ACE12, I am now getting this error on the database connection. When I used Vb-2010 on WSindows8 PC, the error did not occur. Any ideas on what I can do the Access database to clear this problem?

Member Avatar for Begginnerdev
0
32
Member Avatar for UKnod

I have writen a few DB programms in ADO.net now, and I hate it. It is riddle with confusion and problems, and because of the ridiculous idea of using all the data locally, it makes networking neigh on impossible and incredibly slow, so please please someone show me how to …

Member Avatar for UKnod
0
747
Member Avatar for shers

Hi, I'm working in VB.Net. I have a textbox in which the user enters a number of strings seperated by comma. I store this value in a string array like this [CODE] Dim Src() As String Src = txtVals.Text.Split(",".ToCharArray)[/CODE] I want to search a dynamic string in this array. How …

Member Avatar for markwelbar
0
1K
Member Avatar for GeekPlease

Good day guys, I've been developing softwares in different languages. But, I don't fully understand when to use a specific language where I can fully utilize it's ability. For example (C#.NET vs VB.NET), - When to use C#.NET over VB.NET and vice versa? - What are the projects that can …

Member Avatar for JorgeM
0
587
Member Avatar for major_lost

Hello all; I have a random data file that I created with code. The file contains strings that represent items I want to display in a combobox control. The strings contain multiple fields with headers that describe the data to follow. I have NO problem displaying any single field of …

Member Avatar for Reverend Jim
0
328
Member Avatar for Eruditio

I've written a script to alter images in a number of Excel workbooks. In order to properly access the image information, I need to iterate through all Sheet.Shapes on a particular worksheet. I'm having trouble with grouped worksheets. **How do I ungroup worksheets from VB.NET?** I've tried both activating and …

Member Avatar for Eruditio
0
790
Member Avatar for Learner010

there are 10 labels and 1 button in the form and i want to set some properties using code(which will applicable to lable only) , and for this i used the code For Each lbl As Label In Form1.Controls lbl.Font = New Font("Arial", 12, FontStyle.Regular, GraphicsUnit.Point) lbl.Top = settop lbl.Left …

Member Avatar for Learner010
0
3K
Member Avatar for Eruditio

I've written a script to change all images in many hundreds of Excel documents to a .png format in order to reduce their file size (the largest were coming up on 25MB). **If the images in the Excel document are not in their original orientation** i.e., if they have been …

Member Avatar for Eruditio
0
379
Member Avatar for hennel

I Have a excel sheet with dates that I want to use datetimepicker with (only date needed). I just want to click on datetimepicker, choose a date and it must show me the info in my data grid view. this is my button code. I have a txt box that …

Member Avatar for hennel
0
208
Member Avatar for Papa_Don

Hi group! I hope all is well! As part of my connection string and database insert/update, I have an exception command in it to display an error message. Can this also be read or made into a true/false answer? I would like to have my program run very short command …

Member Avatar for Reverend Jim
0
184
Member Avatar for alfdon1

Please i need a code to search my access database through vb.net 2010 . Also i want the record searched to be displayed on a datagrid or listview with. please help me i am new to programming

Member Avatar for tinstaafl
0
117
Member Avatar for Learner010

as the title , i want to create module for my application . i found that module is used for global declaration or function / procedure defination. but here i want to ask that how to create a module in vb.net which is applicable to all the window forms of …

Member Avatar for shann_
0
224
Member Avatar for camillemimi

this code runs at my other sample prog. but when I try to use it to my actual prog., it wont work. (variables changed, connection's ok) . . . cant show data at listview [CODE] Imports MySql.Data.MySqlClient Public Class Form1 Public sconnection As New MySqlConnection Private Sub Form1_Load() If sconnection.State …

Member Avatar for Alvin_1
0
2K
Member Avatar for Phalla_1

Dear Sir or Madam, I am working on VB. I have 3 columns in my DGV the first column is First Name, Second is Last Name, and the third is Phone Number. I would like to show the First Name of the users while we type the keywords into a …

Member Avatar for Phalla_1
0
233
Member Avatar for Sebastian_1

I have not programed or written code in over 10 years when I was in College. I was / am a Networks Administrator. How, ever I find my self needing a custom interface for a DB system we recently ackwired where I work. I have been doing it in Visual …

Member Avatar for tinstaafl
0
1K
Member Avatar for yagelnnn1

Hey, I think it's a simple code but I can't resolve how to do it.. I have a combobox and I want to "Add All" to a listbox, but without removing them from the combobox.. Here is my code, please help me fix it: If ListBox1.Items.Contains(ComboBox1.Items) Then MsgBox("You can't add …

Member Avatar for tinstaafl
0
151
Member Avatar for yvrej17_1

Hi, I just need some help here.. I want to align the text output in Pole Customer Display like Shoes...........£20.00 Total...........£20.00 but the of total is not displaying the amount and the euro symbol is display "?" Can you help me guys? Thanx a lot in advance Below is my …

Member Avatar for tinstaafl
0
2K
Member Avatar for nosfa

Are variable variables still not available on vbnet? e.g For i = 0 To 10 Me.Button[i].visible = false next i thanks

Member Avatar for tinstaafl
0
174
Member Avatar for imperator

Hi. I have an app whose source code I have lost, and now I need to do some modifications to it. I used .net reflector to retrieve the source code from the .exe file, and managed to extract the code from the main forms. I pasted the code in a …

Member Avatar for tinstaafl
0
221
Member Avatar for sunilkumarasem

Hi, luc001! I am using VB 2008 Express Edition and Access 2007. Here, i want some codes over the database connection issues like successful record updates after the connection is get closed, report generations and all with error handlings. So ll u please help me out with the issues.

Member Avatar for kRod
0
321
Member Avatar for Sevyt

I got a small problem with getting a filter to work for my database. When i test them seperatly it works but when i all add them together they stop working. This is the code i use currently. All of the fields in the database are text, except for the …

Member Avatar for Sevyt
0
207
Member Avatar for dibakarmishra

I want to backup my database from vb.net 2010 and i am able to do this using mysqldump through vb.net 2010, but i want to backup my mysql database without useing mysqldump only by vb.net code. please help me ???

Member Avatar for joshl_1995
0
1K
Member Avatar for Fangling

hi, i have a datagrid which looks like: subject students eg1001 182737H 29837B 29837C 19282W eg1002 192837C 32810H so on and so forth. how can i do a counter and put into a column between subject and students? like: subject numberofstudent students eg1001 4 182737H 29837B 29837C 192823W eg1002 2 …

Member Avatar for Fangling
0
249
Member Avatar for Mr.M

Hi DW I've created a program in java and now because I'm also new in java but I know better visual Basic i couldn't complete the program the way I wanted because there are features I find it hard to do so I just completed the main program on java …

Member Avatar for tinstaafl
0
223
Member Avatar for sakthi.23

Hello, I need some help. I would like to select a record from DataGridView and display it in Telerik ReportViewer. How can it be done? Can suggest me how the coding should be because im a student and new to VB.Net. Thanks

Member Avatar for M.Waqas Aslam
0
138
Member Avatar for Begginnerdev

Hello my fellow Daniwebies! I have a curious, possibly unique, and odd problem for everyone! We support an ASP.NET application which is using VB.NET for code behind. We use LINQ to SQL and classed object for the data retreival. I have an object called...myObject which is being deleted: Public Shared …

Member Avatar for Begginnerdev
0
272
Member Avatar for Fangling

list i have: School,campus,adminno,modulecode,modulegroup SEG AMK 101427Y EG3902 EG3902-G1 SEG AMK 101427Y EGS650 EGS650-G1 SEG AMK 103852S EG3901 EG3901-G1 SEG AMK 103852S EG3904 EG3904-G1 SEG AMK 103852S EGS104 EGS104-G1 SEG AMK 103852S EGS650 EGS650-G1 SEG AMK 106581C EG3901 EG3901-G1 SEG AMK 106581C EG3902 EG3902-G1 SEG AMK 111713M EG3901 EG3901-G1 SEG …

Member Avatar for Fangling
0
107
Member Avatar for frontier6444

Hello, I am trying to create a list that will display recently opened microsoft programs (word, excel, powerpoint, etc) and for it to only show the last 20 items in the list. I am new to programming and I created a ListBox but not sure where to go from there. …

Member Avatar for tinstaafl
0
138
Member Avatar for LennieKuah

Hi Friends, I need your help. Please help me. I am trying to retrieve data from Excel Spreadsheet to fill DataGridView for display prior to updating SQL SERVER using DataGridView Row individually. But the coding is not working as this is the first time I done the coding. this code …

Member Avatar for Reverend Jim
0
421
Member Avatar for Fangling

Hi, i have a database with the following details: SCHOOL CAMPUS ADMINNO MODULECODE MODULEGRP SEG AMK 100810R EG3932 EG3932-G1 SEG AMK 100810R EG3933 EG3933-G1 SEG AMK 101427Y EG3901 EG3901-G1 SEG AMK 101427Y EG3902 EG3902-G1 SEG AMK 101427Y EGS650 EGS650-G1 SEG AMK 103852S EG3901 EG3901-G1 SEG AMK 103852S EG3904 EG3904-G1 now …

Member Avatar for Fangling
0
210
Member Avatar for mrkm1188

Is there a way to add folder permissions to a folder without wiping out the current permissions on the folder?

Member Avatar for mrkm1188
0
119
Member Avatar for mrkm1188

I have a VB application that creates project folders on a network drive and I want any user who runs the application to be able to create the folders but the root folder permissions don't allow users to do anyhting besides read access. Is there a way to have the …

Member Avatar for mrkm1188
0
384
Member Avatar for mark192

I'm sure there is a simple way to make a keystrok such as the up arrow adjust the location of the picture box, however I don't know how to tell the program to perhaps [code] picturebox1.location = picturebox1.location + 1 [/code] when a key is pressed... help please!

Member Avatar for sinici.grand
0
237
Member Avatar for Renga

I want help to solve this issue. I have a datatable which is created by doing an 'Inner Join' of three tables. This datatable is bound to a datagridview for display of the records. I want to use the bindingsource methods for doing the delete / update on the underlying …

Member Avatar for Renga
0
879
Member Avatar for Ancient Dragon

I have a program with DataGridView which is bound to MS Access table. When I addept to update I get "Syntax error in INSERT INTO", but no explanation about the syntax error. Column names in the table have a space in them, such as "Last Name". Could that be the …

Member Avatar for Ancient Dragon
0
525

The End.