TurboTom's Q&A profile
SQL Server HELP, error report, Setup Bootstrap\Log\SqlSetup0017.cab
I've installed SQL express eight times at least. The first time it went throug without warnings. Now, I'm getting this by simply wanting to open Northwinds or Pubs database to practice with. Path=c:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\SqlSetup0017.cab Thanks for you support everyone! Karen Please read through the BOL documentation to learn how to use Management Studio (and MSExpress). Once you launch Management Studio, you will need to register your local server and then you'll be able to see your northwind database, write queries against it, change properties, etc. http://msdn2.microsoft.com/en-us/library/ms173574.aspx At this point, your machine has everything you need to start playing aroun ...Show All
Visual Studio Express Editions unprogramed sound
I have programed a game that uses three short sound recordings and there is another sound in it ! ! It sounds like interference almost or sort of static. I think it may just be that it tries to play to many sounds at once but it used to work. If anyone has had the same problem then PLEASE tell me! The code that I used: My .Computer.Audio.Play( My .Resources.bleep1, _ AudioPlayMode.Background) It is the same thing for all three of my sounds. could may well be intereference, I'm guessing you are using onboard audio Even though you shouldnt but no harm, tried rebooting the machine to refresh it Where is this "bleep1" Have you tried to play u ...Show All
.NET Development Executing DOS command from vb.net webservices
Hi, I've created a web service to execute a simple DOS command. here is my web service code Dim strbatFilePath As String strbatFilePath = "e:\gems\Dev\Supplier\cmdr.bat" Dim fs2 As FileStream fs2 = New FileStream(strbatFilePath, FileMode.Append) Dim sw2 As New StreamWriter(fs2) sw2.WriteLine("copy e:\gems\Dev\Supplier\dir.log e:\gems\Dev\Supplier\reuters") sw2.Close() Dim objProcess As Process objProcess = New Process objProcess.StartInfo.FileName = strbatFilePath objProcess.StartInfo.CreateNoWindow = True objProcess.StartInfo.UseShellExecute = False objProcess.StartInfo.RedirectStandardOutput = True objProcess.Start() objProcess.WaitForExit() objProcess.Close() when ever I invoke this web service from my cl ...Show All
Windows Forms Install registry entries over LAN
Hi Is there a way to install registry entries on another computer over LAN using vb.net If you know how to do it with or without vb.net please let me know Thanks // Lasse ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Play Wave Properties
I'm trying to change the Play Wave property 'LoopEvent' to 'Yes' but I get the error "Object reference not set to an instance of an object." I'm not sure what I'm doing wrong. I have a cue and track setup, with a Play Wave event, and it contains a sound. What am I missing All I want to do is setup a sound which just continuously loops. Thanks. I got the same result ('object reference not set to an instance of an object') a few months ago when I tried to use XACT. I've just tried again following the advice in your posting and get the same result. It also occurs on volume and pitch parameter settings. Also, can you tell me why I would need need to use exact I find DMProducer does all it can an ...Show All
Visual Basic Determine if a Registry key is writable
Greetings, Is there a way to determine if a particular registry key is writable by a user The program which I'm developing needs to write to HKLM area and I wish to make sure that the currently logged-on user has the permissions to modify/write to a specified branch (HKLM\Software\MyBranch). I'm using VB 2005. The program is designed for Windows XP and Vista. Will I need to use GetAccessControl function If so, a small code snippet would be greatly appreciated. Thanks in advance! Excellent! That works. Thanks, Mattias. This forum is a great place especially for someone who is migrating from classic vb to vb 2005. ...Show All
Software Development for Windows Vista vista : disable ctrl + alt + del
hi everybody: How can I disable ctrl +alt + del in vista My work is write a product, whem it run ,it will disable ctrl +alt + del, when it leave ,ctrl +alt + del can work. In XP I rewrite Gina ,If a event is set ,when ctrl +alt + del is clicked,do nothing, just return. How can I do it in vista. In vista, Gina is replaced by credential provider. thanks. Thank you for your answer. can I do something to response to ctrl +alt+del, when user press Ctrl+Alt+Del ,show nothing just "cancel". I use group policy to disable task mgr ,change password by wrtie rigester, When user press ctrl+alt+del. But I don't know how to disable user assistant utility. (Ease of Access or ...Show All
Silverlight (formerly WPF/E) the path mini language
Create a Path Object with the path mini language. like this: Path.Data = "M0,0 100,0 100,100 0,100z"; Is there a method to acquire Data value "Path.Data" return "PathGeometry" Object. Can I get value of Points Not in the December CTP you can't enumerate the points. We are looking to enable this in a future CTP. -mark Program Manager Microsoft This post is provided "as-is" ...Show All
Visual C# Interface implementing Interface
is there a realtime scenario where we would need this it compiles successfully though. public interface IA { void GetSal(); } public interface IB : IA { void GetTrySal(); } Partially. The only real advantage I see is that it allows you to write class MyClass : IB instead of class MyClass : IB, IA The only reason I could see for this (besides extreme laziness), is if IA is an implementation detail, and you want to keep it's existence secret. ...Show All
SQL Server Where did the fields go?
Using Visual Studio 2003 and an ODBC connection to an Oracle 7 database I created a dataset with the following query: SELECT ITEM, REV,QTY FROM MYDB.CONTRACT WHERE CON_NUM = 'CONTRACT_NUMBER' All is well until I change the contract_number to a parameter using either or a named parameter. Report users will choose the parameter value from a drop down list generated by another query. Although the parameterized query will still run via a prompt dialog, the report field list disappears and many errors occur. Does anyone know why this happens to the fields and how to retrieve them Thanks, PH BTW: ODBC connections seem to be the only type that will accept parameter queries to this version of Oracle. Have you s ...Show All
SQL Server How can i get a common field Name in a DataSet when i am using IIF clause?
Hi I have an MDX Query Similar to this SET [Classification Name] AS TOPCOUNT ( NONEMPTY ( IIF (@Delegate,[Dim Class].[Vw Class]. ALLMEMBERS ,[Dim No Hierarchy].[Dim].[Dim]. ALLMEMBERS )),10,[Avg Labor Min]) In the Select i have SELECT [Classification Name] ON ROWS (Syntax not correct) In the Dataset i expect the Field Name to be [Classification Name] for both the cases, instead i get ].[Vw Class] for one case and [Dim] for the other case as field name respectively. I need common field Name so that i can use a single Table for either case. Thanking you in advance With regards Sai ...Show All
SQL Server Question: about RDA push and pull
When we sync data using RDA, the logic should be as follows: 1. Create RDA, set isTracked=false 2. if (isTracked) then RDA.Push(<tablename>..); 3.Delete local table 4.RDA.Pull(<Tablename>) 5. Alter <tablename> Alter column <> 6 Set isTracked = True My question is how can we know the value of isTracked or we have to separate RDA.Pull and RDA.Push, Can we just put them together in one function. But how do we know this table isTracked on Anyone knows James Yeah, As long as the localtablename is in this table, that means the track is on! Thanks. Looking up this table seems better than my own function. At least, i don't need to update the Flag of trac ...Show All
Visual Studio When Sharing a folder containing a project, the .vspscc files go crazy, or duplicate
Following a suggestion from the VSS Help, regarding ways of maintaing to separate code version for a project, eg a released version, and a developement version, where fixes from a released version would also be merged into the development stream. I shared our main project folder, instead of just branching it, to save space, so that for bug fixes, we would just need to branch specified files. An addition necessary step was to branch the actual project files (.vcproj) along with the associated vspscc files. This seemed to be necessary for visual sudio to be able to work with these projects and use source control. When I tried to branch the vspscc files they seemed to duplicate themselves. E.G. They would continue to to maintain a ...Show All
SQL Server Using expressions in custom data flow transformation
Hi, I'm creating a custom data flow transformation in c#. I would like to use expressions within this component in the same way as in the derived column component: specifying the expression as a custom property of an output column, then evaluating this expression for each row of the buffer and using this evaluated expression to populate my output column values. So I've added an custom expression on my output column, and set its expression type to CPET_NOTIFY IDTSCustomProperty90 exp = col.CustomPropertyCollection.New(); exp.Name = "Expression" ; exp.ExpressionType = DTSCustomPropertyExpressionType .CPET_NOTIFY; But in the ProcessInput method I don't manage to get the evaluated expressions, when I use exp ...Show All
SQL Server How to set Identity_Insert in dynamic sql?
Hi there, I need to temporary set identity_insert off on a table in dynamic sql. Here is a sample from my stored procedure: Create t_Table Table4test ( ColID Int Not Null Identity(1,1) , ColContent varchar(30) Not Null ) Insert t_Table4test Values ( 'Test1' ) Insert t_Table4test Values ( 'Test2' ) Insert t_Table4test Values ( 'Test3' ) Declare @cCmd nvarchar(3000) , @cTableName nvarchar(15) -- So far all is fine... Select @cTableName = 't_Table4test' /* Now I need to insert a new record, BUT this time WITH ColID so I have to set Identity_Insert to On */ Select @cCmd = 'Set Identity_Insert GateKeeper.dbo.' + @cTableName + ' On' Execute( @cCmd ) -- Now the insert part Select @cCmd = 'Insert t_Table4test Values ( 4, ' + Char(39) ...Show All
