[RESOLVED] Entity Framework and threading
Hi Folks Im just getting started with EF (with SQL server) and threading. My question is about how I should access the context for threads that work with the context? Should I create a new context per...
View ArticleMathematic problem....
I am current working on a project and i am stuck with a mathematic part. For Ex. there is 2 choices, bananas for 5 coins and apples for 2 coins. Under both choices there will be a textbox, there you...
View ArticleVS 2012 Saving String Collection to Database?
The code below saves the settings and functions I made during runtime: Question:Can I actually save this into a database? I mean.. logically speaking somehow like this: Dim x as string x =...
View ArticleVS 2010 [RESOLVED] Updating subitem in listview
Hey Guys, I can never seem to remember how to do this lol what i'm doing is looping a listview with 2 columns, the first column contains urls and the second is blank ready to be updated with either...
View ArticleVS 2012 Treeview and dependency questions
Hi Guys! I have two questions relatively related to each other. The first one is very easy. I don't like the standart treeview look (with the plus sign). How to make such as "Solution Explorer"...
View ArticleUser control, 2 instances in the same .net app
I have a custom user control as part of my "solution". I load the control twice at runtime on 2 different forms within the same app Private WithEvents CG As CG.WINDOW ' later CG = New CG.WINDOW an...
View ArticleVS 2010 HttpWebRequest help
here is my code to log into my bank sorry no passwords no usernames given im not a dumb lol Code: Sub post() Dim EVENTVALIDATION = "/wEWAgKtxsLgBgLq+LO5Ad+NdnQm+T4IWqelkoLu3kPVgHtm" Dim...
View ArticleVS 2010 Adding the same data from listview1 to listview2 on VB.NET?
This is the form of the 2 listview: https://www.dropbox.com/s/ebp93mfzlqj43i2/Capture.JPG What i want to do is i need to add the same data by just adding the quantity and not the whole info of the...
View ArticleFiltered Binding Source. How to Update/Delete my DataTable?
Good Day! Please help me on this :). Im creating Windows Form Application. I collecting user inputs from different forms and save it to a DataTable. Code: Dim temptable as new Datatable...
View ArticleCan't access SQL table data
In SQL Server 2012 I created DB = TestDB and Table = ContactsTBL In VS 2012 I created a Project = ContactsProject2 and a Windows Forms Application and a DataSet = TestDBDataSet. I imported the GridView...
View ArticleVS 2012 ProgressBar over loading content?
Hey all. I'm using a webclient to load some things into my form, such as getting strings from a certain dropbox link, loading images from a website using the webclient, etc. This slows my form's...
View ArticleVS 2012 Instr method
The instr method can be used to find the first occurrence of a string. Is it possible to find the second occurrence of a string? For example: Code: Private Sub FormListOfScheduleLists_Load(sender As...
View ArticleQuestion on textboxes
I'm trying to find out if the following is possible, I think I have the right way to do it in my head, I'm currently thinking through the code required to make it work. Application requirements: Read...
View Article[RESOLVED] How to move a label from a certain point to another then make it...
Hi I am a relative newb to coding. I had 1 year of training but it was VB6 like a few years ago, and i haven't picked up VB since. So to my question: How can I make a label move from let's say...
View ArticleGetting bound ComboBox selected item text
Hi Folks I have a Combobox populated with MAC address strings from a SQL server DB (using Entity Framwork) VB Code: Public Class Form1 Dim myContext As New MySqlDataEntities Dim burnRackBay As...
View ArticleJSON parsing
Hello all, Im desperatly trying to read JSON array combinate format for 2 days without success, i'm using json.net(Newtonsoft.Json) library but i guess im doing something wrong... JSON: Code: [{"name":...
View ArticleVS 2010 Control webbrowser openfiledialog
Hi all, How can i control the webbrowser openfiledialog. I think there are several ways, for example checking what window is active and then control the window that got focus. But I really do not know...
View ArticleNeed help with a loop in vb.net console
I am really new to VB and have a question about loops. I am programming a console based text adventure and need to know how to make the wrong choice loop back to the selection. By wrong, I mean...
View ArticleSPP mode vs HID mode (Bluetooth Barcode Reader)
Hi, again, folks! Fresh thread for fresh approach to old(ish) problem: Having made reasonable progress with my barcode-scanner project (Shout-outs & Thank-yous to dbasnett & shaggy!), I find...
View ArticleBasic Graphics Logic Help
Hi, I have been having a very hard time wrapping my head around drawing in vb.net Here is what I am doing, vb.net Code: Public Class Form1 Dim _Pen As Pen Dim min As System.Drawing.Point = New...
View Article