ozhonetech's Q&A profile
SharePoint Products and Technologies Layers! Problem!
Ok, I have my site, which is purely one ps image! Now, i want to add a layer over the top of a section and have it link to a web page, so that the layer shows the contents of that page within the confinds of the layer and the image outside the confinds! I really do not want to start chopping up the image and thought that layers would be the perfect answer! however, i cannot add links into the layer! hmm.. Does anyone have any ideas on how i could do this It is really important, maybe i am overseeing something simple i look forward to your responce Regards ...Show All
SQL Server service broker mirror database
Hi I tried to setup service broker to fail over to a mirror database. After the target database failed over, the message I send stays in sys.transmission_queue with no error in transmission_status. I check the mirror server log and I see the following. An exception occurred while enqueueing a message in the target queue. Error: 15581, State: 3. Please create a master key in the database or open the master key in the session before performing this operation. The database has the master key because its a mirrored database Did I have to do something extra here Paul Mirrored databases do not necessarily have to have a master key. (The instances in containing the database may need master key in the ...Show All
Visual Studio Team System TFS Analysys Services service stops all the time
The Event log is logging this error; The description for Event ID ( 22 ) in Source ( MSSQLServerOLAPService ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Internal error: An unexpected exception occured.. I went to see the log files SQLDUMPER_ERRORLOG.log in C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Log And I see this every time the service goes down: 05/02/06 14:20:11, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Input parameters: 4 supplied 05/02/06 14:20:1 ...Show All
Visual Studio error MSB3021 Un able to copy .....
hi when i try to build my solution in vs2005 . i get this error from time to time Compile complete -- 0 errors, 0 warnings C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(2313,9): error MSB3021: Unable to copy file "obj\Debug\Config.dll" to "bin\Debug\Config.dll". The process cannot access the file 'bin\Debug\Config.dll' because it is being used by another process. Done building project "Config.csproj" -- FAILED. as chack this file i can see the only process using it is Vs2005 D:\download\Handle>handle config.dll Handle v3.11 Copyright (C) 1997-2005 Mark Russinovich Sysinternals - www.sysinternals.com devenv.exe pid: 1612 7F8: C:\Documents and Settings\AmitK\Local Settings\Applica ...Show All
SQL Server Sum Facts
I have a type 2 SCD on a sales person dimension. If a sales person moves from one territory to another, how can I calculate their total sales across both territories Some of the fact data will be associated with the dimension key in territory A and some data will be associated with territory B. Does the cube hide this complexity If so, how Making a few assumptions about your design here, but hopefully this will make sense. In your dimension design, if you have an attribute for the sales person that is based only on column(s) that reflect the sales person (like SalesPersonName, SalesPersonID, etc.) then if a user browses the data according to this attribute, they should see the aggregate (sum, fo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. ExternalReference<CompiledShader> - Am I missing something?
I'm trying to create references to .fx files from my Content Pipeline types (my writer). When I build my level objects, I want the references to textures and effect files to be baked into the object so that you don't have to add .fx and .png files to your project, just add the file that processes into a level. (A .bsp in my case). My problem is that I used this thread to create external references to textures, but the same technique does not work for shaders. Psuedo code in the processor: ExternalReference<EffectContent> source = new ExternalReference<EffectContent>("C:\shader.fx"); ExternalReference<CompiledShader> built = context.BuildAsset<CompiledShader>(source, typeof(EffectProcessor).Name); ...Show All
.NET Development Practicle usage of Ngen
I am searching some good practicle examples to use the ngen utility in my application.If someone can provide me the link to some code ir just some really helpful articles........... Actally i am confused about the assembly refrence added to application and how an application resolve that reference. 1) If we have a native image of our assembly then how can we refer to it 2) As we have to installed our assembly in two folders ("assembly" and "public assembly") to make it sharable and to add its ref through IDE then to which assembly it will use during execution If it uses the assembly in the "Public Assembly" folder then what is the need to install it in "assembly"(GAC) 3) Which assemblies are ...Show All
.NET Development returning a dataset for the rest of my code to use.
I am having trouble accessing a dataset that I have return by code. Here is my code. Imports System.Data.Oledb Imports System Imports System.Collections.Generic Imports System.Text Imports System.Data Public Class Connect Public Function CreateDataSet( ByVal mydataset As DataSet) As DataSet Dim i As Integer = 0 For i = 0 To mydataset.Tables.Count - 1 Try If mydataset.Tables(i).TableName = "Mytable" Then mydataset.Tables.Remove( "Mytable" ) mydataset.Clear() Exit For End If Catch ex As Exception MessageBox.Show( "There was an error creating the tables.Please try again" ) End Try Next ...Show All
Gadgets control of client web window
I am using a web access to a terminal server. The initial window start second browser window of a certain size and starts my software on the terminal server host. I want to software to programatically force the client browser window to the front at certain times. Is there a method to accomplish this Thanks Ric ...Show All
Visual Basic AddHandler Error (need help)
Hey i keep getting a error where its says AddHandler instance.NewWindow, handler [code] Public Event NewWindow As System.ComponentModel.CancelEventHandler Dim instance As WebBrowser Dim handler As System.ComponentModel.CancelEventHandler AddHandler instance.NewWindow, handler Custom Event [/code] my visual basic says its a syntax error so can anyone help me please i've looked every where to try find out how to fix this but i'm a nooby at the program etc.. but i'm learning quick so if any one nows please can they help me thanks. Forget about BrowserNewWindow and AddHandler, you've already created an event handler with wb_NewWindow, note how it uses the Handles keyword to tell VB that it wa ...Show All
Software Development for Windows Vista Can Activities defined in XOML file share data?
Hi, I have seen an example "DesignerHostingApplication" where we define Prompt and Message activities and create XOML files and run them. My Question is How do we get the activities in the XOML to share data I want the answer for the Prompt Activities to be shared by Message Activity so that I can display the Answer as a part of Message. Please help Activity binding : < xml version="1.0" encoding="utf-8" > <SequentialWorkflowActivity x:Name="CustomWorkflow" xmlns:ns0="clr-namespace:ActivityLibrary;Assembly=ActivityLibrary, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null" xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " xmlns=" http://schemas.microsoft.co ...Show All
Visual C# Connection and Reading a USB Port using ICSharpCode.USBlib????
Anyone have experience with using ICSharpCode.USBlib code to read a USB port http://www.icsharpcode.net/OpenSource/SharpUSBLib/default.aspx I am having trouble getting the code correct to read the USB. I have connection but not sure of the correct way to code to get the BulkRead() to read the data from the port and put into a string. using ICSharpCode.USBlib; const int VENDOR_ID = 4505; const int PRODUCT_ID = 25703; Device device; private void gpsUSB() { foreach ( Bus bus in Bus .Busses) { foreach ( Descriptor descriptor in bus.Descriptors) { if (descriptor.VendorId == VENDOR_ID && descriptor.ProductId == PRODUCT_ID) { ...Show All
Visual Basic Abstract/Generic Enumerations?
I am trying to create a base class that contains a property (custom enumeration) that is different depending on the needs of the instantiated class. Is there an easy way to do this that preserves intellisense If this is not possible, is it even possible to have a generic/abstract enumeration MattDe_MS, Yes, what I need is a polymorphic property, but it has to be an enumerated (Enum) type that I have created. Maybe there is a better way to do this , but this is what I am trying to accomplish. I am building an open source application and library (soon to be available at TrossenRobotics.com , for easily controlling any of the Wowee products, using a USB UIRT IR Transmitter. I have just finished up work ...Show All
Windows Forms Strange behaviour of the stored procedure for SelectCommand
Hi, all! I've met a strange situation. I have a stored procedure: ALTER PROCEDURE dbo.GetTemp AS begin insert into dbo.log (ProcName) values('GetTemp') select * from TempDB end This procedure is set as SelectCommand property for TableAdapter. When the Fill method for this adapter is invoked, the DataGridView gets the data from, but nothing is added to the dbo.log table. When I start this procedure manually, everything works fine. What is the reason Is SelectCommand somehow prohibit any changes in DB Thank you in advance gqlu wrote: Hi, Try to set it as UpdateCommand property. SelectCommand will not change the database. Hope this helps. Does it mean I can't change tables other than one, for which I've created Tabl ...Show All
Visual Studio Express Editions Card Generator Issues
I've been trying to write a basic Texas Hold'em program. Anyway, everytime I run this code I get the same card twice over. My guess is that maybe there's no change in the system clock during this time, so the same card is generated. I haven't gotten to the point where I allow a single card to be used only once. I wasn't sure if it was necessary. Could someone please look over the code and verify Also if I'm not in the right forum could someone move this to the right one, or direct me to the right forum. - JJ /* Header: iostream Reason: Input/Output stream Header: stdlib Reason: For functions rand and srand Header: time.h Reason: For function time, and for data type time_t Header: cstring Reason: For strings ...Show All
