mleary's Q&A profile
Visual Basic 2005 Compiler not recognising code changes
Ok you guys, I know this is probably going to be something really simple so I apologise in advance. I've recently converted a vb.net 2003 solution to 2005. everything is great and I've got rid of my pre-compilation conversion errors and warnings etc and am reading to carry on development. My problem is this - in a sub project (which is referenced in the main solution by the sub projects DLL file, but I also change the source code for the subproject whilst in the main solution (hope that's clear!)), when I change or add to the source code (in the sub project) and start debug, or even rebuild the whole solution, the new code doesn't get picked up. I've tried putting a breakpoint in the code, and it doesn't pick it up, so i tried typing " ...Show All
Visual Studio Express Editions DataGridView
i would like to show a list of records that has no user interaction (i.e. NO editing, deleting, adding, sorting, clicking). is this possible on the control or should i be using something else if so, what are the properties i should set thanks For i as integer = 0 to datagridview.column.count-1 datagridview.column(i).readonly = true Next Also the Help facility does a lot to explain the properties. ...Show All
Visual Studio Team System VSS --> TFS How to disable incremental migration
Threee attempts of attempting to migrate Visual SourceSafe to TFS results in the following error message: TF60047: Converter is retrying to migrate the action that was failed to migrate . This could be due a temporary problem with network or server. Incase this prob lem persist then please check your network connection or Team Foundation Server. Interestingly, the VSS database resides on TFS, so I doubt this is a network problem. I'd like to start "fresh" and do a full migration instead of incremental. What files do I need to delete The message I'm seeing is below: E:\>VSSConverter migrate convert_migrate.xml Microsoft (R) Visual SourceSafe Converter version 8.0.0.0 for Microsoft (R) Visual Studio 2005 Team Sys ...Show All
Visual Basic My.Resources is being weird.
This is what I do. Click the Resources tab of My Project and add a new text file. The text file is called velocity. The text file contains the text "Common Velocity". When I use My.Resources.velocity, the tooltip for velocity says the following: Friend ReadOnly Property velocity() as String Looks up a localized string similar to . As if it thinks the file is empty. I have another textfile with only one line and it is interpreted perfectly. It is weird. I have tried making the file numerous times and even renaming it. Any idea what the problem could be. I am using vb8. That's the thing, it isn't reading the file correctly. So, instead of getting a string() with one element the string() has no elements. I just started a new p ...Show All
Smart Device Development Error The operation could not be completed-no such interface supported
I am using Visual Basic 2005 to develop applications for Pocket PC. For all programs that I have developed, when building the application I got the following messages: DeviceApplication1 -> C:\Documents and Settings\Talat\Local Settings\Application Data\Temporary Projects\DeviceApplication1\bin\Debug\DeviceApplication1.exe ------ Deploy started: Project: DeviceApplication1, Configuration: Debug Any CPU ------ Error: The operation could not be completed ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ========== ========== Deploy: 0 succeeded, 0 failed, 0 skipped ========== and an error message is displayed No such interface supported. Even with a new, blank project, build gives the same errors. Also when I get this err ...Show All
Windows Forms Visual cue between groupings in DataGridView
I want to give a visual cue to distinguish groups of rows with the same CompanyID in a DataGridView. Is it possible to insert a separator on a break in CompanyID Or would alternating background color be better/easier What is the best way to achieve Thanks. Take a look at the datagridviewadvancedborderstyle class ...Show All
.NET Development event handler problem with array
hello Everybody I wanted to know one thing about event handler There is an event handler like the child class using the handler class(Form1) Connected main_Connected Disconnected main_Disconnected What if i am having an array of child class and i want to know which of the object raised the specific event how can i know say class main { child child[40]; private void child_Connected(object sender, System.EventArgs e) { //do something on the specific child } } child[2] has raised the event handler Plz solve this problem Interesting problem. I don't knowt that there is a way to know what object fired the event without marking the child object with some identifier. For instance, say you define "chil ...Show All
Visual C++ How to write and read config files
hi, i would like to know how to code the writing and reading of config files in C++/CLI ( in visual studio 2005). please kindly teach me. :) In order to load data from application’s XML configuration file (having a name like "MyApplication.exe.config" and located in the directory of your executable), then I think you can use ConfigurationManager class. For example: String ^ myValue = System::Configuration::ConfigurationManager::AppSettings[ "my key" ]; It reads the value declared in configuration file like this: <configuration> <appSettings> <add key="my key" value="my value"/> </appSet ...Show All
SQL Server Message Type and Message Body..............
Hello, I am having trouble specifying a message body that is valid. I mean for the client to send. If I leave it as null then everything is ok but if I create a memorystream and add a line of text it reports back it did not pass validation. I do not understand this and am not sure what to do. I need to send a message based on a code and text but do not know the format of the body that is allowed. The code I am refering to comes out of HelloWord_CLR because that is what I am formating my sample after. I call it the same way it calls the return message done in ServiceProc. I need to know the message format including body since this does not seem to work. A sample of the call is bellow. // Create an empty request message string Msg ...Show All
SQL Server SSRS 2005: Matrix in list causes blank pages in PDF
I am trying to display data horizontally inside of a group footer of a table. I put a matrix inside of a list and then put that list inside of the table. Unfortunately, when the matrix grows, it causes the list to grow apparently and creates blank pages. I have to use the list to maintain the column width of the matrix. I found a MS article online talking about this problem in SSRS 2000, stating that it had been fixed with SP2. Does anyone know why this is still a problem in SSRS 2005 and how I can get around this issue This sort of problem seems to happen a lot when you place one data object inside of another one. I also encountered a problem before when I placed a table inside of another table. I ...Show All
Visual Studio Express Editions Button Click within a for each loop
Fairly new to VB express. Is it possible to have a button click event from within a for each loop on a form i.e. the button being clicked refreshes the form and moves on to the next iteration of the loop Any suggestions welcomed. ok, lets give it a shot. At the top of your class, declare a variable: .. .. public class MyClass Dim thePosition as Integer = 0 'this is your global variable 'Declare your "myOtherArray" here also, so you can access it through out the class Dim myOtherArray() as String = {"Bob", "Beth", "Conrad", "Grant"} 'methods start here now this is the confusing part - still a bit blurry at this part. Now, do you want to ...Show All
Visual C++ Disassembling
Hi all, I know how to do this: foo.cpp=====> foo.asm I want to do: foo.asm=====>foo.exe and: foo.exe======>foo.asm Can I do these by VS2005Pro IDE or its bundled softwares Or I need to get another software Ayman Shoukry - MSFT wrote: You can not do that directly. You will probably need to do manual modifications. Thanks, Ayman Shoukry VC++ Team Adding 0x to numbers and delete ending 'h's What else I don't know why these tools with same version from same company produce different formats. ...Show All
SQL Server Question about querying xml returned by eventdata() function in ddl trigger
Hi All, I wanted to query the xml returned by the eventdata() function in a ddl trigger to view it in result set. I made that code but it returned null, any help please create trigger DatabaseEvents on database for ddl_database_level_events as --select eventdata().value('(/EVENT_INSTANCE/EventType/text())[1]','nvarchar(max)') declare @data xml select @data = eventdata () select Col . value ( '(/EventType/text())[1]' , 'nvarchar(max)' ) as 'Event Type' , Col . value ( '(/PostTime/text())[1]' , 'datetime' ) as 'Post Time' from @data . nodes ( '/EVENT_INSTANCE' ) as EventsTable ( Col ) go Thank you in advance, Bishoy The path expression ...Show All
SQL Server rsInvalidItemPath Error and Jump to URL Issues
I am having a navigation issue with jump to URLs in reports. When I have a report that supports drilldown if I click the drill down then click a Jump To URL to render the next report I get a second toolbar. If the drill down was never clicked the jump to works fine. My workaround was to try and create a javascript url to reset the url for the top frame. However, the same url that was working before is now throwing an rsInvalidItemPath error. Any thoughts Here is my original Jump To URL expression that was causing the second toolbar to appear on drill down: =Globals!ReportServerUrl + " /Early Life/Early Life Technician Summary QA&pDate=" + Parameters!pDate.Value.ToString().Replace("&", "%26") + ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game and GameComponent Feedback
We've been combing the forums and the Connect database for bugs, feedback and suggestions around the application model. We still have a small amount of time to consider any other feedback you may have. So this is the thread that you post your latest likes or dislikes with Game, GameComponent, services, etc. Please scan the other threads before posting here, I'd like to just gather things that haven't already been discussed or reported elsewhere. Thanks! I agree that XNA shipping with some pre-made components would be a great idea. Some of the things I think could potentially be helpful would be camera components such as first person, arcball, etc..., basic terrain rendering from a heightmap (I think I saw something similar to ...Show All
