ckellner's Q&A profile
Visual C++ C3767 Candidate function not accessible
Hi All, I am unit testing one of my components and I came across this problem C3767 candidate function not accessible. I am getting such problem in trying to access a method of a C# class from a managed C++ code. Whereas it works when I access the same method from C# code. What could be the reason for it Should I write a wrapper for it The below method get_NativeAfwAspectCategoryId() is the culprit. But I can see the property NativeAfwAspectCategoryId in the object browser. Afw::NativeTypeHelpers::CAfwAspectCategoryId *caid; caid = new Afw::NativeTypeHelpers::CAfwAspectCategoryId(str); AFWABSINTERFACESLib::AfwA ...Show All
SQL Server Variables in CONTAINSTABLE. IS IT POSSIBLE? NO ERRORS AND NO RESULTS.
I know the use of variables is allowed with CONTAINS but I can't seem to get return results with CONTAINSTABLE My test Code: DECLARE @textstring varchar(4000) DECLARE @firstword varchar(80) DECLARE @secondword varchar(80) SELECT @textstring = ltrim(rtrim('SAP America Inc') select @firstword = dbo.GETWORDNUM(@textstring, 1, ' ,.:') --Returns the first word with no spaces, commas or colons select @secondword = dbo.GETWORDNUM(@textstring, 2, ' ,.:') --Second word select @thirdword = dbo.GETWORDNUM(@textstring, 3 , ' ,.:') --Thirdword SELECT c.companyIntID, c.CompanyName, KEY_TBL.RANK FROM Companies as c INN ...Show All
SQL Server Answer: Report Model/Builder
In a database there are 2 tables, one is student and the other is activities. A student can have multiple activities. There is a one to many relationship between student and activities based upon student_id. Not every student has an activity. In report builder I would like all of the students to appear regardless of whether they have an activity or not. By default, only those students who have activities appear. This appears: Student Activity 1 Track 2 Track 4&n ...Show All
Windows Forms Outlook datetimepicker
hi.. how i can use DateTimePicker Control that show me Ar-Sa Months...is there a way to make the control behave like ms oulook datetimepicker.. Best Regards.. ...Show All
Visual Studio Tools for Office Modifying .NET Security Policy for VSTO Customization
I want to modify the .NET security policy so documents can be opened from a trusted LAN location. The key here is I only want to make this modification for a single user on a machine, and not all users who use the machine. My VSTO customization is stored in the GAC, which takes care of full trust for the assembly. Now I need to grant full trust to the LAN location that the Word documents will be opened from using the Office Document Membership Condition (msosec.dll). The way I understand it is that any changes I make to the machine level security policy affects all users on the machine (which makes sense). Thus, I do not want to follow ...Show All
Visual Studio Multiple Project Creation Template
I want to add several 'C# Class Library' projects (in one hit) to a particular 'Solution Folder' when the user chooses the Add submenu on the solution Folder I have setup a UnboundTemplateReference to provide the command to the Solution Folder's Add Menu - that's appears fine. I have created a ProjectGroup template as follows. When I click the menu command, it displays the File | New Project dialog box, where I have to manually select my template. I'd like to skip the dialog and go right to displaying my recipie to get the name of the project Group etc. Is this possible <VSTemplate Version="2.0" Type="ProjectGroup" xmlns="http: ...Show All
.NET Development SslStream and SSL protocol not recognized (i think)
i wrote this simple apps to connect to an IRC server but it doesn't work :( using System; using System.Collections.Generic; using System.Text; using System.Net; using System.IO; using System.Net.Security; using System.Net.Sockets; using System.Security.Cryptography.X509Certificates; namespace provaSSL { class Program { static void Main( string [] args) { try { string certName = "" ; TcpClient sslClient = new TcpClient (); sslClient.Connect( "irc.discostars.de" , 7000); SslStream sslStream = new SslStream (sslClient.GetStream(), false , CertificateValidationCallback); ss ...Show All
SQL Server Browsing SSAS (2005) Dimensions from Excel
Hi all, I am having difficulty understanding why my dimension names aren't showing up in a pivot table field list when I browse SSAS 2005 cubes from Excel 2003 (using the 90 PTS OLAP DLL). Has anybody else experienced this problem where the dimension names aren't being made visible Unfortunately all I see are my attribute names and these, by themselves, are extremely ambiguous. Just wondering if there are any quick and easy fixes or work-arounds that anybody could recommend. Thanks in advance, DB Your work-around makes sense. But it is a great deal of effort to do this for all of our dimens ...Show All
Windows Forms Wiew(get) result in text.Box from DataGridWiew
How wiew result from dataGrid( sum of one collumn and get it in one textBox) -example: sum of xlx Column and i will this sum show in a textBOX You want to add functionality to your DataGrid that users can enter a Sum and you view the Sum-results somewhere I don't really understand your question. ...Show All
Visual Basic IO.StreamWriter from line index and overwriting existing line
Hi, I'm having trouble locating a function to get (or set) the line number from the IO Stream Writer. Also I'm having trouble finding something that will overwrite a line in the IO Stream Writer. I may be looking in the wrong place, or I might not be seeing it. Could someone please tell me where I could find such a function or what I should look for Thanks, Tanner A stream writer doesn't know anything about position - it writes what you tell it, and forgets it. You can write to append to an existing file, or you can overwrite any file that exists. You cannot edit a file using a stream writer, you can't re ...Show All
SQL Server Report performance issue - time in processing
I'm having performance issues with a report which is taking nearly 22 minutes to return 2100 rows. I've queried the execution log tables and the Time in Processing accounts for more than 99% of this. The report is applying cell formatting using a coded function to retrieve formatting from a stylesheet which hasn't proved problematic so far with other reports, and has several levels of grouping in a single table with sub-totals for each group level and an overall table total. There's also conditional criteria for the grouping expressions depending on report parameters passed in. Anyone have any ideas as to the most likely cause for the ...Show All
Visual C# Drag and Drop tables
Hello, I am not sure, if any had tried dragging the tables in the db into the form.. in .Net 1.1 that will create a connection and an adapter.. In .Net 2.0 I am unable to drop, I see No cursor.. Is that by design or Are there any settings to avoid this ...Show All
.NET Development Video/Audio streaming in .NET C#/C++/VB possibility?
Hi there, I was googling, however unfortunatelly could not find anything useful in terms of Video/Audio Streaming (webcam to webcam) using .NET C++/C# or VB. I need to develop an application that will allow for cam-to-cam video/audio streaming, if possible any links or hints will be great. Thank you Vsworld gives the complete audio video webcast and streaming solutions in India. People may visit http://www.vsworld.com for complete streaming solutions. Moreover, currently Virtual Studio is doing the webcasting of England versus India One Day Cricket series. Virtual Studio is doing the streaming of liv ...Show All
Visual Studio Tools for Office Is it possible to implement this button?
In Outlook I'm attempting to implement a split dropdown button on an explorer command bar. An example of this is when you open Outlook and you hover the mouse over the "New" button at the top left, clicking it provides a default action, but clicking the little arrow, provides a pop up menu that shows other options that can be chosen. To be clear, this is one component, not a button and a popup menu side by side. Can someone point me in the right direction Thanks, mitch tsoft, You are limited to whatever objects the Office PIAs allow you to create on the CommandBar object. From the MsoControlTy ...Show All
Smart Device Development connection string error
[code] Dim rdaOleDBConnectString As String = "Data Source=WINWIN;Initial Catalog=HOME; " & _ "User Id=<username>;Password = <password>" [/code] Error Message = A required property is not specified. [ Property name = SubscriberConnectionString ] can anyone tell me what is the error by the way what is DATA source and Initial Catalog means if the user id and password is blank is it put like <password> Hi, In case of SQL Server, the keywords mean: Data Source -> The name or ...Show All
