Scott Johnson's Q&A profile
Visual Basic Control.Invoke and ByRef parameters
I'm currently invoking a function that takes ByRef parameters using Control.Invoke (which I notice specifies the Object parameter array to be ByVal) but the array of parameters I give it isn't updated by the function. Is this possible with VB.Net 2003 or must there be some error in my code Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Butt ...Show All
Visual Studio Express Editions WebBrowser and Credentials (Basic authentication)
Hi, I got this problem that i couldn't solve by myself. When im trying to access protected Website (Basic authentication) it's obvious that i have to give the correct login information. What im trying to do is automating this process and get the WebBrowser use hardcoded login information (username: admin, pass: admin) when asked authentication. I have found lot's of information about the credentials but nothing about WebBrowser. ...Show All
Windows Forms Please HELP!!
Hi, We have made our collections bindable at design time..by implementing IComponent.. One of my form has CustomerCollection(variable is CustomerCollection1),and textboxes are binded to its properties at designtime..We are having a global function which loads customercollection..when user gets logged in..called..global_CustCollection..Now, on form load of customer I am assigning this global collection to, collection object bind ...Show All
SQL Server Measure Group ID
Hi, What is the thinking behind not allowing us to change the default value of the ID property of a measure group I really don't like the default - I'd like to choose my own. (If thjere is a way to change it in BIDS then plesae let me know!) This wouldn't be a problem except that the XML/A process command references the ID and I would rather have something in there that is intuitive - somehing that represents what the measure group i ...Show All
SQL Server Getting code page errors....
I am importing some data from my IBM DB2 Z/OS mainframe to SQL Server 2005 using the SSIS import wizard. The wizard automatically converted the DB2 string data before trying to store it to SQL Server. The code page that the wizard chose to do its conversion is the 1252 Ansi Latin. However, I am getting the following error on the address field...."one or more characters had no match in the target code page". Can someone suggest another ...Show All
Visual Studio Team System Error 32000 during Team Server install
I installed the prerequisites: Sharepoint services, SQL Server 2005 CTP April on a new install of Windows 2003 Server Standard SP1. Around 99% through the install I got a 32000 error. I am using the Virtual CD tool to access the ISO image downloaded from MSDN. The image is set as drive z I am logged in a TFSSetup user who is an administrator on the current box I assigned TFSService user as the service user (Both users are domain ...Show All
Visual Studio 2008 (Pre-release) Unknown Messages Handling
Hi, I'm using "MsmqIntegrationBinding" endpoint and self-hosted service. Everything works fine, when I "feed" the monitored queue with valid messages (that conform data contract). Now I deliberately send invalid message to the queue and expect "UnknownMessageReceived" to be fired in the host, but it didn't happen. The message has been read from the queue (I see him in the journal) and lost somewhere ...Show All
Windows Forms DropDownList SelectedIndexChanged not firing
Is there a trick to getting a SlectedIndexChanged event to fire on a DropDownlist control No matter how I select an item this event does not fire. I ahev checked my code, I can do even handling for any of the other controls in the form but nothing on this DropDownList. Thansk in advance. ya Manpreet's solution works fine ............. even I was facing the same problem & enabling Viewstate Works ...Show All
Visual Basic Othello(Reversi)
I was wondering how to create an othello(Just like reversi)game in visual basic. Is there a better way than using a bunch of strings as the game engine, like a saw in a tic-tac-toe game, or is there a better way, seeing that the board is like 10x10.... Any insight Thanks... I was wondering more about the game engine, and I have decided that it would have to be based on a matrix. I'm Having trou ...Show All
Software Development for Windows Vista My documents folder will not appear on the desktop
When setting the desktop icon's in the "customize desktop" section. If you click off the my documents folder it does not appear. ...Show All
SQL Server Sproc execution varies in profiler
I had a sproc which was running slowly. did the obvious and saw an additional index would help things out no end, however, when called from QA, the sproc is now lightning fast, when called from the app (VB6) it still runs like a dog. When looking at it in Profiler, the line exec spPDR1 param1,param2 i.e. the please execute my stored procedure line) has a duration of 0 when called from QA, but 12076 from the application. Th obvious question ...Show All
SQL Server Pass a parameter with a Snap Shot request
I have a set of common reports which I run on a nightly snap shot just fine. I would like to run a snap shot on these same reports passing a customer_id parameter to override the default customer_id already in the report. I know one way around this is to create a linked report from the core reports and change the customer_id parameter there but I would rather not maintain several thousand linked reports folders or have to go through and cr ...Show All
SQL Server ADOX - Create MDB problem - data source containing keyword "System" or "Windows"
Hi, I'm developping an application in VB.NET 2005. I've made a function that creates an Access 2000 MDB with ADOX. I'm using the Catalog.Create method with a connection string to achieve this. Here is a connection string that works: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\SYSTEM1\System2.mdb Here is one that doesn't work: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\SYSTEM\System2.mdb and another one that doesn't ...Show All
Visual Studio Team System Team Foundation RC install Failures, Dr Watson
Hi, I have been trying for serveral days to try to figure out what the heck is going on with this install. The issues I have ran into was during the install on TFS (RC), I keep getting these watson failures. I am so stumped on why this is doing this. I have everything else working fine such as sharepoint, reporting/SQL. Here is the last line of the error log file. [03/23/06,20:32:24] Setup.exe: GetGlobalCustomProperty({4F8791EE-486F-44B ...Show All
.NET Development SecurityException trying to access Access97 database.
Hi, I can't seem to open an Access97 database. I can create a data connection and open the database in VS, I can create a datasource in VS and see all the fields, I can drop the fields on a form ant it creates the data adapters etc, when I run my app and the adapter.Fill executes i get this error: Request for the permission of type 'System.Data.OleDb.OleDbPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' ...Show All
