APMaio's Q&A profile
Windows Forms MySQLDataAdapter Insert Not Working...
Can anyone see why this insert command is not working It is not generating any error messages. It acts as if it has inserted the records, but when I check the database the row count is still 0. Here is my code... <hr> <color="Blue"> Publ ...Show All
Visual Studio Help still broken
Just installed the release version of VS2005 standard. Alas, F1 help is still broken. If I position the cursor over a word (for example HANDLE) and hit F1, the following happens: 1. If MSDN is set to use local help only, it always displays the topic-not-found page, even though on the left hand side, the topic is not only present, but selected. A single click on the highlighted item displays the correct information. 2. If MSDN is set to use onlin ...Show All
Windows Forms Help with clunky event handling
Hi all. I come from a background of many many years of coding in Delphi using ADO to hook into SQL Server. Now I am coding in Visual Studio 2005 using the ADO.NET layer and .NET 2 components and it feels like I have taken 10 steps back. Typically, I used to have all sorts of events raised in my db componets (in Delphi). BeforeInsert, AfterInsert, BeforeDelete, AfterDelete, BeforePost, AfterPost etc... Simple and easy to use. How do I acces ...Show All
.NET Development Test Message. Please ignore
Test Message. Please ignore Please consider posting test messages as comments, rather than questions. That helps us track question statistics more accurately so we can see which forums need more attention. TIA. ...Show All
Smart Device Development Getting and maintaining an Internet Connection
Well, here's the deal. I have a game built where 2 PPCs exchange moves through a server. So far, so good. The problem is that on some of my test devices need to make a psedo modem connection (one is an AV6600 on Sprint). I need to do what Internet Explorer does, dial and then keep the connection open. The way I test now is to bring up IE and then I have 10 minutes of testing before the connection shuts down, ...Show All
Visual J# Opening/Selecting Editors
Hello, I am having a bit of trouble with what might be a fairly simple task. I am looking to open a rather large (12k lines/ 5M) log file. I was unable to simply insert it within my form in a rich text box ( it just hung). I decided what might be better would be allowing the user to open the file with whichever editor they prefer (WordPad,ConText,ect...) I was unable however to find a way of launching an application (and having it open the ...Show All
Windows Forms how to sort winform's databinding by related table's column?
I have a windows form bound to a "products" table. I've tried binding to a dataview and a dataviewmanager, but i can't figure out how to achieve a sort by joined table. "products" table has a column "seasonName". this links to&n ...Show All
Visual C++ MFC newbee problems to create worker thread
I am new to MFC. I am just trying understand threading. I tried to create a worker thread, and I get a linker error when I compile the code. in CMFCThreadingDlg.cpp I put... void CMFCThreadingDlg::OnBnClickedBtnStart() { HANDLE hThread; hThread = AfxBeginThread(foo, this ); } static UINT foo(LPVOID lParam) { AFX_MANAGE_STATE(AfxGetStaticModuleState()); return 0; } I have put the foo prototype on ...Show All
Windows Forms Restricted operation on dataset based on user
I have a datagrid with a dataset on which only admins can delete the records and all others can change the contents but should not be able to delete the row. I tried creating event handler for OnRowDeleting and was able to display msg that that the non-admins can't delete , but the row gets deleted from the datagrid. What should i do in order not to delete the record after the user has pressed a delete key from a datagrid. Thanks pra ...Show All
Visual Studio Tools for Office 2005Beta2 cant launch Office project
When I try to open a new excel or word document as part of an Office automation application I get an error saying I need Office 2003 with sp1. I have SP1 and downloaded and installed all of the latest office updates. Still no deal Ibrahim I have the same problem. Using Office 2003 sp1 and trying to create outlook addin and all office templates error with "Office 2003 sp1 required". I have Access 2000 ...Show All
Windows Forms DataGrid.GridLineStyle = DataGridLineStyle.None doesn't work
I am not finding that DataGrid.GridLineStyle = DataGridLineStyle.None has the anticipated effect (cell boundary lines not shown). Also, how to not show the left most selection column (the column that shows the solid right arrow for the selected row in the gr ...Show All
.NET Development GridView wont display records if LIKE is used in Query
I have an Access Query named "TestQuery". The Query selects users with "678". Condition is: Phone LIKE "678*". Any time the dataset that is used by GridView1 is assigned to "TestQuery" it doesn't return any records. (Even though in Access it does). If I modify "TestQuery" and make the condition anything that doesn't include a LIKE it works. Am I missing something Vincent Fournier Ken is correct. You're seeing differe ...Show All
SQL Server Converting DataType=TEXT to DataType=STR
Hi, I have an input text file which contains line(s) which can have more than 8000 characters. I am able to read the lines in this file by specifying that the input column is data type = Text Stream [DT_TEXT] and I can then write the lines to another text file. But, what I want to do is to use only the right-most 8000 characters. When I try to convert the input column to data type = String [DT_STR] using the Data C ...Show All
SQL Server SqlServer Express installation.
I tried to install SQLServer express after running the provided tool to remove existing components. The tool reported that everything is fine but i received an error stating that something still remains.. the following is the installation log. Before this i have successfully installed Visual C# express and Visual web developer express. Error: Action "PerformSCCAction2" threw an exception during execution. Return Code: 70032 Message dis ...Show All
Software Development for Windows Vista MSN IM - no new message notification
Has anyone else noticed that MSN Instant Messenger 7.5 on Vista build 5259 doesn't provide any notification when you receive a new message I don't get a sound or a popup. The taskbar icon flashes orange, but if you have your taskbar hidden, you'll never know that you have a message unless you happen bring your taskbar up. Jason A guess might be the windows firewall, if you disable it (temporarily) does it work ...Show All
