Joymon's Q&A profile
Visual Basic Compilation error
Hi ,I get an compile error , cannot find a project or a library ,with the following line highligted in the code ,Implements ISubclass. Do you have the implements statement on your properties, sub, or functions Public Interface ISubClass Function MyFunction() As Integer Sub MySub() End Interface Public Class TheTestClass Implements ISubClass Public Function MyFunction() As Integer Implements ISubClass.MyFunction Return 0 End Function Public Sub MySub() Implements ISubClass.MySub End Sub End Class ...Show All
Visual Studio Express Editions DHTML controls
how do i get the copy, cut and paste controls to work with the DHTML box I really recommend against using that control as it has been deprecated. In no longer supported. The control you want to use us the current Webbrowser control. The old DHTML control had an SDK as of a year ago it was available on the net and you have no documentation and you will be able to find very few people to help you with it. If you use the current WebBrowser control, there are LOTS of people that can help you with it here and there is lots of documentation and abundant examples in all of the VB fora. If you weigh all of those factors, I think it very clear that the webbrowser control is the very best way for you to pr ...Show All
Visual Studio Tools for Office .NET controls or WPF inside outlook form regions
Hi, Is it possible to host .NET controls or WPF inside a outlook form region Don't want to use the IE control... I am using the latest VSTO CTP, etc. Regards, TjM i'm not sure... you can try Walkthrough: Hosting a Windows Presentation Foundation Control in Windows Forms http://windowssdk.msdn.microsoft.com/en-us/library/ms742215.aspx ...Show All
Smart Device Development What kind of server required?
I am a newbie in WM5 application. I have a problem: My company needs me to setup an application so that the smartphone can constantly access the server and retrieve data... I have explored many about WM5, but it said little about the system archeticture... I may need to retrieve data from database and file... What kind of server do I need Is Microsoft Server 2003 suitable Do I need to install IIS Is Web Service the only method for the mobile to retrieve data from server What hardware / software I need to pay attention Pls advice... I have been hunting this for weeks but seldom found... When running the PPC 5.0 emulator and follow the web service example here: http://blogs.msdn.com/mohitgog/archive ...Show All
Visual Studio Element Event Declaration vs. Element Event in VS2003/VS2005
I am having a problem with the behavior of VS2005 vs. VS2003 in an Add-In. I am doing a TextPoint.CodeElement call to determine the type of an element. When it comes to event declarations in VB such as the following: Public Event SomeEvent(sender As Object, e As System.EventArgs) In VS2003 the type would come back as vsCMElement . vsCMElementEventsDeclaration In VS2005 the type comes back as vsCMElement . vsCMElementEvent The interface for vsCMElementEvent does not support the parameters property and I cannot cast it to a CodeFunction. vsCMElementEventsDeclaration does. I've snooped through the whole code element tree and could not find any elements that were ElementEventsDeclarations at all. I am absolutely stuck. ...Show All
Visual Studio How to call File/New/Project using c# programing language to open New project dialog box
Hi, I added a whole new main menu item to visual studio 2005 IDE menu bar and would like to know if i can simulate call for File/New/Project programatically from my own menu item. Thank you in advance Hi, I have same issue similar to above. I added a new menu item to visual studio 2005 IDE File menu bar and would like to know if i can simulate call for File/Open/Project or Solution programmatically from my own menu item. i have tried to use DTE.ExecuteCommand("File.OpenProject"), but unable to create a object of type DTE. I can tell the complete scenario. I am developing a plug-in for Source control provider using VS package (VS 2005 SDK) to dev ...Show All
Visual Studio Team System Insufficient buffer space
I am getting the following error during my attempt to get files into my workspace. Unable to read data from the transport connection: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. What does it mean and how do I fix it Thanks, Maggie The problem occures in either the GUI or command line get. But I believe this problem is isolated to a single machine which means the memory allocation of that particular machine may be the root cause. Thank you for your response anyway. ...Show All
SQL Server How to create a report using multiple databases
Hi, I am a beginner of Reporting Service. I am trying to create a report using multiple databses. For example, I want to create a report called RevenueByCustomer, so I need to get data from the Customer Table of CRM database, which contains customer information, and I also need to get data from Transaction table of Sales database, which contains all the revenue information. In order to get data from both database, I have created two dataset. One is Customer dataset, which get all required customer data from CRM database, and the other is Revenue dataset, which gets data from Sales database, they used seperate datasource (because each datasource only contains one database connection). Now my problem is how can I make them be displayed in on ...Show All
SQL Server Optins of trailing Database change in sql server
Hi All, I am in need of some option using which i can trail the changes made to my database. Specially i want to track all the DDL and DMl changes. I know about the external tools provided by lumigent and some other companies to do this but i was just wondering if we have some option within sql server. I don't need extensive report as provided by lumigent. Just getting somethin on DDL and DML will help. Even help on some work arounds to do same will be appreciated. TIA Prashant hi, i think this is more than the 4th times i recomend this product here wish i have my sales commission. you can use: 1. lumigent log explorer or 2. apex sql regards, joey ...Show All
Visual Studio 2008 (Pre-release) Will WPF *EVER* work under W2K?
I am keen to develop my next wave of development using the WPF. Thankfully it's a small project for internal use so it will be a good chance to try WPF out. The issue is there are two machines that run Windows 2000 AS. In the long term they will need this app on these machines, but in the short term (next 9-12 months) it's not an issue. Will there ever be a SP/FW release for W2K that will at least all WPF apps to run even if none of the WPF visuals are viewable by the user If not, does this mean that I'll have to develop two UI's for the app If so it's a big thumbs down and I doubt my company will even move from .NET 2.0/WinForms I wouldn't count on WPF for Windows 2000 ever becoming available - the OS is already in extended s ...Show All
Visual C# Locating files using wildcards
Hi, I'm trying to locate a file by wildcard (I know the path, I'm just searching for a fine inside that directory), but I can't seem to find a way to do this. For example, say I have the following files: file1.txt file2.txt I want to be able to locate them with just looking for "file*.txt" or something similar with regular expressions. However, I don't want to have more than one match, so the above example would either fail or somehow indicated that there was more than one match. Thanks! Hi, I'm not sure if this is what you're looking for, but just for an idea: using System.IO; ... string [] files = Directory .GetFiles( @"c:\myfolder\" , "file*.txt" , SearchOption .T ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX Integration With MSVS2005
Hello, I Did Downloaded The Latest Version Of DirectX SDK, When I Did Installed It, It Doesn't Integrate With MSVS2005 But Only With MSVS2003. Why DirectX integration isn't in VS2005. With the exception of shader debugging, everything you need is still accessible. If you're looking for starter projects, look in the DirectX Sample Browser. ...Show All
.NET Development Updating Adds the same record to all rows in the Database instead of just one?
Hello. I'm trying to update a single record in a database to add new data, but when I hit my update button and the event runs, it adds that record to ever record in the database overwriting the current data in the database. I'm not sure how to work around this problem. Any help would be greatly appreciated. Thank you. You don't have a WHERE Clause on your UPDATE command so that's going to happen. You need to add a where clause to restrict to just the current row. However I'd recommend configuring your adapter and just calling Update. ...Show All
SQL Server My Query is broken and I don't know how to fix it...
I am trying to set up a filtered paging ObjectDataSource for a gridvoew control. My code works, my query doesn't... This is OK: Get all rows of data: "SELECT UCO, country_code, country_name, enabled, concurrency FROM CountryCodes " Returns all records as expected This is OK: Getting rows of data with no Filter: "SELECT UCO, country_code, country_name, enabled, concurrency FROM (SELECT ROW_NUMBER() OVER (ORDER BY country_name ) As Row, UCO, country_code, country_name, enabled, concurrency FROM CountryCodes ) As TempRowTable WHERE Row >= 0 AND Row <= 10" Returns expected data This is OK: Making sure my WHERE filter works: "SELECT UCO, country_code, country_name, enabled, concurrency FROM CountryCode ...Show All
Community Chat Using Vista?
Good idea Joe! Okay, I'll go first. I'm using Vista RC1 full time now. The computer seems quieter--doesn't take so many trips to the hard disk for VM paging. I find going back to XP an unpleasantry, so I think Microsoft is succeeding here. Glass is nice. I think the performance is what I expected it to be on an Intel Advanced Graphics card (Dell Dimension 9100). Office 2007 is also pleasant to use, but they stil have some cleanup work to do on their UI. Who else is using Vista Brian I have the same exact computer. The only difference is that I'm on a raid 0 array that is not partitioned, and I have a nvida 6800. Would you reccomend installing vista rc1 I wou ...Show All
