Search:

Type: Posts; User: Chris H

Page 1 of 9 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    5
    Views
    982

    Re: Survey Program in Email

    Easiest way if you plan on using C# would be to setup an ASP.Net site that queries and updates a SQL Server database. All of this can be done for free.

    Best place to start would be downloading...
  2. Replies
    9
    Views
    15,857

    Re: [RESOLVED] Fastest Copy Operation

    While, it probably won't speed up the act of copying the files themselves, if you're using .Net 4.0 you can use Directory.EnumerateFiles() instead of Directory.GetFiles().

    GetFiles returns an...
  3. Re: 4.0 - BlockingCollection and a Dictionary object

    I've done some more digging and instead of using the regular Dictionary object I should probably use the ConcurrentDictionary object which is supposed to be thread safe for writing operations. The...
  4. 4.0 - BlockingCollection and a Dictionary object

    I'm using a TaskCompletionSource with a routine that acts as the Producer and a Consumer task that consumes the data queued up by the Producer. I also have a separate Dictionary of objects that I...
  5. 2.0 Re: Return SqlDataReader and properly dispose

    Thanks gnome. I may have worded my question wrong. I want to centralize my database connectivity. The SqlDataReader would only be passed back to one function but I want other functions to be able...
  6. 2.0 [RESOLVED] Return SqlDataReader and properly dispose

    I want to handle the connection to my database and the return of a SqlDataReader from a single routine and be able to reuse it many times from different areas of my code. However, to avoid memory...
  7. VS 2010 Security of ASP.Net controls (ex DropDownList)

    Wondering if anyone can enlighten me on the security of ASP.Net controls. For instance, if I have a DropDownList with 3 selections, when a user submits the form does ASP.Net validate that the value...
  8. VS 2010 Re: LinkButton CommandArguments changing in Gridview bound to Datasource

    I'm not opposed to the idea of dropping the SQLDataSource. The previous developer used it for the data source for a lot of different gridviews so I continued on with it. If ObjectDataSource makes...
  9. VS 2010 Re: LinkButton CommandArguments changing in Gridview bound to Datasource

    I think I may have found the solution to my problem. It's ugly though. I copy the Table Valued structure into a session value and then link the datasource to it. This also lets me eliminate a lot...
  10. VS 2010 LinkButton CommandArguments changing in Gridview bound to Datasource

    Ok, here's my problem and hopefully I can explain it correctly.

    I have a Gridview that displays some data I am pulling from a SQL Server database. The stored procedure that runs the query accepts...
  11. Re: Writing A Stored Procedure For SQL Server 2008

    Thanks techgnome. Your post did the trick. Unfortunately, this system is legacy and the SQL server does not have direct access to the information by way of another table(s). It has to be passed in...
  12. Writing A Stored Procedure For SQL Server 2008

    ***EDIT: I forgot the title and I can't add it now... :(

    ****EDIT By Hack: I redid your thread title....if it isn't what you had in mind send me a PM with what you want, and I'll put it in.

    I...
  13. Replies
    5
    Views
    892

    Re: Table Relationship question

    Unfortunately due to government security requirements our hosting company is one of the few that meet the bar to host the type of data we have. That being said I need to review our agreement with...
  14. Replies
    5
    Views
    892

    Re: Table Relationship question

    Thanks for your input. I don't think I want to go through all that trouble and it just doesn't make sense.

    I may see if these 8 tables can be combined in to one single table since, on their own,...
  15. Replies
    5
    Views
    892

    Table Relationship question

    I've recently taken over a project that was originally built by someone else.

    The database has 8 tables in it that all link to a single table. For simplicity I will refer to this single table...
  16. Replies
    4
    Views
    1,200

    VS 2005 Re: Appending data to a large 3GB binary file

    Ugh, yeah I was completely misunderstanding the parameters it required. I feel rather foolish now.

    Would it be faster to write an array of bytes using the FileStream object or the BinaryWriter? ...
  17. Replies
    4
    Views
    1,200

    VS 2005 Appending data to a large 3GB binary file

    How would I use the BinaryWriter to append binary data to a file that is very large? Say a file that is 3GB in size. The BinaryWriter's write method will only accept an integer for the index value....
  18. Replies
    4
    Views
    707

    Re: what have you made in vb for home use???

    I've written tons of stuff over the years starting with VB6. A lot of it is garbage now.

    My most useful two are:

    I have a Windows service I wrote that scrapes Craigslist for items I'm looking...
  19. Replies
    2
    Views
    460

    VS 2005 Which .Net version would you choose?

    I have a multi-threaded client and server application written in VS 2005. The server application runs thousands of SQL Server 2005 stored procedures and a lot of file IO. The client application...
  20. Replies
    2
    Views
    832

    VS 2005 Re: Odd occurance with SQL Connection

    Interesting Thanks for the info. I guess I will just open and close my connection with each query.
  21. Replies
    2
    Views
    832

    VS 2005 Odd occurance with SQL Connection

    I have a an application that opens a SQL connection and over the course of a few hours creates and disposes of tens of thousands of DataReader objects. You could look at it as just one big loop. As...
  22. Replies
    1
    Views
    693

    VS 2005 StackOverflowException in Socket client

    I'm working on a simple socket client application that transfers files from one PC to another. The flow is as follows.

    Client sends message to Server
    Client Listens for response
    Server responds...
  23. Replies
    2
    Views
    1,353

    Re: [2005] Reading/Setting archive bit

    Pfffft. I could kick myself sometimes. That looks like what I need.

    Thanks
  24. Replies
    2
    Views
    1,353

    RESOLVED [2005] Reading/Setting archive bit

    This is a pretty simple question but I haven't had much luck finding an answer.

    I just need to set the archive bit on a file. I see the archive attribute in the FileInfo object which I would...
  25. Re: [RESOLVED] Could not establish trust relationship for the SSL/TLS secure channel.

    Thanks for posting this. I am having the same problem. Can you post some of your code? I am using the WebClient and submitting form data. However, the WebClient is re-directed to a different SSL...
  26. Replies
    1
    Views
    682

    [SQL Server 2005] How to use named pipes

    My application sits on the same server as my database server so I wanted to test the performance of named pipes versus TCP/IP. I can't figure out how to get the application to connect VIA named...
  27. VS 2005 Loading HTML into HTMLDocument without using Webbrowser control

    Is it possible to load HTML content into the HTMLDocument object without having to use the WebBrowser control? I have an html file stored locally that I want to parse in order to find out which...
  28. Replies
    1
    Views
    578

    VS 2005 ASP.NET with VB Express

    Apologies if this has been asked before but is there a way to build ASP.NET apps using the VB Express version? I searched but didn't find anything saying if it were possible. Would Visual Web...
  29. Replies
    3
    Views
    791

    Re: Ideas on video capture or creation?

    Any update to this? I have a video server that uploads jpeg image captures via FTP when it detects motion on a security camera. I'd like to convert those images into a video, for easier viewing...
  30. Re: [RESOLVED] Capture desktop without mouse flashing?

    Resurrecting an old thread, how could I save the screen capture to a file instead of the clipboard?
  31. Thread: WMI issue

    by Chris H
    Replies
    8
    Views
    1,026

    Re: WMI issue

    On some machines you may need to make sure remote WMI access is allowed. I use the following VBScript code to do it. It has to be run locally and the SharedAccess service should be running.

    Set...
  32. Re: [2005] Need some help with asynchronous socket server

    For anyone interested I decided the best way to determine the end of the data being sent by a client was to use the first 10 bytes of each "transmission" to hold the size of the data that is being...
  33. Re: [2005] Need some help with asynchronous socket server

    I'd mark this question resolved but when I try to edit my post in Firefox using the "Go Advanced" button the message text window is empty.

    Anyway, I think I figured out what my problem was. In...
  34. [2005] Need some help with asynchronous socket server

    So, I wrote an asynchronous socket server which works great with two way communication until you try to send messages back and forth with a client.

    Basically, what my client and server are doing...
  35. [2005] Cleaning up after using an asynchronous socket

    I'm using an asynchronous socket in my VB.Net server class. My question is, after a client breaks their connection to the server do I need to dispose of the socket or take any other actions to free...
  36. Replies
    4
    Views
    834

    Re: [2005] SQLite MYSQL-database error

    Are you certain the connection string is correct? In what function is the error actually thrown, connect or execute?
  37. Replies
    9
    Views
    1,091

    Re: [2005] Correct way to end a thread

    I get the same exception when I abort a thread of mine that monitors the system. I just ignore the ThreadAbortException.
  38. Re: [2005] Get the computer to 'reboot' or shutdown

    I personally hate having to call out to a third party app to perform commands for me. I don't know why but it just feels like I'm cheating. It also makes it tougher to debug IMO.

    The methods I...
  39. Replies
    3
    Views
    718

    Re: Start a process from a service

    As far as I know... no you cannot. The windows service does not have access to the user session. However, there is an option to allow the service to interact with the desktop but I believe it isn't...
  40. [2005] How to use a delegate in a windows service

    How would you invoke a delegate in a Windows service? Correct me if I'm wrong but from what I understand if I want access to an instance of a class running in a "parent" thread I have to use a...
Results 1 to 40 of 328
Page 1 of 9 1 2 3 4



Click Here to Expand Forum to Full Width