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

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

kwards3

Member List

Crazy Engineer Kid
dhanezep
arcliner
ChrisHelt
Nick Sheng
LucasPc
William Vaughn
David pereira
Luke Yang
Jweige
Furby
RARiedel
ElliotHC
John Aschenbrenner
Jarod.Net
cggamer
solehome
Abelard
bgailer
Gulden
Only Title

kwards3's Q&A profile

  • Visual Studio Express Editions Can I store formatted text in sql express?

    Is it possible to store formatted text such as RTF if to an SQL database And while I'm on... Do the MDF files work like the good old Access MDB files The application I'm creating requires swapping from one database to another. E.G. An engineer vists a client and enters data into the database. He then gives a copy of the database to the client. Does the client only require the MDF file or will they need to install SQL Server Express Cheers. What you store in SQL depends on what the table's column is set to be. For example if the data column is a VarChar(10), then yes you can have text but only 10 characters. However the format will not hold in simple text. Even if you use Text as your column, the ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. MDX 2 Time Bomb

    Almost all MDX2 Ctors are calling the bombing code below: public static unsafe void CheckTimeBomb () { DateTime time1 = new DateTime ( 0x7d6 , 10 , 5 ); if ( DateTime . Compare ( DateTime . Today , time1 ) >= 0 ) { MessageBoxW ( null , & _C@_1PI@LKOFODJP@ $AAT $AAh $AAi $AAs $AA 5 $AAp $AAr $AAe $AA 9 $AAr $AAe $AAl $AAe $AAa $AAs $AAe $AA 5 $AAv $AAe $AAr $AAs $AAi $AAo $AAn $AA 5 $AAo $AAf $AA 5 $AAD $AAi $AAr $AAe@ , & _C@_1DE@JJLLKEIK@ $AAM $AAi $AAc $AAr $AAo $AAs $AAo $AAf $AAt $AA 5 $AAM $AAa $AAn $AAa $AAg $AAe $AAd $AA 5 $AAD $AAi $AAr $AAe $AAc $AAt $AAX $AA $AA@ , 0x2000 ); throw new TimeBombException ( "This pre-release version of DirectX has expired, please upgrade to the latest version f ...Show All

  • Visual C# Problem with passing arguments in shell command

    Aloha, I'm creating a GUI for a dos program I use a lot. Here i a sample of my code: [code] proc.StartInfo.FileName = "D:\\Program\\xyprogram.exe"; proc.StartInfo.Arguments = this.openFileDialog1.FileName; proc.Start(); [/code] This generates "xyprogram filename.txt" and it works. My problem is that I want the result to take another argument called -i so the result would look like "xyprogram filename.txt -i" I have tried [code] proc.StartInfo.Arguments = this.openFileDialog1.FileName + "-i"; [/code] but it don't seems to work. Any suggestions You'll need a space. Hard to make it visible so I'll do it like this: proc.StartInfo.Arguments = this.openFi ...Show All

  • Visual Studio Express Editions Help: Edit menu on web browser

    I'm trying to make the cut, copy, and paste buttons. I have tried many methods I have found on the internet, but none worked for me. By the way I am using Visual Basic 2005 Express. Thanks in advance. well what code have you tried Clipboard class allows you to cut copy and paste pretty much as for each control, or most input controls I think, like a textbox, has the Cut copy and paste methods. For this you need to select your text that you wish to cut or copy or paste. You can also append to the textbox for example from the clipboard item you have copied to. http://msdn2.microsoft.com/en-us/library/system.windows.forms.clipboard.aspx ...Show All

  • .NET Development Access Excel File On Different Server ** Help Urgently Needed Plz **

    Hi all, I am trying to link to an excel file on a web directory on a different server but can't seem to get access to the file, This is the code i'm using: Dim sConnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;" _ & "Data Source=\\fse1web563\fsetrain$\public\Equiv\FSE_PAS.xls;" _ & "Extended Properties=Excel 8.0;" Any ideas, help appreciated OK, so your web application has been configured for Anonymous access only Is the Excel file on the same server as the web application or is it on a remote resource ...Show All

  • Visual C++ C++/CLI /CLR Managed Support in Native Library

    Hi, I have a C++ project, a .dll project in Visual Studio 2005, which uses all native C++. I was able to compile the project with the /clr option (just /clr for common language runtime support). I am able to add the a reference to the dll with another C++ project, which is also compiled with the /clr option, and the entire application runs fine. The problem comes when I try adding the .dll project reference to a test C# project and add a "using MyCPPNamespace" to my C# class. I don't see the new C++ project namespace anywhere within my intellisense in the C Sharp project and I can't just add it as a using. I thought compiling my native C++ project with the /clr option allowed us to add references to these projects in other manage ...Show All

  • Software Development for Windows Vista Exception when Persistence and Tracking Services are used together...

    Have a state machine workflow that gets started inside the Application_Start of a Web Service. As long as I have EITHER the Persistence service OR Tracking added, everything runs just fine. But ONLY when I add both, I get the following: Exception Details: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Workflow.Activities.EventDeliveryFailedException: Event "OrderCreated" on interface type "WorkflowCommunication.IOrderController" for instance id <GUID> cannot be delivered. ---> System.InvalidOperationException: Workflow with id <GUID> not found in state persistence store. at System.Workflow.Runtime.Hosting.P ...Show All

  • Windows Forms toggling images in a toolStrip button

    I have noticed how the undo and redo buttons in most apps have an inactive state image (gray) and an active state image (usually blue). The images swap interactively as you reach the start or end of the current levels of undo. The next and back buttons on this browser are an example. I have looked for information on how to do this with a toolStrip button and have found only the reference to toggle buttons which concerns causing a single image to looked depressed until the control is clicked again. Can someone point me to information on how to associate 2 images to a toolStrip button so I can toggle them between 2 states of the button I have arrived at what I think may be a workaround, but I'm no ...Show All

  • Visual C++ converting encrypted data into hexidecimal

    How can I convert each byte of encrypted data into two hexidecimal characters, so that a byte of the value of 'z' becomes the string of two characters: '7A' , My encrypted data is of variable length. Also once converted I need to conver the hexidecimal back to the encrypted data So any suggestions please. My encrypted data looks like the following " [U | £ ](%IY X/2 A9  f Qv dyyyy itit" andn is obtained by doing the following PBYTE pBufPtr if(!Encrypt(hKey, 0, TRUE, 0,(BYTE *)pBufPtr, &dwCount, dwBufferLen)) I need to convert it into hexidecimal and display it to user so the user can read it out and at the other end we'll take the hexidecimal and convert it back into the encrypted data. So need he ...Show All

  • SQL Server SQL Server General Network error.

    Hi, I am using .Net framework v 1.1 and SQL server 2000. I got the following output on firing "SELECT @@version" in my sql server. ---- Microsoft SQL Server 2000 - 8.00.2039 (Intel X86) May 3 2005 23:18:38 Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 4) I am getting the General Network error when i try to select, update or insert data from / into sql server. This error is randomly generated and some times just disappears. But i am sure that there must be some problem bcoz, now or then the same error is thrown. I am firing these queries from a windows service. Since it would be automatically working in background i want that a sure shot solution be imple ...Show All

  • Visual C++ Interlocked issues

    Hi, I'm working with Vs2003, targeting multiple platforms and processors (including multicores). I'd like to replace some of the windows' CriticalSections used in our code for something faster. As using volatile (especially with 2003) is not very thread safe (no memory barriers, etc), i went for interlocked operations. Since the code i was suppose to patch was using something that looks like while( !m_bBoolean ) ; m_bBoolean = true; // ... volatile bool m_bBoolean; I introduced a new class to only need to replace the type of the value itself: template< typename T > class VolatileType { enum { LOCKED = 1, UNLOCKED = 0 }; public: __forceinline VolatileType() : _lock(UNLOCKED) { set(0); } __forceinline VolatileType( const T ...Show All

  • Visual Studio Express Editions TreeView: unselect item when clicking outside of tree

    Hi folks, this one eludes me... I have a treeview, with several nodes. If I click OUTSIDE the tree, I want the current selected node to be deselected, like Treeview.SelectedNode = Nothing. But I cannot find the event to trigger this... if I click in the white space, the currently selected node remains selected..... Any suggestions Thymen Private Sub cbExit_MouseDown( ByVal sender As Object , _ ByVal e As System.Windows.Forms.MouseEventArgs) _ Handles tvc.MouseDown If tvc.SelectedNode Is Nothing Then Exit Sub tvc.SelectedNode = Nothing End Sub ...Show All

  • Visual Studio 2008 (Pre-release) Difficulty installing .NET 3.0 on Windows XP

    I'm trying to get .NET 3.0 working with VS 2005 so that I can use WPF. I've followed the instructions at: http://msdn.microsoft.com/windowsvista/downloads/products/getthebeta/#runWinFXApps I've installed on two machines - one a clean Windows XP machine - without any luck. The installation order has been: Visual Studio (already on both machines), Net 3.0 and then the SDK. No additional project types are shown in VS after install and an attempt at installing Orcas results in the error message that .NET 3.0 isn't installed. Any suggestions mikej This is an issue that spans back to the day of the RC1 versions release.Its been most of the End Users that have solved or help to solve the iss ...Show All

  • Visual Studio Team System Any limitation of the VSTS automated testing?

    We're conducting studies regarding the limitations of VSTS Automated testing. Your input is highly appreciated. Thanks. I will start the list... 1) Not able to create an ordered test containing Load Tests. Thanks, Loonysan ...Show All

  • SQL Server SSIS package execution error

    While executing the SSIS package from visial studio it is running. If we execute from Integration services - - -> stored packages - - - -> msdb - - - -package name, the package gets executed. But when scheduled through jobs it gives the following error in history "Execution as user. <user name > The command line parameters are invalid. the step failed" command line looks like this " /DTS "\MSDB\Maintenance Plans\Package1-HYUNDAI" /SERVER tvmwindev02 /CONNECTION "10.10.1.52.upsframis";"Data Source=10.10.1.52;Initial Catalog=upsframis;Provider=SQLOLEDB.1;Integrated Security=SSPI;Auto Translate=False;" /CONNECTION DestinationConnectionOLEDB;"Data Source=mscoe.db.ust ...Show All

©2008 Software Development Network