comsolver's Q&A profile
Visual C++ Compiling FilmBox SDK Under VC6
Hi, I am trying to compile Filmbox's SDK using VC6. I can compile under VC7, but I only have a temp version, and do not want to port over to VC7. The problem I am getting is on the following section of code: /*********************************************************************** CLASS KStaticArray ************************************************************************/ template< class Type > class KBaseStaticArray { protected: kInt mCount; Type *mArrayBuf; public: inline kInt GetCount() { return ...Show All
Windows Forms How do i create a control programmatically in C++ ?
Hello, I would like to know how to create a control programmatically in C++, I'm good at VB but couldn't even figure out how to do that, also after searching, i couldn't find any example about it. Can you help Thank you Please include more details What do you mean by control and what type of control What version of VC are you using ..etc. Thanks, Ayman Shoukry VC++ Team ...Show All
Windows Forms listView
i have a listview with 3 col i wnat to add data to each col how can i do it Here's a good code translator: http://www.carlosag.net/Tools/CodeTranslator/ I've seen more than a few of them, but so far this one seems to work the best. ...Show All
Visual Basic open form at text box position
All, Hopefully a simple question. I need to open a form 'but at the position of a control' e.g. a text box. Just to put this this into context if a user fails to enter information into a text box i want a warning form to appear next to the control that has not been inputted. Hope you can help Cheers I suggest that you look into the ErrorProvider control. This will allow you to show an icon and a message beside the textbox at will. But to answer your question if you absolutelty want to pursue your first idea: Private Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventAr ...Show All
Software Development for Windows Vista ICredentialProvider
Did anybody make a successful user logon using the new ICredentialProvider interface My credentials are displayed, but I can't make them to logon. And what worse - after 20 or 30 seconds, the winlogon crashes completely with no recovery possible excepting hardware reset. I thought I basically did something wrong and decided to wait for more detailed documentation or some sample code. But MS doesn't seem to put too much effort on improving their SDK documentation and I also found that at least one other programmer has the same problem: http://msdn.microsoft.com/newsgroups/default.aspx query=vista&dg=microsoft. ...Show All
SQL Server users cannot accesss report builder without being local administrator
I've seen similar posts on this problem but no answers. Does anyone know what 'local rights' the user needs without being admin to access report builder. I have already gave them the rights to install report builder they can see the icon on the web page but when they go to install it and are not local administrators on their desktop, they get this error. We have tried putting the users in the Power Users group but still does not let them install report builder. PLATFORM VERSION INFO Windows : 5.2.3790.65536 (Win32NT) Common Language Runtime : 2.0.50727.42 System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200) mscorwks.dll : 2.0. ...Show All
Windows Forms DataGridView changes not saving!
Hey Guys, I am writing an app with Visual C# Express and have put a DataGridView on my form. It pulls data from an Access database and displays it fine, but when I edit, add, or delete a record from the DataGridView control the changes "appear" to have taken, however once I close the app and reopen or check the Access database none of the changes have taken affect. I didn't write any insert, update or delete statements as I thought that funtionality came out of the box with the DataGridView as it does with the new GridView control in ASP.NET 2.0 Could someone please help me with this Thanks, Chris Hi, ...Show All
SQL Server Still a problem with Report Refresh Icon
In my installation of RS 2005 when I click the Refresh Icon on a report the report doesnt update. But when I click the "View Report" button it does. For example, if I change the parameters on the report and click the refresh icon the report seems to flicker as if it was rfreshing but the report data remains the same, even the paramaters in the report remain the same (I have the parameters that are selected in the report header) Anyone have the same problem or know the solution Reports are cached within Reporting Services, clicking refresh just reloads it from the cache. Only by clicking on 'View ...Show All
Visual C# Images in DataGrid problem...
Hello everyone :) I've got a problem where i'm trying to display images pulled from a database (based on a project_ID) in a DataGrid. I can get 1 image from the database based on a project ID of "1". In other words, the two images both have a project_ID of "1", but it displays only the last image twice! Here's the code I have so far... Project.aspx: < asp : DataGrid ID ="DataList1" runat ="server"> < Columns > < asp : TemplateColumn > < ItemTemplate > < asp : Image runat ="server" ImageUrl =' <%# "getImage.aspx ID= ...Show All
Windows Forms Changing the font size of a textbox programmatically
Hey Everyone, How does one change the font of the textbox programmatically. This code: textBox1.Font.Size = 10; does not work since its a read-only property! I need to change the font size every time a click a button making its larger and larger. Any help with be greatly appreciated! You have to create a new Font object rather than change the existing one. textBox1.Font = new Font(...); BTW I moved this thread to the Windows Forms forum where it's more on topic. ...Show All
Visual Basic NT Windows Authorization
I have a vb.net 2003 application that runs on client computers and talks to a database over the network. I would like for my client application to capture the Windows Authorization of the machine on which it is running. Can I see a code snippet. Fred H It does until after the proxy server. 1.)Are you saying that A wants assurances of protection from your software accessing any of their software Furthermore Are you saying that they want you to verify that they are protected from you I understand what is troubling to me here. It's the lack of specificity. I would think that there would be a burden on B to specifiy ...Show All
SQL Server Unable to read local eventlog (the parameter is incorrect)
In trying to setup alerts and activating them, an error occurs in the sql agent log of Unable to read local eventlog (the parameter is incorrect) The full messages from the Windows NT Logs shows: Event Type: Error Event Source: SQLSERVERAGENT Event Category: Alert Engine Event ID: 318 Date: 03.11.2005 Time: 17:14:47 User: N/A Computer: RESYSHADOW Description: Unable to read local eventlog (reason: The parameter is incorrect) Does anyone know what could be causing this. I have tried it on Windows XP SP2 with local Admin account and on Windows Server 2003 with Domain Ad ...Show All
Windows Forms Application Domains
Has anyone had any issues within creating separate appdomains I'm trying to load a DAL.dll component I built into another appdomain (so I can unlock the dll by unloading the domain) and I keep getting a serialization errors, that this type or that type isn't serialize able, I got all the classes I built or have built and set them to allow seriali ...Show All
Visual Studio Team System "Get" from Source Control Explorer doesn't get missing files
(Using TFS Beta 3) If I use Windows Explorer to manually delete a local file that is part of a project, then doing a "Get Latest Version" from Source Control Explorer doesn't replace the missing file. I assume this behaviour is correct, since it would surely have been noticed otherwise. So my question is: How do I ensure that no files are missing when I "Get Latest Version" TIA, Matthew. You're correct that this is the expected behavior - the file has been deleted on the local filesystem, but nothing told the server that you no longer have the file. If you want to make sure you aren't missing any local ...Show All
Visual Studio 2008 (Pre-release) how to implement DataTemplateSelector
Hello, i discover datatemplateselector with Itemscontrol => It 's very good. I read it's possible to implement DataTemplateSelector with other controls as button, groupbox... Si i would like do the following in my application : 1) one listview to show a collection of data 2) one groupBox to show detail for selected line in the listview. I would like implement a custon logic to show detail : if the selected line is an older line, i would show data in readonly with using TextBlock. If the selected line is an active line, i would show data with using TextBox to allow user to modify data. So i define a Dataemplateselector on ...Show All
