Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
W

William Bartholomew

@William Bartholomew
About
Posts
26
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Weird town name - 84
    W William Bartholomew

    Town Of 1770, Queensland, Australia

    The Lounge csharp com question

  • Notepad's Hidden Feature
    W William Bartholomew

    I just discovered a useful feature that I never knew notepad had. I'm sure i'm not the only one that uses a couple of text files on my desktop with ideas, things I need to do etc. If the top line of your file is .LOG (must be uppercase and the only thing on the line), whenever you open the document notepad will insert the date and time on a new line and position the cursor below it ready to type your great idea or TODO...

    The Lounge

  • Notify when an article is updated
    W William Bartholomew

    Not sure if CP already does this but it would be nice to be emailed when an article you have bookmarked is updated.

    Site Bugs / Suggestions

  • Get databse name
    W William Bartholomew

    SELECT name FROM master..sysdatabases

    Database database question sql-server sysadmin

  • No accessible 'Main' method
    W William Bartholomew

    The problem was that you didn't have the signature of your Main correct, rather than using the Microsoft.VisualBasic compatibility namespace you could do the following: Public Shared Sub Main(ByVal args() As String) Dim strMode As String If args.Length > 0 Then strMode = args(0) End If If strMode = "Report" Then MsgBox("Print Report") Else MsgBox("Display Form") End If End Sub

    Visual Basic help tutorial question workspace

  • TCP/IP Multi Server Chat System
    W William Bartholomew

    This would definitely interest me...

    Visual Basic csharp sysadmin lounge

  • Very Handy Utility
    W William Bartholomew

    Not sure about you guys but I often need to paste the output of console apps into emails, documents, and the like so what I normally do is: dir /s > test.txt Then open up "test.txt" and then copy and paste the contents to wherever I need it and then delete "test.txt" now this is a pain and I thought there has to be a better way. So I wrote a utility in VB.Net to solve the problem. I would have written this as an article but the .NET Framework has made this so simple the article would be too short :) 1. Create a new console application 2. Add a Reference to System.Windows.Forms 3. Paste this code into the Main function Dim strInput As String strInput = Console.In.ReadToEnd() Windows.Forms.Clipboard.SetDataObject(strInput, True) 4. Compile and put the resulting .exe in your path Now all you need to do is: dir /s | YourProgramName.exe Then go into your email, document, etc. and paste... the program has captured the console output and put it into the clipboard. Hope you guys find this helpful.

    Visual Basic csharp dotnet tools help

  • wacked out idea, unless its possible
    W William Bartholomew

    You're not on too much crack, there is a device which does this called a time-domain reflectometer.

    Article Writing com sysadmin tools question learning

  • HTML de-bloater
    W William Bartholomew

    Vim is the way to go :)

    The Lounge question html com announcement

  • Code Project Project (CPP) [UPDATED 5/31]
    W William Bartholomew

    Speaking of which is CodeProject hosted here in AU or overseas? You hosting it yourself?

    Collaboration / Beta Testing c++ com beta-testing tools question

  • Does MS Exchange 2000 includes a Listserv-like component ?
    W William Bartholomew

    I know under 5.5 there was a routing add-in sample that implemented this kind of functionality. It was pretty basic though. You would be best writing this server-side rather than using client side functionality or writing it client side using POP3 and SMTP so it can be used with any mailserver but I would keep away from writing client side MAPI to do this.

    Collaboration / Beta Testing sysadmin help question

  • Testing anti-spam application for Outlook and standalone
    W William Bartholomew

    Luke, If you haven't you should serious look at VMWare http://www.vmware.com/[^]. You can set up virtual machines running whatever OS you want and set all the memory and disk size settings to your hearts content for testing. And in the new version you can take a snapshot before you install your app or configure it or whatever and rollback to that point for some really rapid testing without having to reinstall :)

    Collaboration / Beta Testing csharp visual-studio com testing beta-testing

  • Code Project Project (CPP) [UPDATED 5/31]
    W William Bartholomew

    A phone? How primitive ;P Then again most people don't think us Aussies have phones yet ;)

    Collaboration / Beta Testing c++ com beta-testing tools question

  • VB.Net NNTP Class
    W William Bartholomew

    I've almost completed a VB.Net NNTP class and was wondering if anyone would be interested in me writing an article around it? It will probably take awhile but i'm just wondering if there is any interest... As a follow up article I might write ASP.Net site that uses the class. It implements RFC977 only and not the extensions in RFC2980.

    Article Writing csharp asp-net question

  • Quick Backup survey
    W William Bartholomew

    Our backup strategy: Full nightly backup of all IIS, SQL, VSS, File Server data to the disk of another machine and to tape. One weeks nightly backups is kept on the backup server. One weeks nightly backups is kept on tape. Four weeks worth of Thursday backs are kept on tape. Full weekly backup of all IIS, SQL and VSS data compressed to 6 or 7 CD's. These are kept forever. Differential backup of SQL databases at 6am and 7pm to the hard disk of the respective SQL server. These are also copied to the backup server nightly. Transactional backup of SQL databases every hour to the hard disk of the respective SQL server. I am looking at copying these to another SQL server and restoring them as part of the backup script so there is a failover server ready to go.

    The Lounge html com tutorial question

  • Drawing to the Screen
    W William Bartholomew

    Does anyone have any pointers on how to draw directly onto the screen in C# or VB.Net? I've found you can get a handle to the desktop using this VB.Net code: Graphics.FromHwnd(IntPtr.Zero) However, attempts to draw to this result in nothing, no errors, and no output. Any suggestions would be very welcome... William Bartholomew

    C# csharp graphics tutorial question

  • To Port or Not To Port... That Is The Question
    W William Bartholomew

    Firstly, sorry for the subject ;P We have written a generic data-access layer which we use to execute stored procedures on a MS SQL Server database and return various data-types depending on the method called (recordset, array, integer etc.). This data-access layer is a COM+ object (because we need to call it from ASP) written with Visual Basic. We are currently looking at doing a re-write to support some new functionality (XML, multiple output parameters and the like), what I would like to know is would there be a significant performance benefit in porting the code to Visual C++ as an ATL COM+ object? I have made a number of ATL objects before and I am comfortable writing C++ but if the performance benefit isn't going to be measurable then I might as well leave the code in it's current Visual Basic form... Any input would be greatly appreciated. William D. Bartholomew

    C / C++ / MFC c++ database question sql-server

  • Event Log
    W William Bartholomew

    I'm using the ReportEvent API to write a message to the Windows 2000 event log... However it is coming up with a message in the event log saying that the description for event id (1) in source (OTEmail) could not be found. Can anyone help me?

    Visual Basic json help question

  • COM IDL
    W William Bartholomew

    Can anyone assist me I currently have a data-access layer written in VB and would like to port it over to C++ as I'm pretty sure there will be speed benefits in doing so... This is the prototype of the function currently in VB: Public Function RunSPReturnRS( ByVal sDSN As String, ByVal sSP As String, ParamArray params() As Variant) As ADODB.Recordset I have no problems with the first two strings but can anyone give me the IDL and the function prototype to handle the ParamArray and returning the Recordset??? I have been able to find any good samples on these... Many thanks, William :-D

    C / C++ / MFC c++ com performance question

  • Overiding OnOK
    W William Bartholomew

    Just a quick question? Why is the value of the member variable linked to an edit box always empty until I call CDialog:OnOK(). I'm guessing it has something to do with DoDataExchange but I haven't quite worked out what. What is the proper way to do this because I was always under the impression that you should call the base class last...

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups