Mang's Q&A profile
Visual C++ 2d array delete problem and question
Here is the basics of the code: class MyClass { public CString m_Value1; CString m_Value2; }; class MyWrapper { private: MyClass** m_pMyClass; public: void Create2dArray(int nHeight, int nWidth); void Delete2dArray(); }; void MyWrapper::Create2dArray(int nHeight, int nWidth) { m_pMyClass = new MyClass*[nHeight]; for (int i = 0; i < nWidth; i++) m_pMyClass[ i ] = new MyClass[nWidt ...Show All
Visual C# ?? What Does 'Strongly Typed' xxx Mean ???
Hi again everyone, I'm sorry for two questions in one day but this has been on my mind for a long time. I understand what it means for C# to be a strongly typed language but I often read about one object or another being strongly typed. A good example is the documentation for System.Windows.Forms.Binding, which refers to: A strongly typed IList of strongly typed objects I have also heard this term ( strongly typed ) when referri ...Show All
Visual Studio Express Editions How do I compare variable with datatypes DateTime
Example: Dim stoTime As DateTime Dim curTime As DateTime If curTime < stoTime Then <Statement> EndIf ***I get an error on this IS that all your code If you were to set values to the DateTimes ( which are null in the above code ), I'd expect this to work. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Really curious behaviour
Hi, I am using Visual Studio 2005 Beta 2 and Managed DirectX from the August 2005 SDK. My Program does behave very differently on different computers. On some computers it crashes reporting an AccessViolationException, on another computer it crashes reporting a Direct3DXException and on my development system it works fine until I use the debug runtimes. When using the debug runtimes, the program crashes and Visual Studio shows some assembl ...Show All
Visual Studio Express Editions TextBox (multiple line) & Databinding
In an attempt to do a project recently, I've bumped into a problem with textbox and databinding. I have a multiple line textbox and wish to display the address of a company. However the full address of the company is stored in multiple columns inside my database. When implemented, I can only display the street address onto my textbox. I'm currently databinding the textbox to the address field in my customer table. Is there a way to display more ...Show All
SQL Server OLE DB Source & SQL Command
Hi, I am trying to set the OLE DB Source Editor. I am using the following option for Data Access mode SQL Command from a variable and uses my sqlQuery variable. sqlQuery variable contains a sql statement but I am getting the following error ox80040E0C, Command text was not set for command object, Additional information HRESULT 0xC0202009 Does it mean I have to give the variable name containing the stored procedure Please Gui ...Show All
.NET Development .NET based - operative system
I heard somewhere that the new version of Windows was supposed to be based on the .NET framework, but due to timing issues, it will not be like that. I was watching the "command window" in VS.NET 2003, that has even autocomplete, and I was wondering if anyone has ever thought of making a console operative system running on top of the .NET framework... This might not be a forum post... rather than a blog idea, but I still need to share th ...Show All
Windows Forms Custom Fields per line Item
Hi, I am developing a ERP application, and part of this is Order processing / Shipping / Receiving. We have several customers, and some customers require a additional fields for each line item of a receipt and possibly a shipment. Currently the Rece ...Show All
Visual C# abstract/virtual events
If you have an abstract base class which has an event that children may implement, and none of the base class methods connect or raise the event, then what's the difference between declaring that event as either abstract or virtual I can't find much of anything in the docs about abstract or virtual events. An abstract method declaration provides no actual implementation, there is no method body; the me ...Show All
Visual Studio Tools for Office VSTO Question: Looking for WORD Action Pane example that lists and select contacts from Outlook
Would really appreciate any help or guidence. I want to have an Action Pane in Word that somehow allows the user to select a contact from the Outlook contacts and insert that information in different parts of the document. Are there any examples of integrating contatcs and using the action pane Thanks for any help, VA Actually, you do not need an 'actions pane' example because what you want to do can be done in a variety im ...Show All
Visual Studio Team System VSTS integration with QTP
Hi, We are currently using Mercury QTP 8.2. And our application is a .NET based application. So I wanted to know if you guys have any plans of integrating QTP with VSTS so that we don't have to switch the scripts from QTP to VSTS. Thanks, Amit. If they are outputting XML, it might be worth XSLTing into the Summary Results format -- this will give you rich information about your QTP results. it ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Is DirectX good enough for creating modeling tools?
this may seem a silly question. yet all the modeling tools i see on the commercial market and free tools use opengl. is this choice due to opengl having the ability to be used on no windows OS or is directx not upto the task I suspect you are correct about the modelling tools preferring to go cross platform. Other than the cross platform issue there is no reason why D3D could not be used for modeelling tools ...Show All
Windows Forms Changing Parent Items From Child
How can I change parent items such as menu items from a child First of all, the menu items aren't going to be hidden, right They're disabled. And, they will be disabled if there aren't any children. That's the point. You up ...Show All
.NET Development Failed to create an IPC Port: Access is denied.
I have a service that registers a remoting IPC channel on startup and quite often I will get this error when the service is stopped and then restarted. It doesn't do it all the time but enough to be an annoyance and when the service is stopped I do unregister the channel. Anyone else experience this Thanks!! It's actually hosted in a Windows service. Most times I can stop and start the service successfully b ...Show All
SQL Server Dataset not updating on localhost
I am trying to update the datasource due to recent changes and they are not being reflected when i deploy to the local host. I have set OverwriteDataSources to TRUE. Since that seems to have no effect, I figured that I could blow away the datasource in the localhost, but i can't find it. Shouldn't it be in the inetpub/wwwroot/ output: ------ Deploy started: Project: OPEN_CLAIM_DETAILS_WK, Configuration: Debug ------ Deploying to http ...Show All
