Le Saint's Q&A profile
SQL Server Licensing sql express for web hosting providers
For the second time in as many months I've been asked the question. What is the license requirement for me, the service provider, for offering my clients the ability to use SQL Server Express I understand the license to say that as long as I'm registered (no cost) there is no further licensing needed in order to offer this to my clients. Could someone clarify this for me If I'm incorrect I'd appreciate the right answer. Thank you! More specifically this. If I understand this correctly it does not mean I can't give my customers access to create and operate databases, but I cannot rent out the actual software. 4. Scope of License. The software is licensed, not sold. This agreemen ...Show All
SQL Server ---Problem of realization replication through WEB---
Hello There is a following mistake at replication through WEB A security error occurred I try to go through IE which user has specified in the master of creation of the subscriber, in a diagnostic mode https://Servak/Replication/replisapi.dll diag And all works, all certificates fulfil correctly who did not collide{face} in what business WHERE TO DIG The name of the server on the certificate and the one you are using in the URL do not match. Hence the error. It could also be that the the certificate is issued to machine.domain and you are using only machine in the URL. Please use the domain name and try again. Match up the names on both and retry. Let me know if you continue to ...Show All
Windows Live Developer Forums Is there any way to fill a polyline?
Does anybody have any ideas You have to make sure the points are in order. otherwise the polygon shape will morph, only works in IE. result is an array of points function MapTerritoryArea_callback(result) { var i = 0; var locs = new Array(); var mylocs = result.Locations var x = 0; var y = 0; for (i = 0;i <= mylocs.length - 1;i++) { var ll = mylocs ; var loc = new VELatLong(ll.Latitude, ll.Longitude); locs.push(loc); x = x + ll.Latitude; y = y + ll.Longitude; x = x / (i); y = y / (i); var loc = new VELatLong(x,y); var col = result.Color; var pol = new VEPolygon(result.Id, locs); polygonID++; pol.SetOutlineW ...Show All
.NET Development Failed to create an IPC Port: Access is denied.
I have a service that registers a remoting IPC channel on startup and quite often I will get this error when the service is stopped and then restarted. It doesn't do it all the time but enough to be an annoyance and when the service is stopped I do unregister the channel. Anyone else experience this Thanks!! The message is: Failed to create an IPC Port: Access is denied. I originally received this for insufficient rights, where I corrected this by using a hashtable and adding a property with the 'users' group to it (unsecure). However, after finally determining that the Pipe was not being freed (using Process Explorer by SysInternals), I have put it down to the channel not closing the handle to t ...Show All
Windows Forms MSI run from VS setup.exe is not themed
We are using the the Visual Studio 2005 bootstrapper to create a setup.exe that will install the .NET Framework 2.0 before installing our application. It works fine, except that the dialogs from our MSI do not display buttons or progress bars using the selected Windows XP theme. Instead, they appear with the Windows 95/98 look. I've experienced this problem using MSI's created with WiX and with VS2005. This isn't a huge deal, but I'd like to fix it if possible. Is this a bug, or is there some setting I need to add/edit Thanks. Sorry for my late reply, it's been rather hectic the past ten days. I thought this was probably just something I'd have to live with. It just seemed wierd that the problem only appe ...Show All
Game Technologies: DirectX, XNA, XACT, etc. What constitutes "Commercial"?
What if I want to develop an application that I do not intend to distribute and sell, but only use internally as an integral part of some business model, such as in a CyberCafe / LAN party. If I'm a business consultant who develops a Team-Building game for corporate events that are based on my Team-Building Intellectual Property, is it considered "Commercial Use" if I'm using the Xbox 360 as a turnkey platform to run this on For example, perhaps I break up employees into small groups of four to team up and participate in a game and I need to use 10 Xboxes simultaneously for a group of 40 people. You can see the advantage of using 360s instead of PCs for the convenience of setup here, especially for a travelling roadshow. So ...Show All
SQL Server Navigating From Graphs
Hello Is it possible to navigate by clicking on a graph to another report. If so how Thanks Inder Open the Chart Properties dialog box, go to the Data tab, and edit the data point properties. This opens a new dialog box. On the Action tab, select Jump to report and specify the target report as well as drillthrough parameter value expressions. -- Robert ...Show All
Windows Forms binding datagrid column
I have a standard orders/orderdetails setup. The datagrids ItemID is set to a combobox which is populated with the product table data. What I want to do is somehow bind this so when a user selects an item from the combobox the correct price is shown in the datagrid price column. Thanks for the help. Hi,Cammyr You can do in this way, I write the following sample for your information: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WindowsApplication1 { public partial class Form22 : Form &nb ...Show All
Visual Basic Hide/Show Certain Text Fields in a form
I am using software that scripts with VB .NET and I am trying to have a textbox hidden unless a combo box above it has "other" selected. So the user will select something from the combo box and if it is "other" then I want a certain textbox to become visible to type information into. If they pick something other than "other" then I want the textbox to remain hidden. Thanks! Well, you would put the code on the selectedindexchanged event. so, in your Design View, click on the combobox, then in the properties, select the events button (the one that looks like a lightning symbol) somewhere in there, there will be a property called something like "selectedindexchanged" - just ...Show All
Visual Studio Team System Error: The server version and database compatibility level of deploy target is not supported.
Hi, Yesterday I changed a script in my database project. It was something really simple, like changing the default value of a column. Suddenly my project doesn't build anymore and gives the following error: "The server version and database compatibility level of deploy target is not supported." The project version is set to SQL Server 2000. When I change to SQL Server 2005 I get a warning, but I can still build: "Warning TSD250: The column [SomeColumn] on table [dbo].[SomeTable] is being truncated. There may be loss of data." This column is of type ntext. Any ideas what might cause this BTW, I'm working with CTP7. Thanks, Jeffry You're not changing the build target on th ...Show All
Software Development for Windows Vista previewing Video From Capture Devices on a network
Hello, i want to preview video from a camera via a network ( an analog camera and capture card) with DirectShow Please help me or give some references, actually some quick reference (I don't have enought time) Thank... Hi, Some time ago I have made an application which uses DirectShow to preview, capture and stream over a network video from a capture device. If you want to see the demo or get some info about video streaming write me an email: bartheq at poczta dot onet dot pl. Best Regards, Bartek Wlodarczyk ...Show All
Visual Basic Sum on a listview
I've the following code to populate a listview with records from my database: Private Sub preencherListView() Dim lstItem As ListViewItem Call conexao() sSQL = "SELECT * FROM [TempoTotalFamiliaQuery] WHERE (Data LIKE'" & dtpDataRelatorio.Text & "')" da = New OleDb.OleDbDataAdapter(sSQL, con) da.Fill(ds, "TempoTotalFamiliaQuery") For i As Integer = 0 To ds.Tables("TempoTotalFamiliaQuery").Rows.Count - 1 lstItem = New ListViewItem() lstItem.Text = (ds.Tables("TempoTotalFamiliaQuery").Rows(i).Item(0)) lstItem.SubItems.Add(ds.Tables("TempoTotalFamiliaQuery").Rows(i).Item(1)) lstFamilias.Items.Add(lstItem) Next l ...Show All
Windows Forms Validation for E-mail address
================================================================ Development Environment: VS2005 Language: VB.NET ================================================================ What are the best ways to check an entry to see if it is an e-mail address The masked textbox doesn't appear to have an option for email and the custom settings I have applied limit the user to only a set amount of characters before the "@" sign and "." In the background I currently create a variable to hold the original entry value, then I remove the "@", finally I compare that variable to the updated field. If it matches, then it goes on. Well, as many of you can tell, there are easy ways to get around this validation. Can someone ...Show All
Windows Forms Stop Cut/Copy in Text Box
In my application I have a text box to store & display password data. Now i want to stop cut or copy that data from that textbox. How can I stop cut/copy of data from that textbox boban.s wrote: Context menu in textbox or control like that is from Windows and you can't remove it. You can hide that menu using TextBox.ContextMenu = new ContextMenu(); But this will only Hide the menu but will not keep away user from copying and pasting from it! boban.s wrote: One way is by Disabling text box, make it readonly, or if you don't wan't that, then you should go the harder way. A disable control cant be modified so you cant set text on a disabled control I think! but making it readonly is fine (But ...Show All
.NET Development PublisherPolicy redirecting multiple versions, ambiguity in documentation
MSDN documentation is ambiguous w.r.t. redirecting multiple verions. I will explain the ambiguity and then pose my question: A. The assembly name created for the policy must be named policy.<Major>.<Minor>.MyAssembly.dll. Here <Major>.<Minor> is the Major.Minor version number of the version of MyAssembly that should be redirected to some newer version. So policy.2.14.MyAssembly.dll contains the redirect for clients binding to version 2.14.3 and redirects them to some other version. B. Multiple versions can be redirected in the <bindingRedirect> by specifying oldversion="2.14.3.0-2.16.0.0". This would redirect any client bound to any version between 2.14.3.0 and 2.16.0.0. The ambiguity introd ...Show All
