WbTest1-'s Q&A profile
Visual Basic Best method for exporting a DataGridView to Excel
I have a datagridview(DGV) which contains data based on a user selections from a pre-defined dataset In point form: User starts program program builds datatable user opens file and program read all data from file into the dataset.datatable user defines the data they want to see program displays datagrid based on dataset.datatable and user choices. (basically it displays the whole dataset and removes unwanted columns\records) ...Show All
Windows Forms setting a tooltip for each row of a listbox
ive got a listbox which isnt always wide enough to display all the information within it. so i intend to put a tooltip on it so that when the user hovers over an item in the listbox, the full text will be shown in a tool tip ...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
.NET Development COnnect to Sql using Web Service in VS2005
I have this web.config file and i want to add my connection string to that can i do that if so how do i access it Do i use the Web Configuration Manager or what <WebMethod()> _ Dim connect As String = new Web.Configuration.WebConfigurationManager("connstring") but i get an error doing this.....Please help me...thanks Check this one out http://www.extremeexperts.com/Net/FAQ/StoringConnectionString.asp ...Show All
Visual Studio 2008 (Pre-release) WCF vs Pipelines and Filters
I need to develop a system which uses ideas similar to Martin Fowlers' Pipelines and Filters pattern in his Enterprise Integration book, where a filter enriches messages from other sources. Is this pattern still feasible with WCF Does a pipeline represent a WCF channel I'm not sure how the main building blocks of WCF map to that pattern Where to the Endpoints fit Where do Bindings fit Channels, etc. How would I implement multiple pipelines ...Show All
Visual Basic VB 2005 Compiler Optimization Discussion
There's been something percolating in the back of my mind. I come from a computing environment that preceeded windows and the Intel Architecture and instruction set. n comparison to the instruction set that i'm used to, the Intell instruction set looks like a house wreck which may or may not be important to the discussion at hand. Everyone knows that moderators agree on everything and that in moderator space we just stand in love ...Show All
Visual Studio 2008 (Pre-release) App sample
Is there a Winforms sample (i.e. more then Console.WriteLine statements), using the objects or projecting into business objects or something and how they lay that out and maintain client object state TIA. If you are projecting the entire object from your query, you should be able to bind to it ok. For example, I put a standard DataGridView on a form with it's Binding Source. I then put the following code in the Form Load: Dim Emps As Li ...Show All
Visual C++ Using tools without installing Visual Studio
Nikola Dudar has a blog entry that descibes how to build on a system without a complete installation of VS 2005: http://blogs.msdn.com/nikolad/archive/2005/02/09/370299.aspx This works, to a point. I am running into an issue where MIDL keeps crashing processing IDL files. Does anyone know how to fix this I started with a clean W2K3 SP1 system this time, and I could not get MIDL to crash. Perhaps there was ...Show All
Windows Forms skins for forms
hi frnds, i want 2 create different themes /skins for my forms which enables us to change the shape of the forms as well what exactly should i do i m a newbie to c# thanx in advance ...... Hi, check this tutorial: http://www.geekswithblogs.net/kobush/articles/CustomBorderForms.aspx ...Show All
Visual Studio How to get the build order via an EnvDTE API?
I have an addin that needs to know the build order as it is listed in the VS Solution|Project Build Order dialog. While analysing the dependencies for the projects is great (and works for projects that have an expressed dependency), I found that the project build order for unrelated projects is fixed (and frequently relied upon by solutions), but as far as I can tell there is no way to figure that order out programatically. The build order ...Show All
Visual Studio Team System Generic Test does not seem to deploy the exe
I seem to be missing something simple here, I guess. The help states that the exe being run by the generic test will be copied to the deployment directory. This is not happening. Even if I add it to the "additional files" list, in effect forcing it to be copied, it is not run from this directory. This matters a great deal to me because I am trying to use a Generic Test to run my GUI to produce Code Coverage results. So I need the test ...Show All
Visual Studio Tools for Office .net COM Add-in for Excel - cannot find Extensibility Projects
Hi I have installed Visual Studio Tools for Microsoft Office after installing vb.net and Microsoft Office 2003 respectively. I cannot find the Extensibility Projects folderin the Other Projects folder. Please would someone help. Thanks Murray Hi Misha Thanks for the last response. The thing is that I want to sell my Add-In to users of Excel 2000 and onward. I would also like to try and target Excel 97 ...Show All
Visual C++ how to add properties and methods into automation interface by vc++2005?
in vc++6.0,i can add properties and methods into automation interface by the property page "automation" of class wizard, but there is not a class wizard in vc++2005. how can i add property and method into automation interface do i have to edit the code I never use the MFC functions, I always use ATL, but I think its the same. Look into the class view where the corresponding interface is listed. Right click and ...Show All
Visual C# Alpha value of a bitmap is not saving
Here is a piece of code: Bitmap _bmp = new Bitmap (_somefile); Color _clr1 = Color.fromArgb ( 254 , 10, 10, 10); _bmp.SetPixel(0, 0, _clr1); _clr1 = _bmp.GetPixel(0, 0); MessageBox.Show(_clr.A.ToString()); When it is processed, we can see " 255 " number, not " 254 " as we have set. R, G, B values are got correclty. I also have other problem working with bitmaps: Bitmap _bmp = new Bitmap (filename); _bmp.Save ...Show All
Windows Forms Menu Items -Click event
Dear All, I have created a help file say myhelp.chm seperately I want to display this help file by clicking a menu item Basically what i want to know is how to open an external file by clicking a menu item Any help is appreciated Thanks To excute external commands (like the 'Run' on the start menu) use the following code: /// <summary> /// Excute shell command without arguments /// ...Show All
