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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
P

Paul Groetzner

@Paul Groetzner
About
Posts
42
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Unable to publish
    P Paul Groetzner

    Has anyone experienced this before? I'm attempting to publish a website to a local directory but the directory is empty after the publish completes. The log says the site precompiles & both the build & publish show as successful. Yet the path I'm publishing to is still empty. I've tried this both with VS 2005 & 2008. Suggestions anyone? :confused: I've tried clearing every temp area I know of also...

    Addendum: Figured it out on my own... Apparently a malformed tag in
    an aspx pages can cause this to happen. The easiest way I found to debug
    (since it doesn't throw an error) is to exclude all the pages and re-include
    them a few at a time until you can narrow down which page is preventing
    the publish from generating the files and then fix the tags on that page.

    Visual Studio help visual-studio debugging question

  • Ahhhh.. Plagiarism at its best... [modified]
    P Paul Groetzner

    Oh and he renamed his title from "Connecting to Oracle from C# / Winforms / Asp.net / .Net 2" to Connecting to Oracle from C# / Winforms / Asp.net without tsanames.ora" as if that makes all the difference :P His original title is cached (for the moment) in google[^]. Sad really :P

    The Back Room database com question

  • Ahhhh.. Plagiarism at its best... [modified]
    P Paul Groetzner

    Oakman wrote:

    Him: You're half right: I was inspired by the article here: http://www.codeproject.com/KB/database/C\_\_Instant\_Oracle.aspx, however there is a difference: my method does not require the tnsnames.ora.

    That's funny.. I guess he must have missed this part:

    An alternative to including the tsanames.ora file is to include it within
    your connection string as the following demonstrates:
    private static string CONNECTION_STRING = "User Id=myUserID;Password=myPassword; Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=myserver.server.com) (PORT=yourPort#))(CONNECT_DATA=(SID=yourSID)));";

    This was originally brought up in a comment in my article by another person (here[^]) So he can't take credit for coming up with that either... That "inspiration" comes from Mark Benzel on May 15th 2007. The great thing about Karma is that it has a funny way of turning around and biting you in the ass. The great thing about the internet is it is just as easy to get caught for plagiarizing as it is to plagiarize ;) He'll get his in the end...

    Oakman wrote:

    Me: inspired, my ass - you're a thief. Do your employers know how you get your "inspiration?"

    Can't say for sure if he has an employer. I do know what he doesn't have. Honesty, integrity, common decency, respect are a few things that come to mind. Paul

    The Back Room database com question

  • Ahhhh.. Plagiarism at its best... [modified]
    P Paul Groetzner

    I wished I could have seen your comment ;) I went and posted one myself which hopefully will get posted (unless he's a coward and deletes it). I didn't use any language so it's safe to post. I also posted it to my articles comment area: My Rant[^] He's got some nerve. His claims can't even hold water! Inspired by? That's a joke. Should be 'A Cheap Knockoff of....'

    The Back Room database com question

  • Ahhhh.. Plagiarism at its best... [modified]
    P Paul Groetzner

    His claim is in a comment on my article: "I've blogged on a simpler way to use Oracle from C#:". That to me implies he is claiming what he posted as his own work. Although his sample code is different, the idea of using the Oracle Instant Client files within a project (the core of my article) is the same. He should indeed reference my material/link in his blog.

    The Back Room database com question

  • Plagiarism
    P Paul Groetzner

    Hi Chris, Thanks for the quick reply ;) My article is about how to use Oracle's Instant Client files within your project to connect to Oracle & retrieve data. It essentially explains how to avoid having to install the Oracle developer tools by using a few files from a package they provide to accomplish connectivity with a minimal footprint. This is essentially the core of my article and what is being copied (although his is not in as great detail and is using the latest client version files). The actual code in either of our articles has no bearing on the material presented. While our code may differ in appearance it achieves the same results, which is to use the Oracle Instant Client files within a project to retrieve data from an Oracle DB without installing the developer tools. Sort of like getting some software, changing the labels & box, resealing it and selling it as your own :(( I hope that made sense ;) Regards, Paul

    Site Bugs / Suggestions question

  • Plagiarism
    P Paul Groetzner

    Where do you go to report plagiarism if the copied article is hosted on someone's personal blog? This happened to me. Here's my article: My Code Project Article[^] Here's the link to the site that plagiarised my work: Plagiarised Work[^] Thanks! Paul G.

    Site Bugs / Suggestions question

  • Ahhhh.. Plagiarism at its best... [modified]
    P Paul Groetzner

    It would make a good suggestion, but no, I was ranting :P So given there's supposed to be licensing & copyrights does anyone actually enforce them? Paul

    The Back Room database com question

  • Ahhhh.. Plagiarism at its best... [modified]
    P Paul Groetzner

    Don't you just love it when someone copies your work and takes credit for it? :mad: Even nicer when they let you know it too (in the comments) :omg: My work: http://www.codeproject.com/KB/database/C__Instant_Oracle.aspx[^] His cheap knockoff: This comment in my article points the way...[^] There should be a hall of shame for things like this... ;P *Addendum: Full credit has been given and posted on his blog.

    modified on Tuesday, June 17, 2008 8:18 PM

    The Back Room database com question

  • Ok, so I'm 'plugged in'. Now what? Need help with plugin/host communication.
    P Paul Groetzner

    Thanks for your reply... I'm not particularly looking for 'one way' of doing it... Any way will be fine ;) I'm just looking more for direction as to how to go about doing it. The example I sited does achieve this somewhat by allowing 2 of the plugins to send feedback to the host which in turn launches a dialog box with the information sent to it. What I am needing assistance with is how to get it to post that information to the host's main form (say a text box) rather than an independent dialog box. Further on down in the message section someone had asked something similar. They wanted to put some data sent from the plugin to the status bar. Someone had posted a reply saying they were able to do it and how, but the answer seemed incomplete so I was unable to duplicate it. I guess my question really is this. I have 3 .cs files (pluginservices.cs which handles communication w/ host & plugin, my mainform.cs & mainform.designer.cs files) All of them belong to the same namespace (we'll call it 'host'). How can I access a button, textbox etc from my pluginservices.cs file. I thought that if I used a fully qualified name I would at least be able to access the object I want. Apparently this is not the case. Please keep in mind that I am still rather new to C# so if there are any concepts that I may not be aware about that would make this seem trivial please point it out. Thanks!

    C# help tutorial csharp com question

  • Ok, so I'm 'plugged in'. Now what? Need help with plugin/host communication.
    P Paul Groetzner

    This plugin article[^] by Redth is a good place to start since it seems to do something like what I need. The only problem I have with it is doesn't clearly explain the ability to communicate information between the host & the plugin. Well at least to me anyway. :confused: So using that code as a base, perhaps someone can help clear this up for me. Lets add a button to the host. It's job will be to display "Hello world" in the text box located in plugin1. Lets also add a textbox to the host along with a button in plugin1. The button in plugin1 will display "hello world" in the newly created textbox on the host. If anyone can figure out how to communicate between the host & plugin using that example I would be most grateful. I'm about running out of hair!!!! :(( Any other assistance would also be welcomed or references to other documentation. I've searched & searched, but there's not much around that explains what I need to know. All I can find is documentation on creating a plugin and loading it on a host. Nothing exists (that I know of) to demonstrates communication between the two. THANKS!!!!!!!!!

    C# help tutorial csharp com question

  • Visual Studio AD
    P Paul Groetzner

    Actually I can say it did happen to me once... There was a cute new hire that seemed to be particularly interested in having me show her the ropes. And then there was girl #2, also equally good looking whom just happened to stop by my cube for a visit and grew rather suspicious of said newbie... Luckily for girl #2 she met me first so I had to play seniority... But I guess the fact we were married had a lot to do with it :P She eventually got over her suspisions, but my guess is her hormones were a little off given she recently gave birth to our son.... Sadly there was no catfight or name calling and all ended well... It was a slow day and I could have used the entertainment :P

    The Lounge csharp visual-studio com

  • Visual Studio AD
    P Paul Groetzner

    I think she likes his BMW (wonder how much they paid for that spot). When was the last time you had 2 models standing in your cube watching you work. Happens to me ALL the time... :rolleyes:

    The Lounge csharp visual-studio com

  • C# and database
    P Paul Groetzner

    Have a look at this article: http://www.codeproject.com/useritems/C__Instant_Oracle.asp[^]

    C# csharp database mysql oracle question

  • Connect to oracle using ODBC Oracle
    P Paul Groetzner

    See if you can connect using this method: http://www.codeproject.com/useritems/C\_\_Instant\_Oracle.asp

    C# help oracle discussion

  • Need help with NewWindow3 and IWebBrowse2
    P Paul Groetzner

    Would you believe I *FINALLY* got it working? Here's the code to make it work.... ON_EVENT(CLoadWebSite, IDC_EXPLORER, 273 /* NewWindow3 */, OnNewWindow3Explorer1, VTS_DISPATCH VTS_PBOOL VTS_BSTR VTS_BSTR VTS_BSTR) void CLoadWebSite::OnNewWindow3Explorer1(LPDISPATCH FAR* ppDisp, BOOL FAR* Cancel, BSTR Flags, BSTR URLContext, BSTR URL) { CString strURL; // capture URL of any link clicked that would attempt to open in a new window if (URL != NULL) strURL = (LPCTSTR)URL; *Cancel = TRUE; // prevent IE from spawning Browser.Navigate(strURL,NULL,NULL,NULL,NULL); // loads resulting URL into the web browser control instead of a spawned IE window }

    C / C++ / MFC question com help tutorial

  • Need help with NewWindow3 and IWebBrowse2
    P Paul Groetzner

    Unless it's on mulitple locations on my drive the version I have appears to be older... I have 6.0.2900.2919. According to the article on MSDN: NewWindow3 is available only in Microsoft Windows XP Service Pack 2 (SP2) or later. So if you have that, it should work... FYI, after messing around a bit and not getting anywhere I put the code back that was showing me the proper URL in the debugger stopped working again. Same code, but bad results. I have't been able to get it to reproduce the proper URL in the debugger since.:mad:

    C / C++ / MFC question com help tutorial

  • Need help with NewWindow3 and IWebBrowse2
    P Paul Groetzner

    Yeah, I'm using VS2005... Here's a new bit a code that came very close... void CLoadWebSite::OnNewWindow3Explorer1(LPDISPATCH FAR* ppDisp, BOOL FAR* Cancel, BSTR Flags, BSTR URLContext, BSTR URL) { BSTR b = URL; _bstr_t orig(b); CString cstring((char *)orig); AfxMessageBox(_T(cstring)); *Cancel = TRUE; Browser.Navigate(cstring,NULL,NULL,NULL,NULL); } When I debug this code the value for cstring is the URL I need! However, when I try to view it with AfxMessageBox or Navigate to it, it still thinks the value is all question marks.... I don't understand why it could show me one thing and do another... I wish there was a way to post a screenshot.... Any ideas?

    C / C++ / MFC question com help tutorial

  • Need help with NewWindow3 and IWebBrowse2
    P Paul Groetzner

    I've tried converting the value to CString every which way and it always comes to the same results no matter what, a line of several dozen ? marks. This is getting quite frustrating :(( I have to assume then that it may be a problem with BSTR URL not reporting a proper url. To test the NewWindow3 function I had my default site go to google.com, I searched on a something irrelevant and right-clicked to Open to a new window to trigger the event. In the debugger URL always comes back as a bunch of square shapes (I think because debugger can't display BSTR?, at least there's a doc somewhere on codeproject that said it couldn't, but it might have been for an older version of VS) and converting always results in ? marks... If you want to test this you can do do very easily by going to this link: http://www.codeproject.com/com/webbrowser.asp[^] This is basically something similar to what I have. Just edit the code, change the default site if you wish and add the event for the NewWindow3 compile and have at it to see what you can find...

    C / C++ / MFC question com help tutorial

  • Need help with NewWindow3 and IWebBrowse2
    P Paul Groetzner

    Tried it with and without the ampersand. Pretty much the same error: with: error C2227: left of '->bstrVal' must point to class/struct/union/generic type type is 'BSTR *' without: error C2227: left of '->bstrVal' must point to class/struct/union/generic type type is 'BSTR' Here's my code: ON_EVENT(CLoadWebSite, IDC_EXPLORER, 273 /* NewWindow3 */, OnNewWindow3Explorer1, VTS_DISPATCH VTS_PBOOL VTS_BSTR VTS_BSTR VTS_BSTR) void CLoadWebSite::OnNewWindow3Explorer1(LPDISPATCH FAR* ppDisp, BOOL FAR* Cancel, BSTR Flags, BSTR URLContext, BSTR URL) { CString url(V_BSTR(URL)); AfxMessageBox(url); *Cancel = TRUE; // Browser.Navigate(url,NULL,NULL,NULL,NULL); }

    C / C++ / MFC question com help tutorial
  • Login

  • Don't have an account? Register

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