William Bartholomew's Q&A profile
Visual Basic Single APP Instance VB.NET 2005
Hi I need to make my App a single instance, and pass arguments I have a Main Module : Public Sub Main( ByVal sArgs() As String ) How can I use sARgs with ONLY one App instance i.e., I want to pass Arguments to the running instance I use VS.2005..Visual Basic Thanks in advance I can confirm this same bug in SP1 [beta]. I have two computers - one with SP1and one without. If I create a new Windows Application project in both, and click the "View Application Events" button, only the one with SP1 installed crashes. You mentioned the "report" to vote on this issue - can you provide a link so I can vote also Thanx ...Show All
SQL Server online index rebuild Problem
Hi Please advice whether i have to do update stats after i do online index rebuild I use Alter index with (options as below) ONLINE = ON SORT_IN_TEMPDB = ON STATISTICS_NORECOMPUTE =OFF Should i be doing update stats after this online index rebuild After doing online index rebuild when clients connecting to DB the Response time has increased .. During Online INDEX REBUILD page file usage rises from 3 Gb to 10 GB and stays at 10 Gb even after online index rebuild i have no idea on this .. pls Advice ...I Need help.......................... Thanks in advance Pagefile is increased, then check the memory settings on SQL Server. Also if there ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Does Content Manager use Caching?
I'm wondering if the content manager uses caching... I have noticed quite a few people build objects like texture caches and so forth. Is this really necessary Previous to XNA I would create a texture 1 time and share it across multiple sprite classes... rendering the same texture at many different locations (1 for each sprite) during a single pass. Is it safe to just use the ContentManager inside of the sprite class with XNA Example //constructor public Sprite( string asset ) { this .texture = game.ContentManager.Load< Texture2D >(asset);} I've built my classes like this because I made the assumption that the content manager would only load a particular asset in memory once. But since it's an assumption I'm now ...Show All
Visual Studio Express Editions is there a add-on "reportview" that can be use in VB Express?
is there a add-on "reportview" that can be use in VB Express What exactly are you trying to do Create a report in access and then show it in a form using VB Express If you are working with access then you can do reports in access. Access has (VBA) Visual Basic for Applications. ...Show All
SQL Server Attach database - error 602
Hello, After re-installation of MS SQL Server 2000 (Developer edition), I wanted to attch I previously available instances in the Enterprise Manager. But, when I select "Attach database", I get the error: Error 602: Could not find row in sysindexes for database ID 9, object ID 1, index ID 1. Run DBCC CHECKTABLE on sysindexes. When I run this "DBCC CHECKTABLE", I get the message that no errors have been found. What should I do SQL Server is finding a problem with the db when trying to attach so it wants you to run DBCC against that db and you can't because it isn't attached. You can try attaching manually with sp_attach_single_file_db or if you have a backup of the db, restore from bac ...Show All
.NET Development DataTable.Load() Generates InvalidOperationException
Hello All: I am having a problem with the following code generating a "InvalidOperationException". The exception is thrown sometime, but not all the times. Does anyone have any idea why this code may be causing DataTable.Load() to throw that exception Thank you kindly. Jerry... p.s. Please forgive the cross-post. I must have inadvertantly posted this to WindowsForms. ***** Start Here ***** public partial class CollectionDetailStatusDataTable { public event TableFillingEvent TableFilling = null; private EventWaitHandle tableFilledWaitHandle = new ManualResetEvent(false); private CollectionDetailStatusTableAdapter tableAdapter = null; public CollectionDetailStatusTableAdapter Adapter { get { if (tableAdapter == nu ...Show All
SQL Server join several fields to create new field
What would be the recommendation/approach in creating a seperate field in which joins several differate fields together. I have a table with field name a, b, and c. I want the information in those fields to be populated in a seperate field, d. So instead of: a 122 b joe c st I would have: d 122 joe st Thanks! This works ... sort of. If there are any null fields, it returns nothing. So is there a way around that. Something can be built into the view that handles: if null then '' otherwise d + ' ' ...Show All
SQL Server Another flat file parsing problem
Hello All! I know this has come up before and I have tried several of the solutions found within the forum but I just can't seem to import my file correctly and could use some input, please. Sample file (less fields than actual file): Name (str), Phone# (str), Description(str), Resolved(bool), Met(bool) "Kay, Mary","123-4567","Used a "."not a"," in text", "1", "1" The text is qualified with " and columns delimited with commas but the description field has embedded quotes and commas. Normally it works except if there embedded quotes and commas. I have tried unqualified data and undouble, but that does not work either because of the embedded commas ...Show All
Visual Studio 2008 (Pre-release) Retrieving DependencyProperty
Hello, How can I retrieve the depdencyProperties for a give depednecyObject Thanks Houman Say your dependencyobject is a panel and your dependencyproperty is the background, use panel.BackgroundProperty ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX and COM in C
Well, I'm not sure if I'm at the right forum but I'm gonna try... I already have some experience at programming with C++ and DirectX but recently I got involved into a new project where I'd like to use DirectX and C. The problem is that I've never used COM before, actually, the first time I heard about that was when I started looking for infomation about C and DirectX. So, if anyone could help me I'd be very thankful. I need to know the basic of working with COM and how I can initialize D3D9 using that in C. I just need 2D resources. Please, i'm just another boring beginner so be patient with me, all right (excuse me for the possible English mistakes... I'm Brazillian anyway) Unfortunately, I know of no ...Show All
Internet Explorer Development AutoSuggest Drop-Down: iexplore.exe - Application error.
Whenever I close down IE, I got a dialog named as Subject "iexplore.exe - Application Error" " The exception Privileged instruction. (0x0000096) occurred in the application at location 0x0332b2b0. Click on OK to terminate the program Click on CANCEL to debug the program " What's wrong with my IE7 please It's really annoying!!! For serveral months already. Can anybody help please Cheers JIA Pei I'm not sure if it is related, but whenever I click on a link from Lotus Notes (email client) or Windows Messenger, the respective program locks up. Then, when I restart I always get the "AutoSuggest Drop-Down" error. If I then restart, and don't click on any links in Messenger or Notes, and restart again, I don't get the 'AutoSugges ...Show All
Visual Studio Addition to main_castle.xsl for tables for lists
I added the following to the bottom of main_castle.xsl for Sandcastle to create nice looking tables/lists for the <list> elements in your xml documentation. It's not complete, but it's a start. < xsl:template match = " list " > < xsl:choose > < xsl:when test = " @type='table' " > < table class = " authoredTable " > < xsl:apply-templates select = " listheader " /> < xsl:apply-templates select = " item " /> </ table > </ xsl:when > < xsl:when test = " @type='bullet' " > < ul > < xsl:apply-templates /><!-- select="item" /> --> </ ul > ...Show All
Windows Forms Want to know which component should add?
Hi, Sorry if i post in wrong section. I just want to know about Target Designer to add which component for running sound card(common) and instal visual studio This component is not make by me, because i ask the person that provide that software. I got ask that person incharge to make this tool and he say already add the component and i got trial version windows embedded for testing the tools but i still how to make it and don't know which component should i add and I got problem when install particular info from that person giving me. I heard some component are missing. About the sound card, can't support some sound card and the visual studio some file missing. Sorry i use this for testing before giving to end-user. Very sorry ...Show All
SQL Server Expression to get the last word of the fields
Hi, How do i get the last word of a field in an expression Thanks Add a script component to your dataflow... Add an Output Column, LastWord, of type string. Make sure that the field you are working on is selected as an input to the script component. Then, here's your script... Note the "your-field-here" location, which represents the input field name that you are trying to get the last word of. Imports System Imports System.Data Imports System.Math Imports System.Text.RegularExpressions Imports Microsoft.SqlServer.Dts.Pipeline.Wrapper Imports Microsoft.SqlServer.Dts.Runtime.Wrapper Public Class ScriptMain Inherits UserComponent Public Overrides Sub ...Show All
Visual Studio Team System Continuous Integration Build with rolling back ability
Hi, In our company we use Continuous Integration (CI) build. The problem with CI is that there isn’t really way to prevent from my CS - code that broke the build to not Check-into the source control. We want to implement scenario that start building on every Check-in, and in a case of failure the build will roll-back all the changes that Included with the specific pending changes. Does any body know on a way to implement this kind of thing…….. Thanks in advance, You might need something like a custom task that retrieves the number of the last changeset in the build and then on failure you can do a Get Specific Version on the last changeset minus one. Then do a check-i ...Show All
