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
P

Paul Brower

@Paul Brower
About
Posts
318
Topics
47
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Need help determining Dirty state of ActiveRecord
    P Paul Brower

    Does anyone know how to determine 'dirty' state of a Castle ActiveRecord? If I have an ActiveRecord class called Note, and I have a List, how to I determine which notes have been changed?

    C# help tutorial question

  • How to add blank space to an image
    P Paul Brower

    Answered my own question: The following will return your image with a 'white' bar 70 pixels high at the top. public Bitmap AddLabelSpace(ref Bitmap img) { var ret = new Bitmap(img.Width, img.Height + 70); var g = Graphics.FromImage(ret); g.Clear(Color.White); g.DrawImage(img, 0, 71,imgr.Width,imgr.Height); ret.Save("f:\\test.jpg",ImageFormat.Jpeg); return ret; }

    C# tutorial question

  • How to add blank space to an image
    P Paul Brower

    I have an image that's been resized to 640x480 pixels. I want to add 'blank space' (white background) to the top of the image. I want to add 70 pixels to the height, so that I have the original image plus a blank 70 pixel high space at the top. Anyone know how to do this? Paul

    C# tutorial question

  • Collaborative development efforts???
    P Paul Brower

    Good suggestions. Thanks for you insights, and I hope Mr. Maunder has this up and running soon.

    Site Bugs / Suggestions question discussion

  • Collaborative development efforts???
    P Paul Brower

    By the way, congrats on THE hockey game of the century.

    Site Bugs / Suggestions question discussion

  • Collaborative development efforts???
    P Paul Brower

    Chris, thanks for replying to this. I hadn't noticed the Collaboration/Beta Testers section before. Looks like that forum could be a segway into a full fledged collaborative environment. Anyway, here are a few random thoughts about development collaboration: - A source code repository would be crucial. (think sourceforge). - The person who started the project would be the 'owner', and responsible for granting access to the project to other. (May also designate another user as an 'admin') - I think it would be appropriate that CP members would be able to read the repository, but only authorized users could modify the repository. - I'd like to see somekind of 'CP Ranking' to be enforced on allowing a CP member to create a collaboration project. (Gold member or something ... wait, am I gold? Yes, ok that's fine) - Perhaps require that an article is written within (?? months) of creating a collaboration project. This would help you ensure that people aren't using your resources to host their own work, and help motivate them to get the work done. Some projects would be larger than others, but I think for the type of collaboration I'm interested in, max project length would be 1 month. - Make is easy for collaboration members to share contact info (securely) with each other, so IM and/or phone calls could be exchanged as necessary. - A message board, unique to the project, so that general questions can be asked, responded to, and not mixed with other areas of the web site. I guess all in all, this is kind of 'SourceForgey', but to enable this to be done within codeproject would be fantastic. If I have any other thoughts on this, I'll post. Likewise, if you have any questions/comments/feedback just let me know. -- one other thing. As specific needs/expertise are needed on the project, allow some kind of 'Current Project Needs' section, that could be viewed for a single project, or all projects ... so CP members could check it out, and see if there's anything they could contribute on. -- it would also be cool to allow collaborating members to rank the contribution of others.

    Site Bugs / Suggestions question discussion

  • Collaborative development efforts???
    P Paul Brower

    I'm not exactly sure what this would look like, but I'd like to see an area on CP that would allow people to find each other to collaborate on work. I've done quite a bit of work on a charting library (based off of zedgraph), and would like to collaborate with someone who has a lot of experience with statistical analysis (i.e. linear regression, correlation, etc). My end goal would be to use my innovations with usability, and the experience of someone with a math background to make sure I'm properly preparing the data. At the end, we both benefit from the shared code ... and perhaps write an article together. Thoughts?

    Site Bugs / Suggestions question discussion

  • Getting OutOfMemory error in 3.5 Windows app after upgrading server memory
    P Paul Brower

    SOOOO embarrassed about this, but I feel like I must post, so as not to further dissuade anyone from using MySql. As it turns out, the code the was executing in production, somehow (um, me) was double-building an inner join. So, instead of something like this: select s.id, s.tag, s.gline, s.sex, bdCal.yyyymmdd as birth_date from weaner_83 s inner join calendar bdCal on bdCal.dddd=s.birthdate where id in ('X05008869E1G7','X05028869E1G7') I was getting this: select s.id, s.tag, s.gline, s.sex, bdCal.yyyymmdd as birth_date from weaner_83 s inner join calendar inner join calendar bdCal on bdCal.dddd=s.birthdate where id in ('X05008869E1G7','X05028869E1G7') These ids can only exist once in the table. With these two Id's, i was getting 380,000 records. Why, you ask? about 190,000 records in the table, and 10,000 in the calendar table. Of course my actual code was query much more than just these two id's. I'll probably never know how this happened, but most assuredly it's my fault. Now it's fixed, and i've burned a good 8 hours. Thanks for you willingness to help.

    .NET (Core and Framework) csharp asp-net database mysql sql-server

  • Getting OutOfMemory error in 3.5 Windows app after upgrading server memory
    P Paul Brower

    Yes, I'm using version 6.2 (latest) of MySql connector for .net. My problem here, is that it is only a problem on our server that now has 32GB memory (upgraded last night from 12GB). I can't duplicate the problem in a dev environment ... only prod. I'm not about to install visual studio on that server either. It HAS to been a bug in .Net 2.0 or 3.5, or a bug in MySql 6.2 -- only an issue if you have 32GB memory? I don't know.

    .NET (Core and Framework) csharp asp-net database mysql sql-server

  • Getting OutOfMemory error in 3.5 Windows app after upgrading server memory
    P Paul Brower

    Well, we've got 32GB in there, with no other problems. The error only occurs when we're hitting the MySql database.

    .NET (Core and Framework) csharp asp-net database mysql sql-server

  • Getting OutOfMemory error in 3.5 Windows app after upgrading server memory
    P Paul Brower

    We have a windows 2003 - Enterprise server (32bit os) that previously had 12GB memory. We've upgraded it to 32GB, and now our .net 3.5 Windows application is getting an out of memory error when we run it. (Don't think it matters, but we're hitting Oracle 10g, SQL Server 2000, and MySql 5 databases). Nothing in the program has been changed, only the server memory. Any thoughts? I've been googling for 3 hours and have nothing. The memoryLimit in machine.config seems only to apply to ASP.Net apps.

    .NET (Core and Framework) csharp asp-net database mysql sql-server

  • Windows 7 and Directory.Exists ???
    P Paul Brower

    I can't explain WHY the **** this is like this, but I found my files. They are located at: C:\Users\pbrower\AppData\Local\VirtualStore\Program Files\Newsham\PigtrakDesktop What the hell?

    C# question discussion

  • Windows 7 and Directory.Exists ???
    P Paul Brower

    I have the following lines of code (2.0 framework) that worked in Win XP, but doesn't work with Windows 7: if (!Directory.Exists(@"c:\Program Files\Newsham\PigtrakDesktop\RAPI")) { Directory.CreateDirectory(@"c:\Program Files\Newsham\PigtrakDesktop\RAPI"); } Here's the weird part: If I try to navigate to c:\Program Files\Newsham\PigtrakDesktop using the Windows 7 explorer, the RAPI directory is NOT there. However, in my code, if tell it to list the files in the same directory, there ARE FILES THERE! This is really killing me. Any thoughts?

    C# question discussion

  • MS Sql Database synchronization
    P Paul Brower

    We've used Intellisync in the past for synchronizing databases ... they've basically gone out of busines, and I'm interested in knowing what software others use to synchronize ms sql databases. The software has to be capable of implementing rules for synchronization, so I can sync select data / tables. Thanks! Paul Brower

    Database database

  • Insurance Company SOP?
    P Paul Brower

    I totaled my 2002 Ford F150 about 9 days ago. My fault, several vehicles involved, no one hurt (thank goodness). Anyway, the truck was 3 months from being paid off. My insurance company offered me $3,700 last Friday. I told them I could not replace my vehicle for that amount. I faxed them comparable vehicle info (comps) for about 10 vehicles I found (within 300 mile radius). Those vehicles were priced between $9000 and $16000. Yesterday they gave me a revised offer of $9,184. WTF!? I mean, I'm glad they upped their offer (which I've accepted), but is this Standard Operating Procedure for insurance companies? I wonder how many people out there would have accepted the lower offer. Should I have held out for more? Hired an attorney?

    The Lounge question

  • Site has a bug?
    P Paul Brower

    All my articles show errors on the site when I try to read them. Is anyone aware of this bug? Here's a link to an article ... which should work: http://www.codeproject.com/KB/miscctrl/SimpleLine.aspx[^]

    The Lounge com help question

  • What the heck?
    P Paul Brower

    If I try and view any articles I've submitted, I get an error message. What gives? Here's a sample link: http://www.codeproject.com/KB/miscctrl/SimpleLine.aspx[^]

    C# com help question

  • Since everyone else seems to be doing it ...
    P Paul Brower

    Here are the specs to my new laptop ... I LOVE IT. You have to respect the 210W adapter. SYSTEM COMPONENTS Dell Precision Workstation M6400 Intel® Core™ 2 Duo T9400 (2.53GHz, 6M L2 Cache, 1067MHZ) Dual Core, Genuine Windows Vista® Business Downgrade, XP Professional SP3 Install,E Unit Price $3,359.00 Mobile Precision M6400 Intel® Core™ 2 Duo T9400 (2.53GHz, 6M L2 Cache, 1067MHZ) Dual Core Memory 4.0GB, DDR3-1066MHz SDRAM, 4 DIMMS Internal English Backlit Keyboard Graphics NVIDIA Quadro FX 2700M, 512MB Discrete Primary Hard Drives 250GB Hard Drive, 7200RPM with Free Fall Sensor 17" UltraSharp™ WUXGA (1920x1200) LCD Display AC Adapter 210W 3P, A/C Adapter Media Bay Devices 8X DVD+/-RW Slot Load w/Roxio and Cyberlink PowerDVD™ Wireless LAN (802.11) Dell Wireless™ 1510 802.11a/g/n Draft Mini Card RAID Configuration All Hard Drives, RAID 1 17" Wide Screen WUXGA LCD Panel w/ microphone Intel Core 2 Duo Processor TOTAL: $3,289.00

    The Lounge asp-net graphics iot business performance

  • "There is no dark side of the moon really....
    P Paul Brower

    I've got every albums that has ever been made by Pink Floyd -- including the stuff not released in the U.S. Definitely my all time favorite band.

    The Lounge

  • I love my Time Machine
    P Paul Brower

    I used to knock macs pretty hard. Hated mac users, hated apple. Then I, um, bought an iPhone. Now I think Mr. Jobs isn't so bad. But you do know that XP has System Restore, right? I guess that might be like Time Machine. I've used it (System Restore) a few times and it has saved me.

    The Lounge help learning
  • Login

  • Don't have an account? Register

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