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 TouchToneTommy 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: *

  1. JurkMonkey

    Navigating to the Next Record

    I also recommend you do some research on Guids http://www.ubuntu.com/
  2. JurkMonkey

    Calling a Web Service via Windows Form

    is your service class public? http://www.ubuntu.com/
  3. JurkMonkey

    Navigating to the Next Record

    jmeckley - you missed the point I think. Generally when you are trying to work with data - you start by getting a list of the data. You don't guess at the indexes. Start by getting the indexes using SQL and dumping it into a DataTable using the advice provided by Jason. Something like...
  4. JurkMonkey

    Navigating to the Next Record

    Really? http://www.ubuntu.com/
  5. JurkMonkey

    Enable/disable buttons according to txt file

    I would read your lines into a List<> of objects and use a bindingNavigator to take care of this navigation for you. http://www.ubuntu.com/
  6. JurkMonkey

    Threading

    This is a WinForms application right? http://www.albahari.com/threading/part3.html I suggest giving that a read... http://www.ubuntu.com/
  7. JurkMonkey

    Threading

    There are really 2 ways to handle the callback to a thread. 1. Use Invoke() on a delegate that you create in your main class. Google Delegates C#. 2. Use an Event - when the event is to be thrown you are basically invoking your event from the new thread. This is very similar to the first...
  8. JurkMonkey

    How to get the Property from Another Class?

    Does your DAL provide methods to find or create objects by their ID? http://www.ubuntu.com/
  9. JurkMonkey

    How to get the Property from Another Class?

    You are missing Jason's point... Your database has an id that links to a State but in your class - oo design suggests that you should not pass back the ID but instead pass back the object that it is related to. True OO design allows the business layer to not care where the information comes...
  10. JurkMonkey

    Navigating a web page in C# .NET

    Do you know what fields you are looking for on each page? You should be able to take the document itself from the browser control and perform actions on it. You are going to be dealing with unmanaged items (the html document) and working with it directly. You have to be a bit careful when you...
  11. JurkMonkey

    Missing combo box event

    Try capturing the SelectedValueChanged event and then set your value based on the new SelectedIndex. ComboBoxes are functionally dumb controls. http://www.ubuntu.com/
  12. JurkMonkey

    Navigating a web page in C# .NET

    start with the WebBrowser control and the browse's Document property. This will provide you access to the page itself. http://msdn.microsoft.com/en-us/library/ms171711.aspx Be sure to call Dispose() on your WebBrowser control when you are done with it as it is unmanaged-resource intensive...
  13. JurkMonkey

    unable to cast object of type 'System.Int32' to type 'System.String'??

    the DataRow is an array of objects. You tried to use an integer as a string in this case because r["SF_State"] contains an integer. The object type is dependent on the Column type in the database. http://www.ubuntu.com/
  14. JurkMonkey

    unable to cast object of type 'System.Int32' to type 'System.String'??

    textBoxAddress.Text = r["SF_State"].ToString(); My guess is that you have a State table and you are linking to it in the address. You are in this case expecting an integer ID rather than the state's name... http://www.ubuntu.com/
  15. JurkMonkey

    Wildcard replace function

    Look up Regular Expressions (regex) http://www.ubuntu.com/
  16. JurkMonkey

    Open Form on Specified Multiple Monitor

    I was guessing at syntax at the time http://www.ubuntu.com/
  17. JurkMonkey

    Open Form on Specified Multiple Monitor

    Form form1 = new Form(); form1.Text = "form 1"; form1.StartLocation = FormStartLocation.Manual; form1.Bounds = Screen.AllScreens[0].Bounds; form1.Show(); http://www.ubuntu.com/
  18. JurkMonkey

    Data Connection via WiFi (Compact Framework 3.5/Windows Mobile 6.0)

    Any locking down of a network should be done by your IT department - probably based on WPA encryption and MAC Address. If you need your program to authenticate to a server then that's a different issue. You have to decide what type of application you're creating... Web Application? PDA Forms...
  19. JurkMonkey

    Data Connection via WiFi (Compact Framework 3.5/Windows Mobile 6.0)

    The PDA OS should take care of connecting for you - you shouldn't care! Just utilize the System.Net classes to use the connection from your code. http://www.ubuntu.com/
  20. JurkMonkey

    Reflection Legalities

    I would guess that depends on 3 things... 1. Where you live since laws are different everwhere 2. Who's .net assembly you are trying to reflect 3. If you are trying to use someone elses assembly with their knowledge, consent, and/or license agreement or if you are simply trying to reverse...

Part and Inventory Search

Back
Top