Eduardo Sobrino's Q&A profile
Visual Basic What's wrong with this code?
I had this code that i am supposed to use for my current project...Using Crystal Report, I want to sort the record by entering the two dates (dtpFrom, dtpTo), the name of the company(FINAL2.COMPANY), the description(FINAL2.Description) Private Sub ConfigureCrystalReports() Dim mySelectFormula As String = "{FINAL2.Order_Date} >= #"" & dtpFrom & "#" & " and {FINAL2.Order_Date} <= #"" & dtpTo & "#"" & " {FINAL2.COMPANY} > Maxicare " _ & "AND Mid({FINAL2.Description}, 1, 1) = ""C"" " myCry ...Show All
Visual C# how to open a file implicitly when application invokes
hi, my intention : to open the image in the picture box in another application(image viewer ) automatically when ever user presses edit button. problem : i am getting the image viewer application running but i am not able to get the image running at the same time. could anyone pls help me in solving this i am running out of time..... regards praveen private void edit ToolStripButton_Click( object sender, EventArgs e) { IPLab. MainForm form1 = new IPLab. MainForm (); form1.Visible = true ; } all your code is doing is making a form visible Theres ...Show All
Visual C++ C++.NET to C++ 2005 Beta2, don't work!
Hi i'm an italian developer and until now i used VisualC++.Net 2003 I 'm trying Visual Studio 2005 Beta 2 and converting my solution there are errors all around! How can i convert a Sln in VS 2005 what should i do Errors like : c:\programmi\microsoft visual studio 8\vc\include\atlcomcli.h(300) : error C2299: 'ATL::CComPtr<T>::operator =' : behavior change: an explicit specialization cannot be a copy constructor or copy assignment operator Thanks. Here is a link that should help you in porting your code to VC2005. http://msdn2.microsoft.com/en-us/library/ms177253 Hope this helps! Thanks, Ayman ...Show All
Visual C# Some question about messagebox
1-How can I write more than one line in a messagebox For example I want to write "Hello" in the first line and "Goodbye" in the second line. And If I can't write more than one line in a messagebox what can I do 2-If I can write more than one line in a messagebox how can I write it right to left shakalama wrote: HI, thats because you has a conditional statment in the messageboxoptions if the form right to left make the messagebox right to left too ( : ) if you want it to be just right to left you can remove those conditions and make it like this MessageBoxOp ...Show All
Visual Studio 2008 (Pre-release) TextBox input validation
How can I validate input for my textboxes For example I have an application where I want to input several numbers in the textboxes. The primary validation constraint is that I want the user to be able to input only valid real numbers. Some of the textboxes should contain only positive real numbers. Also I want to be able to do comparisons between the different values (for example I have a minimum speed textbox, and maximum speed textbox, so there's one more rule here: min <= max). Also, if the user is currently editing a textbox, he should be able to cancel the modifications, by pressing escape. How can I do all these with Avalon/WPF Tha ...Show All
SQL Server SQL Server Mobile with Visual Studio 2003
I've recently noticed the availability of SQL Server Mobile, and would like to take advantage of some of the new features, however, I'm currently using Visual Studio 2003. The requirements state that Visual Studio 2005 is required, but I was wondering if anyone has had any success getting it to work with VS 2003 I hope that I can do this with VS 2003, but if VS 2005 will be required, I'd like to clear up a few issues before asking my workplace to fork out more money for the upgrade: What have your experiences been like in getting clients to upgrade from SQL Server CE to SQL Server Mobile I've seen some postings regarding p ...Show All
Visual Studio Team System Shipping Beta 2
There's been a rash of speculation as of late that Beta 2 has "slipped" to April [ Microsoft Visual Studio 2005 beta 2 delayed ]. As you can read in this post from the Developer Division Release Team [ In the Home Stretch... ], we still plan to ship Beta 2 by the end of March. That has been the plan-of-record for months. Because it takes time to move from shipped bits to downloadable bits , Beta 2 will probably be available for download during the first week or so of April. The Beta Experience is a campaign being run by the local Microsoft subsidiaries in EMEA. Expect to see Beta 2 released on MSDN and available for o ...Show All
Visual Basic Print control code
Iam creating a order form using vb 2005 express beta, Iam having trouble writing correct code to print button that will print form contents. Iam only able to print a blank page. Please any help would br great thanks, Bruni look at the powerpack http://msdn2.microsoft.com/en-us/vbasic/aa701261.aspx This may help in printing a form ...Show All
Software Development for Windows Vista Where is msxml.dll in Vista?
If I try and complile the following on Vista it complains that it can't find msxml.dll. #include <windows.h> #import <msxml.dll> int main(int, char*[]) { return 0; } Has msxml.dll been deprecated in Vista and should we now use msxml3.dll as our lowest common denominator Cheers, tom Hi yes, thanks for that. I could just use a more current version - but I was really looking for something from Microsoft in black-and-white that says "msxml.dll, not present in Vista". Do you know of such a beastie ...Show All
Smart Device Development smart divices projects on express editions
I'm student, I want to create smart device aplications but I can't buy a Standard version of VS 2005 . Is it possible to make those applications on VS 2005 express editions No, it's not possible, at least VS 2005 STD is required. Alternatively you could use free SDK and compile from command line: http://msdn2.microsoft.com/en-us/library/ms172492.aspx ...Show All
Software Development for Windows Vista Delay Activity in the StateMachineWorkflow
How dow we introduce the delay activity in the StateMachineWorkflow. when I do that along with EventDrivenActivity it gives the error saying only one can exist. How do I go about this Regards Define an event driven in the state, then put a delay in as the first item in the event driven. If you have another event that you are also waiting for, then add another eventdriven to the state and add your HandleExternalEvent activity as the first item. After the first event/delay in an event driven in the state, you cannot have another blocking activity (delay/event) during that set of actions. If you ...Show All
.NET Development ftp 502 error
I have an ftpclient that was written in .net 2.0 and it works fine for one ftp site, but not for another. I get 502 command not implemented when I try to login and download a file. I am afraid that this might be an issue with the ftp server, but I am able to ftp successfully using good old command line ftp inside a dos window. Are there any settings on the ftpwebrequest or ftpwebresponse that I could try changing to see if I can get this to work Thanks. I'll answer my own question in case anyone else runs across this problem. The ftp server in question was built-in to a small device and was very limited in ...Show All
Visual C++ CTabCtrl question!
I got MFC CTab control in the dialog. It is inserted using resource editor, and bunch of other controls are pasted onto it. In the OnInitDialog() function tab is extended like this: This notification is well documented: http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/tab/notifications/tcn_selchange.asp frame=true I directly see no problem.But why do you delete the last item. Just use SetItem and change the text of the last item and add a new one. ...Show All
Windows Forms How do we play a .wav file in .NET?
Hello All, In Win32 we used PlaySoundA. How do we do it here Many thanks. Regards, Clayton Yeah, creating a sound player control that utilizes DirectSound is probably best. VS 2005 has a sound player control, so this issue has been addressed - we just have to wait for the official release! Hey, don't forget you can always Beep()!... That's a soun ...Show All
.NET Development Need help in saving my Console program..
I made a Console Program .. But I dont know how to save it... I mean .. How can I save it , and that other people can use it too Thanks, Dor Dadush If you select the Project | Properties and the select the Publish tab. VS2005 will create a published project which will do an automatic installation project which you can distribute. The user clicks on the installation file and if the Framework is not installed, and if the user is connected to the net, the framework is automatically downloaded and and installed on their system before the installation continues. ...Show All
