Jason Priddy's Q&A profile
Visual Studio Tools for Office Prevent Smart Tag deletion ?
Hi, As they are editing a Word document I would like the users to be warned when they add/delete text of a Smart Tag, which causes the Smart Tag to be deleted (eg: un-recognized by Word). Can I override some keystroke event Thank you Lex, this is a cool scenario, actually. Unfortunately, there is no easy way to do this without using XML schemas. If you apply an XML schema to your document, ...Show All
Windows Forms Design Time Controls
Hi, I am trying to add a label, command button,datagrid into a pannel and make this a generic control or code (I am not sure I am new to .net). This is how it would look. ********************************* label &n ...Show All
Windows Forms Control.Invoke blocks on WaitOne while UI Thread continues to run?
I have an application where a background thread is calling Invoke() on a control owned by the UI thread. I'm seeing a problem where Invoke is blocking indefinitely on a WaitOne operation while the main UI thread is still processing the queue (i.e. the UI is still responsive). I'm currently able to reproduce the condition relatively easily and believe it might be a race condition related to the UI thread disposing the control while Invoke( ...Show All
SQL Server Restoring DB hangs Windows XP SP 2
Hello, I just got a new desktop PC with Windows XP service Pack 2 Installed. I installed SQL Server 2000 and the service Pack 3 of SQL Server. When I try to restore a database through the Enterprise Manager, the PC hangs up, it doesn't even answer the CTRL-ALT-DEL. In fact, other two of our desktops in the office have the same problem. I have searched on the internet for this situation but have found no information, and w ...Show All
Visual Studio 2008 (Pre-release) Controls Themes
Hi, When creating Custom controls, there is a theme folder that is created with a default generic.xaml file. Is it safe to assume that jou can add more files as that will esentially be different themes that can be set at run-time If it is so, how do I implement a proper "theme system" this way Thank you, Jaco Have a look at the ThemeInfoAttribute , the ResourceDictionaryLocation enum ( ...Show All
Windows Forms Resgistering event handler with dynamically generated linklabels
Hello, I am dynamically generating a number of linklabels based on some client data. This is in a plain VB class, not a Form I am declaring my linklabel as: Friend WithEvents linkLabel As System.Windows.Forms.LinkLabel Then I loop through some data grabbin ...Show All
Visual Basic terminate vb.net console application
Environment: Running this code on my PC via VS 2005 .Net version 2.0.50727 on the server (shown in IIS) Code is in ASP.NET 2.0 and is a VB.NET console application Problem & Info: Application.Exit() is throwing an error in VS 2005 when I debug Error: Name 'Application' is not declared The code: Imports System.IO Imports Sys ...Show All
SQL Server problem with dtexec
Hi I have a SSIS package which pulls files from a network share and loads data into SQLServer Database. When I execute the application using DTExecUI , It runs fine without any issues , but where as when I run it using the command line arguments, It seems to go in sleep mode and nothing happens. I need to kill the package from Task manager. Following is the command I use to run my application Dtexec /FILE "N:\Temp\Load ...Show All
Visual Basic Pulling User name and info From Active Directory using LDAP in VB.net 2005
Hello, I am sorry I do not have functional code to post but I hope you can understand my request enought to give me a hand. NEEDS: 1> take a request... ie. First name, Last name, or login ID and Search AD Path can be hard coded so entire forest is not searched. 2> List all entries found 3>once the correct user is selected I need to pull First, last, middle name and , Email , Phone number , @ and GUID for that user. ...Show All
Microsoft ISV Community Center Forums BSC manager - Error connecting to server
I've installed BSC manager 2005 following these steps: 1. Created a Virtual PC with 512 MB RAM 2. Installed Windows Server 2003 entreprise edition 3. Installed Windows Server 2003 SP1 4. Installed Sharepoint Services 2003 5. Installed Sharepoint Services 2003 SP2 6. Created a site and extended (Port: 46786) 7. Installed SQL 2005 developer edition 8. Configured SPS to use SQL instance 9. Installed BSC manager (server an ...Show All
.NET Development Additional information: No connection could be made because the target machine actively refused it
Hello, I am currently getting this error when attempting to instantiate and remote object. Currently, everything is located locally. Here is a code snippet to further explain. The highlighted code is where the error occurs. Can anyone help Thanks =========================================== namespace ResumeClient { public class ResumeClient { public static void Main( string [] args) { ChannelServices.RegisterChannel( new TcpCl ...Show All
.NET Development creating vb 2003 .net applications that I can reuse in VBA
I have been trying to figure this out for months. I bought visual basic .net 2003 standard edition and assumed (like in vb6) I could easily create .dll to reuse in my VBA applications. I guess that isnt possible. Do I need to upgrade to .net professional or just abandont the hype of .net and go back to what works ... vb6 I am so confused by all the options and choices . Appreciate and feedback. Mark ...Show All
Visual Studio 2008 (Pre-release) TreeListView - TreeView with Columns - Sample posted
The ATC team has posted a sample of reusing ListView components to build a TreeView with resizable columns. Check it out. Anyone have luck getting the treeview to scroll vertically when the items don't fit In Vs 2008 Beta 2, that sample on that blog post does not scroll for me - Alex ...Show All
SQL Server Deploy apps using sql 2005 express
i'm building apps using sql server express and I want to deploy to servers that have the 2.0 .net framework but have sql server 2000 database. Can this be done, and if so, how Observing God’s Holy Spirit , I see God sa yi ng that The Lord Jesus influences every natural occurrence of kindness, righteousness, and judgment (Jeremiah 9:23-24) . I believe God , so I thank The Lord Jesus for your grace in these matters. The datab ...Show All
.NET Development Setpixel and Getpixel method on bitmap class is very slow
Hello, Right now I am working on graphics assigment in which I am using bitmap class and bitmap members setpixel and getpixel but these two methods are very slow due to which the performance of my application is degrading. Does anybody know the substitute for these two methods and which is fast. Thank you for your patiance. Double post Jerald Check my answer over at this post: http://forums.m ...Show All
