Search results

  1. SaintJimmy

    New to Socket Programming

    NetworkStream.Read Ok, that makes sense then. I didn't know that the Read operation would block until it actually gets something to read. I thought that if there was nothing to read it would just return 0.
  2. SaintJimmy

    New to Socket Programming

    For years I've been wanting to take the time to learn about network programming and sockets, and I've finally been able to take a look at it. I've found various learning resources on the net, but they all seem to use the same examples... "a simple chat program" or "a simple echo program"...
  3. SaintJimmy

    Socket in Window Application

    Asynchronous Sockets The reason it works in a Timer is because the Timer runs in a separate thread from the main application thread. You can accomplish the same thing using any threading techniques. Check out the MSDN documentation on asynchronous sockets, they have some examples of servers...
  4. SaintJimmy

    Simple Data Binding to Multiline Textbox

    I've got 2 controls on a form... a DataGridView and a TextBox. The DataGridView is bound to a BindingSource object, which I'll call MyBindingSource, which is bound to a DataSet. I'm handling the CurrentItemChanged event for MyBindingSource, and in the handler I call a function of a...
  5. SaintJimmy

    Tabbing Question

    No, that's the strange thing about it. No, actually it's not. The DataGrid itself is nested pretty deep. I've got 2 splitters that make for a 3-panel view, but I've also got panels within the panels for docking. The DataGrid is in a panel by itself. The really odd thing is that the...
  6. SaintJimmy

    Tabbing Question

    New to '05? Is that property something that's new to VS 2005? Because I'm using 2003 and I don't see any properties similar to what you're suggesting.
  7. SaintJimmy

    Tabbing Question

    This may be a really simple question, but I can't get it to work for some reason. I've got a form with a datagrid control on it. And I want the datagrid to relenquish focus to the next control in the tab order when the user hits the tab key, rather than the default behavior of tabbing to the...
  8. SaintJimmy

    OdbcDataAdapter Fill operation causing program to crash

    Already did The call actually is in a Try... End Try block catching OdbcExceptions. But the operation is causing something similar to a GPF (remember those??), and the Catch block never gets a chance to execute. That's why I'm thinking it's a driver problem. It would have to be something...
  9. SaintJimmy

    OdbcDataAdapter Fill operation causing program to crash

    I've got a program that's using an OdbcDataAdapter to connect to a MAS 90 database. I use the Fill method to populate my local DataSet, which has global scope. This is done when the program loads, and works fine during loading. The problem comes in when I try to refresh the data. I get a...
  10. SaintJimmy

    File Not Found exception when deploying on web server

    I've got a Windows Forms application that's working like a champ on my local machine, and I wanted to put it on one of our network's web servers and deploy a "launcher" application to install on all the client machines that would be using it. I've copied all the necessary executables and...
  11. SaintJimmy

    Bypassing Outlook security warning

    I've written a very simple routine for sending mail using Outlook 2003. I'm using it to send notifications out when a user makes a change to data in the application. But there's one rather large annoyance with it... every time my application attemps to send a message, Outlook displays a...
  12. SaintJimmy

    Visual Styles gone retarded

    Helps, but has some side-effects Not a bad component there. But it's basically doing whatever it wants to do with my read-only textboxes. Even if I turn the visual style enhancements off for them, it still messes with the colors and stuff. I suppose I can live with that, though.
  13. SaintJimmy

    Visual Styles gone retarded

    I've been working on a program for several weeks now, and I'm programming with VB.NET on version 1.1 of the .NET framework. I'm enabling visual styles by using the EnableVisualStyles() method. This has worked fine until now, and I can't think of anything I could have done to break it, but all...
  14. SaintJimmy

    SelectedIndexChanged annoyance... what am I doing wrong?

    The Form Sure... why not? The code's not as tidy as it could be, and it definitely won't be functional, but you should be able to make out what I'm trying to accomplish. Change the extension to .vb and you should be able to browse it using Visual Studio.
  15. SaintJimmy

    Insert command should work... but it doesn't.

    I know how to construct an InsertCommand for a DataAdapter so that the adapter updates the identity (autonumber) field with the value the database assigns... but for whatever reason, I cannot get it to work. Check it out... here's how I've set up my adapter: Dim...
  16. SaintJimmy

    SelectedIndexChanged annoyance... what am I doing wrong?

    Yeah, the ListView sucks I actually took out the ListView and went to a DataGrid instead, and initially I had the same damn problem... go figure. But with the DataGrid all you have to do is prompt to save from the associated BindingManagerBase object's PositionChanged event, and if cancelled...
  17. SaintJimmy

    SelectedIndexChanged annoyance... what am I doing wrong?

    Check it out Maybe this will give you guys a more visual explanation of the problem. Here's EXACTLY what I'm doing. 1.) I run the app. 2.) I select a customer from the list... ACA Corporation in this example. 3.) I change some of their data. 4.) I select a different customer from the...
  18. SaintJimmy

    SelectedIndexChanged annoyance... what am I doing wrong?

    That might work That could work, but I'd also have to make sure to handle keyboard events as well as the mouse event in case the user decides to change selection with the keyboard. Moving to a DataGrid still seems the best option.
  19. SaintJimmy

    SelectedIndexChanged annoyance... what am I doing wrong?

    It actually fires recursively I go through a certain process when I run the application where I select one customer, make a change to it, and then select a different customer before I save the change.... and I've tried this with the handler I posted above, and with 1 variation on that handler...
  20. SaintJimmy

    SelectedIndexChanged annoyance... what am I doing wrong?

    Too big The project is way too big. Besides I've pretty much come to the conclusion that there's just a bug in the .NET 1.1 ListView control that causes it to fire the initial event a second time when you change the selection from within the event handler. Because when I step through the...
Top Bottom