C# - ReSharper Stops Working?

Aug 13, 2010

Running solution with VB.NET & C#, ASP.NET, VS 2008 with ReSharper 5 Most of the time, ReSharper is working (redundant code grayed out, squiggles, etc.)Sometimes, on the same code where it was working, nothing is highlighted to show ReSharper is enabled.I haven't done anything except modify code and debug.

View 1 Replies


ADVERTISEMENT

Gif Stops Working?

Jul 28, 2009

I have an animated gif in a picturebox that's loaded from the start.The problem is, whenever any application goes on top of the app the gif stops moving.Example : the app is open (gif is animating), I open notepad, I open the app (gif has stoppd animating)How do I keep it animated, even when the app is not visible?

View 2 Replies

DLL Stops Working After SA Account Disabled

Nov 4, 2009

I've written approx 4 projects that utilize a central DLL for database access. The DLL was written in VB.NET using the .NET 3.1 framework. All the code works great. Recently, I went through all the code and updated the connection strings to use a new username and password since they were using the SA account on SQL Server 2005. After recompiling and uploading the DLL to the web server, I disabled the SA account. All of a sudden, the DLL stopped working. It just stopped. I know that the code is ok because I copied it into a aspx file and it worked. I had to re-enable the SA account in order to get things back to normal, but I really would like to eventually disable it.

View 1 Replies

C# - Accordion Stops Working With Update Panel?

Nov 21, 2011

i have a accordion control(using jQuery) on the page. When I insert accordion into an updatepanel, set a button outside the updatepanel as its trigger and click on the button the accordion stops working. If I remove the updatepanel, it starts working.

<script src="Scripts/ddaccordion.js" type="text/javascript"></script>
<script type="text/javascript">

[code]....

View 1 Replies

Forms :: Listview Itemactivate Stops Working?

Dec 23, 2009

I have two forms frmA, frmB. I have a listview on frmA with a couple items with tags. In the listviews Itemactivate event I get the FocusedItem's tag and open frmB. Everything works fine until I close frmB and come back to frmA. The original item is still selected but the Itemactivate no longer opens frmB. I can step right into the frmB.Show line on frmA, it's just that frmB nevers shows.

Private Sub ListView1_ItemActivate(...) Handles ListView1.ItemActivate
Select Case ListView1.FocusedItem.Tag
Case "showfrmB"

[code]....

I've tried adding Hides, Activates, etc. with no luck.

View 4 Replies

IE8 Back Button Stops Working On ASP.NET Page?

Jul 29, 2010

If you do a search for "ie8 back button disabled" you'll see a number of blogs with people having difficulties with the Internet Explorer version 8 back button becoming disabled. This now happened to one of my ASP .Net pages. The page uses a user control, aspx page, and a master page. It uses no redirects and seems to be happening when I click the back button and then the forward button (after the forward button is clicked, it does not fire the Load event and the back button becomes disabled).

View 2 Replies

VS 2008 : Button Works Once Then Stops Working?

Aug 17, 2009

I am having issues with my program. It should update every time i click the button, but it runs through perfectly on the first click, after the first click it does nothing.This is a UDP Program, where the client sends a packet with a sequence number and payload which are separate items in the packet. The server receives the packet, reads the sequence number, and then sends back the next sequence number the client should send.The client then receives that from the server with the same payload.. And then should change its sequence number to the one it recieved, and send that to the server..The client works up to where the client updates to the sequence number it receives from the server.. But both show no effect on any clicks after.

Heres my Client
Option Strict Off
Option Strict Off
Imports System.Net.Sockets

[code]....

View 21 Replies

VS 2008 Service Suddenly Stops Working?

Aug 16, 2010

I'm having trouble getting my archive service working. The service counts files in a directory and sends a email. Pretty simple. However, it randomly stops working. I debugged the service and found nothing wrong. I also have it writing to the eventlog so that I can use it to determine where it fails It progresses through each function normally. I thought my program was failing at on point, because it was only posting "Email Notification Service is Running". However, I realized it wasn't posting to the eventlog source so I've been playing around with different ways to post the message to the eventlog. Am I missing something from my code below? I'm really scratching my head with this one.

[Code]...

View 5 Replies

Application Stops Working When Minimized Or Lost Focus?

Aug 5, 2010

I have an application I run on a netbook that is folded up inside a robot.Occasionally, something from the system tray will pop up unexpectedly. This removes the focus from my application I also thought there was a way (in forms properties in the vb6 days) that would allow to "run when minimized"? In short, I want this application to be running and nothing (asides an application error message) else getting in the way.

View 4 Replies

Service With Timer SMTP Email Stops Not Working?

Jul 21, 2010

I'm having complications with imlementing a service that uses a timer to send emails. In my code, it stops in GetDocuments() after TisValid() validates the directory path. I tried using a addhandler and threading but neither worked.

View 3 Replies

VS 2008 System Wide Hotkey Stops Working?

Oct 11, 2010

Has anyone used a system wide hotkey and notice it no longer works? But the program is still running fine. When I run my program and it starts the hotkey, sometimes it will work fine all day, other times within 15 minutes I press the keys and the program does not react to it. I am using the keys Control-F2. Here is my

Public Sub SetHotkey()
Try
Select Case ComboBox2.SelectedIndex

[code]....

View 1 Replies

C# - Code Stops Working After I Create A Setup Using Publish Wizard?

Jan 15, 2012

Public Sub bk()
Try
Dim strDatabasePath As String =

[code].....

View 1 Replies

Code Stops Working After Create A Setup Using Publish Wizard?

Jan 15, 2012

Public Sub bk()
Try
Dim strDatabasePath As String =

[code]....

View 1 Replies

IDE :: VB 2008 Express: Program Runs On PC But Stops Working When Trying To Run .exe On Another Computer?

Jun 3, 2011

And here I am with a new problem in my program When I debug it everything works fine (the buttons, progressbars, pinger, spambot, When I compile it and run the Executable file, it works too.When I run the Executable file on another computer (tried on 4 different ones) the program stops working and
I get this error:

{$ exception. "Failed to create the form For more information, see Exception.InnerException error: File or assembly ." Microsoft.VisualBasic.PowerPacks, Version = 9.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a "or one of its dependencies not found. The system can not find the file specified .."} System.Exception {System.InvalidOperationException}

[Code]...

View 1 Replies

Use Bmp.save To Create Some Thumbnail, It Works Fine For A While Then Stops Working?

Jul 20, 2012

I tried to use bmp.save to create some thumbnail, it works fine for a while then stops working,how to troubleshoot the problem? the code doesn't generate any error:

Dim bmp As Bitmap = WebsiteThumbnailImageGenerator.GetWebSiteThumbnail(address, 800, 600, width, height) Dim ScreenshotPath As String = Request.PhysicalApplicationPath + "Screenshots" Dim ScreenshotName As String = UserAccountDB.GetUserFullNameByUserLogon(User.Identity.Name).Replace(" ", "_") + Now.ToString("yyyy'-'MM'-'dd'-'HH'-'mm'-'ss") + ".bmp" bmp.Save(ScreenshotName) imgWebsiteThumbnailImage.ImageUrl = "~/Screenshots/" + ScreenshotName

View 1 Replies

Windows Media Encoder - No Erros But If Run The App Vshost.exe Stops Working

Jun 18, 2010

I'm using this code for encoding with wme.

No erros but if I rn the app vshost.exe stops working.

Its somethignw ith the DEP?

Imports WMEncoderLib

Public Class Form1
Dim WithEvents MyEncoder As WMEncoder
Dim MyProColl As IWMEncProfileCollection

[code]...

View 3 Replies

Restart Laptop Code Stops Functioning / Need To Copy Delete Then Paste To Get It Working Again

Feb 9, 2011

First of all i want to say i feel very rude as my current posts only consist of me asking questions and never posting to give answers. im still learning and do not want to give people diff advice and sending them down the wrong path.I am doing an assignment for my vb.net course and im having a problem with tabcontrol. I originally didnt do my code inside a tab control. Then i had to copy all the code and button etc over to the tab control then the code completely stopped working. I copied the code then deleted it and pasted it back into my project and it worked again. But it seems everytime i restart my laptop the code stops functioning and i need to copy delete then paste to get it working again!I need to hand this assignment in shortly and i dont want to if my code is working intermittantly..

View 5 Replies

Service Reference Stops Working When Make Changes To WCF Service?

May 26, 2011

I'm using Visual Studio 2010 and .NET3.5. I've created a WCF service application. I'm including two DLLs that contain the types I'm returning. The first method I wrote works both in WCF Test Client and also in a console application I created to test. When I move on to the next method that returns a generic list of a type. It works great in WCF Test Client, but when I update the service reference it acts as if the service is unavailable. All my objects say can't find reference, and I can no longer see it in the object browser. It's like it just disappears. I can still see it in the Service Reference folder. If I go back to the WCF app and comment out the contract and implementation of that one method it work again. I created a local class very similar to the class I'm using from the dll, and the it works. Is there something I'm missing here? Can someone point me in the right direction?

View 1 Replies

Rename Using Suggested Var Name With Resharper

Apr 26, 2011

I'm Using resharper 6 nighty builds and VB.net. I've a big medium project with multiple files that don't follow the code style conventions of my company.I've configured resharper with my own convenctions and It suggest to me the right name for each variable (perfect!).But I can't find any automagic way to make the current name to be replaced with the suggested name.

View 1 Replies

Resharper Search With Pattern?

Apr 16, 2012

I use resharper 6.1.I use VB.Net and I want to search for this. for all the help.ShowHelp things and put those in a wrapper.So I have something like this.

Private Sub BtnHelpClick(sender As System.Object, e As EventArgs) Handles btnHelp.Click
Help.ShowHelp(Me, HelpFiles.AuditTables, HelpNavigator.TopicId, AudittablesContext.AuditTables)

[code]....

View 1 Replies

C# - Good Tutorial For Resharper Templates?

Aug 6, 2009

I'm looking to get into some of the more advanced features of resharper tamplates. I know just enough to be dangerous by looking at some of the existing templates.

View 1 Replies

Resharper 4.5 Extract Method / Can't Get Function

Nov 24, 2009

I am using Resharper 4.5 in Visual Studio 2008. Whenever I try to extract a block of code into a method, it tries to create a subroutine and not a function. The return type option is disabled. Does anyone have any advice as to how I can get it to create a function and not a subroutine?

View 1 Replies

Specific Redundant Qualifiers In Resharper?

Jan 31, 2012

We have always used Me.Property and Me.Control in our VB projects, and have just got ReSharper. Does anyone know of a way to get it to ignore this specific type if redundant qualifier?

I still want it to complain if I use any other redundant qualifiers.

View 1 Replies

C# - Force Resharper To Use The CLR Type Names For Auto-generated Code?

Nov 4, 2011

According to the General Naming Conventions the usage of CLR type names (e.g. String, Int16) should be preferred over the usage of language specific type names (string, short). I usually follow this advice. Resharper however seems to use the language specific type names when generating code (eg. when extracting methods or generating foreach loops) which is very annoying.

View 2 Replies

Use "ReSharper.ReSharper_SilentCleanupCode" In A Vs2010 Macro?

Mar 27, 2012

I am trying to build a macro that formats all modified files before saving them.

Public Module ReformatAndSave
Sub SingleFile()
DTE.ExecuteCommand("ReSharper.ReSharper_SilentCleanupCode")
DTE.ActiveDocument.Save()
End Sub
Sub AllFiles()

[Code]...

View 1 Replies

Does For..Next Stops The Loading Form

May 5, 2011

In my form3 i have this code

Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim vs As Integer

[code].....

View 1 Replies

For Loop With Random Never Stops?

Mar 1, 2009

I am using the following code to create a dummy file of a specific size. RemSpace declared as a Long value and is returned in bytes from a separate function in my applciation. I have verified that it returns the correct # in bytes. However, when I execute the following routine, the dummyfile is created, but it never stops the loop. I have to kill it from task manager or it would fill up the HDD. The line:

For i As Integer = 1 To RemSpace

should tell the For loop to stop when it reaches the value of RemSpace, which is a long value in bytes. Here is my complete code.

Public Sub Create_DummyFile()
Dim RandomClass As New Random()
Dim RandomNumber As Integer

[Code]....

View 9 Replies

VB Program Stops After Loop

Jun 12, 2011

I am using VB 2101 express, I am try to right this program but it will not go past the end of my loop, does anyone know why?

If (Not System.IO.Directory.Exists(root + "setting")) Then
System.IO.Directory.CreateDirectory(root + "setting")
End If

[Code].....

View 2 Replies

VS 2008 Two Timers One Stops?

Jul 4, 2010

I have a timer in one app which is basically the clock of Windows displayed in a textbox.If I run two apps at the same time I notice that one timer after a while, stops

View 12 Replies

Service Starts Then Stops Automatically

Jul 22, 2011

I have a solution that has three projects. One is a service, one is a form, and one is a class library. I use the form for debugging, my logic is complete now I would like to just call.

[Code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved