11,868 Topics
![]() | |
** Cannot open MSSQLSSQLEXPRESS service on computer'.'. ** **What I have tried:** Dim myController As New System.ServiceProcess.ServiceController("SQL Server (SQLEXPRESS)") ------------------------------------------------------------------------------------------------------------ Private Sub Service_status() If myController.Status = ServiceProcess.ServiceControllerStatus.Running Then TextBox1.Text = "Started" ElseIf myController.Status = ServiceProcess.ServiceControllerStatus.Stopped Then TextBox1.Text = "Stopped" End If End Sub ------------------------------------------------------------------------------------------------------------ Private Sub Button2_Click(ByVal sender As System.Object, … | |
Hello, I wrote some codes for student login. the codes checks for the "username", "password" as well as their type of "status", from the database. once this input are met, the student logs in successful, otherwise a message pops up. The problem i encountered is this, i have 11 student … | |
KINDLY I NEED HELP I WANT TO LEARN VISUAL BASIC PROGRAMMING IF ANY ONE HELP HOW HIGHLY APPLICIATES THANKS. | |
I've been looking tutorials and examples of setting the value field of a input tag. I'm trying to enter two IP addresses into the text fields on [this](https://www.ipaddressguide.com/cidr) website, under IP Range To CIDR. But my code won't enter anything. There's no ID tag, so I can't use the getElementById … | |
What useful plug-ins / debuggers for Visual Studio do you use (for Windows)? P.S. I know Visual Studio has a good debugger) | |
In Visual Studio 2015, under Windows 7, I've created a VB application that fills a Checked Listbox with file names from one of my folders. Some of the file names contain an underscore character but when shown in the listbox, that character is replaced with a space. In the code, … | |
plz someone help me with this problem. i have uploaded the code file down Make a class fraction () with a numerator and a denominator. Create a constructor and overload some operators so that the code below can run on | |
I'm working in Excel to extract content of a table from a web page and populate Excel sheet cells with it. I'm trying to extract data from a table that gets loaded to a web page after show results method gets called. I have an error that says "Run-time error … | |
I'm very new to visual basic 6.0 and I have a very less knowledge in it. My project is about airport boarding pass generator. In my first form,I have a text box for entering PNR by the user. Here, the program has to search for the PNR already stored in … | |
hello sir getting error when run the loop and going to last value of row count please help and i can not use the 2nd loop in the place of cells(?????) number how can i use this **Index was out of range. Must be non-negative and less than the size … | |
Getting error when showing data in list view, please help me..... Error :* Cannot add or insert the item '10-07-2018' in more than one place. You must first remove it from its current location or clone it. Parameter name: item* I use Vb.net 2010 visual basic sql server 2008 r2 … | |
I have a text file with the following contents: Andrew Law 32 6'1 123 Pounds Tom Harris 19 5'5 180 Pounds Randy Poffo 45 5'3 141 Pounds Now on my form i have a listbox and four labels. What i would like to do is have the listbox show only … | |
I have a worksheet of about 388 items that each item is exported into a template worksheet that is created to itemize each item. It creates the worksheets but I can't get it to stop looping at the line of code in bold comments icons. The line that it stops … | |
I am writing an application which will process data over night. When it's finished a report is printed out. I am wanting the report to be printed to 3 different printers on the same network. Is it possible to do this? All three printers are installed on the pc. Thanks … | |
Greetings, I'm kinda new to ASP.NET so I'm unsure as to how to proceed with accomplishing this task. I have a webpage that contains a GridView and controls associated to that such as Add, Issue Equipment, Edit, Delete. What I'm trying to do is when I click on a cell … | |
Hello all, I am relatively new to Visual Basic and have managed to muttle my way through creating a 2013 Word document that has some ActiveX controls. The final control I put in place is a Command Button that, when clicked, it sends the form off to an email. That … | |
I create a project on vb.net 2010 and SQL server 2008r2 I showing a report in listview report am show fine and error free. But now I want to add a sub total column every end of the category. How it is possible please help me sir Please see the … | |
hi, i am trying to read from a text file and store the data in an array but i don't know how to get started with my code. can someone please get me started here. i have start with the code for locating the file, but i am having difficulty … | |
Visual studio cannot start debugging because the debug target 'C:\users\lizane\desktop\project\peek-ture\peek-ture\bin\x86\debug\peek-ture.exe' is missing. please build the project and retry, or set the outputpath and assemblyname properties appropriately to point at the correct location for the target assembly. How to solve this? ( Using Microsoft Visual Studio 2008) thank you | |
Can anyone help me to create a code to count how many words that are greater than 6? I am creating a readability test to calculate number of words etc. from three differente txt files. This is from my third and last private function. All help appreciated big time! :) … | |
I'm looking for a program reproduces in a picture box the AVI files present within the various files (of course continuous playback and transparent effect including). dll and others, I found one in Visual Basic and it works, but I can not do it Running in VB 10, i have … | |
How to change the color of a cell(back or fore color) of listview item according to item value with if condition. I do it but it is not work and show no error Please help me...... For k = 0 To ListView1.Items.Count - 1 If ListView1.Items(k).SubItems(6).Text > 100 Then ListView1.Items(k).SubItems(6).ForeColor … | |
HI everyone, I recently inherited a project that has been in production for a number of years. They want a new field added. Easy peasy - or so you would think..... The solution is checked into Team Foundation (back in 2012), so I was able to get the code there … | |
Hi, Front end Vb6, back end.. access... connection.. ODADB... can someone please help me with the code for login and password. | |
i need to format my textbox result into two decimal places after i divide two textbox here is my code. If String.IsNullOrEmpty(txtMonthly.Text) OrElse String.IsNullOrEmpty(txtdr.Text) Then Exit Sub If Not IsNumeric(txtMonthly.Text) OrElse Not IsNumeric(txtdr.Text) Then Exit Sub txtDaily.Text = CDbl(txtMonthly.Text) / CDbl(txtdr.Text) Thanks in Advance | |
i somehow got the gist of adding items and filtering the already inputted ones but i cant seem to know how to start a loop where the code searches for similar items in the listbox before adding new items. when trying to run my code, it does filter out the … | |
I have been experiencing a load last solution loaded problem with VS2017 where it works sometimes and sometimes it doesn.t. Mostly it doesn't. After much research it that are a couple of things that can trigger this, but I can't verify it. I think it is a BUG intorduced by … | |
Yes, you've been told it's dead, gone and to move off this old beast of a system from 1998 but here you are, tasked with fixing an old legacy app so let me share that I've been there and how I got around some of the issues. These are: 1. … | |
I'm looking for a program reproduces in a picture box the AVI files present within the various files (of course continuous playback and transparent effect including). dll and others, I found one in Visual Basic and it works, but I can not do it Running in VB 10, i have … | |
Sir. I create a project in vb.net 2010 sql server 2008r2 and crystal report 13. i use this code for showing the report. Public Sub PrintSaleRInvoice() Dim PrintSale As New DataSet objsale.saleinvid = txtSaleInvid.Text PrintSale = objsale.PrintSaleInvoice() ' Procedure name PrintSale.Tables(0).TableName = "DataTable1" Dim rpt As New SaleInv rpt.PrintOptions.PaperOrientation = … |
The End.