tribal's Q&A profile
Visual Studio 2008 (Pre-release) Animating a ListBox Scrolling Text with Fading???
I have a small project i'm working on thats Similar to the RSS Feeder in the Vista SideBar...I havent done alot of Animation so i'm fairly new to it in general.So the Question is where can i get a good example for Scrolling the RSS Feeds Upon the ListBox being Populated As of right now my project just uses a Veritcal ScrollBar,i want it to Auto Scroll on its own as the Feeds are Feed into the project,and have a Fading appearance,as the Feeds reach the top of the ListBox,along with making the Articals Clickable..It lists the URL in the Feeds but as of right now i cant Navigate to that Particular RSS Feed.. Thxs for any help in Advance Rattlerr http://xtremecomputers.spaces.live.com Are their any ...Show All
Windows Forms Modify ConnectionString
Hi, I searched, but couldn't find an answer. Is it possible to modify a connection string at runtime This code throws an exception, not sure how to fix. string connectionString = this .txtConnectionString.Text; ConnectionStringSettingsCollection col = ConfigurationManager .ConnectionStrings; ConnectionStringSettings section = col[ "MyConnection" ]; section.ConnectionString = connectionString; The last line throws this: System.Configuration.ConfigurationErrorsException was unhandled Message="The configuration is read only." Is this something I can configure I have a requirement to allow certain users the ability to change the connections string, rather than forcing them to modify the app. ...Show All
Software Development for Windows Vista No Editor Available For "file .." Make sure application for file type (.cs) is installed.
I installed vs 2005 with all but VB and vs 2005 extensions for WF on a new machine. I then created a new sequential workflow project. When I try to open the workflow with the desiger, i get the above error message. I can view the code for the workflow, just not the designer. I have tried uninstalling, vs 2005 and extensions a few times with no success. Can anybody help me I tried this devenv.exe /setup and received a message that the command devenv.exe is not valid. I am having the same problem - receiving the message that "there is no editor available .... make sure application...". I have also tried various solutions to uninstall older versions of beta software which I didn't know I had. I ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Reflection - Assembly.Load generates error
I seem to be experiencing some trouble with Reflection, specifically I am trying to load an assembly and call foo.EntryPoint.Invoke on it, but when I call Assembly.Load, I get: System.BadImageFormatException was unhandled Message="Could not load file or assembly '90112 bytes loaded from TestReflection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format." Source="mscorlib" FileName="90112 bytes loaded from TestReflection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" FusionLog="" StackTrace: at System.Reflection.Assembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlM ...Show All
Windows Forms ComboBox Binding with a Blank Selected Index Initially???
I'm making a search engine windows app that contains ComboBoxes that are bound to my SQL Server database. It would be so much better that once my ComboBox is bound that I could have no item selected (so a blank) incase they don't want to include that in their search but I can't seem to do that without putting in a blank record in my database and that seem soooooo wrong. The only answer I can think of is maybe populate an RA with the data leaving index[0] a blank and then binding to the RA. But I don't even know if I can bind to an RA. If anyone thinks this is a good idea I'd love a code example. If anyone has any ideas, workarounds or just a simple answer that I've missed, it would be greatly appreciated. I know the solution is out t ...Show All
.NET Development How to create stored Procedures?
Dear all, I've just installed MSSQL2005 and created a new table. I tried to use a dataAdapter to create stored procedures. I found that only select statement can be created. The "insert", "update" and "delete" stored pro. cannot be created. Is there anyone know the problem and how to solve it Pls tell me....thx alots!! ...Show All
SQL Server Database Snapshot
Need some help, i have some database snapshots files provided from an external source. Need to be able to understand how i get them back into a database format if possible. Files for example are table1.bcp, table2.bcp with als a file called scheme.sql which sets up these tables in sql but does not populate them. Nothing else was provided except a .vcd file which i dont know whtat its for. any clues Dan Yes you are correct, this does indeed seem to be a Bulk Copy in Native format, guess i was going down the wrong path. Thanks i now have the data in the correct format, also the extract works in SQL 2000 which is good. Much appreciated. Dan ...Show All
Visual Studio Team System Team System add-on for SQL 2005 Management Studio
Just noticed that Team System add-on is not available for SQL 2005. What's a problem How I can store my database in TFS source control I found MSSCCI Provider which enables Team System on plug-n window but I don't get how to use it. Check-in, check-out are not visually available anywhere within a Management studio as well as server mapping... OK. Just a little bit more clarification... I have already a fully scaled database with all tables and stored procedures. Now I've created project - what should I do next Create scripts for all stored procedures and DDL scripts for tables and add them to the project If this is an approach - that sucks... I could do this manual labour from Visual Studio - what's th ...Show All
Visual C++ nafxcwd.lib library linker error LNK2019 - help
Hello experts, Below is the small program I am having issues with. It compiles successfully. As you see is quite small and simple program, but for some reason I am unable to link it when I tried to build it. I have also pasted the last part of the output from the linker with verbose. Hopping someone can help me out. It seems a problem with nafxcwd.lib but I am unsure. /* Setup includes */ #include <stdafx.h> #include <afxwin.h> /* Addinitional includes */ #include "ifl.h" /* Main */ int main(int argc, char** argv) { // Variables Declaration IFL_RC iRetCode = IFL_SUCCESS; HWND m_hwndMain; // Get Handle to the main window m_hwndMain = AfxGetMainWnd()->m_hWnd; // Initialize the use ...Show All
SQL Server Strict Transaction Nesting Bug with CLR
Dear all, I am constantly running into this error when calling CLR functions from triggers (even when the triggers are CLR functions themselves): The context transaction which was active before entering user defined routine, trigger or aggregate "[name of CLR sp]" has been ended inside of it, which is not allowed. Change application logic to enforce strict transaction nesting. However, there is no cyclic nesting going on here. In fact, the error only appears when the CLR function is writing to the database. Only executing SELECT statements inside the statements doesn't freak out the SQL server (2005 SP1 in my case). I am not ending any transaction at all. This error shows up in many places: as exceptions from ASP.NET web pages, ...Show All
Visual Studio 2008 (Pre-release) Rotating a grid
Hello I want to rotate a grid by, for egxample, 45 degrees. How it could be done programically Thanks in advance. you can do something like this(g1 is the name of the grid) RotateTransform rt = new RotateTransform (45); g1.RenderTransform = rt; ...Show All
Windows Forms ListView error System.ArgumentOutofRange ecxeption
I get that error in my ItemActivate event code, which is called when I double-click on a folder in the ListView control on my form (which lists all the folders and files in the root C:\ directory). Below is my event handling code: private void lvwFilesAndFolders_ItemActivate( object sender, System.EventArgs e) { //cast the sender to a ListView and get the tag of the first selected item System.Windows.Forms.ListView lw = (System.Windows.Forms.ListView)sender; string filename = lw.SelectedItems[0].Tag.ToString(); if (lw.SelectedItems[0].ImageIndex != 0) { //the item we double-clicked on is a file. try { //attempt to run the file System.Diagnostics.Process.Start(filename); } catch { //if the attempt ...Show All
Visual C# Microsoft, when VS.NET 2005 will become faster?
VS.NET 2003 was a good tool; it couldn’t handle very large projects, or a solution with a lot of projects, but at least opened, close, and compiled the projects in an acceptable amount of time. VS.NET 2005 looks a bit better, but way slower than VS.NET 2003, well, it opens in time (for the Microsoft demos and presentations), so people will be under the illusion that it is fast, and the hello world samples are running fast, but that’s about it. Once you have a large solution with 20 projects, and each of them with a lot of code, forget the performance, debugging is slow, compile is slow, you name it, they had is slower. It is not the PC, 2GB Ram, and 3GHZ processor is way more than enough, it is just tons of developers building VS ...Show All
Visual Studio Team System TFS Workgroup - Possible Bug
Hi, I upgrade the beta 3 Refresh version of TFS to the workgroup version (en_vs_2005_tfs_wgp.iso), but a bug that occurs in the beta 3, are always in the final version: When I try to realize a merge of 2 versions, a window appear, but with no text in the buttons or in the dialog boxe. Is it a bug that it will be solve in a new version or an error in my configuration yep... it's working. Just need to disable Buffer overflow in thw McAfee AntiVirus. ...Show All
Visual Studio Tools for Office Error - InfoPath cannot open the selected form
Hi, When I open VSTA and run my project show this message: InfoPath cannot open the selected form. Whats happen Im using InfoPath 2007!! Please Help me. Att This forum is specific to the VSTO technology. It has nothing to do with VSTA or programming in InfoPath. Please address your questions to the InfoPath newsgroup http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.infopath &lang=en&cr=US ...Show All
