cppfred's Q&A profile
Visual Basic passing array form C++ DLL to VB6 through call back function
Hi, I need to pass an uint8 array from C++ DLL to VB6 application but I receive always following error: "subscript out of range" if I try to work with the array 'pabyData' in my VB6 procedure. The C procedure is: typedef void (__stdcall *FUNCPTR2SendData) (const uint8_t* pabyData, uint16_t wDataLength); void SendData(const uint8_t* pabyData, uint16_t wDataLength) { FUNCPTR2SendData vbFunc; vbFunc = (FUNC ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 'culture demo from GDC2006
@ the Microsoft booth last week, GDC 2006, a small cellular automata game called 'culture was on display. It was described as "a visually stimulating 3D floral simulation of cellular automata." This was apparently a promotional project to show how fast a C++ programmer could learn C# and the XNA framework and produce something visually interesting. I found this small XNA application to be a beautiful interactive toy, and would enjoy ha ...Show All
Windows Forms Input Validation on Windows Forms
I am still having trouble getting this straight. I wonder if anyone can help. I have a straightforward Windows Forms application, displaying data in separate controls (not a Datagridview (yet)) bound to a database via a Dataset and BindingSource, all set up automatically in VS. I want to validate my user's input, so: 1. I want to do the validation as soon as the user enters data, while his attention is still on that field, AND I want to wr ...Show All
Visual Studio 2008 (Pre-release) Manipulate SOAP Message using Message class / CreatHeader()
Hi, I need to add Headers to my Soap Request my header should be formed as given below < h:myHeader xmlns = " http://tempuri.org/ " xmlns:xsi = " http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd = http://www.w3.org/2001/XMLSchema xmlns:h = " http://tempuri.org/ " > < userName > xyz </ userName > </ h:myHeader > Can anyone Help me...how to add header this way usi ...Show All
Visual Basic run program without logon windows
hi, I have a tray application ready to running when windows start but this only happens when a user logon windows. (adding to registry key) How can I start the program whitout user logon windows (when computer is locked) Thanks. "What happens when your program crashes (don't kid yourself). " My alarm despite it's desription is really large because it's also a mcisendstring based mp3 p ...Show All
SQL Server Initialization problem
Hello, I have just installed SQL Server 2005 Enterprise Evaluation Edition and everything work except the report server. I have no problems to configure reporting services but when the configuration is done, the initialization doesn't work. I have the message : "There was an internal error while switching panels. The most likely cause is an error retriewing WMI properties. the exeception details are: An internal error occured on report serve ...Show All
SQL Server When comes Sql26k?
Dear fellows, I wonder how long for the upcoming Sql Server 2006 Thanks in advance Hi, katmai (this is the code name for the next release is targeted for 2007/2008). So this is yet a long way to go :-) Enjoy SQL2k5 meanwhile :-) HTH, Jens Suessmeyer. --- http:/www.sqlserver2005.de --- ...Show All
SQL Server SQL Authentication and SQL Express
(FYI - the Search box throws a scripting error when I type in it) I see in SQL Express Manager that I can connect using either Windows Authentication or SQL Authentication. Is the SQL Authentication for use with SQL Server 2000 and perhaps the full SQL Server 2005, but not for SQL Express My product uses SQL Authentication with SQL Server 2000; I am testing my product with SQL Express, but it fails on the authentication step: Event Type: F ...Show All
Visual C# Changing Date format
Just a basic question. How do i convert a date from "12/1/2005" to "Dec 1 2005" Thanks Using DateTime.Parse and DateTime.ToString() -- Paulo Morgado < Mayuran@discussions.microsoft.com > wrote in message news:cb40104f-e6e9-413e-8d5a-6dd18e7d4bad@discussions.microsoft.com ... Just a basic question. How do i convert a date from "12/1/2005" to "Dec 1 2005" Thanks ...Show All
Visual J# Where are the Object Test Bench Features?
The functionality of Object Test Bench seems to missing from the Software Architects edition I know that unit testing is only in the Developers Edition, but I had thought that the Object Test Bench was tied to the Class Designer which is included in the Software Architects edition. I can bring up the Object Test Bench window, but the functions, like Invoke Static Method, which are context menu items off of the Class Designer, don't ...Show All
SQL Server Installing SQL 2005 on servers with DNS
I've looked into installing the SQL 2005 Enterprise beta in my organization to look at it's features and capabilities. We use SQL 2000 today. My setups weren't successful, and the reason (I think) is that the server I was installing these on is running DNS, because it's a Global Catalog server. My question is whether this will be an issue going forward in future releases. For example, how would you support SQL 2005 in Small Business Server We c ...Show All
Visual Studio Tools for Office hiding menus
is it possible to hide all menus and display an excel workbook in full screen mode i am trying to use the commanbar but when hiding the worksheet menu bar it is raising an exception. i want to display only the shhet in fullscreen mode with no other menus just the taskpane. i appreciate any help........... thanks If you really want to hide a CommandBar, you probably need to set Enabled=fals ...Show All
Visual C++ GDI Logical Mapping Modes in MFC
Hello there, I am developing an MFC application that requires drawing a graph. I am using the MM_LOMETRIC logical mapping mode because the positive X axis is to the right and the positive Y axis is up. The problem is that the size of the graph will not stay consistent on all PC's due to variations in pixel size, and display resolution. The problem seems to be worse on laptops due to the many display types. How do I get a consistent graph s ...Show All
Visual Studio Express Editions Break a loop using a button
Hi, I'm working with Visual C++ Express Edition and I have a question. I'd like to break a while-loop cliking a button on my windows form. How can I do it boolean controlador= true ; while (controlador){ } private : System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) { controlador= false ; } While the program is doing the loop don't recognized button clicks. Thanks for your help ...Show All
Visual Basic 'Flat' Tabs
How do you make a Tab Control's Tabs look 'flat', like VB 2005's tabs You might want to check the below link. I seem to recall some flat style controls there: http://www.windowsforms.net/Default.aspx tabindex=4&tabid=49 ...Show All
