20,285 Topics

Member Avatar for
Member Avatar for savedlema

Hi everyone! I'm making an application which requires users with different permissions/previleges to login and use the application.For example, if the user is "admin", all menu items in the menu bar are shown and enabled. If the user is say "user_group1", some of the menu items are to be hidden. …

Member Avatar for Reverend Jim
0
6K
Member Avatar for x38class

I have the following code to connect to wi-fi, which works fine. Dim p = "netsh.exe" Dim wi-fi-name as string = "My-Wi-Fi-Connection" Dim sInfo As New ProcessStartInfo(p, "wlan connect " & wi-fi-name) sInfo.CreateNoWindow = True sInfo.WindowStyle = ProcessWindowStyle.Hidden Process.Start(sInfo) For i As Integer = 0 To 100 Application.DoEvents() System.Threading.Thread.Sleep(10) Next …

Member Avatar for xrjf
0
581
Member Avatar for javi.crecenteespino

Hello people. Sorry for my English, I use google translator .. Please Can anyone convert this code to C # or vb.net? import sys VERSION = 0 SUBVERSION = 2 def usage(): print "[+] WPSpin %d.%d " % (VERSION, SUBVERSION) print "[*] Usage : python WPSpin.py 123456" sys.exit(0) def wps_pin_checksum(pin): …

Member Avatar for happygeek
-2
11K
Member Avatar for Nebil

Hi guys, i'm having a difficulty to set the path in vb.net.i put the code in the module and every time i run the code it throws error "Could not find file 'C:\Users\Abdueie\Desktop\BMS\Bridge Asset Management\Bridge Asset Management\bin\Debug\Adigrat.accdb'." here's the code Public conn As OleDbConnection = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0; Data Source= .\\Adigrat.accdb;Persist …

Member Avatar for YASHNIT
2
8K
Member Avatar for gloria_4

Hello, Can someone help me adding two text box. example: textbox1 = (1) textbox2 =(50) textboxsum = (51) i have already values on textbox1 and textbox2, I want the two values of textbox automatically computed on textboxsum. Note: textchange event works but i need to manually input the values on …

Member Avatar for mukiibi
0
9K
Member Avatar for Mahjoubi

hi members i am new in vb.net so i faced some problem resolving problems with datagridview i managed to resolve a lot in this days i have faced a problem with no solution if anyone can help me my problem is to add a new columns in datatgridview with data …

0
221
Member Avatar for JModak

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

0
2K
Member Avatar for Edwin_11

**I would Like to Use this code after you have clicked into your textbox And I am Edwin Have a good Time**

Member Avatar for Dani
0
789
Member Avatar for k_7

Hi, How can i make query for this: Table1 Column1 Column2 LS11111 0 LS22222 100 LS33333 10 LS44444 0 LS55555 25 Table2 Column1 Column3 LS11111 100 LS22222 80 LS33333 25 Result i need is Column1 Column2 LS11111 100 LS22222 100 LS33333 25 LS44444 0 LS55555 25 Column1 is same on …

Member Avatar for Sherin Mathew
0
545
Member Avatar for Blueie

Hello I am getting 3 errors (same errors for all 3 lines) in my Visual Studio 2017 Web Forms project: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load pnlFormFields.Visible = False pnlThankYouMessage.Visible = True LblDate.Text = ReturnDate() End Sub pnlFormFields, pnlThankYouMessage, and LblDate, are not declared. …

Member Avatar for xrjf
0
433
Member Avatar for Daniel_102

i want to add some text at the begining of every line in a text file. i'm only able to append text to the file Imports System.IO Module Module1 Sub Main() ' Append the first line of text to a new file. Using writer As StreamWriter = New StreamWriter("C:\append.txt", True) …

Member Avatar for xrjf
0
3K
Member Avatar for tomexlfc

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 …

Member Avatar for The Acnor
0
12K
Member Avatar for zaren_05

Hello guys! I'm doing some game here in VB.NET with age limitation. In my registration form, when user put his/her birthday, the computer identify his/her age. Only 15 years old to above who can play/register in my game. I used date time picker for the birthday. And age is not …

Member Avatar for Reverend Jim
0
482
Member Avatar for C-SHARP

Good Day I have a program I am coding, but I have a peoblem with the calculation below. Oh the Application is for a Wallpaper App to calculate the number of single rolls of wallpaper required to cover a room. I attached a picture of the program Question: If the …

Member Avatar for Reverend Jim
0
3K
Member Avatar for PM312

hi I have datagridview which i want to add on several forms. Number of columons and all ather functionality remains the same. to avoid creating size, columns, column names each time, i am trying to create class control for datagridview which will give me by default number of columns and …

Member Avatar for xrjf
0
4K
Member Avatar for xuexue

Hi! I've found this code in the net that merges rows successfully. However, the data is being written in the last row of the merge rows. What I want is that it should be written on the first instead. This is the code: Using gridBrush As Brush = New SolidBrush(Me.dgSM.GridColor), …

Member Avatar for Mauro Galati
1
4K
Member Avatar for Jagruti_23

Plz Help Me to Solve this Error.. I am coding this to build a Calcuator in Vb.net....i have declared "b" as a Button.. how to resolve this error.. plz help.. ![error.jpg](/attachments/large/4/bc99a90be607e68a81a81b5b7eed68b2.jpg)

Member Avatar for Reverend Jim
0
274
Member Avatar for Abdihakim_1

hi everybody i need to get the application of software whoos breake the setup of vb.net whoose i built ago, becouse i forget it's password , tell me you know , thank you....

Member Avatar for rproffitt
0
164
Member Avatar for overwraith

Hello all, I was wondering if I could get some questions answered about how cupons work in the work place. I have an idea which involves creating a very flexible cupon service, but would require knowing the rudiments of how cupons work. The main question I have is how is …

Member Avatar for Schol-R-LEA
0
3K
Member Avatar for Nezar Al-Akhras

Hi Mr Dani first i would like to thank you for help always for a lot of hard issues , i always check your site to have some help and now plz help me to get thime and date from server , becouse the clients in my school has a …

Member Avatar for Reverend Jim
0
345
Member Avatar for Rizwan_10

Dear All i am developing .Net Application with MS Access and Crystal Report i am using DSN for crystal report to view the data from database. on each new client i have to go there to make DSN and then crystal reoport work, my application forms using database through physical …

0
219
Member Avatar for JModak

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 …

Member Avatar for Reverend Jim
0
3K
Member Avatar for joshi1984

Hello, I want to have a manual IP-input-box like windows. ![tcpip_properties.gif](/attachments/large/4/1b3cb2d2b7b2be11e2b4abcef8d6fcc5.gif) I tried by MaskedTextBox but the problem is, the 3 pionts are sliding when i insert some numbers and i can insert letters and numbers higher then 255 (higher is not allowed in IP´s). I hope anyone helps me, …

Member Avatar for xrjf
1
5K
Member Avatar for EddiRae

Hi, I have checked all the prior forum questions on this topic, but none of the options seem to be working for me. I am creating an output file that goes into a specific folder for getting MP3 file information. When I run inside of Visual Studio Community 15, it …

Member Avatar for EddiRae
0
1K
Member Avatar for Jagruti22

Please tell what's wrong in this code.. I am using 3 DateTimePicker.. I think that line has some problem...Please Help.. ![Untitled.jpg](/attachments/large/4/f42d519e8bc5ead2edc0bf81395f227c.jpg)

Member Avatar for Reverend Jim
0
745
Member Avatar for joshi1984

Hello, i got a table in Excel (or exported to CSV). There are 3 columns (1. column = specification / 2. columns = value1 / 3. column = value2). On my vb.net form i got a textbox, 2 labels and a button. If i write in in the textbox "5" …

Member Avatar for Ella34
0
5K
Member Avatar for Jagruti22

"Error in Line 4- System.NullReferenceException: 'Object reference not set to an instance of an object." Private Sub btnsearch3_Click(sender As Object, e As EventArgs) Handles btnsearch3.Click Dim vSearch As String = InputBox("Enter Employee Id to search the details:") If vSearch <> "" Then cmdSearch.CommandText = "SELECT * from Employee_Details WHERE Emp_Id …

Member Avatar for xrjf
0
452
Member Avatar for omi4u

Hi All Brothers I am working on ERP system and i need one help I wrote code for Datagrid auto complete. this code is working perfect but it only showing one Column record from database what i need is i want first column is to autocomplete as i did and …

Member Avatar for rproffitt
0
592
Member Avatar for AMINE.NOMIDIA

pls can iny one help me , i want to display table from database or datagridview to template word for exmlple i have table "items" with 3 champ id_items,name_items,price_items

Member Avatar for rproffitt
0
161
Member Avatar for JModak

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 …

Member Avatar for JModak
0
641

The End.