lkurts's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Setting up Visual C++.net 2003 for DirectX Games
Hello! How do I Set up Visual C++.net 2003 for DirectX Games programming. I have just up graded from Visual C++ 6, I know how to do this in Visual C++ 6, with linker and # includes, is it the same with Visual C++.net 2003 standard. If so a step by step would be helpful. Thanks. I mean the installer should do both, but you should check both to be sure. I think you need to not have the ...Show All
Visual C++ C2664 cannot convert from 'System::String ^' to '_bstr_t'
This may seem silly, but how do you convert from a managed System::String to BSTR or _bstr_t or ANY other string (const char *, etc.). This would be required to call an old COM interface from a managed C++ app. If this has already been answered I apologize. I searched but did not find anything. Helper functions and constructors and member operators have been known to help. For example in the day ...Show All
Windows Forms Load a user control using command pattern and back ground processing
I would like to know how I can load a user controls using command pattern and background processing. I also want to keep a list of all loaded controls to call them on the fly when I use a back and forward button on my menu bar. Please I appreciate if you send some samples. No. There hasn't been a lot of work on the Windows Forms team around the command pattern, so no samples. Sorry. -mark Progr ...Show All
SQL Server Printing Blank in Landscape
I've a report which is quite wide, and I'd like to print it in landscape. In using the ActiveX control to change the print settings, the Preview looks great in Portrait, yet when I change it to landscape I get 8 pages of blank. If I change it back to Portrait, I get an error saying there was an error rendering the report. Has anyone had any luck with this Thanks. How can I get September build I did not find any hotfixes on September ...Show All
.NET Development .NET Remoting RemotingException
I'm testing a rather simple .NET Remoting application and my first several calls to the server seem to work fine. Intermitently, I'll get a RemotingException thrown in the client. Can anyone provide some possible causes I developed the server, service and clients using the guidelines for Remoting applications found in the book Advanced .NET Remoting by Rammer and Szpuszta, published by apress. Thanks ...Show All
Visual FoxPro error 0x80020003 - member not found
I get this error in StartMode = 4 when I click on my exec file icon. It comes from an OLE. It is the only thing I know. There are perhaps two dozen of them in the form. I would have hard time finding out. Interactively (startMode = 0) I do not get it at all. It is my only remaining problem as far as the error messages coming from the main form are concerned. All others have been happily debugged. I would like to read more on this error. Fo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Q: WGF
I would like to ax you something about future of DX: I finally learnt DX just recently and successfully created few DX games and demos. But since DX9 is the last version and the next "big thing in graphics" will be WGF, is it wise to continue learning DX I mean, is it worth it WGF will definitely have totally different API and I will have to learn it all over again :( Im seriously thinking about OpenGL ... I have some experience in that area ...Show All
Windows Forms Combobox
How to make a combobox uneditable. Thanks Hi, You can change the DropDownStyle to DropDownList to do so. Regards, ...Show All
Visual Studio Express Editions How do you insert a byte in a string (without expansion)?
Is there any way to insert a byte in a string without this byte being converted to more ASCII characters For example: Dim A As Byte = 85 ' This is an ASCII "U" Dim S As String = "Start " S = S & A In this case, VB tries to be intelligent and insert two characters - 8 and 5 - inserted of one byte - the ASCII U. The result is therefore "Start 85" instead of "Start U". Is there any way to p ...Show All
Visual Basic Can I run the java programme using VB
Hey, I know that in java, we can use runtime class to run a programme written in another language. But I'm not sure if it is possible in VB6. If yes, how to implement it Besides, how to read in a text file in VB6 Thanks in advance! Process.Start will run a program, no matter what it was written in. There is a file system object you can create to read text files. Google will answer this for you, in seconds. ...Show All
Windows Forms VS 2005 Toolbox Refreshing
Hi, I have noticed that the toolbox in VS 2005 contains a tab for every projects in my solution that contains a component derived class. During builds of the solutions each of these tabs are being refreshed / rebuild and it can take a little time. Is there anyway of stopping this refresh, or is it a matter of removing the tab from the toolbox Maybe this is a bug that has been fixed post Beta 2 Thanks for your help Graham ...Show All
SQL Server Using variables in SSIS
Hi there, This is what I am trying to do : 1) Create a global variable. 2) assign a value to the variable using an SQL Task. (For this all I want to do is assign a maximum value from a column in my table) 3) use the variable in a Data flow task (using SQL to get my source data) I know this must be very simple but I am new to SSIS and I am struggling to achieve this task. Thanks for your help in advance. Create a Global Variable. ...Show All
Visual Studio adding a file to a folder fails
Hi, I have a wizard that adds my own C# file to a project. If I'm adding to the root folder of the project e.g. ConsoleApplication1 then its fine. If I create a folder in Visual Studio e.g. Folder1 then use my wizard I get "Specified cast is not valid". I get the namespace name from the projectitems.Parent object which I cast to an EnvDTE.Project. The problem is because, when adding a file to a folder, the projectitems.Parent is not a EnvDTE.Pr ...Show All
Smart Device Development Smart Building
I have this problem to solve, hope that you can help me: I have a building with a “control system”. The control system, depending of the temperature inside and outside the building, opens and closes windows automatically. I want to create a 3D model of the building that displays in real time the processing mode of the building (temperature inside and outside, windows that are open and closed, etc). For that I have to interconnect the ...Show All
Visual C++ COM DLL, regsvr32 and manifest - blech!
I have a COM DLL that relies on MSVCR80.dll and when I try to register it with regsvr32.exe I get a "loadlibrary failed -2147220473" error. If I create a regsvr32.exe.manifest file and place it with regsvr32.exe, then it works. There has to be a better solution though. I can't count on target PCs having regsvr32.exe.manifest installed (and I'd rather not install it if possible). Hello BLH, I ...Show All
