Software Development Network Logo
  • Windows Vista
  • Audio and Video
  • VS Team System
  • .NET Development
  • Visual FoxPro
  • Windows Forms
  • Smart Devicet
  • Microsoft ISV
  • Visual Studio
  • SharePoint Products
  • Visual C++
  • SQL Server
  • Visual C#
  • IE Development
  • Game Technologies

Software Development Network >> mig16's Q&A profile

mig16

Member List

eveningjazz
Aun
FasT
RossDempster
Dotnetter03
Michael Dawson
mme0927
JohnGBunch
SiberLynx
manjunath cv
OnFileOpen
mrginger
Shepherd
RavindraPatil
Tryin2Bgood
bevis61
faraaz_malak_c92eb4
Sally Mohamed
imtaar
elixic
Only Title

mig16's Q&A profile

  • SQL Server Deploying with custom Forms Security enabled

    I have recently enabled a custom Forms Security on my Windows 2003 Server w/ SQL Server 2005 Reporting Services. All the functionality I would expect is working properly, except for the ability to deploy to the reports server from inside my Visual Studio 2005 Reports Project. The 'Reporting Services Login' window opens, prompting me for a username and password. Regardless of what is supplied, the window keeps reappearing, and I am unable to deploy. I am able to upload the files from within the Report Manager, but that is time consuming and inelegant. Any help would be greatly appreciated! I had the same problem: I was prompted for username/password in my Report Model and Report Server projects. Deplo ...Show All

  • SQL Server Finding deatail Deadlock info IN SQl Server 2005 Standard Edtion

    We are using SQL Server 2005 with SP2.Originally, we seemed to be having a lot of unnecessary lock escalation occurring to the page and table level. I would like to track down all storedprocedure/queries or function that are being casue of deadlock in sql server 2005 with all deadlock input like transactionID ,command ran,loginID etc.But we have to need to find these information on SQL Server 2005 standard edtion. Is there any tool,command or something like this which track down these information blindly in sql server 2005 without effecting system performance seriously. Ahamd Drshen Hi, When executing DBCC TRACEON (1204,-1) in a command window, you're enabling the deadlock tracing option. ( http://msdn2.microsoft.com ...Show All

  • Visual Studio 2008 (Pre-release) Activate always on top fullscreen window

    Hi! I have a window that is most time hidden (I call Hide()). When I show it, I want to be in fullscreen mode, so I set WindowState = Maximized and TopMost = True. The problem is that the window doesn't get sometimes focus (the previously active application gets the keyboard messages). I tried to call Activate(), but it didn't resolved anything. Is there a certain way to set TopMost, Maximized, and to show a window in order to gain focus Thank you What triggers the showing of this window If is it triggered by a mouse click in the same application, the window should come up as activated and have focus. However, if you are working in some other app, and the first app shows this maximized window, then it wi ...Show All

  • Visual C++ how to find .

    I want to find following strings into another strings : 1] *r*1 trrr1 result->yes 2] *rup*ff*tyk krupttfftyk result->yes I want to find first string another string . Is there any api ( instead of reguler expression) to accomplish above . Note: i can do this by code but want to know any simple API. Any help is appreciated. Can you restate exactly what you want to find in the above strings Also, can you shed a little more light on your application Are you using MFC, C++/CLI, STL, native C or C++ ...Show All

  • .NET Development pass array of sqlparameter to web service

    hi, I'm new with web service . I've created a web service that , given a stored name and an array of sqlparameter, returns a dataset. now, when i try to call the web service a get an error (during compilation of code) : "Value of type '1-dimensional array of System.Data.SqlClient.SqlParameter' cannot be converted to '1-dimensional array of UTGNOWS.SqlParameter' because 'System.Data.SqlClient.SqlParameter' is not derived from 'UTGNOWS.SqlParameter'" This is the web method : <WebMethod()> _ Public Function UTGNOWS_ExecuteSQLStored(ByVal SQLStored As String, ByVal Params() As Data.SqlClient.SqlParameter) As DataSet Dim ds As New DataSet Dim db As New SQLDataBase Try ds = db.ExecuteSQLDataSet(SQLStored, Params ...Show All

  • SQL Server During processing - error in Event Viewer only?

    A cube I'm trying to process is consistently failing ("the process completed with failure."). Since no specific error was given, I checked the event viewer and noted this for MSSQLServerOLAPServices: "OLE DB error: OLE DB or ODBC error: Invalid object name "SiteAccountProfile"; 42S02. SiteAccountProfile is a table I query from in my DSView (and it's also a dimension table), but I can't imagine what the error is referring to / complaining about. Anyone know what this might mean Okay, more tinkering yielded this nugget: "SiteAccountProfile" is used as a reference dimension (IE another dimension uses it as the reference dimension) on several measures. On a particular measure (this happened to be th ...Show All

  • Visual Studio Tools for Office Microsoft.Office.Tools.Word.XMLNode.ContextLeave: Problems with selections?

    Hi all I have a small problem. I'll try to explain it the best I can. The situation is this: I have an XMLNode in a table cell in Word. On the ContextLeave event for this node, I investigate the text in the node, and perhaps changes the text. In my case, to help user write e.g. N/A, by just typing 'na'. But... When the user tabs out of this cell, the selection get's out of sync. Let me try to explain. Normal behaviour when tabbin' from cell to cell in a Word table is that the text in the cell you enter is selected. When I change the text in the previous cell on ContextLeave the selection is off by the number of characters the new text is different than the original. It's a bit hard to explain. My guess is that Word when i pr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DrawIndexedPrimitives parameter naming

    Am I the only one who thinks that the parameter names for GraphicsDevice.DrawIndexedPrimitives() are totally confusing, some even misleading Maybe someone could help me clear this up: primitiveType - Clear. What kind of primitives I'd like to draw baseVertex - MSDN states: " offset from the start of the index buffer to the first vertex index ". Is this an offset that is added to each index in my index buffer If so, I think the docs should explain this more explicitely. minVertexIndex - What's this A safety feature so I don't draw vertices out of the current batch numVertices - Clear, but redundant (due to primitiveCount ). How many vertices I want to be drawn. MSDN states: " A number of vertices used during the call ...Show All

  • Internet Explorer Development IE 6 and 7 bug, page does not load after IFrame download

    I need to send a download and monitor it's progress to be able to build the rest of the page correctly. This is what happens: The user clicks the download link. Main page refreshes. Title and main menu of the main page are shown The IFrame code with the actual download link is printed, and the download begins PHP waits with sending the rest of Main page, it waits for succesful download or timeout before giving more output. Here the problem starts, after the download completed or timed out, PHP continues to send the rest of Main page but IE won't display it. When you save the page in IE it will refresh the page and save ALL the content, even the content provided after the download which it wouldn't display. There are no security messages. ...Show All

  • Visual Studio 2008 (Pre-release) June CTP - Must wrap local references in a ResourceDictionary.MergedDictionaries

    Just upgraded from Feb CTP to June CTP. All the compile errors are fixed but am now getting runtime errors. This one is with DataTemplates. Cannot add element to property 'Resources', because the property can have only one child element if it uses an explicit collection tag. Error at object 'System.Windows.DataTemplate'. Sample page code. Some code/tags have been removed for simplicity. <Page.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="../Resources/ResourceDictionary.xaml" /> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> <!-- List Box Item Data Template --> <DataTemplate x:Key="ListItemDataTem ...Show All

  • .NET Development directory deletion adn recreation

    Hi, i am facing problem in i have a project directory which contain some useful files and some waste files. project directory hierarchy is as follows Project directory -- directory1 --- subdirectory with waste files --- useful files -- directory2 --- subdirectory with waste files --- useful files now i want to delete the directory by copying useful files out and then after recreating the directory ,i wish to copy the same files back to their hierarchy. Can anybody send me code for this in c#. regards Try using the System.IO.Directory.GetFiles to get a list of the file names in the subdirectory. Use System.IO.File.Move to move the good files b ...Show All

  • Windows Forms Access Form2 from Form1

    hi i have 2 forms i have a textbox control Form1: Friend WithEvents txtAccCode As System.Windows.Forms.TextBox Private Sub txtAccCode_KeyUp( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtAccCode.KeyUp If e.KeyCode = Keys.F1 Then Dim frmSearch As New frmSearch frmSearch.Show() End If End Sub Form2 Form1.txtAccCode.Text = "Abc" Form1.lblAccName.Text = "Abc" How i can access you need to have a reference of the caller form. you need to pass form1 instance into form2 and reference that from form2 to access form1. Take a look at this: http://forums.microsoft.com/MSD ...Show All

  • Windows Forms I keep getting old version after instalation...

    I have a C# project, and in the solution I have a setup project a couple of weeks ago I released the program, now I just released another version, to fix a couple of problems, but those people who had a previous version installed keep getting the previous version, while for those who had no previous version it works just fine...On a test machine, I tried removing any reference to the program manually, I cleare all the tmp folders on the pc, went through the registry, but still the same problem... when I run the program instead of running the updated version Iget the buggy version... any suggestions James There is a property in Setup Project "RemovePreviousVersion" by default this is false, y ...Show All

  • Visual C# Conditional Breakpoints in background threads

    VS2005 does not seem to be hitting my conditional breakpoint (set for when property equals a specific value) when running as a background thread (spawned from background worker on a form). Is this a problem with VS2005, or is there something I'm missing Herbie It should work just fine. When setting a breakpoint in the debugger it actually inserts an INT 3 (I believe) into the code stream (for managed code it probably inserts something else). Nevertheless when the instruction is hit it'll notify the debugger which allows you to break into the code. It'll work on any thread created by the process. Conditional breakpoints can be hard to get right though. For example if you do this: nIdx = 90 ...Show All

  • SQL Server Altering table structure by comparing it to a MODEL table

    Hi, I have an application which needs to use the MODEL database (This is created by me and it acts as a template) to synchronize the tables, stored procedures, triggers, indexes across multiple client database. Basically, if there is a structural change to the MODEL database the client databases need to be updated. For example, If I create a new table or alter a table or modify a stored procedure or modify an index the client databases need to be updated when I run the sync routine. So far I have managed to create/drop tables, create/drop columns, create/drop stored procedures and create/drop triggers. I need to be able to drop all relationships (constraints) and indexes and recreate them. I need to know how this ...Show All

©2008 Software Development Network