deen's Q&A profile
Windows Live Developer Forums Legal issues with Google AND MS?
Does anybody know if there are any legal issues of using both the Google Maps API and Live Local N,W,S,E map view API in a website Neither of the Terms of Use for Google Maps and MS Virtual Earth mention anything about using them along side one another; as far as I can tell. But don't take my word for it; I am not able to offer legal advise. You should read over the Terms of Use for both for yourself to draw your own conclusion. MS Virtual Earth terms of use: http://www.microsoft.com/virtualearth/control/terms.mspx Google Maps terms of use: http://www.google.com/apis/maps/terms.html ...Show All
Visual Studio Team System Extracting common parts of build proj's to controllable .targets
I have team project with a couple of build types in it. I am using AssemblyInfoTask to update assembly version and put updated AssemblyInfo.cs'es back under control. So now in every build type project (TFSBuild.proj) I have to copy this AssemblyInfoTask functionality (and also some custom deployment stuff like rar'ing build results before drop, etc). This common for all build types functionality can be easily extracted to custom .targets file and imported to each .proj project. But I havent see any suitable place to put this .targets file. I see following solution (not working and not working for me :) Placing .targets to the $(TeamProject)\TeamBuildTypes directory. This is not working because this folder is not being checke ...Show All
Visual Studio Tools for Office Invoke Word Document from C#
I've created a Word Document project that allows me to find and replace a set of values within the document, what i would like todo I call this from something like a winform Button event and pass it a DataSet as a parameter so that i can find and replace with the correct data. Is this possible or am i only limited to Word Documents with C# code and word plugins Any help would be really appreciated See if this discussion thread helps :-) http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=462998&SiteID=1 ...Show All
SQL Server Is there a way to 'peek' the items in a queue?
... or some other way to prolong their presence on the queue. The scenario I'm dealing with requires me to receive a batch of messages and fire them off (as a batch) to a legacy Unix application via TCP. What I need to do is keep those messages on the queue (or at least somewhere else in the database) until I know for certain that the legacy app has received them. Comments Remus: >> I'm not sure I understand what you mean by 'events that signal the closing of a conversation'. EndDialog is a message rather than an event -- in other words, if there are already 50 messages in the queue when the sender ends the dialog, the receiver can't really find this out until it's read all the prece ...Show All
Software Development for Windows Vista Workflows and returning data
I have built a workflow which in the end gets an XML document. That document holds the information that has to be used by the presentation layer. The workflow is a part of a Workflow Library. How can I send that information to the presentation layer, I am not able to access any variable declared in the workflow Thanks in advance, Marko Vuksanovic. just after instance.Start(), add : waitHandle.WaitOne(); and set the waitHandle as a field of your form ; To make the code safer, I would have done everything in InitializeWorkflow() (including starting the instance) ; and only the dataset would have been a data member. Serge ...Show All
Windows Forms Resources.resx
I can't seem to find any information on how to use the Resources.resx file. I basically want to be able to store path data and connection strings in the file so that I can change them easily when I run my app on the live system, I thought the Resources.resx file would be my best option for this. Does anyone have any info on how to use this with C# Thanks, Russ I have just finished the development of a free tool that I call ResEx , composite, translation friendly resource editor for .NET. It is a free tool and I intend to keep it free, containing all current features. A small charge may be applied for some features I may introduce later, just to help me keep supporting and enhancing the project. I ...Show All
SQL Server Memory issues, SSIS package out of memory Help
I am running Visual Studio 2005. I have an SSIS Package which is consuming a huge amount of memory. During the execution of the package the memory keeps increasing. Until finally i get an Out of Memory exception. I have run this package using dtexec, and in the BIDS. No difference. I do have some script components and have added some code to get the assemblies in the current appdomain. I do see that one particular assembly is increasing on every loop. VBAssembly every time it hits the script component is increasing by 6, and along with it the memory is climbing. What is this VBAssembly being used for is there an update to SQL Server Integration Services that I need Thanks! Aaron B. That's interesting. ...Show All
Windows Forms DataGridView -=- Keeping references on rows
I'm not an expert in C#, and neither with the DataGirdView. But I would like to keep a reference on an DataGridViewRow, as there is no way of referencing it with a label, as it is possible with columns. Since rows may be sorted, it is useless to keep their indexes, as they will eventually change. Sure, there is a Tag properties, that I could use, to recover the row I'm looking for. But if I could simply keep a reference on an added row, it you be quite simpler. As an exemple, I have an object say: class Symbol, and this object maintain some infos that is to be displayed on a row in the DataGridView. When something changes, within this object, I want the row to reflect the changes. So, I thought keeping a reference an that row, would be ...Show All
Smart Device Development Problems with Bluetooth Connection
Hello! I have a smartphone Qtek 8300 and Bluetooth pulse oximeter Nonin 4100 ( http://nonin.com/products/oem/4100.asp ). I'm a novice in Communication programming. My task is to write application that connects to this pulse oximeter and recieves some data. I have specifications of Nonin 4100 ( http://www.nonin.com/documents/4100%20Specifications.pdf ). As I read in this document I must use SerialPort for working with this pulse oximeter. But some people advice me to use WinSock but I don't know C++. I have some code on C++ and I don't know what can I do... :( BYTE buf[125]; if( (buf[0]!=1)||(buf[5]!=1)||(buf [10]!=1)||(buf[110]!=1)||(buf [115]!=1)||(buf[120]!=1) ) { // error return; } TUint16 HR = buf[3]; TU ...Show All
Software Development for Windows Vista Is there a "standard place" to store writeable not plublic shared files to please UAC?
Our program has two files must be writeable (a database file and a config file) which are shared by all dedicated users of the program on a single system. The automatic redirection to a single users directory path is not helpfull in that case. Before changing our program: Is there a standard place on Vista to store writeable not public shared files (We whant also to pass Vista Logo test...) Thanks in advance Hi Lela, sorry, i did not got an answer nor found a acceptable solution on our own... It seems to me we are doing the very old "Main fault of IT: Dividing function and data" again - but only on a higher level now. To stay solution oriented: Where would you place a Jet database file and a config file ...Show All
.NET Development TcpListener getting 10042 error code
When creating a TcpListener object I am getting error code 10042. Below is the code I am using. IPHostEntry localMachineInfo = Dns .GetHostEntry( Dns .GetHostName()); IPEndPoint localEP = new IPEndPoint(localMachineInfo.AddressList[0], System.Convert.ToInt32(tbPort.Text)); TcpListener listener = new TcpListener(localEP); listener.Start(); When debugging this code I notice that right after listener object is created I see error code 10042 (An unknown, invalid, or unsupported option or level was specified in a getsockopt or setsockopt call). am I missing a configuration setup The Socket Error Code 10042 says : Bad Protocol Option. In my point of view using TcpListener should not raise such type of excepti ...Show All
SQL Server Trigger question
I would like to know how many records there are in the INSERTED & DELETED tables at once when a trigger fires. I'm looking at a trigger that checks for COUNT(*) in both tables (INSERTED & DELETED) and will perform a different T-SQL statements base on COUNT(*) being 1 or greater than 1. I always thought that triggers fired for every record in a INSERT, UPDATE, DELETE transaction. If so, there should not be more than one record in neither table (INSERTED & DELETED). That much depends on what you want to achive within the trigger you will have to know that the Inserted / deleted tables exist in the appropiate DML operations. They are joinable like any other table from within the trigger. H ...Show All
Windows Forms interacting text boxes & events question
hello: I have a user form in vb.net 2.0. When a user enters a price in one of 10 price fields, their corresponding percent fields and dollar fields(which are read only fields) are computed based upon the change in price. These computations involve a cost and a quantity field also on the form. In addition when either the cost or quantity fields are changed, all read only fields of the 10 price fields must change since these computed fields involve cost and quantity. So I have an event each time a price is changed to compute that price's read only fields, and I have an event to change the read only fields of ALL the prices if the cost or quantity fields are changed. I was thinking of putting these in the validating event routines ...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
.NET Development oracle data adapter wizard error
Hi everyone, I am developing a database application in c#.net. I am using oracle backend. while configuring the dataadapter it is unable to generate update and delete statements. the error given is "Generated update data statments. There were errors configuring the data adapter." my table contains a primary key. the query builder was not showing the list of tables and so i typed my sql select statement while configuring. thanks in advance... regds, Beulah ...Show All
