20,899 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Are variable variables still not available on vbnet? e.g For i = 0 To 10 Me.Button[i].visible = false next i thanks | |
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 … | |
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. | |
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 … | |
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 ??? | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
![]() | Is there a way to add folder permissions to a folder without wiping out the current permissions on the folder? ![]() |
![]() | 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 … ![]() |
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! | |
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 … | |
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 … |
The End.