Search results for query: *

  1. S

    sql timeout error rollercoaster

    You should have a dbwrapper class that you can pass a string to and return a dataset or datatable or whatever. (just slightly diff if your using stored procedures) that way all your data access is in one spot. you should still open and close the connectioin after every call, .net will pool...
  2. S

    References to objects

    I would typically not pass them the hashtable I would have a getobject(index or key) that returned the object that they would want from the hash table and I would return a copy I would then have a updateobject that took in the object after they modified it and updated the "master" in the...
  3. S

    process file handles

    I have the code for it at home, I'll try to post it tonight. (im at work)
  4. S

    Insert objects into rtf-document,opened in Richtextbox

    yes it was more usefull but I dont have a good answer for you. You could use createobject if you cab map the application to the correct object name i.e. excel to Excel.Application Im sure you can progamatically do that from the guid since you should allready have that. but once you do, I...
  5. S

    Create a monthly process using VB.NET

    The problem is that with a server they are rarely turned off/ rebooted.
  6. S

    Filling in Web Forms and Posting with a timer

    Im not sure I want to help you write a bot to vote for you favorite american idol contestant. but look at the webclient class, it will do what you want.
  7. S

    Cannot access remote webservice

    Ill bet you didnt set the authorization in your web config. <authorization> <allow users="*"/> </authorization>
  8. S

    store webpage data...help??

    Dim client As New WebClient() Dim data As Stream = client.OpenRead("http://yahoo.com") Dim reader As New StreamReader(data) Dim results As String = reader.ReadToEnd() now pars results to get what you want and save to a file or whatever. btw this is the wrong forum for this
  9. S

    Create a monthly process using VB.NET

    you can either write it as a windows service .. just do a search you will find tons of stuff.. its not to hard .. and have the service always run and check the date and run once on that date. or you can write it as an app with no gui.. ie no forms.. just a module with a sub main, and then use...
  10. S

    Looping through components on a form

    This should work..... obiously you will need to translate it a bit dostuffto (me) sub dostuffto controls(parentcontrol as control) for each c as control in parentcontrol.controls dostuffto(c) if gettype(c) is myspecialusercontrol then do my thing...
  11. S

    sql timeout error rollercoaster

    in enterprise manager there is a folder for databases, DTS, management, etc .. open (+) the management folder open the current activity folder open the Locks/object if you see a bunch of processes in the right side, you are doing something wrong in code that is causing the connection to...
  12. S

    ALPHA-Channel Problems

    before you go the api route, have you tried overriding the textrenering class? which would be nice since you can set it for the whole application and not for each form or element. It seems like if you did and just converted the text to its bitmapped representation it would be straightforward...
  13. S

    poker predictions

    no worries, I dont get offended. And to take this thread on a tangent. combinations, permutations, expected value, normalization and other well defined algorithms apply to poker (suprisingly not binomial equations) But none of them address the issue of prediction of opponents actions which is...
  14. S

    ALPHA-Channel Problems

    I have not done what you are talking about but I assume you could override the onpaint event of the controls.... actually try for the form first, then if that doesnt work try a control. Protected Overrides Sub OnPaint(e As PaintEventArgs) MyBase.OnPaint(e)...
  15. S

    QUERY: AJAX + MDI = Closest thing to WinApp

    check out some of the windows controls for asp.net pages from telerik they have some nice ajax based controls that make your life easier. writing your own ajax pages can be a pain, and get you more into the page lifecycle, and marshaling etc.. than you ever wanted to be. to give you an...
  16. S

    sql timeout error rollercoaster

    have you looked at the database (with enterprise manager) and looked at the number of connections per process/database Ill bet you have a connection pooling problem. Let us know how many active connections are hanging around for your db. Ill also post some better wrappers for your...
  17. S

    Help! text field values lost before updating the database

    as the others alluded to.... are you filling the data for the textboxes in your page load without checking if it is a postback? if you are they are getting set back to their inital state before whatever you event is that updates your DB
  18. S

    poker predictions

    BTW if you have any ideas about using genetic algoriths for opponent modeling in poker (predicting if they will bet, fold, raise) let me know!! I always thought it would be a good fit, but have no idea how I would compute fitness or even get data to do so. Im sure someone is going to do it though.
  19. S

    comparing stored ip address

    in the syntax i used it it is acting as if you were using the "Like" statement. your saying where field2 is contained anywhere in field one.
  20. S

    Conceptual Question about Multiple Gui's in one app

    Could you just use a tab control??
Back
Top