20,285 Topics

Member Avatar for
Member Avatar for aseel.jaradat.9

im trying to make a simple example in threading this error msg can anyone help me to solve it ? Cross-thread operation not valid: Control 'cmb1' accessed from a thread other than the thread it was created on. Imports System.Threading Public Class Form1 Inherits System.Windows.Forms.Form Dim th1 As Thread Dim …

Member Avatar for aseel.jaradat.9
0
192
Member Avatar for aseel.jaradat.9

how can i add my items from list to combo box ??? Dim IntList As New List(Of Integer) Sub proc1() Dim iCount As Integer For iCount = 1 To 10 IntList.Add(iCount) Next If Done = True Then cmb1.Items.AddRange(IntList.ToArray) this is the msg error : Error 1: Value of type '1-dimensional …

Member Avatar for Reverend Jim
0
246
Member Avatar for slavica.k

is there a way to search database viwable in datagrid view by selecting rows through a combo box, values trough a text box and display resoult in label? here is the code that doesnt work: Private Sub Command1_Click() 'populate datagrid trough textboxes DBGrid1.Columns(0).Text = Text1.Text Text1 = "" DBGrid1.Columns(1).Text = …

Member Avatar for slavica.k
0
687
Member Avatar for Jeon_1

i couldn't edit my previous post or can't delete. so i open new. sorry again i have two text file one is a.txt and another is b.txt content of a.txt is a b c d content of b.txt is 1 2 3 4 5 6 7 8 9 i want …

Member Avatar for Jeon_1
0
156
Member Avatar for Jeon_1

i have two text file one is a.txt and another is b.txt content of a.txt is a b c d content of b.txt is 1 2 3 4 i want to process each a.txt line to b.txt line. for instance. for each aa as String in a.txt for bb as …

Member Avatar for ddanbe
0
122
Member Avatar for Triple_7

VB.NET 2010 Is there a way to restrict a Masked Text Box to accept only *certain* letters? I know how to restrict for all letters. For example, the user should only input the letters "P", "R" or "N" ( or can be blank) in a particular Masked Text Box. I …

Member Avatar for Santanu.Das
0
310
Member Avatar for Triple_7

Hello -- When using the PrintForm component in VB.Net 2010 I would like to change the back color of the form from black to white just prior to printing to preview. Then once the print preview window is closed the back color returns to black. Here is the code I …

Member Avatar for Triple_7
0
307
Member Avatar for Papa_Don

Group, I'm counting the number of files in a folder using the following code: Dim counter = My.Computer.FileSystem.GetFiles(folderName) This produces a value that doesn't appear to be either a string or an integer. Would you know how to convert this value into an integer that can be used? Don

Member Avatar for Papa_Don
0
736
Member Avatar for Papa_Don

I'm making some "cleanup" changes to my 1st VB.net project that I'm publishing. The project has an "Assembly Name". But I've just realized that the Root Namespace has the default name of "WindowsApplication1". I've got to believe this needs to be changed. How important is the name I put here? …

Member Avatar for Nutster
0
1K
Member Avatar for Papa_Don

Group, I've published my first VB.net program (woo hoo!). This prompts me to ask a couple of questions: 1) I'm using a couple of text files to hold some user updated info. Is there a way to have the setup program to create the folder and attached the text files …

Member Avatar for cgeier
0
430
Member Avatar for Nebil

Hi guys, I've got a little problem.A part of the project I'm working on reads data from an excel file and stores it in the database. It works fine for 15-20 records but fails after that. I have properly closed the connection and the reader I'm using. But ut doesn't …

Member Avatar for Nebil
0
121
Member Avatar for Programmer592

Hi. I have a program that detects all the folders that are open and displays each one in a ListBox item. ![2014-12-25_15_49_20-DLAUBEFN_(Running)_-_Microsoft_Visual_Studio.png](/attachments/large/4/8dcefef15b7155ed7cc20f56c743d34f.png "align-center") What I want it to do is if a certain folder is closed, I want it to start a batch file and close itself. I know how …

Member Avatar for Programmer592
0
327
Member Avatar for waqasmrd
Member Avatar for Xiao_1

when Register in this also will record the time in to access also is this code corrct this my code Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick lbltime.Text = "Time:" + TimeString If String.IsNullOrWhiteSpace(txtadmno.Text) Or String.IsNullOrWhiteSpace(txtcard.Text) Then 'MessageBox.Show("Please complete the on the box.", "Authentication Error", …

Member Avatar for SteveDotNet
0
339
Member Avatar for Donal99

Dim Names As String = txtfrom.Text Dim Email As String = "E@mail.com" Dim Phone As String = "8979876785" Dim Address As String = "Location" Dim postData = "&Names=" & Names & "&Email=" & Email & "&Phone=" & Phone & "&Address=" & Address Dim request As WebRequest = WebRequest.Create("http://localhost/testserver/sendmail.php") request.Method = …

Member Avatar for Donal99
0
443
Member Avatar for Jeon_1

i want to restrict daily usage of my program. for example, i want to restrict usage to 100 count daily. and also want to check whether windows clocks roll back. so code will be such like. for i=0 to 100 if i > 100 then msgbox('daily usage exceed') else end …

Member Avatar for Santanu.Das
0
189
Member Avatar for OMER AHMED

hi all again i want to save my 3 columns of listview with data in vb.net built in settings saver how i can do that and how i can load it back when form load. i write something like this My.Settings.advance_settings.Add(TextBox2.Text) My.Settings.advance_settings1.Add(TextBox1.Text) My.Settings.advance_settings2.Add(Date.Today) my.settings.save() it will save the data but …

Member Avatar for Santanu.Das
0
1K
Member Avatar for coolsasuke

Hey Pals, I was trying very hard to compare 2 numbers when one is not in any sequence. EG: First number: 1233 Second Number: 3321 In this case above, i want it to match because they both contains same numbers, just that it is not in sequence. I have tried …

Member Avatar for Santanu.Das
0
238
Member Avatar for sergio_pb

I creating an application in visual studio where I have a client to request specific information to multiple servers. Someone Knows i can make this communication? For one server i know to create that, for many servers i dont have idea. Code example!!! One client for many servers! For one …

Member Avatar for Minimalist
0
351
Member Avatar for André_2

Hello to all I have a problem When i create an excel file with some dropdownlists in my vb.net page the dropdownlist in the excel file doesnt ignore balnks even with the ignore blank property set to true best regards

Member Avatar for krishnap2w2
0
609
Member Avatar for navachaitanya

hi everyone i am new this site i am creating new sms application for desktop using way2sms account please anyone help me to write the code

Member Avatar for John-Ghana
0
665
Member Avatar for jeffersonalomia

I’m creating an e-learning system on vb.net/2010.This system gives quizzes on students. I know how to save/retrieve data on mysql server using xampp but i need to display the score of all the students on the website and this website needs to be live. Now my problems are 1)How to …

Member Avatar for kks21199
0
338
Member Avatar for tarunap

Hi All, What do TRACE means.? and how does it helps in VB.Net. Please help Thanks in advance.

Member Avatar for Stuugie
0
99
Member Avatar for haaza

hi there.. i have developed a pos in vb.net but i m suffering through a problem. i am using a thermal printer here for cash sale receipt but when a get a print of that recipt it did not fix to the thermal printer paper

0
54
Member Avatar for Benniit

Good day, gurus of this well-known site. I am using vb.net 2013 Ultimate and SQL 2012 and can someone show/link me how to save and retrieve a word document from SQL database? Thanks

Member Avatar for Reverend Jim
0
6K
Member Avatar for OMER AHMED

i am making a security program which only administrator can run. now i place one checkbox in registration form that if the user is administrator then he will check that box and program will not ask for " run as administrator" now i need code for checkbox something like if …

Member Avatar for OMER AHMED
0
116
Member Avatar for dhimanbiswas4u

I want to make a form application that upload torrent file in bytebx.com using my username and password Could any one help me? Torrent uploading header request like : http://bytebx.com/storage POST /storage HTTP/1.1 Host: bytebx.com User-Agent: Mozilla/5.0 (Windows NT 6.3; rv:34.0) Gecko/20100101 Firefox/34.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate …

Member Avatar for dhimanbiswas4u
0
376
Member Avatar for Beta_1

I'm using a WPF Textbox in Winforms using elementhost to get the SpellChecker feature. I loaded a large text file with at least 100,000 + characters and over 2,000 lines. It opens the file and adds the text to the wpf textbox normally and I can easily scroll through the …

Member Avatar for Beta_1
0
210
Member Avatar for hfuehf

I have a datagrid with checkboxes that lets the user to multiple delete. How do I store the deleted records into a text file? I am using Access to store my data My code for delete is Try con.Open() For Each row As DataGridViewRow In DataGridView1.Rows If row.Cells(0).FormattedValue = True …

Member Avatar for SteveDotNet
0
108
Member Avatar for Nova6112

hi, i'm working with a travels project i have two tables(vehicle_entry and booking).. when i try to book on some particular date only available vehicle names should be shown in the combo box... it shold show all the names from vehicle_entry table except that vehicle is registered in booking table …

Member Avatar for SteveDotNet
0
147

The End.