JawKnee's Q&A profile
SQL Server SP2 Release Date
I see that a CTP for SP2 came out in December. When will the service pack itsself be released I think there is no scheduled date yet, but its the final CTP, so be patient :-) HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DXUTmisc.h - C2300 compiler error
get some error,it's like this when I include all DXUT File,and run application the DXUTmisc.h e:\TemplateTest\DxTest\DxCommon\DXUTmisc.h(829): error C2300: 'System::Enum' : class does not have a destructor called '~TYPE' e:\TemplateTest\DxTest\DxCommon\DXUTmisc.h(99) : while compiling class-template member function 'HRESULT CGrowableArray<TYPE>::SetSize(int)' with [ TYPE=D3DMULTISAMPLE_TYPE ] e:\TemplateTest\DxTest\DxCommon\DXUTenum.h(70) : see reference to class template instantiation 'CGrowableArray<TYPE>' being compiled with [ TYPE=D3DMULTISAMPLE_TYPE ] e:\TemplateTest\DxTest\DxCommon\DXUTmisc.h(829): error C2300: 'System::Enum' : class does not have a destructor called '~TYPE' what the ...Show All
.NET Development How to re-enter a click event handler?
I have a Forms application where I want to return to (or re-enter) a button click handler from a Tick handler. I haven't found a way to re-raise the event that keeps the compiler happy. It seems like Button.OnClick() should work but I am not getting the syntax straight. Suggestions _hbl_ wrote: Yes! Button1->PerformClick(); works. Thanks... Welcome!!! Was this Post Helpful Yes/No, Please leave a feedback!!! Best Regards, ...Show All
Visual Studio Team System Help needed to resolve a Windows Group/User when trying to add them in Team Foundation Server
Hello All, When I try to add a Group or User from the domain, I get an error message that Team Foundation Server can't resolve the group or user name. The Virtual Server where the Team Foundation server resides, is on the domain so I am not sure where I need to make a change. Thanks in advance :) Bob Hanson I believe that the necessary Active Directory permission is "Read". In a Domain Controller/DNS machine I've been using for some of my local testing, the Domain Users group has the following effective permissions. My service account is only in this group: Read Create All Child Objects Delete All Child Objects Send To Read Phone and Mail Options Write Phone and Mail Options The two "Child Objects&qu ...Show All
Windows Forms Detect if Ctrl is pressed when a ColumnHeader is clicked
Hello, Is it possible to detect if Ctrl is pressed when a ColumnHeader is clicked in ColumnHeaderMouseClick Or do I have to do it with KeyDown & KeyUp... Thanks for the help, Kenny In case anyone would like to know how to use "My" in C#... http://community.bartdesmet.net/blogs/bart/archive/2006/03/14/3824.aspx ...Show All
Visual Basic Opening Forms
Is it possible to have a function to open a form by parming in the form Name as a string Of course, anything is possible. However, it's up to you to implement it. I would suggest using one of the generic storage classes (vector, list etc..). I know one (or more) of them allows you to reference one of it's elements through a string value. Perhaps you could make such a variable for your program, then create a function that takes a string, and then sends the string to some generic container variable, and when it finds the element that is linked to that string, the Form.Show() method is called. :] ...Show All
Visual C++ Reading excel data in visual c++
I am new to visual c++, so please bear with me if this question is too basic. I have data in excel and would like to read it into matrix or 2 dimensional array in c++. Does anyone have code snippets Thank you! Your best bet is to first convert the Excel file to a csv format file. In your C++ app, use std::ifstream to open the file, getline to read each comma separated line, and strtok to tokenize the values. Or, if you have a small and fixed number of columns, you can use fscanf(file,"%g,%g...",...) Brian ...Show All
.NET Development How to make custom marshalling of com to .Net?
Hi, I am working in vs2005 using vb.net. In my application i am using some of the cominterop to store my settings like Hot key for my application. I am getting an exception when i am reading the stored hot key from my setting object like can not convert the Intptr or UintPtr to integer like this ( casting exception). But i am storing the hot key as integer. But at the time of retrieving the hotkey it's throwing casting exception. Can any body explain how to use custom marshalling in .Net. Thanks, Venu I don't know what s.Get() return, but here there is an error: If v = vbEmpty Or v = vbNull Then You have to use VarType(v) ... I am not sure, that this is the main problem... Do you can give the line where the err ...Show All
Windows Live Developer Forums How to iterate an ArrayOfAdCenterAccount and/or an ArrayOfAdCenterCampaign?
Hi there, I am wondering how I can iterate such types of objects. I need to get all my accounts and for each of those accounts, retrieve all the campaigns and ask for a keyword performance report. It is nice to have get an ArrayOfAdCenterAccount but I don't see any method to get the size of this array or how I can instanciate an iterator over this array in order to get all the account ids. The same for the ArrayOfAddCenterCampaign. From an AdCenterAccount, I can retrieve the ArrayOfAddCenterCampaign. But for getting a keyword performance report of these campaigns, I have specify an ArrayOfInt with the campaign ids. Once again, how do I instanciate an ArrayOfInt from the ArrayOfAdCenterCampaign Did I miss a point or are such methods not a ...Show All
Windows Forms MultiThread Visual Application
I have TreeView on my Form. This application has 2 threads and I want to make changes with my treeView in 2nd thread, but here is such exception: name: InvalidOperationException and Message: "Action being performed on this control is being called from the wrong thread." what can I do with it thanks for your help Yes, thanks , this example work, but let me understand something: This thing "Invoking" again call my method, but in another thread, and this do again all operations witch was made in that thread,right ...Show All
SQL Server event driven subscription question
I need to send some reports only when there is data in the relevant tables. This is totally random and could be at anytime during a given day or any day the week. This involves multiple reports and the user is adamant that she does not have time to initiate the reports herself. Any ideas how this can be accomplished Hi Igor: I have a similar problem, and would like to fire my Subscription Event from an SSIS package that gets triggered when a particular folder receives data files. I have a Subscription in my Report Server and a Job in SQL agent. How can I call either of them from SSIS TIA Kar ...Show All
Software Development for Windows Vista Debug Workflow from Winform App
I have exposed a workflow as a web service and have added a winform project to the same solution the workflow is in. Within the Winform app, I added a reference to the web service and call the web method provided by the interface. I cannot determine however, how to debug into the workflow. I have seen the following directions for debugging an ASP.Net app: 1. Enable debugging for the ASP.NET application by setting debug = true in the web.config file. 2. Set the workflow library as the startup project, and set breakpoints on the workflow. 3. Enter the URL of the default Web page in the workflow project properties\Debug\ Start browser with external URL text box. 4. In VS, select Debug\Attach to process menu 5. Click "Select" n ...Show All
Smart Device Development Barcode Scanner Support
Hi, I am developing an application supported on both Pocket PC 2003 and Wondows CE. I want to give support in my application for barcode reading from any scanner installed on that device. Releated to each scanner installed I geuss they got thier own set of APIs, dlls that we need to call from our application ! Is there any generic way so that irrespective of which scanner installed, my application will detect the scanner data and can catch it in eventhadler for processing Any APIs, managed or unmanaged code Quick help will be appreciated :) Thanks and Regards, Kalpana Shimpi As far as I am aware any barcode scanner would read the scanned data into the cur ...Show All
Visual Basic Question about IIf
I have two lines that, I thought, did the same thing. They are IIf(30 > 30, CbLevel.Checked = True, CbLevel.Checked = False) If 30 > 30 Then CbLevel.Checked = True Else CbLevel.Checked = False I don't use they together. Though, only the second line will uncheck the box. With the first line, the box is still checked. These are CheckBoxes by the way. Any ideas on what the problem is Troy L IIF is a funtion and therefore all arguemnts will be evaluated before processing...this can sometimes give undesired results....it evals false....true and then condition...as a best practice senerio try staying away from IIF... here is a related thread on the topic: http://www.gotdotnet.com/Community/MessageBoard/Thread.aspx id=27104& ...Show All
Visual C++ Error LNK2019: unresolved external symbol _** referenced in funct...
hi, I am a newbie, trying migrate an application originally buid in MS Embedded VC++ 4 to MS VS 2005, however i came across with the error message <Error 1 error LNK2019: unresolved external symbol _SetLEDs referenced in function "void __cdecl LEDinit(void *)" ( LEDinit@@YAXPAX@Z ) Console.obj > I have seach a lot on forums and tried several attempts after changing setting in project properties but still cant get it to work, Is anyone there to help me out please, thanks Error LNK2019: unresolved external symbol _** referenced in funct... Hi kuamr, This is just to let you that I got the trouble resolved, basically i used auto upgrade wizard to convert Embedded VC++4. ...Show All
