How can i get data from REMOTE database using OnStart method?
protected override int OnStart(StudyLoaderArgs studyLoaderArgs)
{
ApplicationEntity ae = studyLoaderArgs.Server as ApplicationEntity;
_ae = ae;
EventResult result = EventResult.Success;
AuditedInstances loadedInstances...
I have the following code:
Public Class Form1
Private Function Step1_Execute() As Boolean
Return Step1_Verify()
End Function
Private Function Step1_Verify() As Boolean
Return True
End Function
Private Function Step2_Execute() As Boolean
Return Step2_Verify()
End Function
Private Function Step2_Verify() As Boolean
Retu...
well I think I know what the problem is. I am just having a hard time debugging it. I am working with the directx api and I am trying to generate a plane along the x and z axis according to a book I have. The problem is when I am creating my indices. I think I am setting values out of the bounds of the indices array. I am just having a ...
I wrote a simple dll with only 2 functions in it. Is there a way to access these functions without having to instantiate them on every page?
Can't I add them to the web.config somehow as assemblies thus giving me access to them?
...
I need to support a legacy vb6 application, and would like to add a tab control. Is there an equivalent to visual studio 2008's tab control? The built-in "TabStrip" control is a pain to use.
...
I want a website to be deployed automatically to a local IIS (built in Windows XP Pro SP3), avoiding VisualStudio-built-in server if possible. I'd like development source files to be stored in a project folder outside wwwroot (I wouldn't mind built files to be copied to wwwroot each time I press F5).
I don't store my projects inside def...
Since system install the default browser was opera but suddenly become IE in both 2008 and 2010 versions. Default browser in my system is opera. How I can switch make Opera default for debug again?
...
Hi,
I just installed VS on another PC, but this time, while I am coding, it is not marking syntax errors while I am coding..... I need to press F6 to get the errors.
Normally when for example typing the line below, I get 's' underlined saying that there is a mismatch. Any ideas how I can enable this option?
string s = 4;
...
I am debugging a project and Visual Studio stops debugging and closes the program on the following line with no exceptions or error messages (I have enabled notifications for any thrown exceptions in options):
var query = Session.Linq<RSS>()
.Where(x => x.LastRetrieved <= date || x.LastRetrieved == null)
.Where(x...
When using Excel (2003) to provide data for my unit tests it seems to think that when a cell has TRUE / FALSE value that it is null when there has been no preceding cell values e.g.
if (TestContext.DataRow["SatisfactionExtremelySatisfied"] != DBNull.Value)
model.SatisfactionExtremelySatisfied = (bool)TestContext.DataRow
["S...
Are there any coders out there that have real experience/exposure to both PHP and ASP.net? I'm a C# developer, wondering if any PHP frameworks compare to the robustness of the Visual Studio Development environment.
...
Hi,
I recently contacted a web host regarding support for external database access to a Microsoft SQL Server database included in a package they offer. They replied saying that it is only possible with an SSH-tunnel.
Is it possible to connect to a SQL Server database in Visual Studio using an SSH-tunnel? It is important for me to be ab...
I've tried to install this
http://www.thinktecture.com/resourcearchive/tools-and-software/wscf
it seems I have to download the vs2005 version first and then update with a file for vs2008.
But the addin failed to install as for me.
Did someone achieve to do so with VS 2008 ?
...
Hi,
We have an application for Windows server 2003 developed using Visual studio which we are porting to linux , for this we are using Eclipse IDE. Can someone guide me what should be the strategy for moving the source from Visual studio to Eclipse. Basically we are trying to retain the project structure and later we do the code changes...
What are your recommended extensions for Visual Studio 2010?
(Please indicate if its free or not)
Free:
PowerCommands - useful extensions for the Visual Studio 2010 adding additional functionality to various areas of the IDE.
DevExpress CodeRush Xpress
AnkhSVN - Subversion Support for Visual Studio.
Ghost Doc - Simplify your XML C...
Now that VS 2010 is officially released, I'm thinking of upgrading to Resharper 5.0 and I just wondered if any of you could provide any feedback on your impressions so far.
Some specific questions:
I like Resharper a lot, but it's pretty slow if you have a slow disk (one of my machines has a 5400RPM drive and it does not run very opti...
I am developing an OCX with some DISP_FUNCTION_ID defined.
How could I automatically generate a wrapper for it to be used in an MFC C++ Dialog so it can be autoregenerated when I add functions to my OCX?
Regards
...
I have very little experience with setting up a website from scratch in a .NET environment. As I am doing this now, I am wondering - what's the best way to go? Is it better to create a new Website Project, and include the various backend services and database code as part of that project, or is it better to split out the various aspect...
Hi guys,
as far as i know, visual studio is a GUI code generator among other things, you drag a button and put it on the window, a code is written for you behind the scene.
my Question is:
what's the GUI framework Visual studio is using by default???
i know it integrates with some GUI toolkits as Fox, GTK and QT .
...
I sometimes need to search code for patterns in a way that goes beyond the regex capabilities of Visual Studio (e.g. patterns that depend on what was seen previously in the file or on the contents of other files). So I use Perl to analyze the source and output matching lines, along with the file name and line number.
Since this is the ...