wakawaka54's Q&A profile
System Center The MOM2005 Installation
Hi Dear Friends I am going to install the MOM2005 on the server, I installed the SQL Server 2000 with SP3 on the my server ,but when i try to meet the prerequisite for this process i received : " SQL Server 2000 SP3 or later not detected." How i can resolve this problem. Regard Ahmadreza Hi Ahmadreza - the best place to ask that would be on one of the MOM communities: http://www.microsoft.com/technet/community/en-us/mom/default.mspx ...Show All
SQL Server Createing SQL data base record for comma delimted records
I am a new user to SQL an I need to create a data base record from a comma delimted file (.CVS). The CVS file has up to ten fields all alpha/numeric. I must create this data base file using a stored procedure! The data base records will be displayed on a grid screen but this grid view will not be used to update the original CVS file. hi, have a look at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=720600&SiteID=1 ... you can there find a hint on how to bulk insert using a format file into an existing table, but, again, this is to populate a table object.. if you have to create a brand new database, you have to execute a "CREATE DATABASE newDB" statement, using the syntax provide ...Show All
SQL Server Returning resulsets between procedures !!
Hello, I need to do the following, But I receive an error: CREATE PROCEDURE dbo.EJEMPLO_A AS BEGIN SELECT TOP 10 NAME, ID FROM SYSCOLUMNS END -- and Later use the one above... like this... CREATE PROCEDURE dbo.EJEMPLO_B AS BEGIN DECLARE @temp_lista TABLE (NOMBRE VARCHAR(500), IDENT NUMERIC(5)) INSERT INTO @temp_lista execute dbo.EJEMPLO_JULIAN END Pd. I just have to capture the dbo.EJEMPLO_A resulset... and I can't modify It Jortiz: You have to use a temp table instead of a table variable to receive your data. create a temp table instead of declaring a table variable; you are not allowed to use a table variable for what you are attempting. Dave ...Show All
Software Development for Windows Vista Building XPS printer driver on windows XP
Hi I want to use XPS printer driver on Windows XP. while installing this XPS printer driver on windows XP it's asking for some DLL files (ex. xdwmark.dll, xdcolman.dll). in WDk folder there is no such DLL that means i have to build this DLL from WDK building environment. when i am trying to build these dll from WDK's Windows XP build environment i am gettting following warning : [source path ] is not valid for the current OS target . can you help me how can i build these DLL for XP I am able to build these DLL from Windows Vista environment. but while printing from this d ...Show All
SQL Server BUG: UPDATE updates not listed fields
Hi Everybody, I am in this forum for a first time. Today, I think, I found a bug in SQL Server 2000. I tried it on SQL Server 2005 and it is alive yet. Before I explain exact the problem I have a stupid question. Is there any type of award if I have found a real bug. It is about a situation when I try to update some fields in a table and I get updated some other wrong fields. There aren't any triggers ot something else. Create a new table, insert one row, update some fields but other ones get changed too. Is there something known about this Thanks, Hristo. No, there's no award, except for bragging rights :) Post your code/sprocs, DDL etc. so someone can try to duplicate. If there's no triggers, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Sprite is not transparent
Ok I finally got the game to work but I have a new problem...my texture which I made transparent in DirectX, doesn't have the transparent background when I run it. Is this due to my graphics card & me adding that line of code to make the program work Sorry I can't remember the exact line but it's been floating around the forums, I think we all know what it is. This is how I got transparent textures to work... Use the DirectX Texture tool and create a new texture the same size as your sprite. Now import your sprite into that layer. Now create a new sprite that is black and white. White is what is visible and black is transparent. and load unto alpha layer. Save it into one dds file and load it.. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. GraphicsStream.InternalDataPointer null?
Good day, We are creating a texture from a bitmap region using an unsafe section in C#, but occasionally the InternalDataPointer for the GraphicsStream's returned from Texture.LockRectangle will be null. Following are the relevant lines: Texture texture = new Texture (device, bitmap.Width, bitmap.Height, 1, Usage .Dynamic, Format .A8R8G8B8, Pool .Default); int pitch; GraphicsStream graphicsStream = texture.LockRectangle(0, LockFlags .None, out pitch); unsafe { byte * to = ( byte *)graphicsStream.InternalDataPointer; ... It is a multi-threaded app, but to our knowledge no other thread acts on these members. What could cause a null InternalDataPointer Thanks in advance... ...Show All
Windows Forms Web Browser Control cookies
Hey, I am using a combobox to show the URL you are at on the webbrowser control, and I made it so that when you press the Go button it will add the Url to the Combobox list... WebBrowser thiswebpage = GetCurrentWebBrowser(); // Get the currently displayed WebBrowser URLtextbox.Items.Add(thiswebpage.Document.Url); But wehn I look at the combobox it has the webpage URL you were jsut at about 10 or more times in a row...So it is saving the cookies more then once, how do I fix this Thanks :) look through the collection of objects stored in the list according to the solution I had provided you via email. So, for each element in the array, if current element.url does not equal URLTextbox.Text, ad ...Show All
Visual C# print contents of multicolumn listview box - arghh!
I have a multicolumn listview box. I have looked all around for some basic instructions on how to print its contents and remained baffled. I would appreciate a the simplest example or url to simple example on how to do this. Should I print the listview box to a text file, then use stream reader appreciate your help! david Looks like some of the code got jumbled on my cut and paste... Code should read... printableListView.Columns.Add("Column 3", 100, HorizontalAlignment.Left); // Wrap results. If multiple entries in Result column, then they are separated by a ";". NOT printableListView.Columns.Add("Column 3", 100, HorizontalAlignment.Lef ...Show All
Game Technologies: DirectX, XNA, XACT, etc. xnb file shader
when i have to release my game engine it comes with prebuild shader for win and xbox is there any form i can store copyright info inside the shader or pehaps store some file info in my engine so i prevent people from steel my shaders i now about Embedded Resource and obfuscate, but when you use Embedded Resource you can not transfere the engine to xbox all process must go true the content pipeline for shaders xbox does not support dynamic creation of shaders but any way tanks i was looking for a some kind of owner control for a shader , so that shader onlye can be used with app it was compiled to. ...Show All
SQL Server Unpredictable queue order - PLEASE HELP !
Hi There I am having alot of trouble with the order in which messages are being delivered, here is my scenario. I have a transaction action table : message 1 - xml schema A. message 2 - xml schema A. message 3 - xml schema B. message 4 - xml schema D. I have the following SP: BEGIN TRAN BEGIN DIALOG CONVERSATION SEND ON CONVERSATION message 1 BEGIN DIALOG CONVERSATION SEND ON CONVERSATION message 2 COMMIT AT the target i get message 1 in the queue first them message 2. But then i try this. BEGIN TRAN BEGIN DIALOG CONVERSATION SEND ON CONVERSATION message 3 BEGIN DIALOG CONVERSATION SEND ON CONVERSATION message 4 COMMIT At the target i get message 4 firs ...Show All
Smart Device Development Can't debug deploy WM5.0 mobile app
I have a Windows Mobile 5.0 application that I can copy to and run on a target device, however when I try to start debug under VS2005 says "Deploy started ...." then after about a minute comes up with the error: "Returned by WSARecv or WSARecvFrom to indicate the remote party has initiated a graceful shutdown sequence." I am connected via ActiveSync 4.1.0 and can access the device as well as open sockets in either direction (using IP addresses 169.254.2.1/2 - where are these documented!) so I have connectivity. What am I doing wrong Any suggestions welcome. Mark I have been doing some more testing and find I get the same error if I try to run any of the VS2005 Remote Tools. ActiveSync is still fine however. I am running VS2005 in a VMware ...Show All
SQL Server Trigger Question
Dear Experts; I'm trying to create a trigger that replaces a login ID field (LOGIN_EMPL_ID) with the correct data to make it LDAP compliant with our A/D. We create logins in A/D using last_name & if a last name already exists, we use 1st initial + last_name. With the trigger below, regardless if there are duplicate last names or not, the first initial is always getting added to the last name when populating the LOGIN_EMPL_ID field. I'm sure the problem lies in the use of the “Select Top 1” in the statement, but I fail to see how to get away from using this so I don't get a multiple rows error in the sub-query within the IF statements. Any ideas Thanks for your help CREATE TRIGGER tr_Updt_Login_Empl_ID ON [TC ...Show All
Visual Studio Express Editions Printing a form
After following the code found here to print a Windows Form I now have this Dim memoryImage As Bitmap Private Sub CaptureScreen() Dim myGraphics As Graphics = Me .CreateGraphics() Dim s As Size = Me .Size memoryImage = New Bitmap(s.Width, s.Height, myGraphics) Dim memoryGraphics As Graphics = Graphics.FromImage(memoryImage) memoryGraphics.CopyFromScreen( Me .Location.X, Me .Location.Y, 0, 0, s) End Sub Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click CaptureScreen() PrintDocument1.Print() End Sub Private Sub PrintDocument1_PrintPage( ByVal sender As System.Object, ByVal e As System.Drawing.Printing. ...Show All
.NET Development [OTP]virus burst then hpiz350-internal error 2908-error 1935
hi. i recently had virus burst take over my pc. it took an hour or two but i relieved myself of that headache. but now it seems that when i try to access my documents, or my computer, recycle bin, this sort of thing. i get a little window saying it is trying to install and configure hpiz350, then it encounters this internal error 2908 including many different registry keys which i cannot locate, then to top it off the final error window (after going through lots of 2908 error windows), it says error 1935.an error occured during the installation of assembly 'interop.hpodmpv_md,Version="2.0.464.1592",PublicKeyToken="A53CF5803F4C3827",Culture="neutral'". please refer to help and support for mroe information. HRESULT: 0x8002802F. so does ...Show All
