igor1960's Q&A profile
Windows Forms DataGridView inserting records
I am looking for an event in the datagridview, tableAdpater, etc.. that I can use to add a record to the database. Current, my table adapters insert command is set to a sproc. When a user enters a new row in the datagridview, what event should I use to exec the insert command I am using the UserDeletingRow event to prompt the user for deletion verification, followed by exec the delete command which execs a delete sproc (I pass ...Show All
Visual Studio VS .Net 2003 setup hangs on CompactFrameworkSDK install
Context: WinXP SP2 VS .Net 2003 from May 2005 MSDN DVD Problem: Setup is hanging trying to install the Setup.ini file in ...\CompactFrameworkSDK\ConnectionManager\Bin\DriverInstall Were you able to install VS .NET 2003 I am having the same problem. I turned off all non-MS items in MSCONFIG and disabled all STARTUP items. Install still hangs at the same place. Thanks. ...Show All
Visual C# Can I add flashing button gif image file to ListView?
My question is simple, can I attach gif image file which able to animate. I want to attach a flashing LED button image to the ListView and animate as flashing LED in different colour, only 2 colours will do. Had looked on here & google not able to find a article or any forum. First, attached flashing gif file to it but it did not shows flashing only static one colour. Then I tried to use alternate images by switching images' indexes, it w ...Show All
Visual Studio Team System Source control reports
Hi, There are a lot of built-in reports available in Team Project. Surprisingly, none of them provides reporting for source control. For instance, I will need to see what files have been checked-in during specific day, who made the check-ins, what files are still checked out and who made it, and so on. How can I get those reports Regards, James. RobertV - Thanks for the extra posts. I tryed to us ...Show All
Windows Forms Resizing columns
Can someone please tell me how you can programmatically resize individual columns in a VB.net data grid control Its not that hard, you have to create your own column styles object, here's some sample code from one of my projects: (dg_R ...Show All
SQL Server SSAS 2005 Memory configuration on 64 bit
Hi all: Another one for the specialists. We are currently running SSAS 2005 on a twin-CPU 64-bit box with 12 GB of RAM. The cube is particularly huge in size and some queries can really hit the server bad. However, after a point of time, SSAS 2005 begins to page and that brings the whole server down to run slower than a yesteryear 386. So my question is : Is there a way I can influence SSAS to use more RAM, rather than paging awa ...Show All
.NET Development .Net data could be simpler than this!
Back to my sporadic learning project in ASP.NET I have a dropdown on a page populated at runtime from a table with country names to select a country, returning the corresponding country code. Everything works fine so far. I want to add a top record to show as default in the dropdown saying "-- Select Country --" DataSet oCountriesDS = new DataSet(); string sSQLCommand = "select ctry_name,ctry_code from countries order by ctry_name"; // Execut ...Show All
Visual Studio Tools for Office Office 2003 and Office XP.
I have built a program, on a computer that have Office 2003, that works with Word and Excel, and when I try to run it on a computer that has Office XP, it doesn't work, and shows a lot of errors. I tried to replace the DLLs in the program's folder to XP's, And to install them, and it still doesn't work. I even tried to re-make the program with references of XP's PIAs, and then it even doesn't install. What should I do Thanks, ...Show All
Visual Basic the code of reporting one record with data report
i am in need of the follwing code: reporting one record with data report and stored procedure . please if there is some one who could help me sending this code which i am very need of it let him send me. oh! i ahve this problemplease help me sending me this code the code of reporting one record with data report using vb6.0 and ms sql server. i am working now a project and want to conclude the project please see also www. ...Show All
Windows Forms can't save collection in disgner
Sorry, again a 'stupid' question I'm playing a bit with the collectioneditor and got it working (sort of) until i Rebuild . the collection is cleared after rebuild. I'm puzzled here is the code for the component i'm try 2 build : Imports System.Windows ...Show All
Visual Studio Express Editions Fire event at predetermined time
I need to make an application that performs a task at a given time each day, based on the system time. For a simple example, lets say I want to delete all the files in a folder at 11:00 am everyday. The program would obviously be running on a computer thats always on. What is the best way to do this Do I continuously compare the current time with the target time & when they're equal fire the event This seems l ...Show All
Windows Forms Refresh DataGrid bound to relation
This might be a simple question, I have a windows form application with a dataset composed of 2 dataadapters which are connected via a datarelation. The form displays 2 datagrids; one bound to the child table (thus showing all the rows from&n ...Show All
Visual C++ Explanation of code required
Can anyone explain me this code. I want detailed explanation. like what is "GetHeight()*info.dwEffWidth" doing in code. BYTE* pData= new BYTE[GetHeight()*info.dwEffWidth]; BYTE* pSrc=GetBits(head.biHeight- 1 ); BYTE* pDst=pData; for ( long y= 0 ; y < head.biHeight; y++){ memcpy(pDst,pSrc,info.dwEffWidth); pSrc-=info.dwEffWidth; pDst+=info.dwEffWidth; } plz reply... The font ...Show All
Visual Studio Express Editions Absolute Beginner
Hi. Im using Visual Basic 2005 Express Express. I have a very simple form with a button on it. What I would like, is for when the click event of the button is fired, the date and time to be recorded in an access database. ive been able to make the connection to am access db, but past that, I'm lost. all the datareaders, tableadapters and on and on, are confusing me. Any help would be great. Thanks ...Show All
Windows Forms string to enum
how can I convert a string into an enum public Enum myE as byte zero one End Enum dim myS as string = "one" ctype(myS, myE) doesn't work how can I do it thank you it works ! thank you is there any possibilty to do a f ...Show All
