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

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

Sarguna

Member List

AJamil
Matt A
Hardrock302
Bob22
Alex_ludy
vish2007
Orest Bolohan
mikestrutter
Sharpstyx
Ledeni_Plamen
Tryin2Bgood
Daye Rev
fbiots
Rafael Leonhardt
deji101
Attila Fogel
Stéphane Beauchemin
rvecchio
eldiener
ryan.berry
Only Title

Sarguna's Q&A profile

  • Visual Basic IRunningObjectTable.Register Example?

    Does anyone have an example of how to register an automation server in the ROT (Runtime Object Table) using IRunningObjectTable.Register and how to revoke it using IRunningObjectTable.Revoke Thanks, You're probably right about .Net 2.0. That seems like the only difference. One more question... Will this work equally well with VB Are there any differences (other than the obvious syntax, of course) in doing this in VB vs C# Thanks, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Vector maths methods...

    Following a long day of writing and debugging some nasty rigid body physics code, and feeling the pain of the maths library I have to use for this C++ work, I thought I'd take another look at the XNA maths code to see if the results would be more readable (as you might hope ;). ... But my quick look at the framework docs seems to show more deficiencies than in the code I have been using all day... 1/ There is no Point3 class. This is a real pain as libraries that don't distinguish points and vectors are a right pain - transforming a point by a 4x4 matrix will result in a different result to transforming a vector. (And I don't want to resort to coding every point/vector as a homogeneous coordinate either!). There appears to be a ...Show All

  • Windows Forms ClickOnce and Team Foundation

    Hey All, I am trying to implement ClickOnce in a team foundation build. I generated the .application and .manifest files with the build process. However, when I try to run the .application file. It gives me the following msg: ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of \\testserver\ClickOnceDeployment\Project.application resulted in exception. Following failure messages were detected: + Exception reading manifest from file://testserver/ClickOnceDeployment/Project.application : the manifest may not be valid or the file could not be opened. + Manifest XML signature is not valid. + No signature was present in the subject. I did generate a .cer file from t ...Show All

  • Smart Device Development How to hide start menu?

    Hi I need to prevent user acces to system (running another application and system). I can remove minimize box, but system menu is still visible and user can do anything. Can I hide start menu or have you some else ideas how to do it (PDA WIN CE .NET 4.2) thanks Palo. 1. Make the app. full screen 2. Remove control box and minimize/maximize buttons 3. Hide/show the task bar with this code: private const int SW_HIDE = 0x00 ; private const int SW_SHOW = 0x0001 ; [DllImport( "coredll.dll" , CharSet=CharSet.Auto)] private static extern IntPtr FindWindow( string lpClassName, string lpWindowName); [DllImport( "coredll.dll" , CharSet=CharSet.Auto)] private static extern bool ShowWindow(I ...Show All

  • Visual C# BUFFER a page into the cache before loading page into browser

    If I am not mistaken (but please do correct me if I am) a webpage is buffered into the cache of the machine before it is loaded into the browser. Question: (if the above statement is true) How can I manipulate(read, write) the stored page in the cache before it can be loaded into the browser. NOTE: "It would be in C# way if possible. " Please help me in this, I am trying to manipulate a page before it is loaded into my self-made browser. Cause, if this would be possible, maybe there is also a possibility that a page can be checked for being a spoof before loading it into a browser. Hope I can find answer. Thank you and more power! Ichi I see... Now I can get access to the temporary internet cache folder of windows but fro ...Show All

  • SQL Server SQL 2005 Service Pack 1 fails

    Hi all, I know that this has been covered a few times and I have made sure that permissions are correct on all the files, however I'm still failing on SQL9_Hotfix_KB918222 I would like to post the SQL9_Hotfix_KB913090_sqlrun_sql.msp.log but either its too big for the forum to handle or the forum is having some problems. I would be more than happy to send it to anyone interested in helping out Thanks Mike Hi Sam Thanks for the quick response, I have not had time to revisit this issue. I will get you the info early next week. Thanks again for the help ! Mike ...Show All

  • Windows Forms For designer copy/cut/paste, what Type or data format does MS set the clipboard DataObject to?

    Reflector shows this code for the copy command: protected void OnMenuCopy ( object sender, EventArgs e) { if ( this . SelectionService != null ) { Cursor cursor1 = Cursor . Current ; try { Cursor . Current = Cursors . WaitCursor ; ICollection collection1 = this . GetCopySelection (); collection1 = this . PrependComponentNames ( collection1 ); IDesignerSerializationService service1 = ( IDesignerSerializationService ) this . GetService ( typeof ( IDesignerSerializationService )); if ( service1 != null ) { object obj1 = service1 . Serialize ( collection1 ); MemoryStream stream1 = new MemoryStream (); new BinaryFormatter (). Serialize ( ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Where is the download?

    It is 12:48 pm here (GMT + 1)... in Nuku'alofa (GMT + 13) it is tomorrow... So where the hell is my download link :-D EvilOneSD wrote: Hmmm... the holy grail is here on my desk. Btw... it's "tomorrow" now... What, you have one too :p It's been "tomorrow" here all day... heck, it's almost the day after here! ...Show All

  • SQL Server available values and free text

    Hi, I have a parameter that get his available values from a query. I want that user will have the option to select from the values list OR to type in his own value. Is there a way to do that Thanks, YOu will have to use two parameters and compose your query to accept either the one or the other value. HTH; Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Silverlight (formerly WPF/E) Retrieving Color Values

    Although color values can happily be assigned by name or hexadecimal notation they appear to be stored in a less friendly numeric format that is not consistent between browsers. For example, obj.fill="red" easily assigns a color value to obj, but then referencing obj.fill.color returns a numeric value of 4294901760 in Internet Explorer and a numeric value of -65536 in Firefox. The numeric value returned by IE can be reverted to a useful hexadecimal value with ("#" + obj.fill.color.toString(16)) but that returned by Firefox is not so straightforward. For instance, an assigned Yellow value returns 4294967040 in IE but -256 in FF. Is there a better way to retrieve a useful color value ...Show All

  • Windows Forms How can you tell if an object implements an interface through reflection?

    Hi All, I have a master class that holds through a set of properties a series of other objects. Some of these objects implement an interface I defined. I want to be able to dynamicaly add a series of user controls to my form for each object accessed throogh the properties of my master object the implement my interface. The code below reuns throgh the properties of my master class (clsProject) and displays the object type in a message box. How can I go one step further to find if the object type is an implementation of my interface Dim P As clsProject = Me .Tag Dim ObjectType As Type = P.GetType Dim Properties() As PropertyInfo = ObjectType.GetProperties For Each PI As PropertyInfo In Properties MsgB ...Show All

  • SQL Server SSIS and SSMS "Backup Wizard" Integration needed

    I created a Backup plan using the SSMS Maintenance Wizard. It created an SSIS package for me but the package didn't delete files older than, say, 3 days. So I exported that package from MSDB, added a Script task to it (to do what I needed), and imported it back into MSDB. I can open the new package under SSMS and everything looked good ... until I double-clicked the Script task. That task is simply not supported under the SSMS Maintenance Wizard. Goin in and out of that task under SSMS gave me the following errors: "Microsoft Visual Studio Macros: The operation could not be compelted. Call was rejected by callee.". Or the ever popular "cannot show the editor for this task'. I was asked to "Wait for Completion& ...Show All

  • Visual Basic AboutBox

    I noticed that I could add an AboutBox to my project and I have done so. Now I notice that under the description textbox on the form, that it tells me " Description: (At runtime, the labels' text will be replaced with the application's assembly information.Customize the application's assembly information in the Application pane of Project Designer.) " Where do i go to find the Application pane fo the Project Designer Thanks for any help. QWERTYtech Sorry for taking a bit to get back to you on this... After entering the application pane did you click the Assembly Information button to get access to all of the fields I'm sorry that I didn't mention the need for it originally. ...Show All

  • SQL Server SQL Agent Roles

    I have a domain account that is assigned the the SQLAgentOperator, SQLAgentReader, and SQLAgentUser roles. That domain account is able to create a job and delete the job. But, it is unable to edit the job. If I create a SQL Login with these same permissions, it is able to edit the job. What am I missing We were looking forward to implementing these new built-in security roles because we had to use our own security roles to give us similar functionality in SQL 2000 but it doesn't seem to be working properly in 2005. Michelle IF the SQLAgent is not a part of sysadmin and that job is created by SA or any other login with SYSADMIN privileges then that login may not be able to modify the job as ...Show All

  • Visual Studio 2008 (Pre-release) Virtualized Paging WrapPanel

    I'm building an application that dynamically builds a document with interactive content. For the most part it is used to read and study, but also can be clicked to bookmark certain passages, etc. I have originally implemented this using a dynamic FlowDocument and a FlowDocumentReader. This worked okay with small documents, but had performance problems with large 25+ page documents because of all of the UI that was created on the fly. I am rewriting the document portion so that it only generates a page of content at a time using a wrappanel to flow the content vertically in several columns. This is proving difficult because I can't seem to figure out how many passages to display for the given window size. If there are more than will ...Show All

©2008 Software Development Network