RayDMS's Q&A profile
Visual Studio Express Editions change bgcolor on selected tab
Can someone please direct me to code to change the color of the selected tab in a C# tabcontrol Thanks ! The appearance and color of the tabs are controlled by the currently active Windows Theme. You can turn the theme off but then their color is controlled by the system color selected for "3D objects". Deadgummit, I lost my grey... ...Show All
SQL Server How to determine length of table row in sql 2005
How, other than by doing the addition on my own, can I detemrine the length of a row in a table TIA, barkingdog Do you mean the actual row (as of the inserted data) or by the defined data types and lengths. HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Official Update
Now go register!! Actual contest details to come the week of Feb 5th I don't really know any valid zipcode and phone number for the US, nor any address for that matter. Thanks for the advice, anyway! I guess I'll just have to wait until they fix this. ...Show All
Smart Device Development Why is there no right click menu for copying in textbox?
I hv create app with textbox, i want copy the text inside. is that i need to create the menu by myself if yes, is there any sample thank you so much. ok then how can i copy the selected wordings to buffer, and then paste the buffered wordings to other textbox or documents Thank you for your reply ...Show All
Visual Studio Express Editions MaskedTextBox Help
Hi, im having trouble with the 2 questions below. I have searched everywer for the answer, but couldnt find it!!!! so if ny1 no's the answer, please help! Question 1: I have created a button and a text box, and I want the buttons function to be "onclick, insert ^1 into textbox". how can i do tht Question 2: I have created a button and 2 text boxes, and I want the buttons function to be "onclick, copy text from text box 1 and paste it into textbox 2" + some extra text I want to show e.g. i want "Hello" to be copied from text box 1 and pasted into textbox 2 with "I am saying" text showing before the Hello I would realli appreciate it if some1 would help!!! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Direct3D Textures
I am unable to create a Texture from a bitmap, but everything else works correctly. The same code works perfectly in Visual Studio 2003. DX3D = New Device(0, DeviceType.Hardware, MainForm.picDrawArea, CreateFlags.SoftwareVertexProcessing, PP) GetTexture = New Texture(DX3D, bmp, Usage.SoftwareProcessing, Pool.Default) Problem solved with: Texture = TextureLoader.FromFile(DX3D, "filename") Texture = TextureLoader.FromStream(DX3D, texstream) ...Show All
Windows Forms Setting STAThreadAttribute
I have an application with an event handler that waits for HW events and then reports them to a server via the WebBroswer.navigate() method. I am getting an error when I invoke WebBroswer.navigate() saying: ActiveX control '8856f961-340a-11d0-a96b-00c04fd705a2' cannot be instantiated because the current thread is not in a single-threaded apartment." Looking though the documentation, and Googling for info, it seems that I shoud be setting the thread to "STAThreadAttribute". I am confused because it says to do it in the main() function and I don't have one. I have two classes and I set both of them to <System.Serializable()>. Does that have the same effect I also went through and set every Sub to Public Shared just to b ...Show All
SQL Server Union in MDX
I need to create a mdx statement which is an union of 2 mdx. The difference in each mdx is, it has an additional dimension slicer in each of the mdx. I have the same measures in all the both of the mdx. Is it possible to put a dummy slicer in all the 1st mdx to match the 2nd mdx since union requires same dimension. Below i have the mdx , i have put dummy here for me get an response as to what to replace there Bascially 1. First mdx query is by Division 2. Second mdx query is by Division and Application SELECT NON EMPTY { [Measures].[Nppi Record Count], [Measures].[By Div - Employee Average NPPI Count] } ON COLUMNS, UNION( {([Application].[Division Name].[Division Name].ALLMEMBERS * tail([Time].[Calendar].[Full Date]. ...Show All
Visual Studio Team System Performance Profiler w/o Visual Studio
I have been running the Performance Profiler through Visual Studio and through the commnad line utilities on my development machine without a problem. My goal is to take these command line utilities and copy them to a testing machine that does not have Visual Studio and profile the app on that hardware. (I copied them from C:\Program Files\Microsoft Visual Studio 8\Team Tools\Performance Tools) After I instrument the assemblies I run the exe from the command line and I keep getting the message "MyApp has encountered a problem and neeeds to close. We are sorry for any inconvienence" with the Send and Don't Send buttons. I am testing this with a very simple application that just has a few buttons and displays a few message ...Show All
Visual Basic MEMORYSTATUS
Hi, can anyone help me with this code Public Class Form1 # Region "Memory Status" Public Structure MEMORYSTATUS Public dwLength As Long Public dwMemoryLoad As Long Public dwTotalPhys As Long Public dwAvailPhys As Long Public dwTotalPageFile As Long Public dwAvailPageFile As Long Public dwTotalVirtual As Long Public dwAvailVirtual As Long End Structure Public memStatus As MEMORYSTATUS Public Declare Sub GlobalMemoryStatus Lib "kernel32" ( ByVal lpBuffer As MEMORYSTATUS) Private Sub timer_Tick( ByVal sender As Object , ByVal e As EventArgs) Handles timer.Tick Label1.Text = memStatus. ...Show All
Visual Studio Team System 64-Bit Support In Visual Studio (For When I Upgrade To Vista)
I want to upgrade an x64 AMD system running Windows XP 32-bit to a 64-bit Vista OS, but I'm unsure of a few things. 1. Is there a 64-bit version of Visual Studio (I'm thinking no) 2. Can I create 64-bit applications using Visual Studio and C# (I know C++ has a 64-bit compiler, but what about the other languages) 3. What are the future plans for x64 and the development tools 1. There is no 64-bit version of Visual Studio, per se, but Visual Studio will run in a 32-bit compatability mode known as Windows on Windows (WOW). So fear not, you can proceed with the upgrade. 2. In addition to C++, you can also use C# and Visual Basic to create applications which will run on both 32-bit and 64-bit versions o ...Show All
Visual C++ Beginner question - ExitInstance()
Hello all, I have a very basic question: How does one go about overriding your app's ExitInstance() function I'm using VC++ 2005, so I tried right-clicking on the app class in the Class View , selecting "Add->Add Function...". Of course, I know the function name ("ExitInstance") and I know I need to select the "virtual" check box, but I don't know the return type, and the parameter list should be empty but the "parameter type" list box doesn't contain such an option (i.e. I must pick a parameter type). Anyone Thanks in advance! ...Show All
Smart Device Development Cursors.WaitCursor is not a hourglass
Hi, i’m using the class Cursors to change the normal cursor to the wait cursor. Cursor.Current = Cursors.WaitCursor; Instead of an hourglass i get a square in the middle of the emulator with colours moving. Is this normal Thanks SP Yes, that is normal. ...Show All
Internet Explorer Development IE7 and White Screen
I have a sequence of webpages (200 or so) with navigation and when I sequence through them, intermittently IE7 will simply display a blank white page and a "Done" message. Pressing F5 will load the page properly. This does not happen in IE6 and the frequency of white pages seemed to decrease as the IE7 betas progressed. It happens if I am using IE7 on the webserver, from my desktop on the local network, or at a remote dial-up account. If I put the HTML pages in simple ASPX wrappers, it never happens. I've also loaded the content on several different servers and experience the same problems. Any ideas I can post a link to a sample if that would help. Jay ...Show All
Visual Studio Express Editions Datagridview Comboboxes
I have been searching for info about dtatgridview dropdowncomboboxes. I have found all the needed info except how to display info that is available in the dropdown. For example in a list with 5 items say Item1, Item2, Item3, Item4, and Item5 there would be a selection into the database of various members of this list. If it was a textbox column displaying them would be easy, how do I do the same with a combo box This is probably an easy question but I am stumped. Mike hi, what you are looking for is called lookup using a property called " DataPropertyName" here its my previous post about this http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=347502&SiteID=1 hope ...Show All
