VS2015 CTP5 crashing
"Attach" button.
Why I do not have a button "Start Debugging"? Instead, the "Attach ...". Property "Set project as Startup" did not help.
SSIS and VB 2005
I have the following code:
Function Main()
'Declare variables
Dim oPkg, oTextConn, oFSO
Dim basepath, remotePath
Dim filedate, importFilename
'Create objects
Set oPkg = DTSGlobalVariables.Parent
Set oTextConn = oPkg.Connections("DataFile")
Set oFSO = CreateObject("Scripting.FileSystemObject")
'Config
basepath = "E:\TEST\"
remotePath = "\\Server1"
'Set the data filename based on yesterday's date
filedate = DateAdd("d", -1, Now())
importFilename = Right(Year(filedate), 2) & Right("00" & Month(filedate), 2) & Right("00" & Day(filedate), 2) & ".MRNG"
'Set the datasources of the data file connections
oTextConn.DataSource = basepath & "\data\" & importFilename
'Get the import file
oFSO.CopyFile remotePath & "\" & importFilename, basepath & "\data\"& importFilename
'Cleanup
Set oFSO = Nothing
Set oTextConn = Nothing
Set oPkg = Nothing
Main = DTSTaskExecResult_Success
End Function
I am receiving errors in the 'Create Objects' section (DTSGlobalVariables.Parent).
How would I convert for SQLSERVER 2012 SSIS?
C# installation problem.
I am complete newbie to C#.
I've got a code from a friend. He is not available to help me any more. The code is clean and ready to compile. I added setup project to this solution.
Setup does the following:
1. creates a folder named "Budget" on C:\drive.
2. copies executable, config file and icon into this location.
3. Loads itself into the system tray.
It does it correctly.
The problem that I have is that initially icon in system tray does not point to executable file from c:\budget. I know it because it looks probably into wrong config and brings up to the screen wrong contents. Also if I close the program from the tray and click on executable on C:\drive it starts working correctly.
I cannot find out where it points to because I have menu in this program that uses right mouse so I cannot view properties.
My solution should create executable in Debug folder. But when I open solution folder I have "executables" (for the main program, not for the setup) in bin/debug folder and obj/debug folder. Maybe it points to Obj/debug. When I click on executable in obj/debug it gives me error message because it does not have config in this location.
I would appreciate if someone points me in the right direction. Thanks in advance.
Stefania
aeonium
An error occurred while exporting code metrics
In the function of Calculate Code Metrics for Solution,
a error occurred when I click "Open List in Microsoft Excel" then show a dialog that "An error occurred while exporting code metrics"
But the code metrics result is calculated correctly
It can open correctly a few day ago
References in Soln Explorer.. .
Hello,
Can somebody please explain "Add Reference in Solution Explorer " concepts ?? IF I browse and add a .dll will it be bundled with the .exe automatically or need to provide the referred dll-file separately ??
Thanks in advance ..
Visual Studio Prof. 2013 hangs forever when creating a project
Hello, I have been experiencing issues with Visual Studio Professional 2013 Update 4 and after searching and attempting 'fixes' found online, I still have not been able to solve my problem.
Here are the steps I am taking that lead to my issue:
1) Open VS under admin privilege.
2) File -> New -> Project
3)Templates-> Visual C# - > Console Application(though any C# project results in the same issue). Then I hit 'OK'.
4) A popup occurs(with a green progress bar) stating Visual Studio is creating the project.
5)Popup never goes away and the project is created. I've waited over an hour multiple times with no success. The only way to stop the action is to force kill visual studio. Sometimes VS will just become unresponsive too.
When I run Visual Studio in safemode, it works fine. This would lead me to believe there is a problem with extensions. However, this is a clean install with no extensions installed. I need to be out of Safemode to work on certain projects of mine. I've tried devenv resetsettings, re installing the templates, redoing Setup. I've uninstalled completely and reinstalled completely multiple times, as well as done a repair. My computer's performance is not a problem, many gigs free of RAM and CPU usage is barely being used. I have also done virus scan with Microsoft Security Essentials and malware scan with MalwareBytes which both came back as negative.
I am out of options, what can I do to fix this issue?
Visual Studio Community 2013 does not show database explorer
I am a Newbie who wants to learn web development. it seems in older version of visual studio, when you add a database item in solution explorer there is a database explorer.
but now in my visual studio 2013, if i add a database item, there is no database explorer to let me browse table or others below. Why? I installed SQL express and Visual Studio on windows 8.1 x64
Also any pointers to free tutorial on the internet that lets me learn and practise working with database in a web application?
XAML Designer terminating unexpectedly!
Hi,
I have a serious problem that I cannot resolve. I am using Visual Studio 2013 Community Update 4.My OS is Windows 8.1 Pro.
Every time I start a new windows store/phone project and open the mainpage.xaml I receive this error message and cannot access the visual xaml designer:
An Unhandled exception has occurred
Details:
System.Runtime.Remoting.RemotingException
[3924] Designer process terminated unexpectedly!
at Microsoft.Expression.DesignHost.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain.Microsoft.Expression.DesignHost.Isolation.IIsolationDomain.CreateInstance(String assemblyName, String assemblyCodeBase, String typeName)
at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.Initialize()
at Microsoft.Expression.DesignHost.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type)
at Microsoft.Expression.DesignHost.Isolation.IsolatedObjectFactory.Initialize()
at Microsoft.VisualStudio.ExpressionHost.Services.VSIsolationService.CreateObjectFactory(IIsolationTarget isolationTarget, IObjectCatalog catalog)
at Microsoft.Expression.DesignHost.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
at Microsoft.Expression.DesignHost.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry)
at Microsoft.Expression.DesignHost.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)
at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func`2 func, CancellationToken cancelToken)
at Microsoft.Expression.DesignHost.Isolation.IsolatedTaskScheduler.<>c__DisplayClassa`1.<StartTask>b__6()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Also in the Event Viewer I get:
Faulting application name: XDesProc.exe, version: 12.0.31101.0, time stamp: 0x54547532
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17278, time stamp: 0x53eeb460
Exception code: 0x00000004
Fault offset: 0x00012f71
Faulting process ID: 0xf54
Faulting application start time: 0x01d040d04d7c4917
Faulting application path: C:\Users\Tim\AppData\Local\Microsoft\VisualStudio\12.0\Designer\ShadowCache\xblplb1b.wsk\zg3uy5wv.j2b\XDesProc.exe
Faulting module path: C:\WINDOWS\SYSTEM32\KERNELBASE.dll
Report ID: 8b7a3919-acc3-11e4-bf04-0015830cbfeb
Faulting package full name: App.a7634f14b.a2ab7.a4f9e.a8e19.a6056a1d90eeb_1.0.0.0_x86_NorthAmerica_8wekyb3d8bbwe
Faulting package-relative application ID: Designer.App
Steps I have already attempted to resolve this problem:
- Repairing, uninstalling/reinstalling Visual Studio
- Checked to see if XDesProc.exe is hanging (it wasn't).
- Deleting Shadow Cache
- Found no file in the root of C:\ called "program"
- Ran a batch file with these commands:
pushd% VS120COMNTOOLS%
icacls .. \ IDE / grant "ALL APPLICATION PACKAGES": (OI) (F)
icacls .. \ IDE / grant "ALL APPLICATION PACKAGES": (CI) (F)
icacls .. \ IDE \ PrivateAssemblies / grant "ALL APPLICATION PACKAGES": (OI) (F)
icacls .. \ IDE \ PrivateAssemblies / grant "ALL APPLICATION PACKAGES": (CI) (F)
icacls .. \ IDE \ PublicAssemblies / grant "ALL APPLICATION PACKAGES": (OI) (F)
icacls .. \ IDE \ PublicAssemblies / grant "ALL APPLICATION PACKAGES": (CI) (F)
- Uninstalled Xamarin
- Updated all my drivers
- Restarted my PC numerous times.
This error also happens in Blend. I am at a loss, and am going crazy with this issue. Please Help.
Thanks in advance
Add Existing Item: Window and its partial Class. C#, WPF.
Technical Specifications
Hello!
I have to develop management information system to regard the education society for my research plan. Professor asked me the technical specifications in details. Can I develop my system with Visual Studio 2010 Express edition - free version? The work flow of my system is going to save student records from schools (start from ten primary schools, one township , average students number 15000), responsible users can retrieve at any time they need, produce reports. The main purpose is to produce annual analysis report for the students who can continue to attend the school and who cannot including their parent finance, our Government can view this report and provide necessary help (by working together with international organisation) to these students to continue their education. I am now working at private company and my company used VS 2010 ultimate full version with license. But my university could't provide this edition and also server. So how can I continue to develop my system with VS IDE or do I need to change to open source system drupal, joomal or something like that? But I would like to develop my system on .Net framework and with C# language because I have studied computer studies and developed my projects with this IDE, also working with C# at current company.
Kindly provide the way to solve for this. Apologize if there is any mistake in my question.
Thanks you very much. Have a nice day to everyone.
Best Regards
Shwe Nann Thu
Compile Error
Errors that occur after compiling the project
Need help with an automating a "Message from webpage" click.
Any help would be appreciated. I guess I would consider myself as a beginner with VB.NET.
Basically - My program launches an internet explorer window. Points to a specific webpage that has records. Finds the "check all" and clicks it, then finds and clicks "delete".
I am stuck at this part. A "Message from webpage" pops up wanting to confirm the deletion of the records. I have 50 records per page and an excess of 14,000 records each day that need to be deleted. I do not have time to click OK on every single page.
I have tried to sendkey function, which worked for a while but for some odd reason, it quit working. Someone suggested using API, which I know nothing about. Please help me! I am desperate!
Here is my code. I know the "threading.thread.sleep" isn't good to use but I need someway to pause. Like i said, I am a beginner, so please be easy!
Public Class Form1 Dim oInputs As Object Dim oWShell As Object Private Sub btndel_Click(sender As Object, e As EventArgs) Handles btndel.Click With CreateObject("InternetExplorer.Application") .visible = True .navigate("WEDPAGE GOES HERE!") Threading.Thread.Sleep(3000) oInputs = .document.getElementsbytagname("a") For Each elm In oInputs If InStr(elm.innertext, "(Un)Check All") > 0 Then elm.click() Exit For End If Next For Each elm In oInputs If InStr(elm.innertext, "Delete") > 0 Then elm.click() Exit For End If Next Do While .busy Or .readystate <> 4 Threading.Thread.Sleep(2000) Loop End With Dim objShell = CreateObject("WScript.Shell") Dim Success = objShell.AppActivate("Message from webpage") Do Until Success = True Threading.Thread.Sleep(1000) Success = objShell.AppActivate("Message from webpage") Loop Application.DoEvents() AppActivate("Message from webpage") SendKeys.Send("{ENTER}") End Sub
'The operation could not be completed. Access is denied' during delete.
Hello World,
Something happened while working in my Visual Studio 2010 Professional environment.
When I delete a member from my Solution Explorer, it disappears from the memberlist, is marked as 'locked, deleted' and can be removed from TFS using Check-In. But during the delete process I get the message 'The operation could not be completed. Access is denied.'
I'm an Administrator on my computer (manually adding/deleting members in my workspace and/or directly in TFS is not a problem). I get this message for every delete I perform, even in other Solutions!
The member will remain in my workspace however.
Can anyone help me with this problem please?
Thanks,
Guy Swagen
Microsoft Visual Studio 2010Version 10.0.40219.1 SP1Rel
Microsoft .NET Framework
Version 4.0.30319 SP1Rel
Installed Version: Professional
Microsoft Office Developer Tools 01018-532-2002181-70270
Microsoft Office Developer Tools
Microsoft Visual Basic 2010 01018-532-2002181-70270
Microsoft Visual Basic 2010
Microsoft Visual C# 2010 01018-532-2002181-70270
Microsoft Visual C# 2010
Microsoft Visual C++ 2010 01018-532-2002181-70270
Microsoft Visual C++ 2010
Microsoft Visual F# 2010 01018-532-2002181-70270
Microsoft Visual F# 2010
Microsoft Visual Studio 2010 Team Explorer 01018-532-2002181-70270
Microsoft Visual Studio 2010 Team Explorer
Microsoft Visual Web Developer 2010 01018-532-2002181-70270
Microsoft Visual Web Developer 2010
Crystal Reports Templates for Microsoft Visual Studio 2010
Crystal Reports Templates for Microsoft Visual Studio 2010
Java language support for Visual Studio 1.0
Java language tools for Visual Studio includes IntelliSense and more... eventually...
Java project support for Visual Studio 1.0
Java project system for Visual Studio
Micro Focus Enterprise Developer Team Edition 2.2 Serial number: xxxxxxxxxxxxxxxx
Micro Focus Enterprise Developer Team Edition 2.2 Version 2.2.01204.
Serial number: xxxxxxxxxxxxxxxx Full license
For more information, visit http://www.microfocus.com.
Copyright (C) Micro Focus 1984-2014. All rights reserved.
Micro Focus Rumba Integration 1.0
Micro Focus Rumba Integration is a Visual Studio package which provides connectivity to Mainframes.
Microsoft Team Foundation Server 2010 Power Tools 10.0.41206.0
Power Tools that extend the Team Foundation Server integration with Visual Studio.
Microsoft Visual Studio 2010 Professional - ENU Service Pack 1 (KB983509) KB983509
This service pack is for Microsoft Visual Studio 2010 Professional - 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/983509.
Microsoft Visual Studio 2010 SharePoint Developer Tools 10.0.40219
Microsoft Visual Studio 2010 SharePoint Developer Tools
Microsoft Visual Studio Process Editor 1.0
Process Editor for Microsoft Visual Studio Team Foundation Server
Visual Studio 2012 Ultimate - GUI not loading.
Recently, my copy of Visual Studio 2012 Ultimate has started loading in with a completely white screen with only the grey General bar on the left.
The other graphics render after resizing the window but the menu items (File, Edit, View, etc.) won't drop down menus when clicked on.
I have tried repairing Visual Studio (through Programs and Features), but the problem persists.
Has anyone else had this issue? Did you manage to fix it?
Web Services with two different "headers" for Request and Response
Hello,
I am trying create a webmethod in a webservice, this webmethod must to have two different headers, one for request and one for response.
I know exist an atribute called "SoapHeaderAttribute", the problem is his direction, just has one direction or two (in and out) but the same "header".
I hope you can help me.
Thanks in advance.
Unable to Add Apache Cordova to Project from VS 2013 Community Edition
After installing VS 2013 Community with CTP 5 I attempted to add Apache Cordova Geolocation Plugin version 0.3.10 (as well as other plugins). After clicking on the Add button message "Couldn't download plugin" was displayed.
How can this be resolved?
Should I use Standard C++ Containers and Stuff for games and other real time activities?
Hello,
I'm a C++ developer using VS 2012 and VS 2010 for developing AAA titles. I have read about not using STL and other stuff provided in the standard headers that come with VS. I read most of the stuff on the websites based on game programming and some are really from the people well known in the industry. I have seen cases where they wont even use vector, list, map and others and not even use utility functions and algorithms. In such cases they write those containers and stuff themselves which has almost the same interface and so much of debug and implementation time spent on such huge code.
I have two questions:
1: Isn't the C++ implementation that comes with VS optimized for the platform for better performance? Isn't it using some intrinsic functions that people on the client end doesn't know about and supplying their own implementation would indeed be more slower in basic container operations such as insert, remove, find, swap, copy? Lets assume that we supply our own custom allocators for faster memory management to every container that we use. Also, they take care of fragmentation, alignment and stuff. Why develop custom containers with almost same interface, why not spend that time on writing allocators and other stuff that might actually help?
2: There are times when we include a lot, a lot, of unnecessary stuff through the standard headers in a huge code base. Unnecessary, because we only needed a thing or two from such huge headers including other huge headers and so on. Now, I know templates aren't instantiated unless used, same goes for the members functions inside them and blah blah. Since, these are precompiled headers, it is safe to assume that there is no compile time hit for that unnecessary stuff. My question is, is there any hidden effect of such inclusions on code size (executable) that grows with the huge growth of the code base? In my opinion there shouldn't be, but I wanna know I'm not mistaken just in case.
Unable to Add Reference in C# Project in Visual Studio Premium 2012
Hi,
I have recently installed Visual Studio Premium 2012 on my Windows 7 - 32 bit sytem. Once I try to create any project and click on Add Reference option it does not allow me to add and also not showing the Reference manager Window. It shows the following error:--
Could not load file or assembly 'Microsoft.VisualStudio.ReferenceManager.Providers, Versions =11.0.0, or one of its dependecies.
The Module was expected to contain an assembly manifest.
again if I click on Add Reference , shows Internal error occured.
What could be the reason since I installed VS 2012 premium sucessfully. How to correct this error so that I can add refernce of System or any DLL of projects. Any help to get this issue solved appreciated.
Thanks-
Chandan
Cant load designer in c++ and Winforms in Visual Studio Community.
I have found in Visual Studio Ultimate that when a C++ winforms project loads that I get an error saying the designer cant be loaded. However if I change the source code slightly and save it the designer can then load in the form to edit it.
If I go into Visual Studio Community again the form designer wont load and not even if I change the source code and save it.
The form designer says it cant load because none of the classes within it can be designed.
n.Wright