Scott Mason's Q&A profile
Visual Basic Multiple Icons In An Assembly
I am currently writing a program in VB .NET that requires a file type - .fol - to be associated with it so that people can simply double click on the .fol file to get my program. My problem is that i want a seperate icon for the .fol file other than the one my assembly has. What i want is to be able to somehow put more than one icon into the assembly - other than the assemby's icon - and link the default icon for the .fol file type with the seco ...Show All
Visual C# Xml file to SqlSelect Statement - best practice help
Hi all, I am making a little reporting asp.net project and i need a bit of help. I have xml files structured like this <report> <param name="startDate" type"SqlDbType.DateTime" /> <param name="company" type"SqlDbType.Text"> <item>Xyz Inc.</item> <item>abc inc.</item> </param> <sql> Sql here </sql> </report> I have a class cal ...Show All
Visual Studio Team System TFS Beta3 setup failed with 28905 error
I try to install TFS and get error 28905. Something about "list fields" and "localization". System has location "Russia" and language for non-Unicode programs "Russian" and SQL Server has Cyrillic collation. First I reinstall SQL Server with Latin collation. And when I install TFS I get same error. Second I change Location to "United States" and language for non-Unicode programs to "English" and setup completes without error. I install ...Show All
SQL Server SQL Memo datatype
I hope I'm in the right forum I have a simple VB.Net application that records Engineering Change Requests. Currently I'm using varchar fields to record proposed changes. I'm using varchar since I don't know what the datatype is equal to the MS Access Memo datatype. I did look in the help files with limited success. If I remember correctly it said that you can use the Image datatype to store large amounts of data. When I t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Updating Render Targets
If I have several render target textures which need to be updated every frame before the main update, which method is preferred: first method (one BeginScene/EndScene pair for entire scene): BeginScene for each render target SetRenderTarget Update(target) SetRenderTarget Update(main) EndScene second method (one BeginScene/EndScene pair per render target) : for each render target SetRenderTarget BeginSce ...Show All
.NET Development Main function in web service project
I have written an XML database which I wish to access via a web service. I have compiled the application to a dll and referenced it in a web service. I try to instantiate the database class by creating a main function I have =============================== private static xmlDatabase DB; public static void main() { DB = new xmlDatabase(); } [WebMethod] public void Inquire(string searchParam) { DB.Inquire(s ...Show All
SQL Server Inserting Null Value
Is there a way, I can insert NULL value to "DT_Date" type Row Column using Script Component Transformation of Data flow Ie. I have a column named Ordered Date which is type DT_Date. Based on some condition within a script component task, I want to set the value to NULL, however, since the type is date it will not allow nulls. N.S. I just had a similar issue trying to enforce Null inser ...Show All
Visual Studio Express Editions comparing and changing background image of group box
I am trying to write an if statement that checks if a certain image is used in the background of a group box. How do I check this Also, what statement would remove a picture from a group box background Thanks in advance for your help. Removing the background image Me.GroupBox1.BackgroundImage = Nothing I cant see any property on the image which would indicate a name - although you could use th ...Show All
Software Development for Windows Vista Bug? InvokeWorkFlow activity used with Sequential Workflow hosted in Console App
I've been experimenting with InvokeWorkFlow activity and found what I think might be a bug with the logic in hosting code for the console app. In the Main method, the WF runtime is instantiated and the started passing in the type for WorkFlow1. Before it starts the workflow however it wires up a handler for the WorkflowCompleted event that when called sets a AutoResetEvent which the main thread uses to terminate the WF runtime and en ...Show All
Windows Forms TextBox Context Menu
How do I remove the context menu of a textbox in VB.NET How do I disable/remove individual items in a textbox context menu Using your custom properties inside WndProc method has no conflict, logically it should work. Be reminded tha ...Show All
SQL Server Best way to inform .NET app of change in DB content
Previously had a 'prototype' (.NET 1.0, SQL Server 2000, CCW to .NET) whereby an update trigger called out to our .NET app. Obvioulsy now SQL Server 2005 is nearly upon us I'd like to explore a better mechanism in order to consider the next phase of deployment (.NET 2, SQL Server 2005). I have a number of servers that 'cache' data from a table in SQL Server. At some later time one of the servers may update a set of the data. ...Show All
Windows Live Developer Forums Windows Live Messenger Beta Invitation Winners
Last week, the Messenger team offered Windows Live Messenger Beta invitations to the first 5 people who submitted Activity Apps that passed the provisioning process. Drum roll please... And the winners are: 1. Notesaic by Daniel Tse 2. Quatro by Chris Weeink 3. Boter kaas en Eieren by Glenn Klijn 4. Let's Play Chess by Prasad DV 5. CooperYoung by Frans-Willem Hardijzer Congratulations to the winners! You will be receiving your beta i ...Show All
SQL Server can not connect to Report server from SQL SERVER 2005 Management studio
Hi All, I have a brand new install of sql server 2005 on brand new WINDOWS SERVER2003 with latest versions. Every thing works fine excepting I get a 404 when I connect to report server from management studio.. I am even able to publish reports and all the url://localhost/reportserver url://localhost/reports url://localhost/reportserver/reportbuilder/reportbuilder.application all work fine on local machine and with in the networ ...Show All
Visual Studio 2008 (Pre-release) alternate styles for a control
hi, can any one please tell me how to implement alternate styles for my control in WPF dynamically thanks in advance nani You mean something like "skins" Where a person can change the look of the application on the fly ...Show All
Visual Basic alternative to String.split
I am currently splitting a large string which contains headers and multiple messages. I split this using .split which returns an array. After this I need to analyze each item. Depending on certain data in each string I will either keep it or get rid of it. In a collection object this is a simple task, but in an array of strings, I think it would be way too complex. My question is. Is there a utility that can split a larger string into a co ...Show All
