ssboyz's Q&A profile
Windows Forms Capturing AxWebBrowser events locks browser
My WinForm application hosts an AxWebBrowser control to display HTML help files. Now I'm trying to capture all mouse click events so that I can take the right steps if the user clicks a certain hyperlink element. I have followed the instructions from Microsoft (http://support.microsoft.com/ kbid=312777) to accomplish this but what happens is, if I add the onClick event handler the browser becomes (partly) disabled: the context menu doesn't work any more, the same holds for the scrollbar (wheel functionality is disabled), I'm not able to select text, etc. Is there a problem with my code (see below) Or is there a better solution to this // Customize AxWebBrowser control ... this.webBrowser.DocumentComplete += new AxSHDocVw.DWebBrowserEvent ...Show All
Visual Studio Express Editions write sql quary in vb code
Good day Does anyone know if a sql quary can be written in vb code . Something like this. dim myquary as string= sql quary and when page is loaded or some other event is triggered , then my quary can run. I,m trying to show data from a certain row when a form opens. Thanks Rob Sidheshwar N has the right idea...but you should use ADO.NET instead of ADO... http://msdn2.microsoft.com/en-us/data/aa937699.aspx ...Show All
Visual Studio Team System work items are not publishing from project professional
Dear all work items are not publishing from project professional,This is the scenerio what i work out I open the project profession and added necessary resouces to the new document. Then i connect to team project server and selected the team project Then i enter the necessary details for work item like Title,task type,assigned to, area,iteration ,etc when i tried to publish to TFS , It shows validation rule failed for Title field of work item ,which i already entered ,but when edited the workitem for title through option presented in validation rule failure.it was publishing to TFS To solve this i even gone through the field mapping options between Project professsional and TFS.But it is not solve can any one ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Which VertexFormat does the ModelMesh has?
I need this to be able to convert to the proper vertexformat. I only need the vertex position. How do I know which vertexformat the modelmesh has Is it VertexPositionColor, VertexPositionNormalTexture or what Also, I have the raw vertexdata in a array of bytes. How can I convert this to the proper vertexformat. For example, how do I convert byte[] to VertexPositionColor[] Thanks in advance! Hmm.., a VertexDeclaration property in the VertexBuffer class does not exist ...Show All
Visual Studio 2008 (Pre-release) maxClockSkew on wsHttpBinding
I have a service using a wsHttpBinding, looks like this: < bindings > < wsHttpBinding > < binding name = " MyBinding " > < security mode = " TransportWithMessageCredential " > < message clientCredentialType = " UserName " /> </ security > </ binding > </ wsHttpBinding > </ bindings > Then I have a couple of services using this binding. Works perfect! BUT! I need to accept that client clocks differ with more then 5 minutes. I have seen how this can be changed on custom bindings, but it doesn't seem to work with my wsHttpBinding. So, is there any way for me to change this parameter I would prefer if it was possible to only set it on ...Show All
Visual C# Visual Studio is acting weird
I am having some trouble with the Visual Studio IDE. I have a solution sol.sln and I have some projects under it. All the project files and solution file are under source control. I have added the projects to source control using Visual Studio itself, so I couldn't have gone wrong there. When I open the solution and build it, it tries to save every project that is in the solution. Since the .csproj files are under source control, it says 'Access denied' when it tries to save. I have been using this solution from more than 2 months now and this weird behavior has started recently. Another behavior is that when I open the solution and try to close it (without any edits/changes) it asks me if I want to save the following files and the list o ...Show All
Visual Studio Team System VssConverter problem
I'm trying to convert a VSS 6 database to TFS (in spanish language), and I'm having a lot of problems. I'm following the guide in MSDN, and after getting a clean analysis in both VSS (though I have to fix a problem related to a bug in VSS 2005, which reports an error when there is a label applied on $) and vssconverter analyze (though it doesn't create the UserMap.xml file properly, because not all the users in VSS are included), I start the migration. I get the following error messages in VSSMigrationReport.xml: v1.2 TF60097: No se puede migrar la etiqueta debido al siguiente error de Team Foundation: No se encontraron elementos coincidentes en $/probandomigracion/SECURNET/SECURNET. v1.2 TF60097: No se ...Show All
Visual C++ OpenFileDialog and SaveFileDialog crashes windows application
I built a simple windows application in C++ with the .NET framework (using Visual Studio .NET 2005). The application used to run fine (it opens the OpenFileDialog and SaveFileDialog properly), but after I added more (unrelated) features, when the application tries to display an OpenFileDialog or a SaveFileDialog, the application closes abruptly on another computer with no warning message , not even that annoying warning beep sound. However, the application "sometimes" ran properly for the computer on which the application was compiled. By "sometimes" I mean for some builds of the application. Builds of my application that crashes does so consistently. Some more description: In earlier builds of my program, disp ...Show All
Visual Studio Express Editions aspx with mySql?
How do i integrate asp with mysql database I am using the visual web developer, at the database explorer, i tried to add a new connection to the data connection. However, i only can select Data source like Microsoft access database file Microsoft ODBC Data Source Microsoft SQL server Microsoft SQL server database file Oracle Database <other> which is the one that i should choose mySQL Doesn't natively integerate to visual web developer. Additionally, your best bet for ASP questions are in the ASP.NET and Visual Web Developer Forums: http://forums.asp.net/ This forum is for Visual Basic Express development only. OTP ...Show All
SQL Server SUM a column of values derived from an IIF expression
I have a table in my report which shows sales values for each month by looking at the month number so for Jan i use =IIf(Fields!period_.Value=1,Fields!nett_.Value,0) for Feb =IIf(Fields!period_.Value=2,Fields!nett_.Value,0) this is all good and I get a series of rows per customer with the correct value in the correct column JAN FEB Mar Customer A 250 Customer A 350 Customer A 5000 . However I want to create a summary a line JAN FEB Mar Customer A 250 350 5000 I tried using SUM but this doesn't give all of the values in the summary line. It might just give the first and the rest are zeros. Or if the customer didn't have a ...Show All
Windows Forms Problem with installing WinForm application
I have developed a WinForm application. In the setup project I have the Detected Dependencies and the Primary Output from the WinForm application project. If the application is already installed, I would like to have the new installation not overwrite the .config file as it has lot of settings. How can I make this happen Also, to take it to another step, is there a way the user can select whether to overwrite the settings in the config or not Thanks Basani Phil, Thanks for your prompt response. I am new to creating Setup&Deployment projects. Can you point me to any article that discusses custom action Also I have used NOT REINSTALL with Transitive property to TRUE and NOT EXISTS wi ...Show All
Visual C++ XML
Hello folks, I am currently working on a program that scans values (temperature, fan speed) for boat engines. Now, I want the program to save the scanned values in a xml file, and i already have this to work. But, it should add new values to the same file once every minute, so i would want to append the existing xml file in some way.. How do i do this This is the code thus far for the xml output: std::ofstream xml( "xmlvalues.xml" ); xml << "<INSTALLATION>" << endl << "<INFO>" << endl << "<NAME>" << " </NAME>" << endl << "</INFO>" << endl << "<TECH ...Show All
Visual Basic Inherits, Base Class and CType
Hi! Is this possible in VB.Net and if it is, does anyone have some sourcecode to share cause I can't seem to get it right :( Public MustInherit Class MyBaseClass End Class Public Class clsA Inherits MyBaseClass En Class Public Class clsB Inherits MyBaseClass En Class Dim A as new clsA Dim B as new clsB A = CType(B, clsA) Want i'm trying to do is to create a new A object that the base class values already set to B's base class values. Any suggestions Regards, Per Note that a cast won't copy the properties. I would make sure that MyBaseClass has the properties that both derived classes have in common. Then add a CopyFrom() method that looks something like this: Public MustInherit ...Show All
Windows Forms Accesing selected text in other application
I'm running a Tray Application which gets on focus when a hotKey is pressed. In a few words, the user will select a piece of text in any application (IE, word, acrobat, or any custom application), press the hotkey registered by my application, and the application should be able to read and display the selected text. Could anybody guide me to accomplish this Is it possible Thanks, Seb. Could you please explain how that activewindow something works You see for a project I'm running, I'm trying to get the active window using C#. If you can...thanks :) Greetz Ravashi ...Show All
Visual Studio Multiple tables in the same database causing problems
So I have 3 tables inside one access database that im trying to create a report off of. My problem is that when I have fields from more than one table in the report, the report will not pull any data from either table. Its almost like its confused on how to access the data. Are there any fields in the tables that link to each other I guess what I am asking is what fields are in the tables that relate to each other. Like Customers to Orders, or Customers to Addresses, etc And if none of them relate to each other, what kind of report are you trying to create Sorry for all the questions! ...Show All
