rp1933's Q&A profile
Visual Studio Express Editions I need some help updating a Dataset when changes are made at the source
I'm trying to create an application that will have multiple users working off a table on a SQL server. Since multi users will be updating different records at any given moment, how can i get those changes and merge them into my current Dataset. I've been playing around with the GetChanges method and Acceptchanges but they just dont seem to be pulling over the changes and updating my Dataset. Maybe if someone could give me a sample of Code to use or try, anything is appreciated. Here is what I'm trying in my code but doesnt work. Try Me.AccuLogic_SQLDataSet.GetChanges() Me.AccuLogic_SQLDataSet.AcceptChanges() Me.Collect_Work_List_BackupTableAdapter.Update(Me.AccuLogic_SQLDataSet.Collect_Work_List_Backup) M ...Show All
SQL Server management studio express feature request
when i go to restore options, under "restore as" if i click the ellipses it takes me to browse starting from "my computer" it would make more sense for it to take you to start browsing from the same directory that is currently listed as the path for the file. why because 99% of the time i'm going to want to restore in the data folder that is originally specified, so when it forces me to browse all the way back into program files, then microsoft sql server , etc , etc its just wasting my time thanks Thanks for your feedback. Please log this request to http://connect.microsoft.com/SQLServer so that we could work on addressing this issue in upcoming releases. Thanks Sethu Sriniva ...Show All
SQL Server Need infos before installing SQL Express 2005 SP2
Hi, I noticed that SP2 was finally released. A few question before I dive in that install: - Must I uninstall anything before installing SP2 - Considering that fact that I keep a copy of each install programs on a disk in case of crash recovery, must I keep SP1 files as well as SP2 files or can I consider that SP2 is complete by itself, that it completely overwrite SP1 and so delete SP1 files and just keep SP2 files for backup - If I also have Compact Edition installed, is there any SP2 issued for it - Is there a place where I can sign in so I can receive some sort of email notice where an upgrade is available for download for SQL Server 2005 as well as for Visual Studio 2005 Thanks in advance, Stephane ...Show All
Visual Studio One Report - Two DataSources
Can I have on one report more than one DataSource I've the following code: con4.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & DbSource & ";" sSQL4 = "SELECT * FROM Observacoes WHERE [Data] LIKE '" & DataRelatorio & "'" da4 = New OleDb.OleDbDataAdapter(sSQL4, con4) ds4.Clear() da4.Fill(ds4, "Observacoes" ) relatorio.Subreports( "rptFichaProducaoColagemObservacoes.rpt" ).SetDataSource(ds4) But I need to filter the information from more than one table of my database. How can I do that Thanks, Joao Pinto http://senhorpires.blogspot.com/ Try t ...Show All
SQL Server RskeyMgmt utility
Hi All, I have a Requirement where I want to backup my ReportServer key evey night to a file. Not sure if there is already any utility available on the internet but when I went to createa simple utility I was stuck where I dont have a way to run the rskeymgmt command silently. Does anybody know of such a utility which can be scheduled on a nightly basis or alternatively is there a way where one can run the RsKeymgmt utility from the command prompt with out being prompted for the "Are you sure want to extract the key from the Report Server Yes (y)/ No (n)" Cheers, siaj OK ...Found something at least to automate the Response and do a silent backup. I put <\RESPONSE at the end of the RsK ...Show All
Windows Forms Chat program questions
This is probably a easy question but i need help. I am using C# and with a friend I am writing a chat program. Now in the program we have the message being sent to a server that then sends the message to a client and is displayed in a text box. The problem is that all the messages are put on the same line and what I want to do is have each message on a different line, if anyone has any ideas could you please help me. Thanks in advance Alister Gough If you are using TextBox then first set its MultiLine Proprty to true and then use this: txtSentChat.Text.AppendText("\n" + newMessage); for RichTextBox use the same code as for the TextBox. Best Regards, ...Show All
.NET Development Using string-compare in an xpath expression for XmlNode.SelectNodes
I have an XmlNode I want to query (actually data returned from SharePoint services' GetListCollection method). The top-level Node is 'Lists' and it Contains many 'List's, each 'List' has an attribute 'ID' which is a guid. I can’t be sure the cases of the two guids will match so I want t do a case insensitive match. Can anyone shed some light on how to do this Currently I am doing this: XmlNode listCollection =webservice.GetListCollection(); XmlDocument xmlDoc = new XmlDocument (); XmlNamespaceManager nsmgr = new XmlNamespaceManager (xmlDoc.NameTable); nsmgr.AddNamespace( "item" , "http://schemas.microsoft.com/sharepoint/soap/" ); nsmgr.AddNamespace( "ms&q ...Show All
Visual C# How to insert a paragraph?
I'm very new to VS.NET C#. I'm creating a simple app. to launch a flash tutorial. In the form, how do I insert a paragraphc explaining what this app. is going to be I tried the Lable control but it does not give me multi-line option. What do I need to use Thanks! multiline property is only available for the Textbox control. I've actually just tried to set a long piece of text on a Label control (with autosize = true) and it works, it does show the text in its full. I'm also using VS.NET pro 2005 This is what I did for my test on a label: this .theLabel.Text = " this is just a small label to start out with and now..." + Environment.NewLine + " this sentence ...Show All
Visual Basic Small questions (vb2005)
Can someone tell me how to do the following: Minimize all application apart from my own Hide the desktop icons Hide the start bar. indeed it does :-) however it was not clear - the password protection is usually done by the display properties of the screen saver I believe. Here is a link to a downloadable solution/project to create a simple screensaver: http://www.a1vbcode.com/app.asp ID=3002 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. CreateDevice Failed.
So I have just recently started into DirectX native programming, and I had my application running without error; but I changed something within the code and now I am having a crash when trying to run the application though no compiler error on compile. Comming to forums have been my last resort, but I can not for the life of me figure out why or what I can do to fix this crash. Below is a link to the related code and the output from the debugger. Any help would be greatly appriciated, thank you in advanced for any insight given. Related files: http://www.dev.zetahost.net/public/D3DError.txt It might be that a certain D3D object creation call is failing and your code is not checking for that, and you're jus ...Show All
Visual Studio Express Editions Loading a list of files into a toolstrip combo box
How do I Load a list of files into a toolstrip combo box Or you can do it with databinding, using system.io.directory.getfiles or my.computer.filesystem.getfiles to generate the file list. ToolStripComboBox1.DataSource = System.IO.Directory.GetFiles("c:\", "*.*", IO.SearchOption.TopDirectoryOnly) ToolStripComboBox1.DataSource = = My.Computer.FileSystem.GetFiles("c:\", FileIO.SearchOption.SearchTopLevelOnly) ...Show All
.NET Development pooling large objects
Hi, I need to know how can I pool a large object , since I have a few memory (only 512 RAM) and need to allocate a large arraylist in it. help me please , Thanks in advance, Aya. Hi Aya The amount of physical RAM doesn't have a bearing on how much memory your application can allocate, since the OS uses 2GB of Virtual Memory by default on x86. Generally there is less than 2GB of contiguous address space due to VM fragmentation by the OS, so you won't be able to allocate arrays that large (incidentally, this is true for all 32-bit Windows processes, native and managed). Pooling large objects is for the case where you have many short-lived objects larger than 85000 bytes. Since the GC d ...Show All
SQL Server How to Setup JDBC for SQL2005 in Webshpere 6.0
Does anyone know the steps on how to get SQL2005 to talk to a Websphere application via the MS JDBC We are trying to setup the Niku Clarity system with a new SQL2005 Database. Thanks i found this link useful http://msdn2.microsoft.com/en-us/library/ms378484.aspx ...Show All
Visual J# Undergrad J# Course
Anyone know of any colleges/ universities offering a VJ# course as opposed to a J2SE course in a comp sci or IS program TIA I know of several high schools that use J# for teaching computer science courses. Some of them have used J# to teach the AP CS course which is very much like a CS 1 course at most universities. ...Show All
Windows Forms ClickOnce Certificate Expiration Page Updated
http://support.microsoft.com/ kbid=925521 hadn't noticed they updated the page. ...Show All
