BimpnBerry's Q&A profile
Visual Studio Express Editions No symbols loaded, required BGL file errors after program execution
I downloaded Visual C++ 2005 Express today and followed the instructions to install and use the Microsoft Platform SDK. No problems so far. I can generate, build and execute a Win32 application without any problems. However, after the application exits, I get the following errors in the Output window. I really have no clue what is going wrong here. The same thing happens when I build and run an other simple W32 application that just prints a single line of text to the screen, so it's not the project itself I guess. Anyone able to shed a light on this TIA, Ben 'tosti.exe': Loaded 'D:\Ben\Visual Studio 2005\Projects\Hello World\debug\t ...Show All
Visual Studio Team System What If Your Expected Result Is a Runtime Error?
Suppose you have a method that accepts two numbers and returns a value equal to the first number divided by the second number. If the second number is zero, you would expect a “divide by zero” error. How do you program for that in a database driven test script if the expected value column is defined as a numeric In other words, you expect a row of test data to generate a runtime error, but you cannot put that in the expected results field. Thanks. You have two options, IMO. You can break that case out into it's own test method, or you can customize your ...Show All
Visual C# byte to integer conversion - client server programming
hello... I have written a client in java and a server in C#... when i write those programes in my computer, opening same port and listening to same IP...everything works fine. But when I move my server to another computer(also running win XP pro), at one point of the communication, i need to make multiple readings from server on integer value sent by client. The way i did it is by converting the integer into 4 bytes BYTE, and send it over, at server I convert them from BYTE into integer again. most of the time it will fails reading or converting the int. Those integers will be read in as an unreasonable large value or unreason ...Show All
Visual Basic [RESOLVED] Restrict '\' character in textbox
Hi everybody, How do restrict entering these characters <>\"%';()& and telling user these caharcters are not allowed to be enter in the textbox field using RegularExpression Validator I put in the Validation Expression property [^<>\"'%;()&]. It restrict every character execpt 0 to 9. How to fixed this I used [^<>\"'%;()&]+ in validation Expression property of Regular Expression Validator Control. All are working except when entering the character \, which suppose to restrict it. How to restrict '\' character Thanks. den2005 Try doubling the \ so that the ex ...Show All
Windows Forms Typed Dataset filter count
Hi all, I am filtering a dataset and want to get the count of the filtered result set. Here is what I have tried: string s = GetFilterString (); iNVENTORYTableAdapter . FillByDate ( carol_geDataSet . INVENTORY , EditDate ); iNVENTORYBindingSource . Filter = s ; int i = 0; DataRow [] t = carol_geDataSet . INVENTORY . Select (); i = t . Length ; lblCount . Text = i . ToString (); I get the count of the total dataset - not the count of the filtered set. What am I doing wrong. Marv Found the problem. I was computing a column when I loade ...Show All
Windows Forms Halting and Debugging thread?
I have three data processing routines which I want to run in threads so that they don’t clog up the UI. How can I halt execution of thread until prior thread completes successfully. Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click 'Link tables. 'Spin off a new thread. t1 = New Th ...Show All
Visual Studio Team System Related Work Item
Is there a way to change that title created by Team Explorer when we add a related Work Item "Related to work item XX". I was planning to use the Work Item Title to create some kind of hierarchy for requirements (with column ordering funcion) . Ex.: XX - Father Requirement XX - Father Requirement: Son req 1 XX - Father Requirement: Son req 2 XX - Father Requirement: Son req 2: Son req 2.1 XX - Father Requirement: Son req 2: Son req 2.2 XX - Father Requirement: Son req 3 . . . Is that possible I mean, automate this process by defining this titles automatically Do I have another alternative do create these hierarchies between workitems ( ...Show All
SQL Server MySQL function equivalent
Hi, In MySQL, from_unixtime(lonvalue) returns the date format in 'YYYY-MM-DD HH:MM:SS'. Is there any equivalent available in SQL Server, to view the date in man readable format, when the input is an long value in milliseconds. Eg : SELECT FROM_UNIXTIME(875996580); Thanks, Smitha isnt 'from_unixtime(longvalue)' return a date that is longvalue seconds from 1/1/1970 not milleseconds select dateadd(s, 875996580, '1/1/1970') yields: 1997-10-04 20:23:00.000 ...Show All
Smart Device Development Out Of Memory,argument Exception in .net CF 1.0
Hi, Can anyone pls guide me how to handle the outof memory exception, argument exception my code is throwing The following code takes GPS latitude and longitude coordinates as arguments, displays the map returned from Mappoint webservice in a picturebox control and is called repeatedly until there were no latitude and longitude coordinates. i. e the picturebox control is refreshed with new map (as per the new gps coordinates). I tried GC.collect but no use.. I also didnt get why my application is throwing argument exception too. Pls guide me, thanks in advance, //Here is the code //I am using visualstudio.n ...Show All
Windows Forms BindingNavigator Inheriting Extending
I wanted to use the binding navigator with a few more buttons (print, save, etc.) I would also like to reuse it in a few forms. Rather than adding the buttons and code everytime, I thought to create my own control by inheriting/extending the BindingNavigator. The problem I am having is I can't get my buttons inserted in the order I want. It appears that the default navigation buttons and stuff aren't created until design time. I can't find an event or some technique to insert my buttons after the default buttons are created. Any ideas public partial class BindingNavigatorEx : BindingNavigator   ...Show All
Visual C++ _CRT_SECURE_NO_DEPRECATE has no effect
MSDN clearly states that if you define _CRT_SECURE_NO_DEPRECATE it "will disable deprecation warnings". I tried adding _CRT_SECURE_NO_DEPRECATE to the Preprocessor Definitions and #define _CRT_SECURE_NO_DEPRECATE to the code. In both cases I still get a C4996 warning from every single strcpy call. The only way to disable the warning, as far as I can tell, is to use #pragma warning (disable:4996) or add the warning to the C/C++ settings (Advanced > Disable Specific Warnings). But this will disable all deprecated warnings and I only want to disable insecure CRT warnings (str... functions). Is the MSDN documentation false or am I ...Show All
Visual Studio Team System help me!error 32000
Visual Studio Team System a lot question about web test
hi there My name is Jenny I from Loja Ecuador. Universidad Tecnica Particular de Loja. Currently I work in my tessis project, where analice the visual studio 2005 tester team for QA team of software development of my university , and I have a lot problem: 1.- in the script of my web site don't up the pop-up and in the script dont register this step. and don't complete the secuence 2.- in my web site have a lot option and I don't know who make a select this option. 3.- in the script put wrong data buy the test is ok and add validation rules and extration rules but don't work. 3.-I need one reports for the web test but only hav ...Show All
Visual C++ Simple conversion
Hi! I had to convert a string which contains a double value followed by other information. I know the starting point of the value within the string but not the length/end of the number. The VC++ Express 2005 documentation tells me that System::Convert::ToDouble would be the equivalent to wcstod. But that's not true. wcstod gives me the last sucessfully converted string character, ToDouble doesn't do this. I had a long search in the library documentation but I didn't find any .NET function which is able to convert/parse a string to a double number AND gives me additional information about where the number-conversion stopped within t ...Show All
Windows Forms Refreshing DataGridView when I close Detail Form
I'm a newbie and I'm trying to use VB.NET 2005 beta 2. This is my problem: I have 2 forms, the first form contains a datagridview bound to a table. When I double click on a record, I open another form (detail form) bound to the same table where I can modify the record I selected. Everything works fine. The problem is: when I save data and close the detail form, I want to refresh the datagridview in the first form so that I can see the modified data. Actually the only way I succeeded to do that is using again the Fill method of the tableadapter but I hope there is a better solution. Thanks Stefano Joe: I built a dual form app that ...Show All
