Quantcast
Channel: Visual Studio General Questions forum
Viewing all 21115 articles
Browse latest View live

VB.NET Buttons Copy Pasting

$
0
0

Hi,

I am creating a POS system in VB.net and I need to use a lot of buttons, so while designing the layouts and all that I tend to copy paste buttons that can be placed the same way in different TabPages

but when doing so VB.net inverts the Buttons names..

for example: I copied the buttons that are Button1 Button2 Button3 Button4 Button5..etc

when i paste them they are flipped and become Button10 Button9 Button8 Button7 Button6

and i need them to be in order because when i start coding I need them to be in order to make things easier


Add Secure Web Service to Visual Studio 2008 Mobile Application (VB)

$
0
0

I have a legacy Window Mobile application which was built in Visual Studio 2008 (VB). I am able to add a reference of http SOAP Web service to the application. Can anybody kindly provide some sample code (VB) for a https SOAP web service call?

thanks a lot!

Visual Studio 2017 (version 15.5.x) Download link

$
0
0

I am trying to find download link of Visual studio Professional 2017 (version 15.5.x), but as the current version is 15.8.1, last version which can be downloaded is 15.6.7 from https://docs.microsoft.com/en-us/visualstudio/productinfo/installing-an-earlier-release-of-vs2017

Can you please point me to a download link for Visual Studio 2017 (Version 15.5.x)

[UWP]Cannot View References in Visual Studio 2017

$
0
0

I am attempting to view/edit the references in a VB Project in Visual Studio 2017 by going to the References tab after double clicking My Project. All tabs appear fine, except for the References tab, which displays:

An error occurred trying to load the page.
Object reference not set to an instance of an object.

Why does this problem unexpectedly start happening for no reason that I can come up with? I have tried restarting VS, rebooting my machine, Repairing VS, and everything else I could think of, but no success. What can I do?


Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

Visual Studio 2017 - SSIS Project Incompatible

$
0
0

Hi All,

I created and have been working on a VS2017 SSIS SSDT solution for the past week. Visual Studio crashed a little while ago and after the restart the toolbar message said xxxx plugin caused the crash, click disable after restart never see this message again.

I clicked disable and restart now Visual Studio says my SSIS solution is incompatible and I can't open it, either starting Visual Studio then select the solution or right clicking and selecting open with.

So how do I re-enable SSIS packages?

Thanks

[azure data lake analytics task] submit job failed due to: value cannot be null. parameter name: input

$
0
0

Hi All, 

I am using Azure data lake analytics task in SSIS. I have created the azure data lake analytics Connection Manager and is working perfectly fine. But, when am trying to use the task adding an U-SQL code is giving me an error on running the task as 'submit job failed due to: value cannot be null. parameter name: input'. I removed any parameter of the task to see if it was a Parameter...but still having the error. 

Could you please help me understanding the error msg ? 

thanks in advance !

Clang Format flagging all entries in .clang-format

$
0
0

I created a .clang-format file to set up my code like I like it. I referenced the Clang Format documentation at https://clang.llvm.org/docs/ClangFormatStyleOptions.html. I understand that VS uses clang version 5, and a few formatting directives may get flagged, but when I run the Tools -> "Clang Format Document" it raised error flags on almost every directive. What am I doing wrong?

My .clang-format file is as follows:

AccessModififerOffset: 2
AlignAfterOpenBracket: BAS_Align
AlignConsecutiveStatements: true
AlignConsecutiveDeclarations: true
AlignEscapedNewlines: left
AlignOperannd: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: SFS_None
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterReturnType: BTS_All
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: BTDS_Yes
BinPackArguments: false
BinPackParameters:false
BreakBeforeBraces: Custom
BraceWrappimg:
  AfterClass: true
  AfterControlStatement: true
  bool AfterEnum: false
  bool AfterFunction: true
  AfterNamespace: true
  AfterObjCDeclaration true
  AfterStruct: true
  AfterUnion: true
  AfterExternBlock: true
  BeforeCatch: true
  BeforeElse: true
  IndentBraces: true
  SplitEmptyRecord: true
  SplitEmptyNamespace: true
  BreakBeforeBinaryOperators: BOS_NonAssignment
BreakBeforeTernaryOperators: false
BreakConstructorInitializers: BCIS_AfterColon
BreakInheritanceList: BILS_AfterColon 
BreakStringLiterals: true
ColumnLimit: 90
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2
Cpp11BracedListStyle: true
DerivePointerAlignment: true
DisableFormat: false
FixNamespaceComments: true
IncludeBlocks: IBS_Regroup 
IndentCaseLabel: true
IndentPPDirectives: PPDIS_AfterHash 
IndentWidth: 2
IndentWrappedFunctionNames:true
KeepEmptyLinesAtTheStartOfBlocks: false
Language: LK_Cpp 
MaxEmptyLinesToKeep: 2
NamespaceIndentation: NI_All
PointerAlignment: PAS_Left
ReflowComments: true
ReflowComments: true
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeCtorInitializerColon: false
SpaceBeforeInheritanceColon: FALSE
SpaceBeforeParens: SBPO_ControlStatements
SBPO_ControlStatements: false
SpaceInEmptyParentheses: true
SpacesBeforeTrailingComments: true
SpacesInAngles: true
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
TabWidth: 2
UseTab: UT_Always


















why we need multiple startup projects

$
0
0

Hi all,

could you give an scenario to justify the multiple startup projects setting? I can't understand it.

thanks,

Shu-Zi


how to display members orderly in VS 2015

$
0
0

hi all,

I can't find the way to orderly display the members of a class in VS2015. it is best in alphabetical order.

thanks,

Shu -Zi

Mac split window/buffer hot keys?

$
0
0

This happens to me periodically and I can not track down what hotkeys are doing it.  It's totally random and unwanted.

(I've tried looking and trying what I've found, but it doesn't work. One possibility was Option-\ but that didn't seem to do anything.)

Does anybody know what the hotkey and name of this command is?  Also, what are the keys to switch windows when it is split and what command un-splits the window.  Thanks!

Is there any way (or extension) to search specific word within the searched method?

$
0
0

Hi,

I would like to know if there are any word within all of the inherited methods.

For example, I have countless amount of DoDBExchange implementation under different files in the solution.

And I would like to search for-loop within DoDBExchange.

Obviously I have lots of for loops in the solution, but I am only interested in the one within the DoDBExchange.

Is there any way to search for these specifically?

SQLProvider causing Fatal Error (in VS for Mac)

$
0
0

Here's a link to the nuget:

https://www.nuget.org/packages/SQLProvider

Error is this:

A fatal error has occurred
Details of this error have been automatically sent to Microsoft for analysis. Visual Studio will now close.

The 'roslynpackage' package did not load correctly.

$
0
0

Hi,

I have problem with Visual Studio 2015, after installation(and reinstallation) I'm trying create new project but "The 'roslynpackage' package did not load correctly." and VS is crashing. Some ideas please?

Sorry for my English :'(

Thanks!

Visual Basic wave player

$
0
0
How do I add Windows Media Player (wave player) to the Visual Basic tool list? 

One or more projects in the solution were not loaded correctly. Please see the Output Windows for details?

$
0
0

Dear All,

How to fix the warning?

VS 2017 is used, and no more information on Output Window

Thanks and regards,

E-John


Static code analysis

$
0
0

Hi All

This is using Visio Studio 2017. I have few questions for static code analysis

1. I have a DB schema inside my database project. and run the static code scanner . There is a output windows for the warnings ,in text. Is there anyway to export the results to an xls file ?

2. May I know where can I find the recommendation/solution for each warning ? For example.

Nullable columns can cause final results to be evaluated as NULL for the predicate.  SR0007

 SR0009  Avoid NVARCHAR of only one element.

Sideloading hololens app fails with SplashScreen issue

$
0
0

I am trying to sideload a simple hololens app created from unity and the holotoolkit.  Everything compiles fine including the VS build, and subsequent app creation.  When I try to install it onto my hololens, it fails with the error below.

_______________________________________________________________________________________________

Installation Failed

Failure reason: AppxManifest.xml(28,27): error 0x80070002: Cannot install or update package HaloStore_pzq3xp76mxafg because the splash screen image [SplashScreen.png] cannot be located. Verify that the package contains an image that can be used as a splash screen for the application, and that the package manifest points to the correct location in the package where this splash screen image can be found. Failure text: The system cannot find the file specified. (0x80070002)

______________________________________________________________________________________________________________________________

The problem...is that when I use the VS app manifest to create icon sized and names, SplashScreen.png is not one of them.  If I manually do it in Unity before being built to VS, i can name it SplashScreen.png, but it will rename them Splashscreen_100.png, Splashscreen_200.png, etc.  So there is NEVER a file that gets created that names it the EXACT way Hololens seems to want it formatted.  Any advice would be greatly appreciated.

</form>

System.Web.MVC version 4.0.20710 taking more time to execute a method than usual.

$
0
0

public virtual ViewEngineResult FindPartialView(ControllerContext controllerContext, string partialViewName, bool useCache);

Set useCache=False

and this dll is taking more time to execute than usual and this is happening only on very first time to find the view page(.cshtml)

Actual time taking to complete the above method is around 2 minutes. Please reply on this thread if any have faced this issue or if any known how to resolve it?

Thanks in advance.

Visual Studio 2015 SSRS Project Error: There is an error in XML document (2, 2)

$
0
0

When opening a Business Intelligence project in Visual Studio 2015 on my computer I get an error that the project is unable to load and to view the Output window. The output window only has one line stating the project file location followed by this error "There is an error in XML document (2, 2)".

We are using Team Foundation Services Source control.  I've attempted to uninstall SSDT and run a repair on VS 2015 then reinstall SSDT and install any updates but still get the same error.  I verified with a colleague who develops in the same projects that our versions are up to date.

If I create a new SSRS project I can close and open it just fine.  Although when I look at the newly created project in a text editor it includes this XML:

<?xml version="1.0" encoding="utf-8"?>

<Projectxmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"ToolsVersion="2.0">

 <DataSources/>

 <Reports/>

</Project>

However, on the project files I can't open, the Project element looks like this:

<ProjectToolsVersion="14.0"xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

Please let me know if you need more information to assist.


Microsoft.VisualStudio.Web.Host.exe causing bad password attempts after changing password

$
0
0

After changing my password it appears that each time I attempt to access or modify a part of a solution I eventually get locked out of my account.

This is because I am exceeding my threshold of bad login attempts.

In order to solve the problem I have attempted the following:

  1. Cleared out my cached credentials
  2. Updated my password on all local services running under my account.
  3. Signed out of and signed into Visual Studio
  4. Signed out of any idle VM instances.

Upon inspecting the security log in the Event Viewer I noticed that I am getting failed login attempts from Microsoft.VisualStudio.Web.Host.exe. The failure reason was "Unknown user name or bad password."

Any tips or guidance will be greatly appreciated!

Thank you!


Viewing all 21115 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>