jetxx's Q&A profile
Windows Forms Cut & Paste
Hi everybody, I'm having a little problem. I'm in the middle of developing a control for .NET. It's not a control like the TabControl, but the principle behind it is the same. By that I mean that this control has panes (equal to the pages& ...Show All
Visual Basic Please help with Process close and saving, also timer.sleep use
Hi, I want to be able to control a program through a vb.net window app (start, manipulate, close, and save) that has a form with a button to intiate it. As a first step I am experimenting with notepad to get the code down. I can easily create a window app that can start notepad, write a few sentences and then close notepad but focus is then immediately returned to my windows form and my subsequent sendkeys (tab & enter) that were meant for t ...Show All
Visual Studio Express Editions error C2632
A header I am including has: typedef unsigned char bool; but it causes this when compiling: error C2632: 'char' followed by 'bool' is illegal How can I get around this Look the error up on MSDN Library, it tells you how to fix this. Basically bool is now considered a real type, so you can't create aliases for it. ...Show All
Windows Forms Express 2005 C# or VB
Can these versions work with Terrarium I tried using C# but the resulting DLL file (using a sample bug) Gives this error when loading into Terrarium mode Assembly failed validation process. Please fix the following: But it does not list anything, but ...Show All
Visual C++ HELP: error C2664 in atlcom.h coming back
Moving from vs2003 to vs2005, I have the following compilation error: atlcom.h (5005) : errror C2664: 'ATL::_CopyInterface<T>::copy' : cannot convert parameter 2 from 'IMyObject * const *' to 'IMyObject **' with [ T = IMyObject ] Conversion loses qualifiers atlcom.h (4992) : while compiling class templates member function 'HRESULT ATL::IEnumOnSTLImpl<Base, piid, T, Copy, CollType>::Next(ULONG, T *, ...Show All
Visual Studio Express Editions Adding a new row to a database inserts a blank row between each new one.
The first time I press the Add Icon everything seems to work OK, but on each subsequent press of the Add Icon a correct new row and an unwanted blank row are added. Any ideas what may cause this Am I missing something from the code or is something incorrect in the code that would cause this Public Class Form1 Dim drNew As DataRow Dim StrHour As Integer = 8 Dim strMin ...Show All
SQL Server deleting records
I have a couple SQL tables that have been appended to daily over the last two years. There is now about 50,000,000 records in the table. Does anyone know the fastest way to delete records before a certain date to shorten these tables Delete queries and everything else I've tried is taking way too long. Since this is the first time you are deleting from the table - yes, you are just going to have to let the thin ...Show All
Visual C# figuring out what was clicked on a form
I have a panel with labels on it, and was wondering if there is a way to figure out which label has been clicked without doign a seperate click event handler for each label. also is there a way to perform a simulated click on a label Thanks Adam Your event handler should have a parameter named "sender". The sender is the object which fired the event. In this case, it should be the la ...Show All
Windows Forms "The terrarium server is experiencing temporary difficulties. This is probably why you are not receiving any animals. Please bear with us while we get the issue resolved."
Hey guys, Would it be too hard to put a status indicator on the web site somewhere indicating the availability of the server. Ie, a red or green light representing the server status being available or not would be a nice feature. I for on ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DXUT and D3DXLoadMeshFromX
Hi ive used the DXUTIL to initialise my prog and load an animated X file(Tiny.X) but when i call D3DXLoadMeshFromX to load my map mesh it fails. help ... How about some more detail What is the error you get What SDK version are you loading Etc. Please read this before posting more questions: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=69462&SiteID=1 ...Show All
Windows Forms Extra complex data layout.
I'm currently facing quite a complex situation, I have 3 tables: Products Groups Stock Data Stock Data has an external key to both the other tables so that I end up with Products Stock Groups ID <- ID_Prods ID_Groups -> ID And it's pretty simple up to now The hard part is showing it like I want... Product Name Other Product Cols (except the ID which I me ...Show All
Visual C++ Singular preprocessor definition needed
This is my first post, I hope to be clear enough (sorry for my eglish) and I hope to be lucky and find the answer to a very big problem. I have a VC++ project and I need to create, during the compilation, a define that has the same name of the file that I am currently compiling. For example, if when I am compiling a file called Main.c I need to create runtime a define #define main 1 I do this by specifying the in Preprocessor Definitions secti ...Show All
.NET Development Performance test - Web Services vs. .NET Remoting
Against any sources I have found so far the Web Services with XML and SOAP seems to be a little faster than .NET Remoting with TcpChannel. Here is what I got: Iterations WS TcpRemoting 100 00:09:21.6504501 00:10:47.2276639 1000 &nb ...Show All
Visual C# Global Assembly Cache
OK. I am trying to install my program on another computer that I have. But when it installs, it says something like, I need to install this .dll file called "vjslib" in the Global Assembly Cache. Can someone tell me what the problem is. Hi, http://www.kdcalc.com/vjslib.htm http://www.hightechtalks.com/t2032222-vjslib-could-not-be-loaded.html HTH, ...Show All
.NET Development getcurrentprocess problem
i am trying to get the current process using Dim currentProcess As Process = Process.GetCurrentProcess() and then getting the name of that process using currentProcess.ProcessName I am getting an exception 'System.InvalidOperationException' the exact error that i am getting is System.InvalidOperationException: Process performance counter is disabled, so the requested operation cannot be performed. at System.Diagnostics.NtProcessM ...Show All
