Finding Ther User That Is Debugging An App?

Dec 6, 2010

I am debugging an app in VS2008 (written in VB) that deletes and recreates a file. When I debug it, I get an error saying that I do not have the permissions to edit the file. How can I find out which user the appilcation is using to access the file? I would then grant that user full permissions to the folder and file in question.

View 8 Replies


ADVERTISEMENT

C# - Which Options Are Ther To Set Up Your 3-Tier System

Jul 29, 2010

Which options are there to make your 3-Tier System.Client / Common / Server Now we work with the entityframework and agatha. But are there other options to make a good 3-Tier system?

The agatha framework, makes for us the request/response on the common site. On the server site the response will be filled in. But are there other framework to do all that work for you? Or should you do it without such framework. And call at the server site stored procedure? Or with LINQ? With the agatha we query the repository's with some LINQ queries.

But i am wonna know if there are other ways to do the communication. Maybe there are other and better ways to do it. I hope i get some usefull answer. Where i can read some new things.

View 2 Replies

Check If Ther Was A Change In A Interger?

Dec 7, 2010

Is there a way to check if ther was a change in a interger that i can use in a if statment?

View 5 Replies

Finding Each User On XP Machine

Jan 10, 2011

Is there a method in the .NET framework for finding each user on a machine? I want to copy a shortcut to each users desktop, but first I need a list of each user on the particular machine.

View 3 Replies

Finding Out Information About A User?

Apr 7, 2011

How can i check if the username has a administrator role or a member..

here is my code..

vb.net Try Dim connection As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:UsersMaynielDocumentsVisual Studio 2010ProjectsSampleSystemUserAccount.mdb")'Get the count of the records with matching user ID and password.

[Code]...

View 8 Replies

DB/Reporting :: Debugging On Xp Machine Data-set Gets Filled / Debugging On Vista Box It Fails

May 1, 2009

I'm having to write a reporting application that gets information from some Interbase servers and it also has to work on Vista as well as XP, I'm using to connect Borlands Data Provider.[code]My Issue is that debugging on my xp Machine the dataset gets filled, debugging on my vista box it fails ("Interbase provider initialization failed"), my initial thought was that this could be UAC related but I've compiled the application and 'ran as admin' and still same issue. (by the way it failes on the line Dim da as BdpDataAdapter...)

View 1 Replies

ListView - Finding The User Dragging Left Or Right End?

Aug 2, 2010

When the user drags to left, I have to add the item to previous row. When the user drags to right, I have to add the item to nect row.

The below code is not working as expected. each row has 5 items. When the user drags to right in the first row, It is giving the TargetIndex as 5. It is giving the same value for targetindex, when the user drags the item in 2nd row to left end.

Private
Sub PictureList_DragDrop(ByVal
sender As System.Object,

[Code]....

View 1 Replies

2008 - Getting Input - Finding If A User Has Been Inactive For A Time

Jan 16, 2009

I am trying to see find out if a user has been inactive for a certain amount of time by mouse and keyboard events. I want to be able to find this from windows not my form. I am lost as to where to start. I came across this "GetLastInputInfo Function" but am not sure if that is right and/or how to use it.

View 18 Replies

Asp.net - Debugging Dll In Web Application?

Sep 3, 2010

I have a vb.net web application in visual web developer 2008 with a dll file and i need to debug a method in that dll. I also have project source files for the dll file itself. How could i make the web application use the source instead of the dll file so that i'd be able to debug it? I've tried debugging the dll project itself, but it's not a very good solution, because it seems the dll depends on the web application settings and data and it would simply be too much work to get it working. T

View 1 Replies

Breakpoints While Debugging In .net

Aug 25, 2011

I set a breakpoint in one of the class. while debugging my vb.net winform project, the breakpoint moving to the next line which dont have any code. I could not understand what was wrong? I cleaned up my solution and re-build my solution but could not resolve this issue.

View 1 Replies

Changes To Code While Debugging?

Feb 17, 2008

I installed VS2008 ona newVista Ultimate 64 Bit machine. Works great. But if I try to change some VB2008 code while debugging, the system says, "Changes to 64 Bit applications are not allowed". Why is this? And will programming on a 64Bit machine always be hampered like this

View 4 Replies

Debugging A SQL Command?

Nov 23, 2010

enter code hereI am attempting to call SQL stored procedure that does an INSERT. However, when I walkthrough my vb.net code, I get a message saying "Procedure or function sp_InsertARPlanner has too many arguments specified." I have double checked, but the SQL string in VB has the same # of params as in the stored procedure.

Update
SQLCmd.CommandText = "sp_InsertARPlanner"
SQLCmd.CommandType = CommandType.StoredProcedure

[code].....

View 2 Replies

Debugging And DataSets?

Jan 29, 2010

Anyway to view the content of a dataset or datatable in debug? I don't mean looking up a specific element of the dataset but to view the hole thing.

View 4 Replies

Debugging DLL's Called By .NET?

Jan 8, 2010

So I've got some code that I've written in C and compiled into a DLL. This code is called by my VB.NET code. That interface is working fine, but I need to debug some of the C code. But obviously since it's not in VB I can't use the Visual Studio debugger. I've tried attaching a GDB debugger to the process while it's running. It lets me set the breakpoints and it even stops at them, but it doesn't let me see the lines of code. My code was compiled with debug information, so I don't know why it won't let me see it.

View 3 Replies

Going To Disassembly While Debugging?

Mar 25, 2008

i am facing a problem while debugging . I have put break points in some place to trace the code . But while pressing the F11 key and when it reach that function , a new window called disassemby is coming and showing something like this .

00000000 push ebp 00000001 mov ebp,esp 00000003 push edi 00000004 push esi 00000005 push ebx 00000006 sub esp,44h 00000009 xor eax,eax 0000000b mov dword ptr [ebp-10h],eax

[code]....

View 5 Replies

IDE :: Debugging In .net 2008?

Sep 2, 2010

I want to step through VB.net 2008 project file. The code is executed from the postbuild command line. Thus this code is really executed during the build process.Thus, can you tell me when I can do to debug this VB.net 2008 program that is executed from the command line? All I know what to do is have the solution (ide) open, set breakpoints, set the project as the startup file, and run the debugger.

View 3 Replies

Inline Debugging In ASP.NET VB?

Nov 4, 2009

i have an VB.NET application with few functions i need to debug (like ie. Assert in C#). Is it possible and how i do that ?

Public Shared Function createNumberArrayList(ByVal startValue As Integer, _
ByVal endValue As Integer, _
Optional ByVal isBackwards As Boolean = False) As ArrayList

[Code].....

Basically what i need is to enter few values and see if the function works and returns proper ArrayList.

View 1 Replies

JIT Debugging Instead Of Dialog Box

Oct 30, 2010

I have a problem that When I Install my project on another computer it gives me the following error, even work good on my own system.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

Exception Text
System.Runtime.InteropServices.COMException (0x80040112): Class is not licensed for use
at SMS_ANSI.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
[Code] .....

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the machine rather than being handled by this dialog.
Here is my project: [URL]
dp.SyntaxHighlighter.ClipboardSwf = '/dp.SyntaxHighlighter/Scripts/clipboard.swf'
dp.SyntaxHighlighter.HighlightAll('1302a0f0e63d492f8ec0bef756e8246b')

View 1 Replies

Making .NET Debugging Like C#?

Mar 13, 2009

I've programmed in C# for the majority of my .NET career - now I'm working on a VB.net project - when debugging it drives me insane the differences of how the debugging works.two off the top of my head are

1) having to prefix my immediate window queries with ?

2) not being able to mouse over a GUID, I have to ?myGuid.ToString() to actually see the value is there a way I can make it behave like C#?

View 2 Replies

Run Only One Form For Debugging?

Nov 5, 2011

I have many forms included in one project , now I am working on one form, but I want to run it directly for testing

for example, i have a project called Main with buttons that should open form1, form2, form3 I want to run form 2 independently without running the whole project

View 6 Replies

.net - Debugging VB Dll Library From Asp.net Hosted In IIS?

Nov 18, 2010

I have the following problem. I have some project written in Visual Basic (not Visual Basic .NET but simple Visual Basic - sic!). I can compile it and generate a dll. Then inside my web application I add reference to this dll library. When I run my web application hosted in default Visual Studio server, everything is fine and I can debug my Visual Basic project. However, when I host my web application in IIS then I can't.Code does not stop in my breakpoint. My asp.net catch the exception when I try to execute some method from the mentioned library which is something like:

Unable to cast COM object of type 'xxx' to interface type 'yyy'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{4C2875B5-3265-306B-9C74-1BEC98986B1A}' failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).

View 1 Replies

.net - While Debugging VB Code In VS2008?

Jul 31, 2009

On my last machine I had created a way to see a GUID variable while debugging by hovering over it. I don't remember what it was (a visualizer?). I have a new 64 bit machine with vs2008 - is there anyway to mouseover a guid value and have it appear? What makes guid's so special that their value doesn't show like most variables?

View 3 Replies

.NET Debugging An Existing Project?

Sep 28, 2010

First of all, please feel free to skip this entirely if you can understand the questions below.I'm still very fresh new to .NET, but an elder monkey on bad old ASP in regular VB.I just got into a company with some legacy .NET VB files and now I have a couple of huge projects, with over 50mb of files and about 1gb the whole project and debugging them haven't been easy. I've read through w3schools tutorial and did many google researchs to get to this point in which I just can't make this work. And unlike in another very similar question I don't think this is a simple issue.

I don't know if those projects are MVC or regular Web Application, but I was told to use "Other Project Types > Visual Studio Solution > Blank Solution" and then "Add Existing Web Site" to that. With no further instructions or orientation, I see they all have DLLs and makes me believe they are not MVC.

Anyway, whichever this or many other ways I've tried to add the files into Visual Studio, I could never use the Debug properly with one of them. One works fine enough, I can at least see it running locally very alike from the webserver. But the other gives me many random errors and warnings to "compile" the debug and run on Visual Studio's own server (I think it's called "ASP.NET Development Server"). Some errors shouldn't even exist like "The file XXX doesn't exist" while I can easily verify it does exist!

I don't really expect to have much help here, but I still hope to find some. Sorry if this is too much.What options do I have to debug a big Visual Studio project that already works online in a server that have debugging and even error options turned off?How can I know how to properly "import" an existing project into Visual Studio to begin with?Is this a homework question?(new) Given I have 3 places to sync many files (local, shared production network and live) what's the best approach to work on and debug existing errors? Out of the box thinking is always welcome (converting project, not using Visual Studio, older version, whatever)

View 1 Replies

Application Identity Is Not Set When Debugging

Aug 30, 2011

When I try to debug my application (of which it will not be click once)I get a Application identity is not set exception.[code]

View 2 Replies

Asp.net - ASMX Web Service Debugging

Mar 16, 2012

How can i turn on debugging when trying to add a service to my VB.net app? How can i change the settings to view it remotely? I tried loading up the .asmx page in IE on that server where the file is being hosted and it just asked me to save the file-would never open it to view as a page. That is the error i get when i try to load the .asmx file from my server.

View 1 Replies

C# - Debugging Or Running Projects?

May 20, 2011

When I download a project source file like DDDPDS in codeplex and after I do a build I am not able to run or debug the applications since I encounter different Exceptions.I think it has to do with my knowledge of configuring a first time debug. For example I never had the chance to download a project from codeplex and run it truely withoutdifferent type of exception before even the main form comes up.This is not the first time that a project will not startup after build.

View 2 Replies

Cannot Start Debugging Program

May 31, 2011

I type in the following

Dim anInteger As Integer = 42

Dim aSingle As Single = 39.34567

Dim aString As String = "I like Candy"

Dim aBoolean As Boolean = True[code]...

is missing. Please build the project and retry, or set the OutputPath and AssemblyName properties appropriately to point at the correct location for the target assembly.

View 2 Replies

Changes On Form And Code Don't Appear When Debugging?

Jun 21, 2010

I dont where am going wrong but when i am programming i will make some changes to make code and form e.g add a button or something. Then when i go to debug my program my change dont appear and its been a couple of days and my changes still dont appear when i debug my program.

View 1 Replies

Code To Run On 'stop Debugging'?

Aug 25, 2010

When I end my app by pressing the stop button in visual studio, is there a way for that event to trigger some exit code? I'd rather do that than include a visually distracting quit button.

Better still would be to program some kind of key sequence, eg control + q to trigger some quit code so my app can exit cleanly. Is this possible? I wouldn't know how to program a key shortcut but it might be handy.

View 3 Replies

Debugging Application - No Source Available

Oct 12, 2011

When i try to debug my application it immediately switches to a new tab that says "No source available" with an error that says InvalidOperationException was unhandled, An error occured creating this form. See Exception.InnerException for details...

View 2 Replies







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