Nian2000's Q&A profile
Visual Studio Express Editions VB Express and XLL
Hello, can I build an XLL addin in VB express I can't find this template under New... as I do in VB6... Thanks Martin I followed that link to "You can create an Office COM Add-in w/VB.NET:" . the document says it works in vb.net standard edition but I dont see the "extensibility projects" it refers to when you open a new project. Is this only a feature of professional versions or can I add this type of project in somewho A real novice. Thanks for any advice. Mark ...Show All
Visual C++ COM. VARIANT/SAFEARRAY
Hi, I have to covert a VARIANT to SAFEAARRAY. As I am getting signatures from caller, only VARIANT pointer, In the called function, I want to save some data using SAFEARRAY(!) with C++. Though this is possible, but how Any help would be highly appreciated. Regards TestHim Use SafeArrayCreate to create the Array. You need to speficiy the type. Fill the array. Set the type of the Array ored with VT_ARRAY into the typefield of the VARIANT save the pointer of the created Safearray in the VARIANT. ...Show All
SQL Server Logging of SSIS package doesnt work when executed as a job
I am having the same problems as those in another post. SSIS package works fine when executed in BIDS and through execute package utility but it doesnt work when executed as a step in a job. The other problem is that the logging also doesnt work when i try executing it as a job. So I have no clue about what to do without knowing what error it is. When I run the job it simply says the step has failed. I have tried most of the solutions posted in other websites most of them to do with using proxies with credentials but havent hit a solution. I would love to get any input on what to do. Thanks Look at ...Show All
Microsoft ISV Community Center Forums Exporting a table from an Access File to another Access file
Hi, Im trying to export a particular table from an Access file using VBA to another Access file. Help please. PSD Hi, Before I can escalate this to our support team, what version of Access are you using thanks, -brenda (ISV Buddy Team) ...Show All
Visual C# Solution, Not Answer
Is it a flaw on C# Or, by design class A{ virtual string foo(){return "A";} } class B:A{ override string foo(){return "B";} } class C:B{ override string foo(){return base . base .foo();}// impossible } class D:B{ override string foo(){return ((A)this) .foo();}//impossible } class E:B{ override string foo(){return this. A:: foo();}//impossible } There are some times when I want to call methods of grandparent class... The creator of C# did not give us the way. Personally I think it's by design. If you need to get to the grandparent method, you should consider whether you really want the encapsulat ...Show All
Visual C# Obtaining the Messages of Another Application in .NET
Hi All! Is there any way to get the messages of another running application in .Net just like the message logging feature of Spy++ I have searched already over the net and they told me that it can't be done in .net and I need to create an external dll using a non-.net language. Can anyone tell me how to do this Thanks and regards, Mike http://msdn.microsoft.com/msdnmag/issues/06/04/ManagedSpy/ ...Show All
SQL Server Reference to preceeding component from custom dataflow transformation component
I am writing a custom dataflow transformation component and I need to get the name of the preceeding component. I have been trying to find a way to get a reference to the Package object, MainPipe object or IDTSPath90 object (connecting to the IDTSInput90 of my component) from my component because I think from there I can get to the information I want. Does anyone have any suggestions TIA . . . Ed Sorry - I meant IDTSInput90 rather than IDTSInputCollection90. But my understanding of the buffer was clearly wrong. I've just re-read the documentation and I need to check for buffer.EndOfRowSet. T ...Show All
Visual C++ BUG under Multithread Compilation
Hello there, I built a project which has an annoying problem. The DEBUG version works fine and the release version also works if I choose DEBUG Multithread as runtime library. However, it doesn't work if Multithread runtime library is used instead. I followed the code and found that release method of objects doesn't work. Can anyone give some hint why this happened Michael Sometimes bugs like this aren't caused by the circumstances under which you're seeing the bug manifest itself. This could be an ordinary run-of-the-mill memory corruption in your program that is only symptomatic under certa ...Show All
Software Development for Windows Vista Windows Vista icons. ?
Any details about Windows(R) Vista(TM) icons Colors used in Vista icons Sizes supported in Vista icons any other details Hi ALL, Try this: Press and Hold "Ctrl" and while pressing, if you use a mouse with a rollerwheel, To decrease Icon Size roll the wheel towards you, and vice versa to increase... Should do want you want!!! ...Show All
Visual Studio 2008 (Pre-release) how to add shapes to canvas
Hi can anybody know how to add any shape like rectangle , circle or line to canvas through programmatically at mouse cursor possition. thanx - Nagu Try this: XAML: <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:m="clr-namespace:TestWPF" x:Class="Window1" xmlns:IcoToImageConverter="clr-namespace:TestWPF" Name="MainWindow" MouseDoubleClick="MyMouseDoubleClickEvent" > <Canvas> <Button Name="m_TestButton" VerticalAlignm ...Show All
Visual Studio Express Editions TreeView question #2
Hi Is there any way to get a TreeView which is being populated with Files to read the appropriate file icons for each of the files I do have a useful program (Audacity) which can rip icons from files, but I suspect that would be a rather long and laborious procedure. Is there any inbuilt function or method to do this kind of thing Even just the system file icons would do most of the job for me. It is a bit boring when I just have one folder icon and one file icon to display in the TreeView. How are you populating the files If you are doing it and not a binding it's easy. If you are using a binding ... I'd say ...Show All
Visual Studio Team System Error running tfsupgrade - TFSIntegration db is not Beta3
I am attempting to upgrade from b3 to rc for a dual server installation. I am referrting to the upgrade doc that comes with the upgrade package. On running tfsupgrade <servername> on the data tier, I get an error regarding the tfsintegration db and the upgrade process fails. Pasting the content of the log file below. Any help is appreciated. Beginning upgrade from Beta3 to RTM DB ServerName : tfsdatatier Log File : TFSUpgrade-632760220751591196.txt Connecting to SQL Server tfsdatatier Success Verify if core team foundation databases exist Success Fetching Server location for WorkItemAttachments Found - tfsdatatier Fetching ...Show All
SQL Server SSMSE permissions problem when restoring a backup
Hi all, I'm experiencing a problem with SQL Server Management Studio Express. I have a backup file (.bak file extension) of a SQL database saved in the directory c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\backup When I attempt to restore this file (by r/clicking on the database, selecting Tasks, Restore, Database and selecting File as the backup media), I get the message "Cannot access the specified path or file on the server. Verify that the necessary security privileges and that the path of file exists". I have checked the ACL on the backup directory and the SQL Server 2005 local user has full control over that directory ...Show All
SQL Server Order by clause in View doesn't order.
I have created view by jaoining two table and have order by clause. The sql generated is as follows SELECT TOP (100) PERCENT dbo.UWYearDetail.*, dbo.UWYearGroup.* FROM dbo.UWYearDetail INNER JOIN dbo.UWYearGroup ON dbo.UWYearDetail.UWYearGroupId = dbo.UWYearGroup.UWYearGroupId ORDER BY dbo.UWYearDetail.PlanVersionId, dbo.UWYearGroup.UWFinancialPlanSegmentId, dbo.UWYearGroup.UWYear, dbo.UWYearGroup.MandDFlag, dbo.UWYearGroup.EarningsMethod, dbo.UWYearGroup.EffectiveMonth If I run sql the results are displayed in proper order but the view only order by first item in order by clause. Has somebody expe ...Show All
Visual Studio Express Editions active directory
hi, I have a mail server (windows 2003 server)... how can i get the list of users, group and e-mail address in active directory can VB do that i'm using VB as an interface to send and receive mails so i want users to get automatic load of email address that available in my active directory of mail server. hi, Is your problem solved IF you are doing this in vb6 then please post this thread in MS newsgroups site. Below is the link. Link: http://support.microsoft.com/newsgroups/default.aspx Thank you, Bhanu. ...Show All
