Amos Soma's Q&A profile
SQL Server how to access named instance throug ip address
I installed Named instance in SQL 2005 Server ( TESTAV\TESTNETAV ), now i am not able to acces this instance in SQL Query Ana.throug IP Address. i am able to access this instance through name How can i resolve this issue please help me out Thanks Allen for your reply. Now i am able to access Named Instances through IP Address in Query Analyzer, (<ip address>,<port>). Thanks Again for your help. ...Show All
Visual Basic AddHandler causes FileNotFoundException?
I have a COM object that I'm using in a VB.NET application. When I create it, my application runs fine: Hard to guess what might be wrong with your COM component. Perhaps it just generates the wrong HRESULT return value in its implementation of IConnectionPoint.Advise(). The proper error code for "event not available" is 0x80040202, sorta close... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Any scripting support?
I haven't found any info on scripting support in XNA. And the disccussion on supported languages seems to mean only C# is usable with XNA. So we cannot incorporate any script engine What about the DynamicMethod class As written in another thread the necessary methods are currently not supported on the XBox 360 version of the framework yet. ...Show All
Visual Studio Express Editions I have a Question
When I open a link in a new window on my web browser, It opens it up with Internet Explorer. How can I tell it to open up new windows with itself, and not internet explorer Ok... If I try to open up a web page in a new window(With my custom built web browser) It opens up a new window with internet explorer. I want new windows to open up with my custom browser, not internet explorer ...Show All
Internet Explorer Development WindowStateChanged Event bug
Hi, to everyone, i've downloaded lastest Windows SDK, which contains needed DISPIDs for handling WindowStateChanged events in IE7 BHO. in SDK i've found event flags: typedef enum { OLECMDIDF_WINDOWSTATE_USERVISIBLE = 0x00000001, OLECMDIDF_WINDOWSTATE_ENABLED = 0x00000002, OLECMDIDF_WINDOWSTATE_USERVISIBLE_VALID = 0x00010000 OLECMDIDF_WINDOWSTATE_ENABLED_VALID = 0x00020000, } OLECMDID_WINDOWSTATE_FLAG; But, VALID flags are wrong, they are never fired. According to the event signature: void WindowStateChanged( DWORD dwFlags, DWORD dwValidFlagsMask ); in first param of DISPPARAMS array we got flag, and in second - the status of flag. In both cases VALID flags are never set :( I think it's due to their values are wrong, t ...Show All
Visual Studio Report Header VS. Page Header
How do I create a report header for a report It says report header but it is actually creating a page header because it prints on every page. ...Show All
SQL Server External Image disappears with Interactive Sorting
Hi, I have an image in the page header that is included in the project and is defined as "external". I also have interactive sorting enabled for the report. When a column is sorted, the image in the page header disappears. I deleted the image from the report and re-created it as "embedded" which does retain the image between postbacks. Thank you, Bob There is a post-SP1 hotfix which will restore the "Select All" option exactly the way it was in RTM. You will need to contact Microsoft product support ( http://www.microsoft.com/services/microsoftservices/srv_support.mspx ) to receive the SP1-based hotfix. -- Robert ...Show All
Windows Forms Datagrid Column color
How to change the column color for a particular datagrid column ( not only for current cell but also for the entire column ) See the following code.... it will work (change color) only when we click in the column cell..but i need to change the entire columns color.. how to do DataGridTableStyle dataGridTableStyle1 = new DataGridTableStyle(); dataGridTableStyle1.MappingName = "TABLE_NAME"; // DataGridTextBoxColumn dataGridTextBoxColumn1 = new DataGridTextBoxColumn(); dataGridTextBoxColumn1.MappingName = "table_field1"; //TABLE FIELD NAME dataGridTextBoxColumn1.HeaderText = "Headder_Text "; dataGridTextBoxColumn1.Width = 150; dataGridTextBoxColumn1.ReadOnly = false ; dat ...Show All
SQL Server Query results are now showing as text based
Ok, I have been using Query Window in SQL 2005. All of a sudden, I notice that my results pane is now showing it text based, not formatted like columns like it used to. The only thing I did different was to change the Tools | Options | Query Results| SQL Server | Results to Text | Maximum Numbers to Display in each column value. Even after I changed that, it was working fine meaning it showed the results not as one big text. But eventually after a few more Query runs, I now get this format which I don't want (notice how each column is underlined with --------------) ProductID Description -------------------- ----------------- Why did it all of a sudden switch from ...Show All
Windows Forms Keep control form uppermost
I call form2 from form1. I would like form1 (control form) to always be uppermost. form2 should always appear under form1 in terms of order. Although I have set form1's toplevel = true and topmost = true, when I call form2 it still appears above form1. How can I resolve this Thanks in advance If you make form1 a child of form2, form1 will always be "on top" of form 2. You can do this by sending a reference to form 2 to form 1's Show method. E.g.: form1.Show(form2); ...Show All
Software Development for Windows Vista Using custom activities in Visual Studio
I'm trying to use the Send Email and SqlDatabase activities but can't seem to use them in the WF designer. I've downloaded them, built the projects and then added the assemblies to the toolbox via 'Choose Items...'. But when I try to add them to a workflow, nothing happens, they never get added. The Properties window shows the properties for the activity until I select another activity but that's it, nothing added to the designer or the code behind. I'm sure this is really simple, anybody know what I'm doing wrong Thanks, that helps. Guess that's the way to fix these kind of problems. The issue seems to be with the Designer classes that set up various properties in their Initialize methods. The exception thrown is Theme properties ...Show All
Windows Live Developer Forums FireFox bug in V3
I tried my VE v3 app in FireFox and I got the following error: Error: [Exception... "'Msn.Drawing.Exception: Your Web browser does not support SVG or VML. Some graphics features may not function properly.' when calling method: [nsIOnReadystatechangeHandler::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no] Any help is appreciated. I just tried my app in FireFox and it works very nicely. Are you treating Firefox as an uplevel browser (Assuming you are using .NET) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DXGI_FORMAT_R11G11B10_FLOAT format
Hi, the DXGI_FORMAT_R11G11B10_FLOAT render target format seems to be a clear winner when it comes to HDR rendering. The question I could not find an answer in the documentation for is: is it guaranteed to support alpha blending, multi-sampling and filtering Thanks in advance, - Wolf Actually, destination alpha is something you can't do with a non-alpha-supporting format, unless you accept that the alpha will always be 1.0. You can use destination color, of course. You can use source alpha though, since the output merger stage still has access to the alpha output of the pixel shader - the alpha doesn't get "thrown away" until it's actually written to the render target. ...Show All
Windows Forms MS Word In C# Application
I need to have the ability to open a new word document or edit an existing one in my windows app. Once created or edited I need to then be able to perform a mail merge with data from a row in a sql table. I would prefer to open the word document within my form( is that possible ). I'm kinda new at all of this. Could anyone give any ideas on how to do this. Any help would be greatly appreciated! Thanks Curt Thanks so much for your help. I am looking into thise articles. Seems like there is a lot involved. Vertical learning curve here I come. Curt ...Show All
Visual Basic Make a computer execute program over LAN
Hi Is there a way to execute a program on another computer over LAN with administrative rights I want to add some registry entries to another computer over the office network. // Lasse yes you can using WMI add a reference to System.Management and import the System.Management and System.Management.Instrumentation namespace. This code should run the application on the other machine but it wont "appear" on the current user that logged in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=667470&SiteID=1 ...Show All
