Search:
Type: Posts; User: Chris H
Search:
Search took 0.44 seconds; generated 32 minute(s) ago.
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
***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...
-
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...
-
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,...
-
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...
-
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? ...
-
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....
-
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...
-
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...
-
Interesting Thanks for the info. I guess I will just open and close my connection with each query.
-
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...
-
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...
-
Pfffft. I could kick myself sometimes. That looks like what I need.
Thanks
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
Resurrecting an old thread, how could I save the screen capture to a file instead of the clipboard?
-
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...
-
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...
-
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...
-
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...
-
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...
-
Are you certain the connection string is correct? In what function is the error actually thrown, connect or execute?
-
I get the same exception when I abort a thread of mine that monitors the system. I just ignore the ThreadAbortException.
-
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...
-
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...
-
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...
|
Click Here to Expand Forum to Full Width
|