Jithendrian's Q&A profile
Windows Forms Did Bill forget document.selection for WebBrowser control?
I'm wondering why Bill didn't implement document.selection for WebBrowser control in C# as it's the case for JavaScripts ( http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/obj_selection.asp ). How can I get the selected text of a WebBrowser now :( Hi, I can't get Cut nor Copy to work in C++ ... and am wondering why as MSDN says it should. I've tested ExecCommand of IHTMLDocument2 and exec of IWebBrowser2 with the IDM_CUT and IDM_COPY. Both doesn't work. Really disapointing... Fred ...Show All
Smart Device Development wierd c# compilation error
Hi Can anyone explain to me why the following code compiles ok in a PocketPC 2003 project but not in a Windows smartphone 2003 project fails with the error error CS0654: Method 'VerifyUI.PageAreaItemButton.DoRequestRepaint()' referenced without parentheses I am using VS 2005 public delegate void RequestRepaint(); private RequestRepaint requestRepaintDelegate = DoRequestRepaint; private void DoRequestRepaint() {} I'm fairly new to the delegate system but could you try: public delegate void RequestRepaint(); private RequestRepaint requestRepaintDelegate += new RequestRepaint(DoRequestRepaint); ...Show All
Visual Basic Is it possible to change the method body of a parameter's methods (SET or GET) within the current assembly.
I would like to change the method body of a parameter's methods (SET or GET) within a class defined in the same assembly as my application program. Is this possible Sorry for the delay in replying. I've been trying to 'get into' WPF since I didn't even know of its existance. If I did my homework right, you're referring to .Net Framework 3.0 Presentation Foundation. The problem is I don't have it at work and it raises many doubts. Can I use it with 2.0 for example since everything I've done so far is in 2.0. I would also need to integrate the tools in VS2005 and would therefore need to know if it will have an adverse effect on my current applications. And all this... to intercept property read and writes before they occur on a class! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. using XNA Framework with no shader capability display driver???
I have Intel 82852/82855 GM/GME graphic card with no support for shaders. Is it possible to develop a 3d application with XNA Framework under this condition.When I run a tutorial project I got the message "Both a valid vertex shader and pixel shader (or valid effect) must be set on the device before draw operations may be performed." I am new to XNA concept. Before I was developing with MDX 1.1 and I can develop 3d application with out shader support. So how can do this with XNA... Yeah, the requirements are more specific to XNA itself and really do not differ between 2D and 3D development. So, even 2D development will require a video card that supports at least shader 1.1 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Torque X for XNA release
Hi guys! Somebody know when Torque X will be released Mehdi Mahdloo wrote: any hopes to have it for free Well: 1. Garage games needs to make profit to pay its employees 2. No other garage games products are free 3. This will be a sophisticated piece of software 4. This is one of the biggest launches ever I suspect you already know the answer. But garage games philosphy appears to be sell it cheap and sell lots of copies so I suspect it will be cheap and worth every penny. If you need a free XNA engine I suspect that most of the MDX engines are currently working out how best to support it. ...Show All
Visual C# Dynamic Property Page creation - web app in c#
Hi, I am new to dotNet, i am developing a sample application, ASP.Net WebApplication 2005 and the coding part i am doing in C#. In the Default.aspx i would like to create a Property Sheet, And number of pages(tabs) in this property sheet should be dynamic. User enters a value say 4 then 4 Pages should be in the Created when submit button is cliked. I would to know how can solve this problem. What i have in mind is have a System.Windows.Controls.TabControl() then add items to it in a loop. How can it be implement as a web control using C# Any code snippet,suggestion,Ideas ...... regards, Alex Hi Galin Iliev, Thank you for the reply, is this possible without using Ajax How wou ...Show All
Visual Basic Help! I can't save data changes to an MDB file in Visual Basic 2005 Express
Hi all. I've created an application that will read data from an MDB table (linked to an Excel spreadsheet), but I during debugging I cannot actually save any changes made to the table. I've gone through all the walkthroughs but I just end up with an error message. Is it actually possible to write to an MDB file If not, how do I create an MDF file (which I know is writable) from an existing Excel spreadsheet Although I have created a version of this spreadsheet on my local server, VB2005E won't let me connect to my local server when choosing a data source. Clearly I'm a complete newbie at this, so all advice is very gratefully appreciated. Make sure that a primary key has been set on the table in ...Show All
Visual Studio 2008 (Pre-release) Overloaded methods is not allowed?
I've defined a overloaded methods in interface, and it throw exception when I start the service host. Exception: Cannot have two operations in the same contract with the same name [ServiceContract] public interface IHelloWorldService { [OperationContract] string HelloWorld(string name); [OperationContract] string HelloWorld(string name, DateTime time); } You have to use the OperationContext.Name property to specify different names for the operations in the contract (wsdl). [ServiceContract] public interface IHelloWorldService { [OperationContract(Name="HelloOne")] string HelloWorld(string name); [OperationContract] string HelloWorld(string name, DateTime time); } ...Show All
SQL Server How to programmatically turn on My Reports?
SQL Server 2005 Reporting Services From the Site Settings page in Report Manager, to turn on the My Reports functionality, one must check the “Enable My Reports to support user-owned folders for publishing and running personalized reports.” Checkbox and click the Apply button. We need to turn on the My Reports functionality programmatically. How can we programmatically turn on My Reports Call SetSystemProperties and pass in EnableMyReports with a value of true. For more info, see here: http://msdn2.microsoft.com/en-us/library/ms155025.aspx ...Show All
Visual C++ Compiling a program in a program
What files should be in the same folder as the vcvarsall.bat and mspdb80.dll in order to get this program to create another program Here's the actual code: #include <iostream> #include <string> #include <fstream> #include <cstdlib> using namespace std; //works fine except for the compiling int main(){ ofstream fout( "newprogram.cpp" ); if (fout.is_open()){ fout<< "#include <iostream>\n" ; fout<< "#include <conio.h>\n" ; fout<< "using namespace std;\n" ; fout<< "int main(){\n" ; fout<< "int a = 23;\n" ; fout<< "cout<<a;\n" ; ...Show All
SQL Server How to Give the "Null" Value in the Derived column Expression Value
Hi I want to pas one Derived Column Value is "Null" Default . How to Give the Expression " For Example" The Derived Column i gave one Column Name Derived Column Name Expression Data Type Price "" Any one give me the Solution If you look in the top right-hand pane of the editor, there is a node in the functions/operators tree view for Nulls. You use the keyword NULL, but also need to type it, so the exact expression will depend on teh column type you have. For a unicode string DT_WSTR, length 10 - NULL(DT_WSTR,10) For an integer DT_I4- NULL(DT_I4) ...Show All
.NET Development SchemaImporterExtension - machine.config
Hi! I created the derived class like shown in the sample. Now I can't get the debugger to step into my class. My machine.config looks like this (in contrast to what the sample is assuming I guess): < configuration > < configSections > < sectionGroup name = " system.xml.serialization " type = " System.Xml.Serialization.Configuration.SerializationSectionGroup, System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 " > < section name = " schemaImporterExtensions " type = " System.Xml.Serialization.Configuration.SchemaImporterExtensionsSection, System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 " /> & ...Show All
Visual Studio Team System I encountered "Error Code 9009" when I try to perform rebuilt all within Visual Studio 2005 with FxCopCmd within the Post-build
I encountered "Error Code 9009" when I try to perform rebuilt all within Visual Studio 2005 with FxCopCmd within the Post-build. Within the Post-build event command line, I put: FxCop I am not sure if this is correct. I also have tried to put: C:\Program Files\Microsoft FxCop 1.35\FxCopCmd.exe /c /f:” C:\Solutions\Projects\CashCallBll\bin\Debug\CashCallBll.dll” /r:"C:\Program Files\Microsoft FxCop 1.35\Rules\UsageRules.dll" The result is as followed: Error 1 The command "C:\Program Files\Microsoft FxCop 1.35\FxCopCmd.exe /c /f: "C:\Solutions\Projects\CashCallBll\bin\Debug\CashCallBll.dll" /r: "C:\Program Files\Microsoft FxC ...Show All
SQL Server Join tables
hi I got a confusing problem.I have 2 tables (Table_1 , Table_2) whit relation On table_1.key and table_2.fkey.I need to get a table contains information from 2 table : title , key , fkey for mindate,mindate , describtion of mindate. so I tried to write a function for returning (select top(1) * from table_2 order by date) so only I need to connect this function to table_1. Here for running function I need to send Key to function and I dont know how I can do that because wnehe I try to join them I get Error message.in seccond try I made a procedure like this : SELECT Table_1.title, Table_1.[Key], Table_2.fkey, Table_2.date, Table_2.describtion FROM Table_1 INNER JOIN Table_2 ON Table_1.[Key] = Table_2.fkey where Table_2.[ke ...Show All
Software Development for Windows Vista Setting the CorrelationToken
My ExternalDataExchange service has "instanceId" as the CorrelationParameter, "Start(instanceId)" method as the CorrelationInitializer, and a ResponseReceived event with event args including InstanceId as the CorrelationAlias. (A very common scenario). If I am using a CallExternalMethod activity to initialize the correlation and the correlation parameter is passed in on the method call, why does the designer/compiler insist that I supply a value for CorrelationToken on the activity Am I correct in assuming that the CorrelationToken and CorrelationParameter are synonymous Or do they have different purposes The reason I ask is that the event delivery is failing and I cannot figure out why. I have verified that the ...Show All
