Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Sorwen
  • Content: Threads
  • Order by date
  1. Sorwen

    Unable to download via WebClient now.

    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...
  2. Sorwen

    Get file asp url.

    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...
  3. Sorwen

    Code in custom control does not work if form is not a top-level window

    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)...
  4. Sorwen

    Function in module creates new instance of form

    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...
  5. Sorwen

    Label will not update with new text

    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)...
  6. Sorwen

    Is this correct? Understanding Implements.

    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...
  7. Sorwen

    Com Control/Wrapper/Inherit/etc or another approach?

    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...
  8. Sorwen

    Can you get Solution Explorers Connection string?

    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...
  9. Sorwen

    VB.Net function in OleDB select command

    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...
  10. Sorwen

    Reading ComboBox Text or SelectedValue causes a Cross-thread error?

    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...
  11. Sorwen

    Prevent Access 2007 from auto sorting tables.

    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...
  12. Sorwen

    My.Settings vs. My.MySettings

    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...
  13. Sorwen

    Correct case text strings?

    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"...
  14. Sorwen

    Access 2007 skipping records in table when using scroll wheel?

    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...
  15. Sorwen

    Raise Parent Control's event from child control.

    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...
  16. Sorwen

    Problem with drawing graphic

    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()...
  17. Sorwen

    "Out of Memory" exception when drawing picture to form

    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...
  18. Sorwen

    Code stopped working correctly after changed in vs 2008

    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...
  19. Sorwen

    A truly Circular Control?

    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...
  20. Sorwen

    Kill Active Threads/ProcessThreads - by id preferred.

    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...

Part and Inventory Search

Back
Top