cc2001a's Q&A profile
Visual Studio Express Editions Cannot activate express products
Hi everyone, When I click on the "Register now" link in the Help->Activate Product... menu for both Visual Web Developer Express and Visual C# Express nothing happens. IE is my only installed browser. Is there a link on the Express product web sites that would allow me to actiavte my 2 products Or any idea on why clicking that link would not take me into my IE Thanks, Mike Hatfield When are these microsoft idiots going to fix this problem I looked at the reported bugs and all they say is they cannot duplicate the problem. Tough luck for us. What a bunch of incompetant, useless ...Show All
Visual C# Global Hooks and .NET dll / Assembly
Hello, I want to write a program which detects and monitors other running/starting/stopping programs. To do so I know I need a global windows hook. To install a global hook I need to load a dll, which is mentioned as a normal dll and not a .NET dll (I've read there's a difference, but I don't know what exactly). So I'm wondering is whether this will work when writing a .NET dll / assembly and loading that one and, if possible, how to do it. I'm new to .NET and C#, so any help would be appreciated on this matter. Alexander For (most) global hooks, you need to use unmanaged code becau ...Show All
Windows Forms DataGridView vs DataGrid bound to DataView
I have DataView containing a DataSet with a relation defined between 2 tables. When I bind the DataView to the DataGrid, the grid displays both parent and child tables just fine. But when I gind the DataView to the DataGridView, the grid only displays the first table. Any thoughts out there ----------code snippet---------------- -- Fill tables, set relation, fill data view -------------------- String sql1 = "Select * from user_def order by login_id" ; String sql2 = "Select * from user_app_auth order by login_id, env_id, app_name" ; String table1 = "user_def" ; String table2 = "user_app_auth" ; String relationName = "u ...Show All
Smart Device Development Free memory in compact frame work 1.0
Hi all, I'm writting a Point of Sales application for use on a PDA device, when I move from one screen to the next I use the me.Close() to close the previous screen(form) and then load the next screen. This is working fine, however when I go can check the running programs on the PDA device, it displays a list of all the forms I've entered, even the ones I've closed. This slowly slowly eats away at the available memory I have free on the PDA. By using the me.Close() shouldn't all closed forms be removed and memory released Whats the work around for this Thanks Coss Hi Kolya, Thanks that works nice. ...Show All
Windows Forms difference between PointToScreen and PointToClient
can someone explain the difference between this two they are method of the control class. I have a resoultion of 1024x768. I have a maximized form. The form has one panel in it if i have the mouse somewhere inside the panel, and i am intercepting mouseup for example inside the panel, will there be any difference between these: - cursor.position - me.PointToCl ...Show All
SQL Server sql_variant in Data Flow Task
When I add a OLE DB Source that accesses a table that contains a column of data type sql_variant, it generates an error message saying that is an unsupported external data type and will be converted to DT_WSTR. Since there are large values of the float data type, I am concerned that the float values would be truncated. The only way I have been able to work with sql_variant data types where two databases are involved (source and target of an insert) is using an Execute DTS 2000 Parckage Task. I tried using an Execute SQL Task and got the same message as above. Note that when I access the sql_variant column in an Ex ...Show All
Visual Basic Calling API with "void *"
I declare a function in VB6 thusly: Private Declare Sub CopyPtrFromStruct Lib "kernel32" Alias "RtlMoveMemory" ( ByVal ptr As Integer , ByRef Struct As Any, ByVal cb As Integer ) and call it: CopyPtrFromStruct(mxcd.paDetails, Struct, Len(Struct)) What should I change the "Any" to in order for this to work I tried Integer, but then got the compiler error "Struct cannot be converted to Integer." Thanx! ---Mike Here's how your declaration should look like: .cf { font-family: Courier New; font-size: 10pt; color: #575757; backgro ...Show All
Visual C++ Why MsgWaitForMultipleObjects returns 0xFFFFFFFF?
I wonder why this fairly simple code makes MsgWaitForMultipleObjects to return 0xFFFFFFFF The result from GetLastError is Access Denied. What access could be denied in this code HANDLE l_hComm = CreateFile("COM1", GENERIC_READ | GENERIC_WRITE, 0, 0, OPEN_EXISTING, 0, 0); if (l_hComm == INVALID_HANDLE_VALUE) { l_this->m_staticText.SetWindowText("Couldn't open COM port."); AfxMessageBox("Couldn't open COM port."); ifs.close(); l_this->m_btnCancel.SetWindowText(_T("Close")); return -1; } if (!l_this->SetupCommPort(l_hComm)) { l_this->m_staticText.SetWindowText("Couldn't setup COM port."); AfxMessageBox("Couldn't s ...Show All
Visual Studio Express Editions Accessing Controls in a different Form.
Hi there. I'm new to C# and programming in general and need some help on my first "project". I'm writing a very basic program. It uses the built in WebBrowser control and the TabControl-control (phew). Each tabpage got a different webbrowser control in it. There is no problem when i add all the controls from the Form1 designer. The problem is when I try to dynamicly add TabPages, and a webcontrol in the created tabpage. I'm opening a new form with the "ShowDialog()" method. I have a listbox and a button in this new form. The idea is that the user(me) can select what TabPage to add to the tabcontrol using names with prede ...Show All
Visual Studio Team System 3rd party contol- componentart
I have written a web test and when you look at the recording the controls do not show up. Our developer's are using the tab control from componentart. This shows up in the test as just a frame. It fails when you run the test. In loadrunner it also does not show up but it passes when you run the test. Any help would be much appreciated. ...Show All
Visual Studio Express Editions Problem building MediaShare Messenger Starter Kit
Hi all, When I try to build MediaShare Messenger, the build process stops with this error: .\app.rc(10) : fatal error RC1015: cannot open include file 'afxres.h'. Indeed, this file doesn't even exist on my hard drive, so I guess it wasn't included with ISO image from which I installed VC++. That's strange, because MediaShare Messenger is listed as a starter kit for VC++ 2005 Express Edition , so I was sure it would compile without problem. Any ideas Thanks in advance. MFC development is not supported under the VC++ Express Edition. For ATL/MFC applications, higher versions of VC++ should be use ...Show All
SQL Server script in removing primary key..
help, I need it now, I need a script for removing a primary key constraint. thanks ALTER TABLE Tbl DROP Constraint_Name -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 -- < yngielkoh@discussions..microsoft.com > wrote in message news:a9440570-7c86-4f01-a3b8-6e5926206112@discussions.microsoft.com ... help, I need it now, I need a script for removing a primary key constraint. thanks ...Show All
Visual Studio Express Editions Time - Increasing
I hope someone could point me in the right direction on this. I have a text field which I would like to set at 00:00 (zero minutes and zero seconds), then click on a button to increase the time by :30 seconds after each click. Any assistance is much appreciated. Hi, You can try changing the value of the textbox value by 30seconds and converting to time format on button click event. Thank you, Bhanu. ...Show All
Visual Studio Team System Team Foundaiton Server and Visual Studio 2005 Professional
Hi, We plan to migrate 6 developpers and 7 Business analyst on Team Foundation Server. developpers will be migrate to Visual Studio 2005 Professional and BA on Standalone Team Explorer. Can you tell me if we will be able to implemente Check-In policy to ensure that developper create Nunit test class In other world, just to be sure that check-in policy is possible with VS 2005 Pro and last qestions :), can you tell me if some features from TFS are not avaible (or accessible ) because we use VS 2005 Pro Thank you for your help. Philippe If you install Team Explorer on top of VS 2005 Pro, it should work exactly as it does when you insta ...Show All
Windows Forms DataGridView and combobox
I have a datagridview where a comboboxcolumn's values are relying on another comboboxcolumn like: CodeCategory Code PRODUCTIVE TRAVEL INPRODUCTIVE ... The Code has to get populated upon the selection of the user in the category column. This means I can't databind the entire comboboxcolumn. I've read the post on getting the comboxcolumn from the DataGridViewEditingControlShowing. This works fine when you enter a ne ...Show All
