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

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

Aaron Oneal

Member List

Jae
Lasse.Knudsen
rternier
Ravencraft
Corey Furman
KevMac
SONAL N. SATPUTE
Eric-NZ
gafferuk
ilkerrr
Dottj
GreatFox
sps_perry
Martin Kristensen
TRTwiggy
ArronBrice
Will Merydith
dummies
AdityaC
redcodes
Only Title

Aaron Oneal's Q&A profile

  • Visual Basic Unload VB.Net ComClass from VB6??

    Anyone know how to unload a vb.net dll that is created in a vb6 exe I am able to create a new instance of the dll and it runs without error... The problem is that I can't seem to figure out how to unload it. I've tried something like "set myVBNETDll = nothing" in the vb6 code, but it doesn't kickoff the finalize() in the vb.net dll. Suggestions Thanks. If you have a Finalize method in your class it will be called sometime after all references to the object are gone. That's regardless if the client is managed or native code. That doesn't mean that the DLL will be unloaded though. The only way to unload a loaded assembly is to unload the entire appdomain. ...Show All

  • SQL Server sqlcmd :r and spaces

    I've been pulling my hair out with this for a bit and thought I'd post a solution. The problem is that if the file name :r reads contains spaces, it almost always gives an error. The solution isn't great and if anyone has something better I'd love to see it: :setvar dir "C:\test dir\" :setvar file "my file.sql" PRINT '$(dir)$(file)' :r $(dir)$(file) GO :setvar file "my file 2.sql" PRINT '$(dir)$(file)' :r $(dir)$(file) GO :setvar file "my file 3.sql" PRINT '$(dir)$(file)' :r $(dir)$(file) GO Hope this helps someone. Thanks Robert, That only works if the filename is a constant. I suppose I could search and replace but then I'd have to hunt through the script to see if ...Show All

  • Visual C# "No source code available for the current location"

    Using VS 2003 C#, XP SP2. I have developed a 'Class Library' but I'm getting the "No source code available for the current location" error message when trying to call a method in the class library for a certain class. My solution contains both class library project but also the windows appliction that uses the functionality implemented in the class library. In the "References" section of the windows application I added the class library as a "Project" referring to the source code directory where the source code of the class library is located. I have deleted all files for all sub projects for the solution and rebuilt it, but still I'm getting the "No source code..." error message when trying to step into method in class library. ...Show All

  • SQL Server How to export report parameters along with report data to excel?

    Hi all, I need to export the report parameters along with the report data to excel. One solution that i know is placing a textboxs in the report body containing the report parameters. But, i don't want to display the report parameters in the report body. Can any of you help me to solve this problem Thanks in advance. Awaiting for your reply Thanks Prabu ...Show All

  • Visual Basic Question about Hiding the command console while executing a module.

    Hi, Would somebody please tell me how to hide the command console when executing the module that creates it well if you set the WindowStyle to hidden then it should hide it (not show it) - is this not working it should do it.... perhaps try this way, although shouldnt be much difference Dim thePSI as new ProcessStartInfo("file") thePSI.WindowStyle = ProcessWindowStyle.Hidden Process.Start(thePSI) ...Show All

  • SQL Server User is not associated with a trusted SQL Server connection

    I set up SQL Express and Visual Studio Team System for the first time yesterday. I created a web service (on my localhost IIS) and added an MDF file to my App_Data folder. I added a table with five fields. I'm trying to connect to the database in my web service, but when my web service gets to the connection line it returns the error System.Data.SqlClient.SqlException: Login failed for user ''. The user is not associated with a trusted SQL Server connection. When I add in my domain name and password to the connection string I get the error System.Data.SqlClient.SqlException: Login failed for user 'redmond\danmor'. The user is not associated with a trusted SQL Server connection. I've queried these SQL forums, and the advice is u ...Show All

  • Visual Studio Warning and Error text missing from VS Output window

    I have a class that inherits from Task. Through this class's Log property I log errors, warnings, and messages. The Warning or Error text shows up in the msbuild output and in the Visual Studio Error List. However the warning or error text does not show up in the VS Output window. Text for Messages (any importance) show up in the Output window but not the VS Error List. How can I get warning and error messages to show in the Output window (and possibly messages in the VS Error List) Here is an example of my output: Visual Studio Output window: c:\somefile.txt (2,3)Error AB5901: msbuild output: c:\somefile.txt (2, 3): My Company Subsystem error AB5901: An error has occurred. See event log. I am calling the TaskLoggingHel ...Show All

  • Visual Studio Team System Synchronisation between repository and local files / folder

    Hi all, I know that a workspace synchronizes the repository with the local copy, i.e. if I delete files in the repository the local copy is removed too. The same seems to apply when I unmap a local folder that is controlled by a workspace: a forced get latest will remove the local folder. Now what I'm interested in is the following: I want to create a folder that contains all dependencies of a project. The project simply points to the files inside that directory. That directory would be located under a folder that is controlled (mapped) by a workspace. Now the question is: when I copy the files into that directory using xcopy can I be sure that this directory is not removed by the workspace It is important that it is not deleted. I could ...Show All

  • Smart Device Development Windows Mobile 5.0 == Windows Mobile 2005?

    Hello everyone, I am learning developing C/C++ applications for Windows Mobile platform. I often met with the two confusing item, Windows Mobile 5.0 and Windows Mobile 2005. Are they the same thing -- means the next version of Windows Mobile 2003 thanks in advance, George I don't see where you going with this thread and how it's related to development, so I'm going to close it as off topic. If you have further questions on that, please post them to relevant NG: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. ...Show All

  • Visual Studio Express Editions mutipe pages?

    im trying to use a button to load a new page in the same window can someone give me some device Just close the existing one and create a new one: Public Class Form1 Private mForm2 As Form2 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If mForm2 IsNot Nothing Then mForm2.Close() mForm2 = New Form2 AddHandler mForm2.FormClosed, AddressOf Form2_Closed mForm2.Show(Me) End Sub Private Sub Form2_Closed(ByVal sender As Object, ByVal e As FormClosedEventArgs) mForm2 = Nothing End Sub End Class ...Show All

  • Visual Studio How does msbuild determine whether a project should be built?

    I'm trying to figure out what msbuild does exactly to figure out whether a project should be built or not, because it seems that projects that haven't changed, are not built. Does it use the obj directory or the compiled assemblies in any way MSBuild will always build a project. However it may not build all of the targets inside of the project. This will depend on whether or not the outputs produced by the targets are up to date with respect to the inputs. When MSBuild builds a project it will compare the inputs of the targets with the outputs of the targets based on the timestamp of these inputs and outputs. If the inputs are newer then the outputs then the target will build. This partial building ...Show All

  • Visual Studio Error installing

    When installing " Microsoft Visual Studio Code Name “Orcas” Community Technology Preview – Development Tools for .NET Framework 3.0 " (vsextwfx.msi) from 7/17/2006, I get an error message: Setup has detected that a prerequisite is missing. To use Microsoft Visual Studio Code Name "Orcas" Community Technology P...0 you must have the .NET Framework 3.0 runtime installed. Please install the .NET Framework 3.0 runtime and restart setup." ( See screenshot here ) Then, the setup must be exited. Before this Orcas, I successfully installed the following components, as described here : " Microsoft Pre-Release Software Microsoft .NET Framework 3.0 - Release Candidate ", " MicrosoftR WindowsR Software Devel ...Show All

  • Visual C++ Unicode .rc file

    Hi All, I've a problem. I use Visual Studio .NET 2003 C++. I've created a simple project to create a resource-only dll. I've added to this project a unicode .rc file. I build the project, then build again without any modifications and the studio compiles the resources again. So why does the studio always believe, that the .rc was modified Thanks Sandor Nagy I couldn't reproduce this in VS2005. Compare the timestamp of the .rc file with the .res file, the latter should be newer. ...Show All

  • Microsoft ISV Community Center Forums Application.FileSearch in Excel 2007

    There is an issue which I am facing after I installed Office 2007. I had written a small VBA which would search for a file and if found will rename the file. I used Application.FileSearch then. Now I am tying to do it again but unfortunately there is an error prompted stating that 'the object does not exist' Set fSearch = Application.FileSearch defPath = "H:\SourceSafe_1_Feb-28_Feb_2006\SecondSet" Set rg = Range("MyFiles") fSearch.LookIn = defPath I have been frantically looking for changes in the VBA object model especially for Excel but cant seem to find them. Hi I went back to using VBScript to get the job done here is a snippet Function ReportFileStatus(filespec) Dim fso, msg Set fso = CreateObjec ...Show All

  • Visual Studio 2008 (Pre-release) NavigationWindow - Memory/Perf Advantages?

    When navigating between pages what are the pros and cons of using navWindow.Navigate(...) vs. navWindow.Source vs. navWindow.Content. Are there signifcant memory/performance advantages with any particular method I read that when navigating the following events occur... -Page2.Initialized <-- Are the GUI objects reinstaniated -Page1.Unloaded <-- What happens to the GUI objects Do they still exist -Navigated -LoadCompleted -Page2.Loaded I have a follow-up question. Is Navigating to a Uri with the KeepAlive property set to true the same as Navigating to an Object ...Show All

©2008 Software Development Network