lambrite's Q&A profile
Visual C# Sorting problem with GridView
Hi, I have problem with sort when I add a GridView like below (a panel called Panel must exist). When pressing the sorting links on the displayed gridview I get a "The GridView 'gw' fired event Sorting which wasn't handled. " If I do this in design mode, connecting to getDataSet and set AllowSorting to true it works. Why doesn't it work when I'm trying to do it dynamically I've tried to implement a handler for the Sorting event but don't really know what to put there. If I put nothing no sorting is done. If I do a call to gw.sort() I get a StackOverflowException. So what should I do I use Visual Studio 2005 Beta 2 Best regards Carl p ...Show All
Visual C# regain control
I have a form with several components. After I selected options from couple of listboxes i then click on a button to perform an infinite loop. my problem is that while the application still running, i want to make a new choice of my option, and then hit the run button again. but since im application is in a loop it doesn't response spontaneously to my action on the form. What is a good way to solve this kind of problem you have to consider BackgroudnWorker component in order to execute task in child thread and keep main thread responsive. When you execute new query you cancel old one and execute new ...Show All
Visual Basic Deskband disappears on next login
My deskband (Taskbar) object is disappearing the next time I login. If I leave my deskband object on when I logout, the next time I login my quick launch area too we be gone. Ironically the annoying language bar will always show. I found a nice article on codeproject on how to implement a deskband using c#. The article from codeproject seems to borrow alot from an article on msdn (kbbar.net). I based my project on the code from those articles. Both of these code samples exibit the same issue I am dealing with. Now when used as an explorer band, it seems to work fine. This problem only seems to be an issue when using it as on the Ta ...Show All
SQL Server Error CS2001 & CS2008
After installing and configuring RS June CTP, when attempting to deploy a new report or when browsing http://localhost/reports I'm getting error: Error 1 Server was unable to process request. ---> Unable to generate a temporary class (result=1). error CS2001: Source file 'C:\WINDOWS\TEMP\9a1mhqzb.0.cs' could not be found error CS2008: No inputs specified Probably ASP.net does not have permissions to the asp.net temporrary files folder. Try running "aspnet_regiis.exe -ga <username>" from the Windows\Microsoft.Net\Framework\v2.xxxx folder where <username> is replaced with the ac ...Show All
Visual C++ Code formatting?
I need to format aprox 850 C/C++ files to all be the same. I was thinking at first I could do this with regular expressions to pull the information I need, then format a little bit at a time. However I cannot think of how this could be done since code could be written in many diffrent "formats". One regular expression would not work on everything Does anyone have any ideas or samples of ways I could possibly go about doing this Or even a program I could use rather than building one Thanks. I have used Trita (now Polystyle ) for code formatting, and was very happy with the results. A regular expression is prob ...Show All
Visual FoxPro VFP to show UPS tracking info.
Hi; I have a place in my app where I populate a grid with various info including a txtbox that stores a UPS tracking #. I'd like to make this 'clickable' so it opens up a web browser to show the ups tracking info from the UPS site. I would need to do the same for fedex. I have no idea where to begin. Any pointers and ideas would be greatly apreciated. Aleniko. Aleniko, There are some foundation classes you may want to look at that are use the hyperlink control. They all have a property called lNewWindow that looks like it should do what you want if set to .T. - Just check out the Internet ...Show All
Visual C++ C1083 Permission denied
Hi, I'm getting this C1083 Permission denied error when I try to build an application (console type) project A which includes files from another project B (static library type). The B project includes files from a math library C (GSL). When I build the static library B, I have no problems. The problem is when I try to build A, and it complains about having permission denied to access a folder which turns to be the folder containing the .h files of C (included by B). I hope this is clear enough, if not please tell me. I'm using XP Home Edition and files have no permissions at all. Here is the text: 1>c1xx : fatal error C1083 ...Show All
Windows Forms Button Image Layout
I am trying to put an image into a button and have some text below it, and I can get close, but not quite there. If I set the background image, then the Layout is available and I can set it to Zoom. The problem is getting the text to properly appear below it. If I set the image, then Layout is not available and I cannot Zoom it. Ideally, it would be nice if the Image had a Layout property that would allow for Zoom. If anyone has any suggestions, then I would be most grateful. thanks, Flavelle Ballem Hi Flavelle, Sorry, but I don't understand your problem. If you set the image, the o ...Show All
Visual C# Go To Definition
Can anyone explain why when I right mouse click a class and select Go to Definition, visual studio 2005 shows me the class that is stored in meta data, for example. User currentUser - this class is located in ObjectManagement project in a class call UserManagement.cs but the class it displays is User[from metadata] need some help on this one quickly please!! Hi Jonathan, it is mate. I have one solution with 5 projects, 4 of them are class libraries and the other is a web projects. I have tried calling the class from a different project and still the same response Wayne ...Show All
Visual Studio Team System No workspace exists for the given Team Project
I get the above error when trying to set up a new Build Type for a Team Project I just created. I was able to successfully create the project and the corresponding source control branch, as well as add a solution to it (which successfully was added to SCC also). All of the workspace mappings between my local folders and SCC seem to be valid and working. It does not seem that the workspaces it is looking for are the same workspaces as these I suspect that this problem may stem from the fact that I had previously created a project under the same name and deleted it using DeleteTeamProject.exe (successfully, or so I thought). Is the ...Show All
Visual Studio Team System Creating work items.
Hi, I'm relatively new to TFS and from what I have seen so far it looks great. I have a question for you all though. As a developer it is easy for me to log bugs / enhancements (aka WorkItems) by using the Team Explorer from inside VS 2005. I was wondering though, what is the method a help desk / support engineer should use These people won't have VS installed on their doesktop. And how about consultants, these people are often on the road most of the time; is there some sort of default web site in the portal that allows people to create WorkItems Thanks for you help Graham In addition to the Team Expl ...Show All
Windows Forms DataGridViewComboBoxCell Value is not Valid
Hello, I make use of automatic data binding for my datagridview. I display some informations about an person in my dgv. Everythink works fine, but then I replace a TextBox (the content is an int value) with a ComboBox to select values from a valuelist. After I start my application follwing error appear: DataGridViewComboBoxCell Value is not Valid I searched the msdn forums, their was told to change the AutoSizeValue to "NotSet", but that does not help. Can somebody help me to get rid of that problem Hello Tim, How do you fill the DataGridViewComboBoxCell Can you post the code for this ...Show All
Visual FoxPro toolbox trouble
All of a sudden, out of the blue I got a problem with the toolbox. When I click the button on the bar to invoke the dropdown menu with the controls depicted I get an error message instead. Program error File 'aclsids.prg' does not exist When I click suspend, the debugger appears at this position: Object: _activexcategory IF EMPTY(aCLSIDs[1]) IF oReg.EnumOptions(@aCLSIDs,m.cActiveXKey,m.cHKey,.T.)#0 RETURN .F. ENDIF ENDIF The arrow points to the first line: IF EMPTY (... Now this all happens only when there is no form to modify. If there is a form to modify on the screen, then there is no error mesage but the toolbox is unre ...Show All
Visual C++ where to start
Hello I have past C# experience but I've really wanted to move to C++ .NET 2005. Does anyone have any recommendations of books or tutorials. Preferably tutorials and books directly related to C++.NET 2005. Thanks Pro Visual C++/CLI and the .NET 2.0 Platform is a good book for learning the C++/CLI language. Take a look at: http://www.amazon.com/gp/product/1590596404/103-0555318-8317457 v=glance&n=283155 Thanks, Ayman Shoukry VC++ Team ...Show All
Windows Forms Non border form control box
hi ppl.. i have a non boirder form and im drawning the title bar an the borders my self,, but i dont have a clue of how to get the control box.. i mean in the windows bar u can see all the windows u have opened, and when u right click u get a menu displayed with options like close, maximize , restore,, but when i use non border form i dont get this,. is there any way i can get it mig16 Please reserve the C# forum for questions related to the C# language. Questions related to Windows Forms are more suited for the Windows Forms forum. I'm moving your question to the Windows Forms forum where someone can prov ...Show All
