Software Development Network Logo
  • Audio and Video
  • Visual Studio
  • IE Development
  • Windows Vista
  • Visual C++
  • SQL Server
  • .NET Development
  • VS Team System
  • Visual FoxPro
  • Microsoft ISV
  • Game Technologies
  • Visual Basic
  • Windows Forms
  • Visual C#
  • Smart Devicet

Software Development Network >> Josh Smith's Q&A profile

Josh Smith

Member List

Radim Hampel
setareh
Alex Yakhnin - MSFT
CL0CKW0RK
cheekster
dizzyjay
goh6613
jvnb.kiran
NMTrinh
Sébastien Nunes
Siddartha Pal
hailstorm
Russt
pgems
xplosiv_1
Phil Gould
GoDaddy
hooman.tadbiri
Tommych
Mayero
Only Title

Josh Smith's Q&A profile

  • Windows Live Developer Forums Converting (N 48° 31' 28.79") to number values for VELatLong

    Latitude: N 48° 31' 28.79" Longitude: W 123° 9' 26.96" If I have latitude and longitude such as the above coordinates, what do I pass into the VELatLong constructor for this Go here for a conversion utility. http://www.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html The math is pretty straightforward. Divide the number of seconds by 60, 28.79 ÷ 60 = 0.5166. Add the result to the number of minutes, 31 + .47983. Divide the result by 60, 31.47983 ÷ 60 = 0.52466383. Now add that to the number degrees, 48 + .52466383. The result is 48.52466383° Do the same with the longitude, and then you can pass them into the constructor. Paul ...Show All

  • SQL Server Syntex for restore filelistonly & restore verifyonly

    Hello, Would some one please help me with the syntex on how to run "restore filelistonly" or restore verifyonly" on a SQL backup which has multiple filesets My backups locations are as follow: RESTORE VERIFYONLY From disk = 'E:\syndicated_databank__bkup_01.bak', ' E:\syndicated_databank__bkup_02.bak', ‘E:\syndicated_databank__bkup_03.bak’, ‘E:\syndicated_databank__bkup_04.bak’, ‘E:\syndicated_databank__bkup_05.bak’ I tried to do a restore with the above, I got error The label 'E' has already been declared. Label names must be unique within a query batch or stored procedure. Please advise!! RESTORE ...Show All

  • Visual Studio Team System Undoing exclusive checkouts

    All: My question/problem is this: A TFS user has a number of files checked out for exclusive checkout. The user has subsequently left the company. His domain user account has been deleted. We've tried a number of command line commands to unlock the files, undo the operation, delete the workspace etc. However these approaches all seem to require workspace/owner information, & are unable to find/process the workspace the files were checked out to. How can I undo/delete the checkout operation if the workspace or domain user account no longer exists Thanks in advance, Dave Riches Adam/Richard TFS was put in place before I started working at this customer. I'm told we were originally running Beta 3, which ...Show All

  • Visual Studio Express Editions Need help on threads.

    I have a problem. I am making a data sync application and i am putting the sync method in a background worker. I am allowing the user to sync multiple jobs at once. so i have a forloop and a list box. [Code] for (int x = 0; x < lb_Select.SelectedItems.Count; x++) { Sync.RunWorkerAsync(lb_Select.SelectedItems[x].ToString()); // Need to suspend the main calling thread until the background worker is complete // then contine the forloop. txt_Status.AppendText("Syncronization of " + lb_Select.SelectedItems[x] + " Ended - " + DateTime.Now.ToString() + "."); } this for (int x = 0; x < lb_Select.SelectedItems.Count; x++) { Sync.RunWorkerAsync(lb_Select.SelectedItems[ ...Show All

  • SharePoint Products and Technologies Setup Error: This product requires ASP.NET v2.0

    Please help, trying to install WSS 3.0 on a x64 W2K3-server that is running WSS 2.0, but i get an error at the beginning of the setup: "This product requires ASP.NET v2.0 to be set to 'Allow' in the list of IIS Web Server Extensions" I have verified that it is set to allow, so that is not the issue. I have registered this as a support case with microsoft, waiting for them to call me during the day. Must be a problem with the x64-platform, a google-search shows very little info on this error message... ...Show All

  • SQL Server Confusion about dialog security steps.

    Hi There I have done the following. 2 Servers across the net work Server A and Server B. I have created private keys at each and copied to public keys across. I create an endpoint at each with validation by the certificates. I then create appropriate users and logins at each and import the public certificates with authorization to the users who have send permission on the endpoints. That is transport security sorted and it works. Now from what i have learnt from examples, to setup dialog security i do the following. create a private key in each DB : create certificate Store001DialogPri with subject = 'Store001DialogPri' , start_date = '07/20/2006' active for begin_dialog = on ; go I ...Show All

  • Visual C# VS2003: Has anyone found a solution to "File in use..." error when building?

    From time to time when you have multiple dependent projects in a solution, one or two projects will not build complaining that the dll destination is in used by another application.  This requires a VS restart before it goes away.  I chatted with our support folks and your best bet would be to call them directly. Unfortunately debugging this is likely going to take some back and forth and that'll be easier to do on the phone as opposed to through the forums. You can contact support by following the appropriate links on http://support.microsoft.com . Feel free to write me directly at ansonh@microsoft.com if you're having trouble getting through to the right people. Anson ...Show All

  • .NET Development ANNOUNCING: XML Notepad 2007

    Upgrade your XML Notpead 2006 from here: XML Notepad 2007 New features included in this version: Added keyboard accelerators for find again (F3) and reverse find (SHIFT+F3). Added support for loading IXmlBuilder and IXmlEditor implementations from different assemblies using new vs:assembly attribute. Made source code localizable by moving all error messages and dialog strings to .resx files. Added a default XSL transform. New icons, a play on the Vista "Notepad" icons. Bug Fixes included in this version: Fixed install on Windows Vista machines using Windows Installer XML 3.0. Performance of expand node when validating. Fixed bug where changed schemas and transforms were not being re-loaded. ...Show All

  • Windows Live Developer Forums How to add messenger contact in a web page

    Someone have a script to take the messenger contact an put in a web page or a web form ! I have to use aspx or it's the same if I use asp ! thanks ...Show All

  • Visual Studio Team System Bill of materials

    Hi,   I’m looking for a command to retrieve a list of files tagged with a certain label. The purpose is to have a ‘bill of materials’, a list of the names and versions of all files used for a certain build or release of our software.   How can I create such a list using tf.exe, tfpt.exe or any any other command line tool   Those lists are archived internally for audits etc.   Thanks,   Tom   ...Show All

  • Visual Basic Taskbar flashes when application starts

    Hi group, I wrote a VB.NET window application in VS 2005. It is running on WinXP SP2. When I start it running, the splash screen shows and then the applications main form shows. This is all correct. Then my application in the taskbar starts to flash orange. It flashes on, off, then on again. The applications main form then looses focus. I am having a problem finding why this is happening. Any suggestions Added comment - It seems that when I don't use the splash screen startup, this issue does not present itself. Dave     I will partially answer my own question. I disabled events while the application was initializing and during form_load. I enabled ...Show All

  • Visual Studio Express Editions Create Database on Real time

    Need help in providing VB Code for creating SQL Database Using ASP.Net 2.0 in real time. Anyone knows I would use sql commands to create the database. There is an example on the vb-tips website . ...Show All

  • .NET Development re-order columns in a DataTable

    Hi all, I was wondering if there is an easy way to re-order the DataColumns in a DataTable. Thanks, Mark. spanky4_3 wrote: Hi all, I was wondering if there is an easy way to re-order the DataColumns in a DataTable. Thanks, Mark. Hi, Use the setOrdinal method of the datacolumn. It would ask for the new position in the collection... datatable.Columns["Col1"].SetOrdinal(1); cheers, Paul June A. Domag ...Show All

  • .NET Development Adding an item to the dropdown list inside a datagrid populated by DataSet

    I have a DropDownList inside a Datagrad which I am populating with DataSet. Here is the sample code: <asp:DataGrid id="dgOutputNoMajor" runat="server" AllowSorting="True" AutoGenerateColumns="False" OnSortCommand="SortColumn" CellSpacing="5" CellPadding="3" BorderWidth="1px" cssClass="tablefont"> <Columns> <asp:TemplateColumn SortExpression="login" HeaderText="LoginID"> <ItemTemplate> <asp:Label ID="lblStudentID" Text='<%# DataBinder.Eval(Container.DataItem,"login") %>' runat="server" /> </ItemTemplate> </asp:Temp ...Show All

  • Visual Studio Express Editions Image save, GDI+ error

    Hello small problem in my project. picturebox1 savedialogbox1 this are controls using in my project. picturebox1.image.save("c:\as.jpeg") or picturebox1.image.save(savedialogbox1.filename) compile time no error message will display , but runtime i click saveimage button , that time error message will display GDI+ error Please help me. Its urgents. Thanks. We need to know the *exact* error message to help you. Beware that you can't save an image back from where it came from, GDI+ puts a lock on the file. ...Show All

©2008 Software Development Network