Manidkn's Q&A profile
Windows Forms OnKeyUp event doesn't fire
hey folks, this is strange. I need to know when a pressed Crtl key is released, I used in my controls the added event handler MyControl_KeyUp(...), MyControl is sitting on the main form. It's partially kind of a flexgrid clone, and the Ctrl enables ...Show All
SQL Server The value is too large to fit in the column data area of the buffer.
Can someone tell me how to access the MaxLength property of a data column so I can figure out where the problem is Public Overrides Sub Input0_ProcessInputRow( ByVal Row As Input0Buffer) Try Row.PrimaryDiagnosis = Mid(Row.DiagnosisCode, 1, 8) Catch ex As Exception Row.Comments = "Error copying DiagnosisCode: <" + Row.DiagnosisCode + ">. " + ex.Message End Try Output = <aaaaa ...Show All
Software Development for Windows Vista Installing Multiple Versions of Platform SDK
the forums categories all appear to be tool-centric, so this question is not precisely on-topic, but... how does one install multiple versions of the platform sdk each version appears to remove the previous version. <rant> in theory this should never be necessary as each sdk should be fully backward compatible but in fact some are not backward compatible. e.g., the libraries with the latest sdk don't work with vb6. ...Show All
Visual C++ DirectDraw interface
I want to use DirectDraw7. I include DDRAW.H and add a DDRAW.LIB to Win32Project. My code is: LPDIRECTDRAW lpdd=NULL; LPDIRECTDRAW lpdd7=NULL; DirectDrawCreate(NULL, &lpdd, NULL); lpdd->QueryInterface(IID_IDirectDraw7, (LPVOID*)lpdd7); And there is a error: Error 4 error LNK2001: unresolved external symbol _IID_IDirectDraw7 DDraw_Using.obj Why i have this error IID_IDirectDraw7 is defind in ddraw.h. I using DXSDK ...Show All
.NET Development Jscript runns out of order
Below is code that is executed when a page loads to 'refresh' a tree menu <script type="text/javascript"> function syncNode(id) { //debugger; parent.frames("menu").Location.Reload(true); parent.frames("menu").TreeView1.CollapseAll(); parent.frames("menu").TreeView1.SelectNodeById(id); parent.frames("menu").TreeView1.Render(); return true; } </script> However, it seems the lines the deal with the object "TreeV ...Show All
Windows Forms How do I get the MouseWheel on a usercontrol
Hi, I have made a usercontrol that does pretty much what I need it to do, including some GDI+ drawing of elements on it. What I need now is to capture the MouseWheel event on this control so that I can use the mouse wheel to zoom ...Show All
Windows Forms Issues with Custom TextBox Control and simple Properties.
Hi all, I have created this Custom Control that will (well, should) allow me to set the BackColor of my ReadOnly TextBox Controls to whatever Color I specify (instead of the standard dull Gray colour). Now I have created a Class and an Interface to do this, and have then added the Compiled .dll into the ToolBox and included the Control on a Windows Form. But, if I set the ReadOnly Property of the Control to True the BackColor of the Control is ...Show All
Visual Studio Tools for Office Problems with opening custom Forms in Outlook 2003, VSTO 2005
Hey, i searched this board, but did not find a proper answer for my problem. I'm developing an addin for Outlook 2003. I've added a Button to the New Mail-window, and there i want to open a Form, that i've developed. My problem is, that this Form shows up, but does not load completely. That means it hangs somewhere in the Form.Show() procedure. The funny part of the problem is, that i can open this form anywhere else without any Problem, so for ...Show All
.NET Development Expression Columns
Let's say I have a typed dataset with one table in it. The table has 50 columns of type decimal. 49 of them are expression columns. Does this buy me anything when passing this data via web service Is it going to save bandwidth or does it get serialized even though its an expression The reason I ask is because I had always assumed it would make for a smaller download, but I just did Dataset.WriteXML and if you look in the file it shows a valu ...Show All
SQL Server can sql server allow to read record ramdomly?
anyone have the solution or work around my system need to select x% ramdom record from a batch of data from sql server for validation. is this posible any sql statement allow to select the record ramdomly let say total record is around 1000, example record that i need to select is:- record no 5,48,49,50,147,148,256,257,258,411,412,413,414,415,..... so and so can i use cursor to move around the record to read it if we view on perfo ...Show All
Visual Basic global variables
Is there a way to declare a variable inside a function or sub and make it usable within other functions or subs. I dont think so. If you declare a variable within a function its private scoped. And can be seen within this only. You need to create Class level variables to make then accessible to other methods in the form or from other forms. Class Level variable are established within the bounds of a class/module but not within a ...Show All
Smart Device Development CeMAPI example...
Hi everyone, I’d like to start working with CeMAPI under Windows Mobile 2003, is there any docs about it, some links that points me to the right direction I found some docs in msdn, but it shows only how to start and it’s for PPC2002 using ActiveSync service, I’d like to work with a POP3 account in the WM2003. Is it possible does anyone have already made some application send and receive messages is there some examples I’ve created the POP3 acc ...Show All
Windows Forms Dynamically Position Controls at run time
Hi Im new to VB.Net and was wondering how to dynamically position controls at run time. A great example of what I want to do is in Outlook on a new task form. When you enter the date the task is due, a label appears informing&nbs ...Show All
Visual Studio 2008 (Pre-release) PeerChannel throttling controls?
How does one properly throttle a PeerNet network when messages are pouring in faster than the receiving nodes can process them I'm trying to prove whether or not PeerChannel would make a good foundation for publish-subscribe style messaging that is reliable and robust enough for an enterprise. My initial testing has been very positive. PeerChannel is looking to be super-reliable so far. Sending 10,000 messages in a 5-node configuration: ...Show All
Visual Studio SourceSafe doesn't acknowledge database
I have used source safe before but now find myself in a position to be the administrator of it with no one else in the company with any knowledge of it. The problem I am having is that when I have to work on another computer other than my own and I try to open the database through sourcesafe, it doesn't acknowledge that a database was found. Even after browsing to the database, the dialogue box for which database to open will remain ...Show All
