Luhz's Q&A profile
.NET Development filtering rows in a dataset
Hi, I am trying to filter rows in a dataset, using a dataview, and an input textbox for selection, anyone have any ideas that may be able to help here is a sample of the base code; Friend WithEvents PictureBox1 As System.Windows.Forms.PictureBox Friend WithEvents OleDbDataAdapter1 As System.Data.OleDb.OleDbDataAdapter Friend WithEvents OleDbConnection1 As System.Data.OleDb.OleDbConnection Friend WithEvents Loadbtn As System.Windows.Forms. ...Show All
SQL Server Help on replication from SQL 2005 to DB2/AS400
I was trying to set up a replication process to move data from SQL 2005 to DB2/AS400. To get it started, I have create a simplest table (say, PERSON) on SQL 2005 server, and the same table (PERSON) on DB2/AS400. I have only one column SSN (of type int). I have journaled the table on DB2 end. I was able to have successfully configured publisher (on SQL 2005) and subscriber (i.e. a pushed subscription). I used transactional replication. And I ...Show All
Visual Studio Jump to report
Hi, I would like to "jump to a report" that is on a different folder. The dropdown only offers me reports in the current website folder. Is this possible Is the only alternative to use url passing parameters Thanks. I think you can type in a path to a report that's in a different folder, for ex: /folder1/folder2/report3 or you can use relative paths: ../folder4/report5 If you need t ...Show All
Visual Studio 2008 (Pre-release) Binding still dosen't see changes
In september ctp I was talking that binding dosen't see changes if elements it binds to dosen't exist yet.Bind ListView. ItemsSource = " {Binding XPath=something/*}" not working(ListView is still empty),if "something" does not contains a single element and you add it thereafter-XmlDataProvider.DeferRefresh()/ListView.Items.Refresh() dosen't help here too.The only solution now is explicit rebinding(not user friendly IMHO): lw.SetBinding( L ...Show All
Visual Studio Team System VS Itchy Trigger Finger on Solution/Project File Checkouts
Has anybody else seen this where folks using VS 2005 Team Edition have a project or solution checked out and they didn't even realize it I just a co-worked to a "Get Lastest" on our Src dir from the VS Source Explorer tool window and it asked him to check out the main solution file. Why does this happen If you do a Compare on the files that were auto-checked-out, do any diffs show up ...Show All
Smart Device Development Problems closing application
Hi, Having problems closing my application. I've written an app for windows mobile 2003, consists of the mainForm, and a bunch of other forms that are opened from main form. There's a particular form that's not allowing my application to close properly. If this particular form has been accessed/opened, after completely closing my application it still remains in the task manager (running in the background). After this happens I cant ru ...Show All
Visual Basic Round function
I'm hoping that someone is able to clarify for me just what the Round function in VB does. According to the help file, Math.Round( value , digits ) returns a number which is value , rounded to the number of significant digits requested. I must be misunderstanding just what this means, because the results I get are unexpected. For instance, for Round(12.3456,3) I would expect to get 12.3 (i.e. 12.345 rounded to 3 digits). Or, for Round (1.23456E ...Show All
Visual Studio Team System Connect to team foundation server tool moved
I just downloaded and installed Visual Studio 2005 Team Suite Release Candidate 1. The tool to connect to the Team Foundation server is no longer under the Tools menu. See http://msdn2.microsoft.com/en-us/library/ms181474 . Does anybody know where it was moved to As I understand it, you're right. Actually, I believe you buy the license and you get Team Explorer for free . But ...Show All
Windows Forms Rounded Corners on a PictureBox in C#?????
Does anyone have code to make a picturebox have rounded corners I have tried the following, and cannot tweak it to get it to work properly for my picturebox "pbPhoto" public void RoundPhotoCorners() { int roundedDia = 50; using ( Image imgin = pbPhoto.Image){ Bitmap bitmap = new Bitmap (imgin.Width, imgin.Height); Graphics g = Graphics .FromImage(bitmap); g.Clear( Color .White); g.Smooth ...Show All
SQL Server template.ini differences, typos, possible superfluous/omitted content
The SQL Server 2005 Enterprise and Developer editions have identical template.ini files. SQL Server 2005 Express with Advanced Features has a template.ini with additional entries. These entries do not appear appropriate for Express and thus would be superfluous. Notice that the Note in the Express template.ini says an upgrade to SQL Server Express requires NT authentication, so it doesn't make sense to include SQL login parameters ( UPGR ...Show All
Visual Studio Team System PublishRun: Server was unable to process request
Hi everyone, I get the following errors when the Test Run completes... it seems that permissions may be incorrectly set for this account (against the build server), but everything in the drop phase works fine for other build output, which I find somewhat confusing. Has anyone seen this before MSBUILD : warning : Test Run Failed. MSBUILD : warning : PublishRun: Server was unable to process request. ---> Access to the path '\\90dsdev001\Bui ...Show All
.NET Development Is there a way to force derived classes to implement serializable?
I have a base class which is serializable. When I distribute this class I need to ensure that any derived classes will have to implement serializable or throw an error. After looking through the documentation I added the [Serializable] attribute, will this do it Not by using attributes The SerializableAttribute 's i nherited property is set to false, so the attribute is no ...Show All
.NET Development is this transaction completing on its own!?
I' v e re-tested this 3 times now. It seems to happen roughly 10 minutes after the transaction is promoted to a distributed transaction. The transactionscopes being created are initialized with a TimeSpan.FromDays(1) for the timeout value (one at the client, then one for every server request, for an estimated total of ~400 transactionscope objects created at the server-side). Below is the tail of my debug output which includes the ex ...Show All
Visual Studio Tools for Office Saving word doc silently
From within a word doc project in VSTO, I am trying to create and save a word doc to the server without starting an instance of word. Something like this: Private Sub ThisDocument_Startup( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Startup Me .Range.Text = "Hello World" Me .SaveAs( "C:\Temp\WordDocTest.doc" ) End Sub Running this in my local visual studio projec ...Show All
Visual C++ error C2259: cannot instantiate abstract class
I'm trying to make a Virtual Constructor Function to return a pointer to a new object; "ServerExt". My code is: class ServerExtApp : public ServerExt { public: virtual void execute() throw(ServerExtApp::Exc); }; ServerExt *virtualCtor() throw(ServerExt::Exc, bad_alloc) { return new ServerExtApp; } but when I compile I get these mistakes: Compiling... ServerExtApp.cpp E:\VICTOR\IN\INFITEL\SCRIPTS_PRUEBA\ServerExtApp.cpp(94) : ...Show All
