John G. Yu's Q&A profile
Visual Studio Date-Time stamps way off...
Hi all, Within our VSS database the Date-Time stamps displayed suddenly are way off on some files, not all. For example the Date-Time on one file is 1/71/70 30:30p. Another might be 1/50/19 33:41. If you look at the properties of the affected files, they have their proper Date-Time stamp. We have recently started using Visual Studio 2005 along with Visual Studio 6 and have a mixed environment of some users using the older VSS client while ...Show All
Visual Studio Team System Planning using MS Project
Hi everybody! We currently elaborate on how to use MS Project for planning an iteration. So let's say we have defined scenarios , devided them into tasks (currently we don't use 'order of magnitude' at scenarios) and approximitly cost those tasks. Now program managers want to put "something" to MS Project, check resource load and validate if the planned work fits into iteration. If not, move some scenarios out. Questions: 1 ...Show All
Visual Studio Express Editions No ASP.NET Selector IIS
hi, i am using VB 2005 Express Beta 2 & VBW Express Beta 2 on XP SP2 machine. recently i noticed that theye is no ASP.NET seletor in IIS, i tried to repair by resintalling the .NET 2.0 Framework, i even tried "aspnet_regiis.exe - i" command but it says error were generated .......... Finished installing ASP.NET (2.0.50215). Setup has detected some errors during the operation. .......... and when i view the erroe its says the server service f ...Show All
Visual Basic Checkbox checked in gridview?
Hello, I've created a gridview bound it to a dataset and added a checkbox column. What I would like to have happen is when a user checks the box, then clicks the button, the row with the box checked will be updated in the database. After some intense searching, I finally got it to find the checkbox, but when I run the code, I get "Object reference not set to an instance of an object". Can someone please help me figure out how to ge ...Show All
Visual Studio Using Properties and Call like NAnt
NAnt has a nice feature where you can use a combination of properties and the call task to repeat operations. For example: <target name="target_one"> <property name="A" value="Value1" /> <property name="B" value="Value2" /> <property name="C" value="Value3" /> <call target="ALongProcessWithManySteps" /> </target> <target name="target_two"> <property name="A" value="Value4" /> <proper ...Show All
Visual C# debug vs release
hi, what diferences are betwen "debug" and "release" binary file version of project Just to compliment Vikram's information: You can debug release versions (without disabling optimisations) in .NET 2.0, by doing the following: 1. In Solution Explorer , right-click the Project node and click Properties 2. In the Properties window, select the Debug tab 3. Change Configuration to Release 4. Under Output , click Advanced... 5. In Advanced Bui ...Show All
Software Development for Windows Vista what about MSCONFIG on VISTA?
Did Redmond guys took off MSCONFIG from VISTA alike with NT Or maybe changed its name The point is I can't find it anywhere on the system... so i've tried to install it from the Update for Windows XP (KB906569) but it don't works... after file extraction i get an error message that says "Not enough storage is available to process this command" and after "installation did not complete"... "not enough storage" on a system disk with more th ...Show All
Visual Studio 2008 (Pre-release) Error deserialzing a Typed Dataset with a System.Object column
I have a WCF service that returns an instance of a custom typed dataset. The dataset's table has three columns: Category : System.String Key : System.String Value : System.Object (I'm simplifying things a bit, of course, and yes - I did have to manually tweak it in order to create a column of type System.Object in VS.NET) The service returns the dataset based on a query passed to it. The reason I use a DataSet rather than a Dictionary o ...Show All
Visual C# Inserting Image in my Report (ReportViewer)
I finally have an understanding of how to create simple reports from my dataset using the ReportViewer. I now wonder how I can make custom (SQL-queries) on my dataset that will fill for e.g. a table. For example I have a picture that I like to insert into my report. That picture do I store as a string in my database. (In my program I do have conversions functions for: Image -> byte[] -> string -> byte[] -> Image). ...Show All
Visual C# How to assign 4 bytes of float to byte array
I need to assign each of the four bytes of a float type variable to four bytes of a byte array. Can someone suggest a way to do this In essence I would like to do this: byte_array[0] = float_byte1 byte_array[1] = float_byte2 byte_array[2] = float_byte3 byte_array[3] = float_byte4 This array will be sent via a USB transaction. On the other end I will need to re-assemble the float type variable... B ...Show All
Smart Device Development how to let the system check external storage?
Private Function IsStorageCardExist() As Boolean Dim storageCardPathConst1 As String = "\SD card" Dim storageCardPathConst2 As String = "\Storage card" Dim storageCardPath As String If (Directory.Exists(storageCardPathConst1)) Then storageCardPath = storageCardPathConst1 + " ...Show All
Smart Device Development CF 1 Setting time across Daylight Saving Boundary Issue
Hi all, I have a CF 1.0 application that needs to keep its time coordinated with that of a server. I am using a P/Invoke of SetSystemTime on the device to set the device time to that received from the server. However I have noted a peculiarity when the new time is in a different daylight savings period from the current time on the device. While, in general, the time drift between the handheld device and the server will not show this issue, i ...Show All
SQL Server Linking Oracle Servers
Has anyone successfully linked to a Linux Oracle server running 9i We are unable to get the link working.....have installed various drivers and still get connection refused. Any thoughts We have installed the client on the MS SQL server, installed Oracle OLE DB, etc. Still receive the error that we cannot initialize the MSDAORA. Not sure why. Using MS Access we are able to connect to the data via an ODBC conn ...Show All
Visual Basic Sum Function on Select
Select tblRepairCodes.Name,Sum(tblWatchRepairXRef.RepairCost) From tblWatchRepairXRef INNER JOIN tblWatchInstance ON tblWatchRepairXRef.Instance_Key = tblWatchInstance.Instance_Key INNER JOIN tblRepairCodes ON tblWatchRepairXRef.REPAIRCODE_KEY = tblRepairCodes.REPAIRCODE_KEY Where (tblWatchInstance.WatchID = '0010000269') How do i do the aggerate function for the Sum In my SQL Statement...... Try this : Select tblRepairCodes.Nam ...Show All
.NET Development i keep getting a comdlg32.ocx error
what is it and what can i do to fix it In what context are you getting this erro and what does the error say This ActiveX control shipped in Visual Studio 6.0/Visual Basic 6.0 and is used for showing common dialogs (open/save). You should be able to find this control in your windows\system32 directory. Perhaps you just need to re-register it by typing "regsvr32 comdlg32.ocx" from the command line ...Show All
