Alberto Ferreira's Q&A profile
SQL Server SQL Update Query
The scenario: I have two tables in two dbs on the same 2000 sp3a SQL server. My LaborEmployee table in db1 has HourlyRate, grade & step fields. My GradeStep table in db2 has grade, step & payrate fields. When I run; Use db1 SELECT LaborEmployee.Hourly, LaborEmployee.grade, LaborEmployee.step, LaborEmployee.EmployeeName, db2..gradestep.payrate FROM LaborEmployee, db2..gradestep where LaborEmployee.Hourly = db2..gradestep.payrate ...Show All
Windows Forms How did they do that?
I realize that the code for the Terrarium client will likely never be released, but does anyone have any insight as to how they made the UI look so neat For example, is there an easy way to make my buttons have that cool style& ...Show All
Visual Studio 2008 (Pre-release) Suggestion for WPF - Navigation Transform
Hi All I've been checking out the January CTP, and the Sells/Griffiths book, and I'm really excited about WPF...I'm experimenting with translating a Windows Forms app and a different ASP.NET app into WPF, and it's looking good for both! As far as I can see from my explorations, the navigation stuff in WPF just does a straight replacement of the target page in the application. I would love to see transforms between the pages - eg pages disp ...Show All
Visual J# LiveConnect and JSObject
Do we have full Live Connect and JSObject capability in J# 2.0 Nothing has changed right Also, are there any notable performance improvements in Live Connect functionality in J# over MVM thanks, Bora Ertung Hi Bora, Yes, Live Connect and JSObject is supported. Note that JBC is now integrated in Visual J# 2005. There are no specific performance improvements though. Thanks, Varun [MSFT] ...Show All
Smart Device Development how to run media player programmatically on a smartphone
Dear All, i am executing System.diagnostics.Process.Start("xxx.wmv","") statement to run .wmv file on my smartphone emulator in visual studio.net 2005. It is giving some alert message,"Cannot play the file or the file format was not supported". But it succesfully runs on emulator when i copied to shared folder. I just could not run using System.diagnostics.Process.Start("xxx.wmv","") help me , Thanx hai Eugene, When i try, "System. ...Show All
.NET Development Getting a picture by web service
Hi all, I'm building a web service that gets a pupile details from a database by giving his ID number. I have no problem with the personal details. Now I'm dealing with the pupile picture. 1. How can I deal with the pictures in the database. 2. How to get them by the web service. 3. What is the format can I get the picture, can I get it as XML stream, and get it back. Please help me. and if you know a link for a web service tutorial that get a ...Show All
Visual Basic Automatically Force tableadaptor.fill command for access database
Im making a small app for internal use, that is based on an access database. It will be run on a terminal server with at most 3 people using it. They will probably want to use it at the same time. Does anyone know if it is possible to have a timer running in the program, that checks to see if the source database has changed (say the timer tick occurs every 60 seconds), and if it has, forces the table adaptors on the active form to run a fill ...Show All
Windows Forms ClickOnce Deployment And Browsers
Can ClickOnce application deployed using any browser. I have read somewhere it requires in 5.0 to install. but What about those clients that has Netscape, Firefox,Mozilla and opera. How will we install our application on those clients regards Sarika Is there any alternative available to run ClickOnce deployment on other browsers Like the following article says that a plug in for firefox is available http://blogs.msdn.com/saur ...Show All
SQL Server How to implement special text format in MSRS?
Our team need to implement the following text format in MSRS: 1. Text Wrap We need to wrap the text at the end of the line in these 3 ways. 1) HARDWRAP: Hardwrap of overflow text. 2) TRUNCATE: Truncates letters based on column width. 3) WORDWRAP: Wraps words to the next line. 2.Text capitalization We need to specify capitalization rules for the text in a column. 1) INITCAP: Capitalizes the initial letter of the text. 2) LOWERCA ...Show All
Visual Basic Buying Visual Basic 2005
Am I able to buy just VB 2005 or do I have to buy the Visual Studio suite Thanks in advance! I just looked, again. I didn't see anything in the way of a Standard edition. There hasn't been a pro edition since VB6 (So I'm told) So basically the answer is no. But you can still get just VB by way of an express version. http://msdn.microsoft.com/vstudio/express/vb/ And it's free and downloadable. Ran ...Show All
SQL Server Vista and SS Management Studio Install Problems
Hi, I'm running the Vista Beta 2 (x64) and am trying to install SSMS. This is more or less a clean Vista install (had VS Web Express and SQL Server Express installed but those have been uninstalled). The SSMS install comes up ok and I can enter my name and company. It chugs along for a while and then fails. This is what is in the event log: Product: Microsoft SQL Server Management Studio Express -- The installer has encountered an unexpect ...Show All
Visual Studio Team System CollectionAssert.AreEqual() always fails
I cannot get CollectionAssert.AreEqual() to pass, even though the collections (arrays) I'm passing in are equal. Here is some code to illustrate: Public Class Form1 Private Sub Button3_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles Button3.Click Dim a(0) As MyData Dim b(0) As MyData a(0) = New MyData a(0).MyField = 22 b(0) = New MyData b(0).MyField = 22 Microso ...Show All
Visual Studio 2008 (Pre-release) Is it a bug of opacity?
If I set the opacity of a form to be 0, I don't have a opacity form but a black one. Is it a bug of current wpf The current CTP build of WPF doesn't allow you to control the style (beyond the set of default Win32 form styles) or set the form's opacity. This is because your WPF application is being hosted in the legacy Win32 environment. I noticed this a while ago and posted a suggestion: http://lab.msdn.microsoft.com/productfeedb ...Show All
Visual Studio How to add custom control to Visual Studio 2005 Toolbox?
Hi all, I am working on a Windows Forms custom control now and I would like to place my control right on the Toolbox window after installation, however, this seems to be a problem now. I notice that EnvDTE and EnvDTE80 namespace and the DTE2 interface seem to provide customization of VS IDE environment, and I tried as follows: 1> Get a DTE2 instance by Activator; 2> Use DTE2.ToolWindows.ToolBox.ToolBoxTabs.Add to add a new tab; 3> ...Show All
.NET Development ADO.NET 2.0 and Sql Server 2000
Can I develop applications in .net 2.0 connecting to sql server 2000 and doing all the usual stuff Insert, update, delete, calling stored procedures, Fill DataSet and DataTables, .... I ask this because .NET 2.0 has some features very tied to sql server 2005... thanks! ...Show All
