[RESOLVED] Weird behaviour of variable scope using BackgroundWorker
I changed the scope of some Global variables to be private of a form, and added a readonly property for them. From within the form a backgroundworker gets started which uses routines from a specific...
View ArticleGoing through controls on form with arrow key?
I'm using the following code I found here in another thread, to enable the arrow keys on my keyboard to move a rectangle around in a picture box instead of cycling through the controls on the form....
View ArticleVS 2008 Web Services Compression in .Net Compact Framework
Hi, I have written a VB.Net application, for deployment to SmartDevices. The application uses .Net Compact Framework v3.5. The application is working, but when it calls a remote web service, the...
View ArticleVS 2010 Assigning a List to a DataGridView
Hi, Is it possible to assign a list to a datagridview? Working with datatables and datagridviews seems reasonably simple but rather than convert a list I have into a datatable I wondered whether you...
View ArticleVS 2012 Save edited data in same row in table in Access db
Hi yet another issue. :( I've run into trouble once again. I can't figure this out. I have a form in my software called Hændelseslog, here you can enter a insident with a lot of data. Everything is...
View Article[RESOLVED] Does "Option Base 1" still work for VS 2012?
I am trying to add the Option Base 1 to my module in my VS 2012 Windows App and it won't take it. "Base" isn't even in the intellisense dropdown values.
View Articlecalculate from data table
'i have a tblFreightdataset with the following Coloum and row ID FreightType Value FrightValue 1 CIF 0.00 [] 2 FOB 0.015 [] 3 CFR 0.015 [] manual calculation from a button Private Sub...
View ArticleVB Point Structure can't accept 64-bit integers
Hi, I have a pretty unique problem right now. I need to set the Y location of a certain control to a number that is > 32 bits ( > 32,767). However, VB's System.Drawing.Point structure only...
View ArticleVS 2008 [RESOLVED] Part of my program quit working after the latest Windows 7...
I have been writing a calendar program and have had it working moderately well for several months now. It shows the the current time frame (approximately 1 month). On each day it shows any events I...
View Article[RESOLVED] Disable task manger code didn't quite work
I got this code to disable and enable the task manager off of Google. The code disabled the task manager and when I tried to access it I got a message saying the task manager is disbaled by an...
View ArticleVS 2008 HELPP HELPP Saving Data from DatagridView and from some textboxes to...
I want to save data from datagrid view and from some textboxes to .txt file or to .in file because the fiscal printer it reads data from .in file i want to take data only frome somce colums example...
View ArticleCapturing e-mail responses
Have been asked to look into how to do something and not really sure how to go about it. We have an intranet based application for scheduling reports. When somebody creates a report, they add...
View ArticleVS 2010 iTextSharp Open PDF from Desktop
Hello to all again, I use this code for creating PDF (I use iTextSharp) Code: Dim WorkingFolder = System.IO.Path.Combine(My.Computer.FileSystem.SpecialDirectories.Desktop, "NameOfFile")...
View Article[RESOLVED] Error in ParsePdfText() function
I have tried to build a Pdfreader function to extract text from a pdf file. I am using Visual Basic 2012. I have tried numerous examples found here and elsewhere. All the examples I tried had comments...
View ArticleVS 2010 Help creating sequential folders
I'm building a small tool for work and need help figuring out how to create a range of numbered folders. I have two drop down lists to specify the range of folders to create. I also have a few text...
View ArticleMust Inherit Class question
I'm trying to create a compiler and I'm working on the Lexical Analyzer and the Parser. My plan is to create an analyzer and a parser for each step, ie - a parser and analyzer for the...
View Articlevba code for excel
I Know this forum is for VB.net stuff, but I have a simple question and did not feel like signing up for a VBA forums page, but will if I need too... In excel, I want to be able to programmatically...
View ArticleObjects should only be interfered with by public properties or event, however...
I'm trying to stick to the above rule, but I'm running in a situation where I do need an advice. It is the same code I posted before, however another question it. I need to AddHandles during Runtime....
View ArticleActive Directory Groups vb.net
Hi All, I have a small issue of making a Active Directory Group a member of another group. I have been able to create a group, I have been able to make a user a member of that group, but when I try and...
View ArticleSearch for specific wording in text file and print words that follow
I am somewhat new to VB and trying to figure out how to accomplish my task. And who better to ask then the people who know. What I am trying to accomplish is to search a txt file and locate a specific...
View Article