Software Development Network Logo
  • Windows Forms
  • Windows Live
  • .NET Development
  • Game Technologies
  • Visual C#
  • VS Express Editions
  • Architecture
  • Visual FoxPro
  • Visual J#
  • SQL Server
  • Smart Device
  • Microsoft ISV
  • Windows Vista
  • Visual Studio
  • VS Team System

Software Development Network >> miss_platina's Q&A profile

miss_platina

Member List

Sven_Dataelektronik
Leef
Mark McLain
Peter B
Lynette Johnson
Taniabr
MrZap
Marni
Joe Rush
SVK
StEvE89
pinokar
carlengerer
Dazzler
Kevinacci
the redjinn
Matthew Wright
Henrik Jensen
mconnag
SuperStruct
Only Title

miss_platina's Q&A profile

  • Smart Device Development Read specific line from a file?

    Hi, Is there a method to read a specific line of a text file The StreamReader class does not seem to have a method to do so. The Peek method isn't what I'm looking for either. Would appreciate your help. Thanks. Will threading help If you know in advance what is the file to be processed, you can start a thread to index it first. I did a simple test program, and indeed, with indexing, reading any line is extremely fast. In my program, if the user wants to read a line that has been indexed, the result is displayed immediately, otherwise, a timer is started to repeatedly check if the line has been indexed. Here ...Show All

  • .NET Development Creating a new table in SQL Server from ADO.NET DataTable

    I have some C# code which is dynamically creating a DataTable, using ADO.NET. I would like to be able to create a new table in an SQL Server database, matching the schema of my DataTable object. Is there any ADO.NET functionality that I can leverage to do this Or should I just go to plan B - construct and execute a CREATE TABLE command, using the properties of my DataTable to build the command - seems a bit clunky, with all the flash capability of ADO.NET. Thanks! Nick Tompson You can use SQL Server Management Objects to create tables in SQL Server using SMO. Here is an example I wrote particular ...Show All

  • Visual Studio 2008 (Pre-release) MessageVersion for the binding

    I don't want to do this if (binding is WSHttpBindingBase) { _messageVersion = MessageVersion.Soap12WSAddressing10; } else if (binding is BasicHttpBinding) { _messageVersion = MessageVersion.Soap11WSAddressing10; } Is there a way to query the binding to know which MessageVersion uses I found it factory.MessageVersion where factory is ChannelFactory<TChannel>( Binding, EndpointAddress ) Thanks, Matias http://staff.southworks.net/blogs/matiaswoloski ...Show All

  • Visual Studio Team System dotnet Framework 2.0 Beta Version

    Hello, When I install SQL2005, it installs dotnet 2.0.40607.42. When I try to install Foundation Server, it tells me that an earlier version of dotnet is installed; uninstall it first. When I do that, SQL fails to start. I then run the dotnet that comes with TFS, which is v2.0.50215.44. SQL still fails (entry points not found), and TFS won't install as SQL is not started ... Therefore, I appear to be in Catch-22 situation ... the versions of dotnet these 2 products require is different. If I'm missing something obvious here, a swift kick would be much appreciated! Thanks, James. I've answered my own question ...Show All

  • .NET Development Please help - Error5 Opening registry key

    I am trying to create a web site on a remote server within my LAN using Visual Studio 2005. When trying to connect to IIS I get this error. Unable to create Web 'http://web'reports/test' Server error: Error5 opening registry key "SOFTWARE/classes/application". At last solved On the server change the permissions hkey_local_machine/software/classes/.applications add permissions to the following users administrators, system, users and give them permissions to access. Test it and if you set it right you get another key hkey_local_machine/software/classes/.appref-ms chan ...Show All

  • Smart Device Development Runtime Error when calling MoveWindow API

    Hello all- I am trying to call the MoveWindow function in VB.NET which i coded as follows: Public Declare Function MoveWindow Lib "user32.dll" ( ByVal hwnd As IntPtr, ByVal x As Integer , ByVal y As Integer , ByVal nwidth As Integer , ByVal nHeight As Integer , ByVal brepaint As Boolean ) As Boolean Public Structure RECT Public left As Integer Public top As Integer Public right As Integer Public bottom As Integer End Structure When I call this function, I always get the error: "An unhandled exception of type 'System.Missing ...Show All

  • Visual FoxPro Path for temporary files

    How can I change in run-time the path on which Visual FoxPro stores its temporary files from the current specified in the TMPFILES in the CONFIG.FPW to the the temp folder in the local windows directory of any workstation (i.e. C:\windows\temp\,  D:\winnt\tmp\, etc...)   Please, notice there is just a CONFIG.FPW file in the server. More details see functions: SYS(2023), SYS(2019) and GETENV("windir")   I usually just create my own tem dir in my Start Up Program If !directory(“c:\fox\temp\”) Md c:\fox\temp\ endif mTempdir=” c:\f ...Show All

  • Windows Forms Sort DataGridView; When using a CUSTOM Collection as datasouce

    I have created a custom class: application I have created a custom colleciton: applications I am using an instance of that collection as my data source for a DataGridView. I can not get the Column Sort options to work (or even fire). When I click on a column header it doesn't do anything. The columns are defined as AUTOMATIC sort options What am I missing here Check out this my post, that shows how to custom sort a datagridview, maybe it will help you to customize your own grid to sort: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=211789&SiteID=1 ...Show All

  • Visual Studio Tools for Office Excel automation in asp.net 2

    Hi How can I use excel automation within an asp.net 2 project with VB.Net I'm using Visual Studio 2005 and Office XP 2003 TIA Someone recently asked a very similar question about doing this with Word. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=287608&SiteID=1 You can do this but you will have to modify the permissions IIS runs under, reducing its security, and performance will be poor because each IIS thread will startup a much heavier Excel process in order to do its work. Running Excel to automate it is not a supported or recommended scenario. VSTO only supports accessing ...Show All

  • Visual Studio Express Editions Debugger & Forms Designer in Beta 2 fails

    I was using C# Express Beta 1 for long time, today I installed C# Express Beta 2 but after that I can not create WindowsForms project or open WinForms/Project Settings/Resources When I try to create new WinForms project I get warning as follows Package "Visual studio Settings and Project Designers package" has failed to load properly ( GUID = xxxxx) .... Would you like to disable loading of this package in future ..... <Yes> <No> Ignoring this, Now when I try to open WinForm class (From newly created project) I get following error Could not load type " Microsoft.VisualStudio.Shell.Interop.IVsRunningDocumentTable2 " from ass ...Show All

  • .NET Development Creating a XML WebService from scratch

    I am new to this arena and could you please guide me on how should  I create my XML Web Service. Suppose I want to create a web service named "TravelService". When I open the .NET new project and click on Visual C# projects---> ASP.NET Web Services And then when I give the path where I want to install my web Service, I get an error. Say the path is http://172.31.24.12:7335/TravelService where http://172.31.24.12:7335 is the local path. It says Unable to create the web Service :travelService. And it gives a option "Do you want to open the project with FrontPage Server Extns." If we click yes....It gives the screen displaying creating ...Show All

  • Visual Studio 2008 (Pre-release) Dynamic XAML Generation...

    I was just curious to know if one could generate XAML on the fly. What I mean by this is if I have a program which generates a layout dynamically using C# code would I be able to access the XAML for that For example if I had the following... ----------------------------------------XAML------------------------------ < Window x:Class = " Delete_Me.Window1 " xmlns = " http://schemas.microsoft.com/winfx/avalon/2005 " xmlns:x = " http://schemas.microsoft.com/winfx/xaml/2005 " Title = " Delete_Me " Height = " 648 " Width = " 1037 " > < Grid Name = ...Show All

  • Smart Device Development Copying files to and from the desktop from the PocketPC in C#

    Hi all! I would like to, from my PPC application copy a file from a certain location on the device to a certain location on the desktop and from the desktop to the device. How can I do that. I know it's easy enough to invoke this from an app on the desktop but how do you invoke this in the PocketPC Kind Regards and thanks, Daniel Thanks for the answers. I can't get the OpenNETCF.Net.Ftp to work. I have tried to download and run the sample code from the OpenNETCF web page. Searching their forum on this topic it seems not many people got it to work. Anyone that has written an application like this befor ...Show All

  • Visual Studio Express Editions Unable to get MSDN Library. How can I?

    I downloaded 2005 a few months ago. I find it great. I did not get the MSDN Library, but it said I could get it "at a later time". I bought a book the other day with the MS VB 2005 Express Ed Disk. But with trying it I can only get to a message that says, "Unable to locate the product. Pleases enter the location of Microsoft Visual Studio 2005 Express Edition - ENU." I've tried and tried but to no avail. Are there any comments on this, please I did have some trouble with dotNET around Easter Time when MS tried to help out. But I got weary with 'doing this and doing that' going on for a long while so I abandoned d ...Show All

  • Visual Studio Express Editions Office 2000 has VB Installer / Configuration Problem after installing VB Express 2005

    I am an absolute beginner with VB. I installed VBE 2005 without a hitch but since doing so I have a problem with Word and Excel. Each time I launch them I get a message saying "Please wait while Windows configures Visual Basic Express 2005 ENU". If I let the installer run it chugs aways for several minutes. There is lots of hard drive activity and I notice MSIexec runs in the task list with lots of MSInnn.tmp entries (where nnn is a number). This happens every time I launch Word or Excel, but not PowerPoint. If I hit 'cancel' the installer window disappears and Word/Excel loads OK. I am running Office 2000 with SP3 installed and Wi ...Show All

©2008 Software Development Network