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

Software Development Network >> Terry A. King's Q&A profile

Terry A. King

Member List

Sergey Bereznikov
xplosiv_1
Jassim Rahma
manasi
TheSebaster
Eugene Ye
Nightmare_BE
Dietz
jamal_faiye
IgorP
Hacker Boy
compilator
UnknownScripter
Michael Ruck
Guido den Broeder
LouArnold
Bulldog.NET
JFoushee
NoEgo
DMAR330
Only Title

Terry A. King's Q&A profile

  • SQL Server save data to disc

    Please help me I use sql express + C#, and when i execute my queries like "insert" into table, my data exist in dataset while i compile my project. How i can save my data to my data source, and how i can see my data in my table in data source Please help me, how i can save my data from dataset into disc file mdf. hi, depending on your "use", you should check the InsertCommand of your object is accordingly set to your needs.. but, as you say you are using an Express edition of VS, chances are you actually save your "changes" to the datasource, but you "overwrite" the existing database physical files at each application start-up becouse of User Instances features and how you set the " ...Show All

  • .NET Development Easiest way to encode xml value

    Hi, What's the easiest way to take an arbitrary string and return a string that can be used as an Xml value   In other words, a method which could transform "<>" into "&lt;&gt;". Right now I'm doing this, but there's probably a better way.   public static string StringToXmlValue(string a)   {    XmlWriterSettings settings = new XmlWriterSettings();    settings.ConformanceLevel = ConformanceLevel.Fragment;    StringBuilder sb = new StringBuilder();    using (XmlWriter writer = XmlWriter.Create(sb, settings))    {     writer.WriteString(a);     writer.Flush();    ...Show All

  • Visual Basic Hiiii I Need To Send A Picture

    Hi Every One I need to send a picture via my email application in the MailMessage Body not in attachment if there is any way possiable to do it please share it with us Hi, I'm appreciating Your fast replay but maybe I wasn't clear enough, I need to Put a picture in my MailMessage Body From My Machine and My Machine is not a Server and Dosen't Have a Static IP Address, not an HTML tag to load the pictuure from other site In another meaning I need to Send the picture as we send the text with No attachments and No other links to download the picture from at the recpient. Just to darg and drop the pictur i choose on the message body area or to open it from a OpenFileDialog and then it appear within the text You Know Li ...Show All

  • Visual Studio Express Editions Open Word.doc

    Here's the code I use to open a word document, why does it lose all its formating ie Bold in word is just plain text in my program objWord = CreateObject("Word.Application") objDoc = objWord.Documents.Open(OFD1.FileName, , True, , , , , , , , , False) objDoc.Select() rtbText.Text = objWord.Selection.Text objDoc.Close() objWord.Quit()   Here is a simple piece of working code: Public Class Form1       Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) _     Handles Me .Load         rtb.Rtf = _           My .Computer ...Show All

  • Software Development for Windows Vista InkCanvas exception

    Help! I am using .NET 3.0 Beta 2 and VS2005 on Windows XP Tablet PC 2005 edition. Whenever I try and use the <InkCanvas> element I get an unhandled NotSupportedException as soon as the mouse/pen is moved into the ink canvas area. Full details of xaml used and exception below. The exception occurs in the app.Run method. < Grid >< InkCanvas /></ Grid > System.NotSupportedException was unhandled Message="DLL version not correct." Source="PresentationCore" StackTrace: at MS.Internal.HRESULT.Check(Int32 hr) at System.Windows.Media.FactoryMaker.get_ImagingFactoryPtr() at System.Windows.Media.Imaging.FormatConvertedBitmap.FinalizeCreation() at System.Windows.Media.Imaging.Fo ...Show All

  • Visual Studio Tools for Office Import external data in Excel w/ Visual Studio Tools for Office / C#

    Hi, I'm working on a application to give some reports based on data from an excel file. I'm using VS2005 to design the Windows Forms for Sheet1 of the workbook. I'm having some trouble importing data from another xls file into my customised sheet. If i open the xls file using the code below ... it just opens another excel instance, but i can't use the data in my customised sheet. Application.Workbooks.Open(@openFileDialog1.FileName, System.Type.Missing, false, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, System.Type.Missing, ",", true, System.Type.Missing, System.Type.Missing, true, System.Type.Missing, System.Type.Missing); Basically what i want is to import some data (if not xls, at least ...Show All

  • SQL Server Urgent!!! Dynamic Query Problem.

    Right now i am working on a reporting project. I am using SQL server 2005 Reporting services for this project. In my project I want to pass table name as a parameter to report. I tried but i cant get result. In other words, i want to generate a dynamic query in which i want to pass table name as parameter. This table name and other parameters are passed to report from .aspx page. I use @financialyear as my table name parameter in sql query of report, but it give me error that " @financialyear variable must be declared ." If anybody know answer pls reply me fast my deadline for project is near. You could use dynamic SQL. Perhaps a stored proc where you build the query in a string and e ...Show All

  • Visual C# diff text files

    Does .NET or C# provide tools for creating projects that can "diff " two similar text files, to tell the differences. Any suggestions will be appreciated. Thanks! Or you could try this... http://www.dotnetonweb.com/80_Tutorial_A_Generic_Reusable_Diff_Algorithm_in_Csharp_-_II.html You'll have to scroll the page down to the tutorial. Hope it helps. ...Show All

  • Visual Basic Calling ActiveX Dll From VB Exe

    I'm writing a code where i have to call a method in an activeX dll using the "CALL" method. The problem is, an error occurs which says that "Entry point not found in dll". Can some1 plz help me with some info on "Entry point" for VB dll What's the DLL Is the DLL part of the Windows API if not is it registered in your system Have you set a reference to the DLL Project | Properties | references | COM (tab) Have you declared the dll as a function Protected Declare Function GetAsyncKeyState Lib "user32" ( ByVal vKey As Integer ) As Integer See http://www.pinvoke.net/ ...Show All

  • Software Development for Windows Vista ASP.NET & SQL Persistence/Tracking Woes

    I'm attempting to add SQL Persistence and Tracking to my ASP.NET StateMachine workflow, and I'm not having luck. I added the following to me web.config file: <WorkflowRuntime Name="WorkflowServiceContainer"> <Services> <add type="System.Workflow.Runtime.Hosting.ManualWorkflowSchedulerService, System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> <add type="System.Workflow.Activities.ExternalDataExchangeService, System.Workflow.Activities, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> <add type="System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService, System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral, ...Show All

  • Visual Studio Express Editions Very slow performance with Visual Studio Express

    Hi out there, I've downloaded and installed 'Microsoft Visual Web Developer 2005 Express Edition' and installed it on my laptop which is a Pentium m 1.73ghz with 1gig of ram with plenty of free hard drive space. the machine is running XP Pro and all updates are installed. The performance of Visual Studio is so poor that it's virtually unusable! It takes around 3 minutes to start up and once it's running, the response time for dialog box's and menus is terrible. Actually working in it just isn't possible as I spend at least 30 or so seconds for each action I try to perform (changing windows, adding a control to the page). Switching between the code and design views pretty much kills it... Am I missing something The machine I'm running is pr ...Show All

  • SQL Server How to sort a table with a parameter

    I have a "Sales shipments" report with several colums. I want a parameter for the user so he choose how to sort. I have two colums in my report I want to sort on: ItemNumber and DeliveryDate. I added a Report Parameter UserSort with two labels (and values): Item (ItemNumer) and Date (DeliveryDate). Then I tried to set the sorting I tried with the CASE statement but no result. Maybe I didn't use the right code. For that reason I post the code: SELECT [DatabaseName$Sales Shipment Header].[Order No_], [DatabaseName$Sales Shipment Header].[Requested Delivery Date], [DatabaseName$Sales Shipment Header].[Sell-to Customer Name], [DatabaseName$Sales Shipment He ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Microsoft.Xna.Framework.Input.Keyboard

    Hiya Everyone, Any advice on the following would be greatly appreciated. I’ve developed a very basic static KeyboardHandler class, for the sole purpose of generating OnKeyDown events whenever some keys are being pressed. The class has a member function called Update, which is called each time the Game.Update() member function is called i.e. it is called each time the game components are being updated. The KeyboardHandler.Update() queries the KeyboardState to determine which keys have been pressed, and raises an event for each of the keys returned by the GetPressedKeys() method I’ve noticed though that the following occurs: 1) The Keyboard.GetState().GetPressedKeys() is returning mouse ...Show All

  • Visual Basic Desktop in VB2005

    Hi, does anybody know how to create a Dekstop in Visual Basic 2005. I have been searching google but all I have found is how to do so in VB6. Please help me I mean, like explorer.exe. I want to create a program that i can run once my computer has started up, that will look like its the normal XP Desktop but it won't be possible to access task manager or install new apps. Also i want no way to close the program without restarting the computer. ...Show All

  • Visual Studio Questions about Sandcastle

    I have some questions and observations regarding the July CTP of Sandcastle when using it to generate documentation. The generated CHM file doesn't seem to have an index. There's no Index tab displayed in the viewer. The generated CHM file doesn't seem to have search capability. There's no Search tab displayed in the viewer. When the CHM file is double-clicked to open it for viewing, the right-hand pane of the viewer shows a mostly-blank page with a small warning icon in the upper left-hand corner. This mostly-blank page goes away when any of the entries in the table-of-contents in the left pane are clicked. In the CHM file, the documentation entries for class constructors always seem to have ".ctor" prepended to them. The table ...Show All

©2008 Software Development Network