Software Development Network Logo
  • Visual Basic
  • Microsoft ISV
  • VS Express Editions
  • Windows Forms
  • Visual J#
  • Game Technologies
  • SQL Server
  • Visual FoxPro
  • Smart Device
  • Windows Live
  • Visual C++
  • .NET Development
  • Visual Studio
  • VS Team System
  • Architecture

Software Development Network >> Jorg Jooss's Q&A profile

Jorg Jooss

Member List

shantanu_gadgil
SweptSquash
cchandru1974
more FAQ
Preston M. Price
xanthom
aakinal
talon121
Ashraf Hameeda T
Rouretain
NewbieCsharp
Alain Martineau
Skipy
T.C.
Lars K
microzt
explorer4life
Taha
Linda Li
snesbit
Only Title

Jorg Jooss's Q&A profile

  • .NET Development appsettings and adding keys programatically

    I'm trying to add keys from one Web.Config to another without success. keeps popping out with a ConfigurationErrorsException. I'm traversing throgh the AppSettings section of one web.config and adding the key and value found for each element into the AppSettings of another WebConfigurationManager (I was hoping that this could be done in memory instead of writing to the web.config and saving). Why can I not add to the AppSettings [CODE] try { // Get the application configuration file. Configuration ourConfig = WebConfigurationManager.OpenWebConfiguration("/mdserver"); Configuration serverConfig = WebConfigura ...Show All

  • Visual C# windows form - zoom

    Ok, i'm trying to find a way to be able to zoom in and zoom out on my picturebox object. I have a windows form with a panel in it and have my picturebox object inside my panel. I have found a solution here: http://www.codeproject.com/cs/miscctrl/zoompancontrol.asp which works pretty well with only the picturebox. My problem is I need a zoom that will not only zoom in/zoom out my picture but will zoom in and zoom out all of my drawing in the picture. When i'm talking about drawing I mean being able to add some square, circle etc on the picture (similiar to mspaint). At the moment, only my picture get zoomed and not my drawing. IE: ...Show All

  • Visual Basic Split a read-in string into more variables or read individual characters

    I am extremely new to VBA, so I'll need some detailed answers. Any help is more than appreciated. I have an input box that reads in a set of 3 characters separated by a space like this:  A1B 2CD EF3    called Values I then read a 3 character value from an Excel spreadsheet (lets call it Initials) and want to compare this with the read in values.  Easiest way, I assume, would be to compare Initials to characters 123 of Values and then compare Initials to characters 567 (since 4 would be a space) etc. Can I do this and if so how If not, how do I split Values into 3 separate variables so ...Show All

  • Visual Studio Windows 2003 x64

    I have a test wesite that I am working on and have been able to run it successfully on a Windows 2003 X86 server with SQL 2005. All the normal asp.net stuff works including database access but I'm having trouble getting Crystal Reports to run properly. I do have the Crystal runtime installed...and maybe that's part of my problem, do I need a 64bit version of that to be able to use it Anyway, the error I'm getting is a ...InteropServices.COMException - 0x80040154 - Class not registered. Any thoughts on this greatly appreciated. Update: I did a little more testing and what I found is that the report prints okay from within the developemen ...Show All

  • .NET Development Remoting-v-webservices - the prescriptive guidance is nuts ?

    Web-services excel for cross-platform/cross-language communication. However, what about communication for the internal tiers of an app, where it is .NET on both sides It's the endless debate of remoting-v-webservices. Remoting - faster performance and richer type system, versus the lower-performance, lowest common denominator of web-services. The message that I perceive from MS is "use web-services for everything - remoting is only for in-process, cross-app domain communication", but as Rocky Lhotka suggest "the prescriptive guidance is nuts." http://tinyurl.com/5wnul So, is the "politically correct" choice of web-services really that ...Show All

  • .NET Development Problem with 'Oracle client' and 'ODPnetOnly'

    Hi all ! I have both Oracle Client and ODPnetonly on my system. They have their different homes. If the path of Oracle Client (D:\oracle\ora90\BIN) is before the path of ODPnetonly (D:\odpnetonly\bin), then I have a problem. In this case, my web applications (in C#.net) don’t work but my console applications (in C#.net) do. And if I change the path of ODPnetonly before the path of Oracle, then my web-applications work but my console applications don't. So please tell me what is wrong with my system. Is there any problem regarding installation of 'Oracle Client' or ODPnetonly (I installed 'Oracle Client' before the OD ...Show All

  • Windows Forms Curious about security architecture in TaskVision

    I am fairly new to web services security. I learned a lot from the authenticationTicket method used in Task Vision and have even started plugging it in to a pre-existing Windows Forms Client/ Web Services Data provider app that I deployed a few months ago with lame security! I wonder (and forgive me if I missed this in the documentation) about the  ...Show All

  • Visual C++ optimization issue with VC++ 6 SP6 compiler

    Can anyone explain the following behaviour I am using VC6 with SP6. The following code is producing different printf output if I use different optimization options in release program. It seems that the difference is caused by initialization of the member variable called 'packlength'. If I replace it in function max_length() with constant then program produces correct output. Correct output is also generated when I build this program with Microsoft Visual C++ .NET 2003. typedef unsigned int uint; typedef unsigned long ulong; typedef unsigned __int64 ulonglong; #define BLOB_PACKET_MAX_LENGH(arg) ((ulong) (((ulonglong) 1 << mi ...Show All

  • Visual C# How will I know what closed the form?

    If it's the Close button (this.Close()), the red X button in the upper right corner, Alt+F4, or something else. In FormClosing or FormClosed events, check the eventarg's CloseReason property, it has any of the CloseReson enum values: http://msdn2.microsoft.com/en-us/library/System.Windows.Forms.CloseReason.aspx Regards, -chris ...Show All

  • Windows Forms Please… urgent help about the BeforeNavigation2

    I tried to use this BeforeNavigation2 event and apparently it neither fires in my VB application nor in my C #code! I tried the resolution claimed by Microsoft at: http://support.microsoft.com/default.aspx scid=KB;EN-US;Q311298&ID=KB;EN-US The example in this article is designed for some one hosting a WebBrowser Control not using a InternetExplorer directly!!!  The problem happens in the foll ...Show All

  • Windows Forms How to use datasets across multiple forms?

    I'm having a hard time understanding what the method is to create a copy of the database within my application using a single dataconnection and data adapters   In other words, all of the examples you see regarding datasets, etc. show you dragging and dropping your table onto the form which creates a connection object, data adapter object, and finally  ...Show All

  • .NET Development Help with STMP Virtual Server

    I'm looking for help with a SMTP Virtual Server. I have created a web app in the 2.0 framwork and tested it on my local machine - everything works ok. The information is inserted into the database and the email fires off fine. When I upload it to the directory it's supposed to be at, everything works ok except for the email - it's not firing off for some reason. I'm not getting any error messages. I've checked the logs and everything looks good. I've configured the SMTP Virtual Server to allow connections from the localhost, but it's not working correctly. Can anyone help me out in how to troubleshoot this How can I find o ...Show All

  • Windows Forms Weird behavior when customizing property grid.

    Hello guys, I'm studying the architecture behind custom controls and the property grid in 2.0 for a while now, but I still not seem to get it completely. I've tried a couple of strategies, which all resulted in some undesired behavior that I cannot explain. I hope someone can help me out and provide me with the missing details. Strategy 1: ICustomTypeDescriptor I linked an extension of CustomTypeDescriptor to my custom textbox through a TypeDescriptionProvider. In this extension I have overridden the GetProperties method and I return only the properties I want the grid to show (say Name, Location and Size). Having done this I enc ...Show All

  • Visual Studio Team System Possible to detect use of enum.ToString()?

    Does anyone know if it is possible to detect the use of an enum's "ToString()" method The reason I ask is because we have started obfuscating our code using Dotfuscator, and of course because that renames the enums, it plays merry hell with any use of enum.ToString()! It'd be great if FXCopy could detect such usage. Also, I guess we'd need to detect enum.Parse() and other reflection-style access. Any help would be much appreciated! Just to follow this up: I used Michael's source code to solve the problem - thanks Michael! I also had to add a rule to detect the boxing of enums, because you can pass an e ...Show All

  • Software Development for Windows Vista TransactionScope: System.Transactions.TransactionManagerCommunicationException

    Hello, we are having a bit of a problem here. Three of us are running Unit tests daily. One of us have installed an English OS and the tests are running excellent. Two of us have Swedish OS and frequently run into this exception: Failed Test method UnitTest.CompanyTest.UpdateCompanyTest threw exception: System.Transactions.TransactionManagerCommunicationException: Communication with the underlying transaction manager has failed. ---> System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.. Could anyone help us out here Cheers, Chris ...Show All

©2008 Software Development Network