Regeneratez's Q&A profile
Visual Studio Team System Daily Builds?
This may be obvious to you but it has baffled us for some time: Team Foundation users often talk about daily builds. When I presented this idea to our software team they asked "Why" Our code doesn't change enough to warrant a daily build, they said. Maybe a weekly or monthly build they said. What don't we undertsand here Bill If you do daily builds you know every day that your current code can be build and basic functionality is not broken (assuming you run build verification or smoke tests, too). Even if you change the code not very often, you're still be able to detect a break ...Show All
Windows Forms How do you scroll a DataGridView through code?
Hello, I would like to display some real-time data. I have already tried using the ListView but I can't get it to stop flickering so I thought I might try the DataGridView. This problem I have right now is that I do not know how to make it scroll as I add new entries using code. I am using a List<> as my data source. Any ideas would be helpful. Thank you, ...Show All
SQL Server Data Looking for a Good Home - Where Might It Be?
Been coding mainframes 25 years; just started learning this platform. Fish out of water. Have 2005 VWebDeveloper Express and 2005 SQL Betas. I have a million bytes of data to test my asp.net app locally. 100 columns, 200 rows and 6 items within each row. The data grows by 1 row per day; app. 5000 bytes. MSDN tutorials that come with VWD Express talk about a "Northwind SQL Server" being required to, at least, follow the tutorials. This is very unclear. Q. What is Northwind And is it in anyway relevant to testing a VWD Express app Q. What are you folks using for a server to test your apps loc ...Show All
Visual Basic Calendar Pop-Up in Access
I am trying to run a pop-up calendar in Access (I am a SQL girl... not familiar with VB code) and I can't seem to figure out why I keep getting this error: Run-time error '91': Object variable or With block variable not set Can anyone help tell me what is wrong here Here is my code: Option Compare Database Option Explicit Dim cboOriginator As ComboBox Private Sub cboStartDate_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) ' Note which combo box called the calendar Set cboOriginator = cboStartDate ' Unhide the calendar and give it the focus Calendar6.Visible = True Calendar6.SetFocus ' Match calend ...Show All
SQL Server New Server Registration to External Database
Hi All, Quick question ... Is it possible to add an external server registration using SQL Server Management Studio Express CTP Reason being I have been doing some work from home and need to port the data back to the office who are on SQL 2000. I have a database with my web hosting company and wanted to export the data to the 'live' database so I could import to the office database - any ideas I've tried to connect using my login details and I know the live DB is operational as I can connect through my work system. I just can't seem to be able to do it on my system at home. Any help would be greatly appreciated as it's b ...Show All
Visual Basic Access Form in Code from a User Control
I have created a UserControl1 that inherits from the Visual Basic.Net 2005 TextBox Control. A Windows Application Project is then created (named WindowsApplication1) and the UserControl1 is dragged onto Form1 of WindowsApplication1. Question: In the code of User Control how is Form1 accessed In particular, it is desired to place some graphics on Form1 from code in UserControl1. Thanks for any response... Forgive me if I am telling you something that you already know, but I believe that the proper technique is to access UserControl1 from Form1, instead of the other way around as you are sug ...Show All
Smart Device Development Sql CE for smartphone
Hi to all, I am new to the development of smart phone application. i would like to know whether the smart phone has any sql ce edition as they have for pocket pc. can we access the database using Smart Phone second Edition. Can anyone give me any instruction regarding this or any useful links Thanks in advance Regards Biju S Melayil SQL CE/Mobile is not supported on SmartPhone prior to WM 5.0. Assuming by “ Smart Phone second Edition” you mean Windows Mobile 2003 for SmartPhone, it does not support SQL CE/Mobile. ...Show All
Visual Basic How to hide main form
I have a main form that while loading, if necessary, opens another form (form2). if form2_needed = true then form2.show me.hide end if However, the main form refuses to hide. Thanks. Try changing me.hide to me.visible = false. Works for me. Have fun ...Show All
Smart Device Development XPath problem
Hi, I'm creating an application that uses XML document. I need to provide "Find" functionality on my XML file and XPath is not available on compact framework. Can anybody suggest an alternative to XPath for searching specific nodes in XML files in compact framework Thanks. Alex, When I call "Add" method of XPathCollection class, it takes about 2-3 seconds to execute only "Add" statement line. Is it because of file size of XML file Code : // Create XPath collection XPathCollection xc = new XPathCollection(); int mainquery = xc.Add("//citylist/City[@Name='Zurich']"); ===================== ...Show All
.NET Development creating Sockets
Hi buddies, I wonder how easy to create a socket with out connecting to RemoteEndPoint in sockets My idea is to create a “dummy” socket of an existing socket. I wrote code like, System.Net.IPAddress ConnServerIP = IPAddress.Parse(s_myLinOldIP.Substring(0,s_myLinOldIP.IndexOf(":"))); int listenPort = int.Parse(s_myLinOldIP.Substring(s_myLinOldIP.IndexOf(":")+1,(s_myLinOldIP.Length - s_myLinOldIP.IndexOf(":"))-1)); Socket sk = new Socket(AddressFamily.InterNetwork,SocketType.Stream,ProtocolType.Tcp); IPEn ...Show All
Visual C++ Running a very simple Win32 app on a comp without VC++ 2005 Express
Hi! I have installed VC++ 2005 Express and the Platform SDK according to the instructions on MSDN: http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx Compiling and running the following program on the dev computer works like a charm: http://www.winprog.org/tutorial/simple_window.html I then changed to release-mode, turned off debugging in the project properties and copied the .exe to another computer without VC++ 2005 Express on. I pretty much expected problems, so I wasn't very surprised when I got the error message saying that there was something wrong with the program configuration, like the one here: http://forums ...Show All
Visual Studio Tools for Office Deploying add-in for Office XP and 2003
I’ve built a managed code add-in with a COM shim that runs in Word, Excel, and PowerPoint. During development, I’ve compiled against the Office XP PIA’s and tested against Office XP. I’ve also compiled against the Office 2003 PIA’s and tested against Office 2003. Everything works fine. I understand the differences in deploying the two versions of the PIA’s. I’ve built an installer that detects the version of Office that is installed and then installs the correct PIA’s. This works fine as well. My question is this. Is it possible to deploy a single version of my add-in and shim that will work correctly in both the Of ...Show All
SQL Server SQL CE & @@IDENTITY
If I perform an insert from my Vb.NET and then user select @@IDENTITY to return the identity, the query returns DBNull, even though the row has been inserted and an indentity created. If I perform the same insert from CE Query Analyser followed by the @@IDENTITY then it returns the correct identity value. If I perform the insert from my Vb.Net app, and then go to query analyser and select @@INDENTITY then it returns DBNull. Can anybody explain why I don't get the idendtity when the insert is performed from vb.net The code for insert looks like... Dim Command As String = "INSERT INTO " & TableName & Fields & Val ...Show All
SQL Server Calc Measure Immediate Viewing
This is probably obvious, but.... In MSAS 2000, I could immediately view the new calc measure in Analysis Manager without rebuilding the cube. Is this still possible in SSAS 2005 Can you list the steps Yes you can using the new MDX debugger. When in BIDS, in the caluclaiton tab, create your calculated member and then select the Debug menu and start debuggging. The cube browser will appear just beneath the calculaiton script. You can not only step by step through your various caluclaiton, but you can also change them and see the impact immediately. It is a full fledge VS debugger for MDX... ...Show All
SQL Server Issue with SqlUserDefinedAggregate
I am using the code below but I am getting a "zero" result for dbo.AggredIssue('Test') user defined aggregate everytime that the query executes parallel processing and uses the "Merge" method. It seems that my private variable " private List < string > myList" gets nullified everytime it goes through the "Merge". I saw other people reporting the same issue in other forums, but nobody was able to provide a solution or explanation. See below a simplified version of my code (posted just after the queries) that replicates the issue. The query below works because it does't process the query in parallel. SELEC ...Show All
