20,278 Topics

Member Avatar for
Member Avatar for uDevv

I'm getting this error: `The calling thread cannot access this object because a different thread owns it` On this part of code: Private Sub loginWorker_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles loginworker.DoWork Try eFunctions._ValiAcc(My.Settings.adress, tbuser.Text, tbuser.Text & tbpwd.Password, eResult) Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.Critical, "Error!") End Try …

Member Avatar for Reverend Jim
0
273
Member Avatar for Satyam_1

I have form with many labels and textbox. All these generates a report . I want to print it out in MS Word format and also set print privew. Here is my code for print for single textbox but i don't print in MS word. So what to do? Private …

Member Avatar for cgeier
0
943
Member Avatar for Firstgamefreak

I would like to know what you as a community think of my code in terms of database connection and SQL statements. How I do it physically. Let me know if there are any improvements I could make and if there are, point me in the direction on what i …

Member Avatar for Firstgamefreak
0
304
Member Avatar for sidyusuf

Hi, i have develop an window application using **VB.NET** and** SQL SERVER2008R2**.I have Sql server2008R2 installed on my system containing sql database file.I have my connectionstring in app.config file as:- <appSettings> <add key="mycon" value="Data Source=My-pc;Initial Catalog=MovieCatalog;User ID=sa;Password=pwd123" /> <add key="ClientSettingsProvider.ServiceUri" value="" /> </appSettings> Now what i want to do is …

0
131
Member Avatar for PerplexedB

Please consider my ondrawitem methods of my derived checkedListBox class. At this stage I put "-->" in front of he selected item and " " in front of the others. I would like to replace that with a checked box (square) and an empty box respectively, very much as in …

Member Avatar for xrjf
0
447
Member Avatar for pezza

Hi All, Having a few issues with some DB functions in my code at the moment. This code was developed by another user who kindly helped me out, and I know for sure it was working. The difference being that after having some compatability issues when upgrading to a new …

Member Avatar for pezza
0
317
Member Avatar for DGULLIVER

Hi Everyone, I need my application to loop through all unread items and action depending who send the email. This I can do with no issues. The problem I'm having is when I mark the message as read the Items Count decreased in real time. Here is my full code: …

Member Avatar for PerplexedB
0
2K
Member Avatar for elie.karkafy

i need to copy my data from access database to sql database through coding in vb.net , and taking into consideration the duplicates each time i select from access database to copy to sql , any help thx

Member Avatar for elie.karkafy
0
101
Member Avatar for imti321

I have created three tables used dataset to generate fields when i enter data it does get stored but when i close application and then reopen data doesn't show.

Member Avatar for cgeier
0
116
Member Avatar for 404notfound

I'll be completely honest, I haven't googled this very much as I have no idea of how to put it. So a nudge in the right direction will be most appriciated. I have two forms and two tables. The first form has a series of text boxes that collect information …

Member Avatar for cgeier
0
164
Member Avatar for ahmadzina85

I have timer in my code and every 10 second one result appear I need to make GUI and when I push the Button I want to have every time the result. I tried to use Button but it only shows me the final result. Please help me Private Sub …

Member Avatar for Reverend Jim
0
198
Member Avatar for Mr.M

Hi Dw I'm creating a web app for my future use and now I'm having a problem in calling a button to enable it. The web app start with Default.aspx and that where a user had to fill in 3 text boxs and click a button. So I've removed the …

Member Avatar for Mr.M
0
422
Member Avatar for haxxar_vb_net

Hey everyone. I'm new here just looking for some guidance / pointers. I'm working on a program to figure out what kinda data is contained with in unknown file types which belong to a game I'm modding. There are a few programs that all ready extract data from the main …

Member Avatar for haxxar_vb_net
0
383
Member Avatar for dre-logics

I use Visaul Studio 2012 and MySQL database I have a unbound datagridview with a DataGridViewImageColumn, name of column is "Picture1". I want to Save the Image from the DataGridViewImageColumn into MySQL table fields name "Pic1", field type is "Blob" How can i do that. Thanks for your help. Andre

0
84
Member Avatar for ctrah

hi... I have problem where I could not read 1k Mifare tag with vb2010 . I use the reader cr038 from here http://www.cytron.com.my/viewProduct.php?pcode=RFID-ICRW-CR038&name=Mifare%20Reader/Writer%20CR038 ... based on the datasheet(user manual) given the command to be used in hexadecimal .. can anyone help me ? Your help is greatly appreciated ... thank …

Member Avatar for oussama_1
0
694
Member Avatar for Coudren

I had created a window application, finish debug and it work perfectly in my computer. I then copy a whole folder includes the .exe file to another computer which doesn't installed vb. When i run the .exe files, it doesn't work and pop out the statement below: *********************************************************************************** See the …

Member Avatar for oussama_1
0
451
Member Avatar for rihab_1

hi, I want to spent the values of textbox to datagridview from another form and that after a click on the button add, help me please

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

Hi All, Apologies if this has been mentioned before, but haven't come across anything from my search... I have a strange issue at the moment where when I debug and step through my code, as soon as the first declaration (DIM statement) is stepped over, the value is being set …

Member Avatar for pezza
0
134
Member Avatar for Satyam_1

I have following code for date and time in vb.net. I am not able to set timer in the textbox 4 and 5. What could be there in timer1 event? Dim theDate As Date theDate = Format(Now(), "short date") TextBox1.Text = theDate Dim mytime As System.DateTime Dim hours As Double …

Member Avatar for Sulaiman_1
0
264
Member Avatar for Danuja

Can any guy tell me what is the differnce between a datareader and a dataadapter? Also what are the other method to search data through SQL queries??

Member Avatar for Sulaiman_1
0
366
Member Avatar for sashyn01

this is what i want to do but it seems my code doesn't do what i wanted. when i select an item in cbo_Item i want to loop the corresponding Item_Stock into cbo_QTY where all the numbers below Item_Stock is shown in cbo_QTY...here is my code... Private Sub loop_QTY() Dim …

Member Avatar for Sulaiman_1
0
790
Member Avatar for Satyam_1

I am using vb.net with OleDb database. Following is my code, although i am to search database but not able to save after making changes. It displays following error at Command.ExecuteNonQuery level as OleDbException was unhandled, Data type mismatch in criteria expression. Imports.Sysytem.Data.OleDb Private Sub Form1_Load(ByVal sender As System.Object, ByVal …

Member Avatar for Sulaiman_1
0
269
Member Avatar for Danuja
Member Avatar for k99rs

Can anyone point me to tutorials for creating windows services in vb .net? Thanks in advance.

Member Avatar for Reverend Jim
-1
90
Member Avatar for ibpet11

Dear all, I need help on programming Mifare cards. I want to be able to read and write to a 1k mifare card. I bought a ACR1281U dual reader and also have some documentation but have not understand how to read data and write data to Mifare cards. I did …

Member Avatar for ctrah
0
3K
Member Avatar for Begginnerdev

If you are browsing this forum, it is a safe assumption to believe you know of the [Fibonacci Series](http://en.wikipedia.org/wiki/Fibonacci_number). After having a couple of minutes, and some random thoughts, I put together a little piece of code that will print this series out to a file. Private Sub FibWrite(ByVal iMax …

Member Avatar for Reverend Jim
0
279
Member Avatar for Ancient Dragon

I'm using VS 2013. I want to use the system.numerics.biginteger structure but VS says there is no such namespace as system.numerics! According to MSDN there should be. What am I missing? Imports System.IO Imports System.Numerics '<<<< error Module Module1 Sub Main() Dim OneLightYearInches As BigInteger = 372469703661417000 End Sub End …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for henryz_box

I am wanting to create a card game that will have 1 to 7 players plus the dealer. Currently I have 1 player and the dealer. Each player will have a listbox that contains an index for each card in the player's hand. As the cards are dealt each player …

Member Avatar for henryz_box
0
324
Member Avatar for martuspatatus

Hello, I need a litle help here. I am creating a program that finds a specific sentence in a word path and replaces it with a given value. Specific sentence: l="600" And it has to be changed to : l="300" This is not to dificult and works fine: Public Class …

Member Avatar for martuspatatus
0
1K
Member Avatar for neilsno

hi im trying to create a vb code that will amke a student revision test, it should let them log in and register them. it should use CSVs and controls,clas and methods

Member Avatar for Ancient Dragon
0
57

The End.