Software Development Network Logo
  • .NET Development
  • Visual FoxPro
  • Audio and Video
  • SQL Server
  • Windows Forms
  • Visual C++
  • SharePoint Products
  • Visual Studio
  • Windows Vista
  • Visual C#
  • Visual Basic
  • Game Technologies
  • Smart Devicet
  • IE Development
  • Microsoft ISV

Software Development Network >> Aaron Oneal's Q&A profile

Aaron Oneal

Member List

furjaw
kewlbuddy
Caleb T
buntysk
Whoisit
Ariel S
nibsi
Brian312
DCollins
Lanex
InfiniZac
hayek85
Alessandro Camargo
Simulacrum
Prasenna
Memroid
pkr2000
Peto_SVK
Paul Arena
PsycoDaD
Only Title

Aaron Oneal's Q&A profile

  • Visual C++ Exception handling showing undefined behaviour. Help !!!

    Question #1 : The following code crashes in Visual C++ compiler. It fails in the expression _BLOCK_TYPE_IS_VALID(). It means that, it is deleting a bad pointer. When I give a copy constructor, it works fine but the control does not even go in the copy constructor. Why is it showing this behaviour Question #2 : If I throw a local primitive type like an int, the address of that variable matches in the catch block if I am catching by reference. But for objects, the address for the variable in the catch block changes. Why #include <iostream> using namespace std ; class Exception { char * m_pszError ; public : Exception ( const char * p ) { cout << "Exception::E ...Show All

  • Visual Studio Is it possible to get the DTE2 com object when starting devenv.exe with parameters...?

    I am currently writing some Visual Studio automation and would like to use the experimental hive so that when one of our users fires off Visual Studio from within our code any changes we make through code to windows toolbars etc are not persisted in their main version of Visual Studio. I have experimented with windows configurations, restoring settings on close etc, but this is still to risky for my liking (if the program crashes Visual Studio will be pretty messed up next time it is loaded outside of our code!!). This works perfectly from the command line using the rootsuffx argument but my problem lies in the fact that I need to start devenv.exe from code and get hold of the DTE2 com object. At present we do this by getting the CLSID or ...Show All

  • Visual Studio Tools for Office Populate pivot table with pre selected items.

    I have populate a pivot table using C#.net. I have used analysis cube as source of the pivot table. Now by pivottable.MDX property I got the mdx which indicates what items I have selected from the pivot table page fields. I saved the MDX and closed the excel. In my pivot table I have only page fields and one data field. Now I want to repopulate the same pivot table where only pre selected items are selected and others are unselected. I want to do this programmatically. I am using VSTO 2005. How can I do this I think your question could be better answered by the folks over in the Excel newsgroup. At this level you are working directly with the Excel PIA, and that is something that VSTO has little influenc ...Show All

  • .NET Development Display autonumber

    I have a main form with an add new button that calls another form called frmNewBooking. My booking table has a primary key named bookingID that I want to display to the user every time he/she adds a new booking. Is there a way to display the generated bookingID in txtID on frmNewBooking when the form is 1st shown and everytime the user adds a new booking Note: Access DB used. Please do not refer me to: ms-help://MS.MSDN.vAug06.en/WD_ADONET/html/d6b7f9cb-81be-44e1-bb94-56137954876d.htm You can guess the next number by running select max(autonumberfield)+1 from table. This is how you guess the next autonumber, but it is only a guess of course. There is no way to retrieve the actual real ...Show All

  • Windows Forms Updating public value via pop-up dialog

    Dear All, I have declared a public variable in my main form. Then upon pop-up dialog I want to be able to see the public value and update in the pop-up and later the update should be able to be seen in my main form. How to do it ya Dear Bonnie, I dont get you how to do this with a key down method of a button. Can you explain more a bit. Thanks. ...Show All

  • Visual Studio KB 926601 for Visual Studio 2005 SP1 is Not Available

    Anyone know why KB 926601 is not available http://support.microsoft.com/kb/926601 FYI: This is the KB containing info on VS2005 SP1 and the reference is listed under VS2005 menu: Help > About Microsoft Visual Studio under Installed products select: Microsoft Visual Studio Edition - ENU Service Pack 1 (KB926601) and under product details: This service pack is for Microsoft Visual Studio 2005 Edition - ENU. If you later install a more recent service pack, this service pack will be uninstalled automatically. For more information, visit http://support.microsoft.com/kb/926601 _________________________________ I was looking for info on Web Application Project (WAP) project template that I read was included with SP1. I could not find a WAP ...Show All

  • Windows Forms Check If sql Server Exits

    hi is there a way to check if sql server exist when creating and installer (i want to create an installer for a program and during setup i need the installer to check if sql server exits ) http://msdn2.microsoft.com/en-us/library/4awx1f1d(d=ide).aspx This articles explains it better than I could. My settings were : RegKey : SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\CurrentVersion Root: vsdrHKLM I did not have a value. You can look for version information under the above key as I believe it has a Version number at SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\CurrentVersion\CurrentVersion HTHs, James ...Show All

  • Visual C# Objects and implement IDisposable being used in static classes

    Hi I have an object which implements IDisposable. As a result of this, anywhere it's used I'm disposing of it. However, in a few instances it is declared as a member variable in a static class. Since static classes cannot implement interfaces I can't implement IDisposable on the static class and dispose of the object there. Also, static classes can't have finalizers so I can't dispose of the object in there. Is there a way to do safely dispose of the object in the static class Or, do I even need to worry about it since the static class will live for the lifetime of the AppDomain and disposable object will be destroyed when the static class is reclaimed anyway Thanks! Jeremy Hi Jeremy This is really a tough thing to a ...Show All

  • Visual Studio 2008 (Pre-release) SOAP Network Simulator

    Hi,   I’m doing some study on Reliable Messaging, and I would like to simulate some network message loss. I saw in a PDC  demo (from Shy Cohen ) a tool called SOAP Network Simulator, and I would like to use something similar or that tool specifically. Can anyone help   Thanks You can download this sample from here http://blogs.msdn.com/madhuponduru/archive/2006/06/19/637173.aspx ...Show All

  • Visual Studio Express Editions Windows TCP/IP Protocol and Connectivity Utilities

    Looking to set up smtp service for email on the intranet and not use external pop3/smtp account. ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/dv_vbcode/html/76b7fa90-4907-4fb5-a9a6-4d772b19e850.htm Windows XP Professional SP2 http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/iiiisin2.mspx mfr=true “ Before you install IIS, you need to install the Windows TCP/IP Protocol and Connectivity Utilities.” “ For more information on Windows TCP/IP Protocol and Connectivity Utilities, DNS, or NTFS security, see your Windows XP Professional online documentation.” Could not locate information. Microsoft support Knowledge Data base yeilds no results on “ Windows TCP/IP Protocol and Connect ...Show All

  • Visual C++ Error LNK2019, linking error - please help

    I am currently writing a programme in C which is going to convert roman numerals to arabic numbers, now I don't need help actually writing the programme(I dont think. Though if you see anything obvious let me know!) But I get this error whenever I try and build the solution, I really have no idea why! If anyone can help I'd really appreciate it. 1>------ Build started: Project: roman numeral conversion, Configuration: Debug Win32 ------ 1>Linking... 1>converter.obj : error LNK2019: unresolved external symbol "int __cdecl romanArabic(int,int)" ( romanArabic@@YAHHH@Z) referenced in function _main 1>C:\Documents and Settings\Xin\My Documents\Visual Studio 2005\Projects\roman numeral conversion\Debug\roman num ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Conecting my computer to Xbox 360

    What are the steps to do that because I typed in my conection key and everything but still it cant connect to my computer Posted too soon, sorry. I meant to also include this link , since it has images and troubleshooting tips toward the end of the page. Note that the most common problem is that you entered the key incorrectly while entering the connection settings in the Visual C# IDE. Please try creating a new key and re-entering. Some characters are hard to tell apart, particularly I and 1, and especially on standard-definition TVs. If you enter the wrong code, the connection attempt will time-out. Several other people have had to try two or three times to get it right. --Stephen ...Show All

  • .NET Development How to use dataset designer to relate 2 different datasources and their databases?

    I have 2 databases on my sql server 2005 express. I want to combine both of these databases information within the dataset designer. In the dataset designer, you can take 2 different datasources and relate them within the xsd.  I understand how to do the dataset designer part for the front end. Drop and Drag from my server explorer and relate the datatables with a DataRelation. Ok, do I need to make sure that the databases information is related in the database as well Does this need to be done as well How can I enforce ref. integerity if they are not related               skurge23423 wrote: Ok, do I need to make sure that the databases i ...Show All

  • Visual C++ Compiler Warning C4727 in Release but not Debug - Whole Program Opt Problem

    I have a static library project that uses "create precompiled headers" which builds fine in Debug configuration but when building in Release configuration I get a number of the following warnings: warning C4727: PCH named c:\project\Release\foo.pch with same timestamp found in c:\project\Release\foo.obj and c:\project\Release\foo.obj. Using first PCH. This causes the link to fail. I do not have more than one file that creates a PCH, nor do I have duplicate PCH's in the directory. I was able to bypass this issue and compile in Release successfully by turning off "whole program optimization", which is really not an ideal solution. WPO is definitely something I want to take advantage of. I really don't want to follow the ...Show All

  • SQL Server SQL stored procs

    can anyone help me out.... i need to compare a date that was retrieved from the database and the system date then it must be coded in the stored procs of the database.. help!!!! Hi, perhaps you may have a look on the Date function available in SQL Server. Time can be added through the function DATEADD, days can be e.g. added with DATEADD(dd,1,GETDATE()) --adds one days, you can also substract days from the days by using negative figures. HTH, Jens SUessmeyer. --- http://www.sqlserver2005.de --- ...Show All

©2008 Software Development Network