CWC1980's Q&A profile
Visual Studio Express Editions Starcraft As Resource?
Hello My Purpose: Make a login for starcraft to limit my brother's time playing starcraft What I already know I can put 'starcraft.exe' as a resource Call 'starcraft.exe' from resource to run it What I need to know Can I call starcraft.exe to run it as if the file was just there without being a resource What I want to do Make a login program and handtype (in cleartext) in the code such as If userID.text = "ID" Then 'call starcraft.exe from resource' End if and the starcraft.exe only launches if the user enters the right password and user combo The reason that I want to put 'starcraft.exe' into resource is because ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Getting rendered graphics (quickly) from the card
I had a thread about thins some days back, but for some reason I can not write into it now. I am faced with the task of rendering some graphics with directx and then copying that graphics into another card which generates a video signal. I need to feed it a new frame 25 times a second. The size is 720*576 The rendering does not have to be any faster that this. I have tried two methods of geting the pixels, and both are much too slow. One takes 500ms for a frame and the other 1800ms. I need a time below 40 for this to work. I post the two methods below. Perhaps someone can provide input as to what I need to do. I might add that ot ...Show All
Visual Studio Can I show Parameter results in Report
Hi, I have a problem to showing parameter values in my report for exampel (From Date and To Date). I define public property in my code but i am not able to show these values in my report. Public Class StatisticsForm Public fromDate As DateTime Public tilDate As DateTime Private Sub StatisticsForm_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load fromDate = Now() tilDate = Now() Me .Sp_CreateStatisticsTableAdapter.Fill( Me .PromusDataSet1.sp_CreateStatistics, fromDate, tilDate) Me .ReportViewer1.RefreshReport() End Sub How can I show fromDate and EndDate in my r ...Show All
Visual C# How to Set columns width in a Win. Form Datagrid at runtime?
Thanks for the help. I figured out how to make certain columns to be readonly. But I had to do this to the DataTable before its even binded to the dataGrid. Is there a better way to do this Also is there a way to set the width of each column I looked at the code above. But I think were using differnt types of datasource. Im a newby with C# so excuse me if my questions seem kinda stupid...... Im not sure how to make the code you posted above to work favorable in mly situation. Are you binding your dataGrid to a datatable like me or some other type of datasource Below is my Code. Bascially its a simple windows form that ask the user to se ...Show All
.NET Development Xml problem in finding a particular element when reading
Hi guys. What it the best way to do this I Have an xml file in this format <Countries> <Country> <ID>1</ID> <Name>Italy</Name> </Country> <Country> <ID>2</ID> <Name>France</Name> </Country> <Country> <ID>3</ID> <Name>England</Name> </Country> </Countries> Now i need a way to find if a particular Name exists in the xml and return true public Func ...Show All
Smart Device Development Signed SQLCE and CF Cab files for 1.0
I am trying to install a 1.0 application on Windows Mobile 5 device. The problem is the cab files for SQLCE and CF 1.0 are unsigned, so these don't get installed after extraction from my signed cab file container. Is there a way out or are the signed cabs available. You don't need signed NETCF V1 CAB for WM 5.0 as WM 5.0 already has lasted NETCF V1 in ROM (SP3). There's no signed SQL CE 2.0 CAB as it was released prior to WM 5.0. ...Show All
Visual Studio Team System Info for Best Migration Testing Pratices?
We are looking for possible approaches for testing applications which are to be migrated. 1. What are the best testing approaches/practices for testing of drivers software which need to be migrated to a different OS Are there any tools for the same 2. What should the criteria be If the project has n modules Should we approach one module at a time 3. If there are n groups for the n modules should n testers be involved i.e one for each module 4. Are there any available gu ...Show All
Windows Forms What message to send to winforms treeview to get tree item.
Hi All, I want to write a method which can tell me that a checkbox in a tree view is checked or unchecked and this method should work for both winforms and win32 tree view control. I can SendMessage TV_GETITEM message to win32 treeview and get the required information. Is it possible to send some message to Winforms treeview also and get the required information . Thanks. ...Show All
Visual Studio Express Editions Visual C++ SDL Open GL application
Hi, I have a Visual C++ SDL Open GL application, and I can built it in Release mode. Now I can run it on my own computer, but my friends are not able to run it. It complains with a message box saying that the application configuration is incorrect. Its not missing the DLLs because then it would say so, and I have placed the needed DLLs in the directory. I think the problem is the way my application is configured in building, or my friends are missing something that I have because of my development environment. Any help is appreciated. In addition, there may be a .exe.config file tha ...Show All
Visual Studio Deployment Crystal Reports XI on Windows 2003 Server
Hi, I have an app that's working fine on developer machine, with XP Pro. We are trying to deploy the app to a machine with Windows 2003 Server. I've made the steps indicated on Business Objects web site, but I still got the following error: Server Error in '/PeopleNET' Application. ...Show All
Visual Basic How do I create a label when the mouse over a button?
When a mouse moves over a button I want to be able to have a label appear. When I right click the right mouse I should have a menu list of choices which appear and can be selected from. How do I do that in beta 2 I had a build that had been compiled and working using beta 1 with everything that I need for the label. It does not seem to matter where I look I still seem unable to find a way to get the same code working in beta 2 with the new components I have created in beta 2. Michael J. Dyrnaes No, all that I need it for is for the button. This morning when I selected BUILD the context menu sort of works ... There is some functional co ...Show All
Windows Forms DataGridView - Binding to object & sorting
Hi, I'm trying to bind my Windows Forms Data Grid View to a list of business objects. Trouble is when I do this none of the columns are sortable despite setting the sort mode to Automatic. I've tried a variety of things to get automatic sorting working with no luck. How is it done Cheers When the DataGridView is databound it asks the datasource if it supports sorting and only enables sorting on the columns if it does. When binding to business objects through a BindingSource the BindingSource does not implement sorting, so the DataGridView does not enable sorting. Check out this article for more information on adding sorti ...Show All
Software Development for Windows Vista Upgrade to WM 2005
Hello ! I have a HP Ipaq HX2750 with Windows Mobile 2003. Can somebody help me to find out how a can upgrade this (little) machine to WM 2005, please Would it be possible to change the OS-language from English to Dutch Thanks a lot and best regards, rodan_be (Belgium) Thanks for your post. This forum is patrolled by folks who are experts in developing apps that run on Windows Vista mobile devices (e.g. laptops, Tablet PCs, Ultra-Mobile PCs). For Windows Mobile and Pocket PC questions, I suggest posting to one of the Pocket PC forums. You could also look into one of the end user newsgroups for P ...Show All
SQL Server Setting Permissions using Management Studio
We're beginning to use Management Studio with some of our SQL Server 2000 databases and are having difficulty viewing and assigning permissions on objects to roles &/or users. Even though permissions currently exist they do not appear in the "securables" tab on the properties page. In order to view the various permissions you must first manually select all of the objects and they will then appear. Is there some way to get Management Studio to automatically display the objects that currently have permissions setup for the particular role or user Basically, I'm looking for the same functionality as the permissions button gave fr ...Show All
.NET Development How to Translate the Mid & InStr function of VB to VC++ .NET
Hi The following source is written in VB. Now I want to covert this source code to VC++ .NET. Could you please try to do this translation someone who have knowledge in VB and C++ Function Convert(ByVal MyNumber) Dim DecimalPlace, Temp DecimalPlace = InStr(MyNumber, ".") Temp = Left(Mid(MyNumber, DecimalPlace + 1) & "00", 2) . . . End Function Thanks in advance Jose The following was obtained with our VB to C++/CLI converter Instant C++ (there are a couple of remaining calls to the VisualBasic namespace where there is no line-to-line equivalent). Also, I added some t ...Show All
