A site we use to get data files from has recently change how their security works and my window program no longer works. Before I was able to use the IE web browser plug-in to login and navigate to the download page. I would collect all of the links and then download the files using the...
I wasn't sure where to ask this I'm starting here and the vb.net forum. I'm using a program I create awhile back to download files froma vendor. Since they have no FTP connection I used the VB.Net browswer plugin to navagate to the location and download the files from links. The problem is...
I wanted to change the behavior of a text box so that when entering the text box it would highlight the full string inside.
Private Sub location_tb_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles location_tb.Enter
Dim tb As TextBox = CType(sender, TextBox)...
I've never had this before and I wanted to see if any knew what might be happening. I have a form and in the code there is a public function that is called which sends text to a label on the form making sure to do so in the thread for the form. I have a function in a module and in that...
So I have a label on a form that is supposed to receive text and add it to the label so you can see the progress. (some of code is like this just to test)
Public Class info
Public Result As String = ""
Private LastText As String = ""
Public Sub sMessage(ByVal value As String)...
To help save time on my wrapper and to make sure it was correct I found that AxImp.exe will create a wrapper for a dll. At the same time you can have it output the code it uses as C#. I converted it using an online converter. For the moment I'll assume that all of that was done correctly...
So I have a COM Control that I need to extend some functionality of. If I understand correctly I can't Inherit from it so I have to create a wrapper. If I understand correctly a wrapper is nothing more than a class that creates an instance of the object and handles the functions and various...
While I use ADO.Net for all other connections I've always had a problem using it for getting data from our AS400 machine. None of the connection strings I use work so I've had to keep using ADODB Connections. On this project I was hoping to finally totally get away from that, but still I...
So I'm trying to move this query to vb.net to see if performance is any better and so I don't have to keep dual developing it. Right now the queries are handled in Access and the end result data is pulled into vb.net. I've done queries a million times in vb.net the problem with this one is...
So for simplicity I have several TextBoxes, a couple NumericUpDowns, and a ComboBox on a form. After adding text and selecting a value for the ComboBox the user presses start and processing is done in a separate thread using System.Threading.Thread. However, for some reason only when reading...
I hope this is a good forum to ask this as it was the only one I could find that dealt with tables. I have a table with 3 columns: City, State, and AreaCode. For some reason Access 2007 is sorting on the AreaCode field. I assume it is in some way because it is a Number field. I need the data...
I've been limitedly using My.Setting for a long time. I had not really got into understanding it very much. For instance if I allowed someone to modify any of the settings I always gave a restore default button that had the defaults hard coded in the code for the button. I found awhile back...
I have a project where I have to go through and Proper Case names (Private and Company names). There are a few problems I did not realize when using something like StrConv to Proper Case a string. One problem I did not foresee is the apostrophes. Take for Example "WENDY'S RESTAURANT"...
I'm not sure this is the correct forum for this kind of question, but it seemed the closest place to ask. Does anyone know how to prevent Access from skipping lines in a table when using the scroll wheel? Rather than just skipping lines based off the mouse setting Access 2007 seems to now skip...
I have two user created controls (both inherit from panel) one control contains multiple child controls. So the parent can "track" the child controls their info is store in the parent as a ListOf. What I need to be able to do is fire off a ItemClicked event on the parent when the child is...
I'm having a problem drawing this graphic:
For some reason I'm getting two points instead of just the one.
The code for it:
Private Function RoundedPoint(ByVal Rect As Rectangle, ByVal CornerSize As Integer) As GraphicsPath
Dim _GraphicsPath As New Drawing2D.GraphicsPath()...
I'm making a class to handle custom forms. To make things easier and consistent I use a brush to draw to the form. Everything works great until I try to draw a picture to the form that is smaller than the form if I try to clip to center it. If it is bigger than the form it clips to center...
This code use to work fine when I originally coded it in vs 2005 a year or two ago, but now that I had to make a minor changes to it in 2008 it no longer works. The code is a little messy because I've tried dozen of things and nothing works right.
The purpose of this program is to handle the...
I need a circular control. While I can draw an ellipse on a control I can't seem to clip off the corners. Does anyone know if/how this can be done? The circle needs to be about the size of a radio button and you need to see where you are placing it. I need it to mark points (and have a few...
First, let’s get out of the way the fact you shouldn't do it. That doesn't matter. If it gets to the point where I need to do it (and have to go to the task manager to do so) then I need to do it whether I should or not.
So, that out of the way, how can I kill a thread? I can get the current...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.