Ian Bavey's Q&A profile
Visual Studio Why the f$%^&* does the DSL tools ask for C++
Why the f$%^&* does the DSL tools ask for C++ for installion. I Have a long weekend before me, so I wanted to try the DSL tools and I find that they ask for C++ so untill i get to the office next tuesday i wont be able to install them. That means i wont review them this weekend this means that i wont have a decision to invest in them for monday, that means they wotn go in in my current project that means a delay fo a copuple of months until i can start to use them :( I'm very sorry for the inconvenience. The reason DSL tools currently require C++ is that one of the three projects generated by our wizard is a C++ project which ...Show All
Visual Basic Slow Gif
HI i searched in you foums for answer for this question and i didnt found so i decided to post new thread about my question when i put Gif image in PictureBox.. and when i run the program the picture in picturebox is animated but slow animation .. why can you help me thank you ...Show All
Visual Studio Express Editions path
I have C# express installed and would like to build a dll with following command : csc /target:library /out:bank.dll a.cs The windows Command Prompt responds with " 'csc' is not recognized ..." I know in VS 2003 I can use the .NET Command Prompt. How do I do this for C# express so that my above dll build command will be recognized thanks. The C# command-line compiler is located in the .NET Framework directory. This folder is typically located here: %SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727 For example: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 ...Show All
SQL Server sp_send_dbmail & COM errors.
I just started getting these errors on a few (not all) servers the other day. These servers have been running fine for a few months now... Msg 14661, Level 16, State 1, Procedure sp_send_dbmail, Line 476 Query execution failed: Error initializing COM Msg 0, Level 11, State 0, Line 0 A severe error occurred on the current command. The results, if any, should be discarded. I can only find one thread regarding this error, specifically with dbmail and I am doing the same thing (executing a query and attaching the results). http://www.sqlservercentral.com/forums/shwmessage.aspx forumid=149&messageid=248650 T ...Show All
.NET Development Formatter class implementation
I'm looking for information or a sample of how to implementing a Formatter derived class. I would like to implement a custom formatter and would like to know how to make use of the Formatter class functionality. Thanks, Ray I just posted a summary of the steps required to design a custom IFormatter (part of those information already appear in my previous posts in this newsgroup). Regards, Joannes ...Show All
SQL Server SSAS service does not start
Hi I recently installed SQL 2005 . The install proceeded well, but Analysis services service cannot be started on to the machine. When i try to start the service via Configuration manager I recieve and error "An error occured while performing this operation" I have tried to reinstall the product , but that did not help Thanks Sumeet **I'm moving this thread to the AS forum. Take a look at the Event Log for more details on why the service won't start. Cheers, Dan ...Show All
SQL Server replmerg.exe
Hello All, I am having problems with my merge replication job. I have recently upgraded sql server on of my test server from 2000 to 2005. Ever since I couldn't get this job to run. I keep getting the following error. ------------------------------------------------------------------------------------------- Date 11/30/2005 2:57:00 PM Log Job History (TEST_Merge_Sync) Step ID 6 Server TEST Job Name TEST_Merge_Sync Step Name &n ...Show All
Smart Device Development 'C' device development using VS2003.
Is it possible to write 'roll your own' smart device software using just a 'C' Main program instead of a C++ with VS2003 Thanks, &nbs ...Show All
Visual Basic toolbox items greyed-out
I have just installed VS 2005, and I am trying to add dateTime Picker to the form, but this item is greyed out. How do you activate greyed-out items in a toolbox tab Thank You, Kamal I think this is a bug in VS2005. In my case, I fix this by opening the toolbox, right-clicking somewhere on its surface and un-checking 'Show All'. I think there is some broken logic in the toolbox tool strip wherein if some of the objects are to be disabled, all of them inavertantly become disabled. Regards. ...Show All
Visual C# Validating integers in a textbox
Is there a smart way of validating that a user has typed a integer in a textbox. I dont like the exception way by doing a int test = int.Parse(textbox.Text). Or is this a ok way of validating integer input into a textbox component. Thx, Jim private void searchText_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar != 8) { if (char.IsNumber(e.KeyChar) == false) { e.Handled = true; } } I allow the backspace keypress by checking for character 8. You can easily modify this code to suit your needs ...Show All
Visual Studio Express Editions VC++
Why I can not add a function or a variable in class. I recommend reading the sticky post on how to ask questions. You should choose a subject that means something. I can't imagine why you can't add functions or variables. Given that you do this via the text editor, perhaps you need to read a book on C++ ...Show All
Visual C# Future C# string optimization directions
This is a topic of academic interest to me. Are there any plans to optimize code patterns such as: string results = ...; bool foundSomething = results.ToLower().Contains( "something" ) ) Here, I'm making a case-insensitive search and it seems that ToLower() is an unnecessary use of CPU cycles and memory accesses. One possible solution, which isn't very extensible, is for ToLower() to do a lazy-copy: it will first make a reference to the input string and add a "use-lower-case" bit. Contains() uses this bit to do the case-insensitive compare on the original string. Brian ...Show All
Software Development for Windows Vista How to pass parameters from one activity to another?
Hi, I am new to WWF. I am trying to create an Submit Request --> Approve/Reject Request workflow of type Sequential Workflow. I have an EventDrivenActivity in which there are 2 activities HandleExternalEvent that waits for user's approval and a CallExternalMethodActivity called ApproveRequest that will update the database. Here, I have created an event handler and defined properties like [Serializable] public class UpdateRequestArgs : ExternalDataEventArgs { private string _updatedBy; private string _status; public UpdateRequestArgs(Guid InstanceID, string updatedBy, string status) : base(InstanceID) ...Show All
Visual Studio Team System Undoing a changeset?
How do you back out of a changeset I was experimenting with branches and merging and I made on a change on a branch when I intended the change for the trunk version. BTW, I can see this being a problem because the VS editor MDI tabs only give a filename (not directory) and so does the solution explorer. It would be nice if there were some visual cue to indicate that a solution you have loaded is not the "primary" version you work with but a branch instead. Brian and Buck - Thanks for the feedback on the feedback :) I hear ya on it being V1 - and we all know there ain't no V2 unl ...Show All
Visual Basic retrieve and parse HTML data
Hi in VB.NET 2005, what is the best way to retrieve and parse HTML data from a URL, a bit like a search engine crawler I am building an app, where I need to parse a website, and collate data from it (the website uses some tags that I could pull out to get the appropriate bits of data). I want to be able to do this in a thread, and just update a DB with the data, and give the client app a status update of the progress. Any ideas/samples/links that you can point out to me that you might know of Thanks Chris Ok. Please know I'm not the worlds greatest parser. I just "do what I do" but rather enjoy it. Mo ...Show All
