ansarali's Q&A profile
SQL Server Error evaluating expression
Greetings my SQL friends. Why do I get an error message saying that the following expression won't evaluate "Select * from Price_grp where price_grp_id >= " + (dt_str, 10, 1252) @[User::MIN_PRICE_GRP_ID] + " and " + (dt_str, 10, 1252) @[User::MIN_PRICE_GRP_ID] + " > 0" Thanks for your help in advance. Hi friends, I have solved the problem now. I didn't change the code but I got it to ...Show All
Windows Forms Caller Phone Number
Hi all I need help if any one can tell my how I can get the caller number from the modem if a call came to the modem and show me in the textbox the phone number. Be note: That my landline has the caller number display ser ...Show All
Visual C# Socket Question
I followed the MSDN example for Asynchronus Sockets. It seems to be working, but I'm having a few issues on how it works. Basically I have two Flash clients that connect to the socket server. I want to be able to send a message from one Flash client to the other. I have been successful in wrtining to the socket and returning the data to the client that sent the message. How do I get the other client to recieve data that is sent to the socket. Is ...Show All
Windows Forms Where is Sqlconn getting initialized
Can anyone please let me know where and when is SqlConn connection object getting initialized. Thanks in advance ...Show All
Visual Studio Team System Unit Tests and Nightly Build
Using VSTS for Developers. I have a solution with a test project for my unit tests. When I create a new build type and select the metadata file, (".vsmdi") the "Test list to run:" list is always empty. The only mention that I can find about test list says to create them within test manager. But I do not see a test manager tool within VSTS for Developers. Does anyone have some insight into getting my unit tests to run during the nightly build T ...Show All
Visual Basic immed?
In vb 6 I could use the immedaite window to do something like form3.DataGridView1.Width to see the width of a column... then form3.DataGridView1.Width = 800 to set it and see if it looks right.. then I'd write a procedure to set up data grid appearance. How do I do that in vb.net Getting furstrated... Brian ok.. when I do that I get "unable to evaluate the expression" ...Show All
Windows Forms Weird Autocomplete Combobox Error
Okay, this is a really weird error in my windows form. I have included my test vb class which is a test app. Load it up into Visual Studio.Net and run the app. What is does is populate a combo box with some test data and then it implements some autocomplete code so that as the user types is autocompletes the selection. Now here's the weird scenario that breaks the form: - User clicks combo arrow to drop down list of items - Us ...Show All
Visual C# c# colordialog custom colors save
Hello, Is there some way to save and restore the custom colors in a colorDialog in a Windows Forms project When I look in the ApplicationSettings's PropertyBinding pop-up for the colorDialog, those custom colors are not there. Thanks. The ColorDialog class exposes a property called CustomColors which is an array of integers that represent the colors in question in an ARGB format. Worst case you could save these values manua ...Show All
Windows Forms How to SET the client rectangle of a windows Form?
In a windows form,We can get "ClientRectangle" property, But how to set it Help me! Hello everybody, well, I did following trick: >>>>>>>>>>>>snip>>>>>>>>>>>>>>>>>>> /// <summary> /// Gets the internal spacing, in pixels, of the contents ...Show All
Visual C++ Problem calling JavaScript from C++
Actually, all examples where you use a UI button for a JavaScript call work; but when a call is done without any button being pressed, there's an error! The program does a JavaScript call when window loading is complete: DWORD WINAPI CallJScriptLater( LPVOID lpParam ) { CHtmlCtrl* a = (CHtmlCtrl*) lpParam; CStringArray strArray; strArray.Add("Picture@500"); strArra ...Show All
Visual Basic How to use Textbox to serch a database & dislaying in datagrid
Hi everyone, my roblem is that, I want to use the textbox to type using it textchange event when one type it search the database for the matching data as it found each data it display then in a datagrid and the pointer point to the record. any help our surgestion will do thanks all You may want to think about what your trying to do - putting it in a text changed event causes the filter to be carried out every time the textbox ...Show All
Smart Device Development BeforeCollapse not available
Hi, I'm writing an application for Pocket PC, using Visual Studio 2005. On the web I found code to implement a folderbrowser for my application. Now I would like to add some things and therefore I need to put some code in the BeforeCollapse method. In the msdn this method is mentioned as a part of TreeView. BeforeCollapse should be supported in compact framework 2.0. When I write some code to be executed in this method, I get errors which tell m ...Show All
Visual Studio Team System Can a build in VSTS been deleted?
In VSTS, under Team Explorer, I build some builds. And now I want to delete them. Is there any method to make this happen Thanks a lot! Leon Build types you create in Team Explorer are stored in Source Control folder. Explore the Project-level Source Control folder and you will see subfolder called "TeamBuildTypes", in which you can find the build type which have recently created. If you want to delete the build type, ...Show All
Visual Studio Express Editions how do you find the friendly name of an application???
Hey guys, all new to this VB stuff and cant seem to find this anywhere else... I need to find a way to shut down my applications within a time limit... i got the timer and the time stuff to work, and i looked at all the other ppl tellin about how to shutdown an application, now my only problem is that when i create that code snippet for closing the application... For Each proc As Process In Process.GetProcessesByName( "Counter-Strike Sour ...Show All
Visual Studio Problems loading package
While probing the DSL tools and figuring out how to use them I came accross an issue that I need to get resolved. The issue has to do with loading the package (and is something I most likely caused by using the same combination of CompanyName.ProjectName on all my samples). Problem is that when I try to debug my DSL the debugger prompts me with the message 'Package Load Failure'. Inside the message are some details regarding my packagename (C ...Show All
