jvervoorn's Q&A profile
Visual C# Text Box field value into the "filter" in the Query Builder?
I'm new, sorry for the simplicity of this question. I'm using VS 2005, C# and connecting to an SQL db. Web form, not windows form. I've got an sql connection to my DB, and can display things just fine when doing a gridview, but I want to limit the gridview's output. I've made a text field on the page for "application_ID". I want the user to be able to enter in an application ID number into the field and have the gridview on ...Show All
Visual Studio 2008 (Pre-release) How to register name in a template ?
I am wondering how I can register a name in a template. The situation is following: class A : Control { // ..... private void func() { Rectangle rect = new Rectangle ( ); rect.Height = 10; rect.Width = 10; rect.Name = "rect" ; Template.RegisterName( rect.Name, rect ); } } Class A has its own template... so, Template.FindName( rect.Name, this ) always returns null, so the element ...Show All
SQL Server Index Searches/sec activity
Why is there frequent Index Searches/sec activity when there isn't activity on the SQL Server 2005 machine This counter spikes at about 70 approximately every second. Typically this is due to the SQL Server background tasks such as index ghost record cleanup task or service broker background task. They usually scan the metadata which causes index activities. Thanks Mirek ...Show All
SQL Server SQL SERVER 2005 REPLICATION (SNAPSHOT GENERATION FAILING)
I'm getting this error when I try to generate a snapshot for "merge" replication. I have added the articles one-by-one to try and narrow the problem down. I get this error on specific articles. Any help is appreciated. 2006-03-23 18:23:14.35 Server: MYSERVER 2006-03-23 18:23:14.35 Database: MYDB 2006-03-23 18:23:14.35 Command Text: sys.sp_releaseapplock 2006-03-23 18:23:14.35 Parameters: 2006-03-23 18:23:14.35 @Resource = MYS ...Show All
Microsoft ISV Community Center Forums VBA Excel Module opening Access DB with Recordset
Here is the code: Dim cConn As ADODB.Connection Dim rs As ADODB.Recordset Dim sSql As String sSql = "SELECT Table1.Field1,Table1.Field2, Table1.Field3 FROM Table1 WHERE Table1.Field4 = Yes" Set cConn = New ADODB.Connection Set rs = New ADODB.Recordset cConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source='\\path\files\folder\database.mdb'" Set rs = New ADODB.Recordset rs.Open sSql, cConn I get the same error on ...Show All
Smart Device Development Change Target to WM 5.0 "Device Not Connected"
I have an applicaiton that currently runs on PPC 2003 that I need to also run on WM 5.0 This application is written with VB .NET 2005 I am trying to change the target platform to WM 5.0. I have Activesync 4.1 and the WM 5.0 SDK installed. When I try to deploy or debug on the device, I get the error "The device is not connected". Ironically, if I click the connect to device button from the IDE toolbar, I get a message ...Show All
Windows Forms Detect data change
I have a form with TableAdapter, BindingSource, DataNavigator ... and bound controls. When moving to a new item (with the DataNavigator buttons) or closing the form - I need a way to detect if the user has changed anything to ask if they want to save changes. If they answer yes then I will do the appropriate .Update - if they answer no I need to cancel any changes made in the controls. Any ideas You c ...Show All
Visual C++ msvcr80d.dll not found
I've created a simple Win32 console application. When I try to debug it, I get the message: "This application has failed to start because MSVCR80D.dll was not found. Re-installing the application may fix the problem." The Release version runs fine. Any idea as to what the problem could be Thanks, Jonny This means several things. a) your console application does not have manifest. Either embedded inside or ...Show All
SQL Server Not enough room on C:\ When I try to install SQL Eval 2005 (Help)
I downloaded the 800 mb file (32bit) on my XP (SP2) box and it comes up with a message that I do not have enough disk space on c: drive. Well I have 180GB of space, so that cant be it. Is it because it requires an NTSF drive ad not a FAT32 drive See post in the Setup forum here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=237303&SiteID=1 ...Show All
Visual C# Deleting IE Cachea
Well, i'm trying to delete the IE Cache with this: #region IECache private void IECache() { ClearFolder(new DirectoryInfo(Environment.GetFolderPath(Environment.SpecialFolder.InternetCache))); } void ClearFolder(DirectoryInfo folder) { foreach (FileInfo file in folder.GetFiles()) file.Delete(); foreach (DirectoryInfo subfolder in folder.GetDirectories()) ClearFolder(subfolder); } #endregion IECach ...Show All
Visual C# Pending PO's on Great Plains
Hi The problem is as follows: I launches and proceeds with to login with my userid/pass. The moment I clicks on "Pending PO's" a window pop's up as follows: ============================== Unhandled Exception Dictionary Not Loaded EXCEPTION_CLASS_FORM_MISSING SCRIPT_CMD_FORMDICT =============================== I am&nbs ...Show All
Visual C# Cast string to variable?
Is there a way to cast a string to a variable name In my code I need to instance classes on the fly. In psuedocode I want to do this: Variable KeyValue<x>; With <x> being replaced by an incrementing number on every call (so you might end up with KeyValue0, KeyValue1, KeyValue2, etc.). Is there any way to do this in C# I recall a way in Pascal, but that was many years ago... No ...Show All
Visual Studio List of Days
Hi, Can anyone from this community can help me or suggest a way on how to list all the days in a month in a report or query thanks alot... ...Show All
Visual Studio Desktop build on build machine
Rather than constantly checking out my tfsbuild.proj file, making changes, then, to test my changes, checking the file back in and kicking off a team build. I want to change the file directly on the build machine and run a desktop build to prove all my changes before checking the file out of source control... when I run msbuild tfsbuild.proj on the build machine I get the following error: Target CoreCompile: C:\Program Files\MSBuild\Micro ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX Bug
Hey! In all samples I install using DirectX 9.0 as API, may it be from DirectX SDK or NVidia SDK, the following bug is present: The ui controls, such as drop down box, slider bars, check boxes etc all appears normal at first. But whenever I try to interact with them they disapear for good never to come back. The samples are still running as they should. My machine is uses a dual core amd athlon x64 cpu, it has about 2 gigs of ram, nvidia GeForce ...Show All
