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

Software Development Network >> Duane Haas's Q&A profile

Duane Haas

Member List

spartakiran
CodeButcher
beto81
Sameer234
Uli Hofer
Pure Krome
Jay McKinney
ByteRider
TABLO
Montana Jones
jamesIEDOTNET
Ricardo Francisco
canadian_coder
Attila Fogel
Perley
Gulden
haughki
asmith48
Paul Arena
AmitKGupta
Only Title

Duane Haas's Q&A profile

  • Visual Basic [OTP]Controlling Word through VB6

    I am creating a document in Word through VB coding and I want to save the document in .rtf format. everything I try just ends up saving in the .doc format. Public wb As Object Set wb = CreateObject("Word.Basic") wb.FileNew "TAS.dot" wb.Insert "Help!" I tried: wb.FileSaveAs "Test.rtf" then this: wb.FileSaveAs "Test.rtf", FileFormat = wdFormatRTF then this: wb.FileSaveAs "Test.rtf", wdFormatRTF nothing seems to work. These forums are for questions regarding .NET programming. VB6 is not supported here. Please see the following links for help: Useful Links Visual Basic 6.0 on MSDN Library Visual Basic 6.0 Help and Support Visual Basic 6 Support on Window ...Show All

  • Visual C# Command Prompt To Prompt

    Can anyone tell me how to stop command prompt from flashing on my screen on startup It has been doing this for about a month now, and I know it shouldn't be. Thanks :-) im afraid you have posted in the incorrect forums. Best place is to post in the appropriate communities for your OS: www.microsoft.com/communities most likely you installed a piece of software doing this, you may wish to check the startup items. However again, please post in the appropriate communities Thanks ...Show All

  • Visual Studio Express Editions C# equivalent for the Delphi "Set of"

    Hi all what's the C# equivalent for the Delphi Set of (set = a collection of values of the same ordinal type) private ANumb: integer; // declare the set _MySet : set of 0..127; // add to set if not (ANumb in _MySet) then _MySet := _MySet + [ANumb]; // remove from the set if (ANumb in _MySet) then _MySet := _MySet - [ANumb]; How to translate the above thanks in advance for any help! from what I've seen with a quick google, its to instantiate a variable/collection with a certain length Integer I believe cannot be "set" as it has its own min/max values but you can assign a value to an Int: int theNumber = 1; to create an array of string, for example, with a specified length: ...Show All

  • SQL Server Schema modification advice

    We have a production database (SQL 2005) that is being used by at least 20 different applications. Some of the tables need to be modified (column added). There is also a need to add new tables that will have referential integrity relationships with existing tables. Does anybody have a good way or best method of changing table schemas, objects, etc. while minimizing the impact on the current operations The key is minimal downtime if there is a need to have one. 1. Can the table schemas change while it is online 2. How would you account for all the applications that use stored procedures 3. Among the existing SQL 2005 tools, which one/s can handle the job there are 20 applications using the program an ...Show All

  • Windows Forms Check box in datagrid.

    Dear All, I have managed to create a column of check box in my datagrid. Now what I want to do is that upon selection of a number of checkboxes and when the user presses the delete key board button I want to do is to delete that particular rows which was selected. Can some one help me please I know is linking with some datagrid event but I dont know where to start and how Thanks. hi, sukbir i think the link below will help u ,there is a detail education about how to Selecting, Confirming & Deleting Multiple Checkbox Items In A DataGrid . http://dev.csdn.net/develop/article/26/26613.shtm good luck! ...Show All

  • Smart Device Development Porting from .Net Framework to .Net Compact Framework

    Hi, what is the best way of porting the app to mobile device I think that GUI must be completely redesigned, as most of method and properties are simply not avaiable... But HOW to di it in the best way I'm newbie, so I simply create new solution in MSVC 2005 IDE and then I start make new forms with similar visual appearance, with .Net Compact framework limitations..., I will share the engine code, but the GUI code I will rewrite completely Is there the better way how to do it Thanks a lot Bye STeN nope, im afraid you have to redesign the GUI as its a different platform altogether (its not a PC). As for the code, same thing for some of it, depending on if the .NET CF Supports the classes you are using in the ...Show All

  • Visual Basic compressing the file

    Hi I have check the website by using the compact command to compress the file. but i fail to compress it, for example i have a file call CompanyName.xls i type in command prompt n test -> compact /c c:CompanyName.xls its show sucessfully but i didnt see the compress file in drive c: and last how can i make this command to run in program created using v.net You'd need a ZIP utility, something like InfoZIP , WinZip or WinRAR , and execute the command line version of that utility to create a zipped archive. I use InfoZIP, it's free and works pretty well... ...Show All

  • Visual Studio BuildAction property for a ctc file does not contail the CtcFile property

    Hi, I'm trying to remove the depenendency of my Package on a satellite dll. I did this by creating a resx file and adding all the necessary strings, ico, images etc. I proceeded to add the [MsVsShell. PackageRegistration (UseManagedResourcesOnly = true )] attribute to my package. I then moved the ctc file for the assembly from the satellite dll project to my main package project. The "Build Action" property for my ctc file, however, does not provide the "CtcFile" option. If I look at the Toolwindow sample the ctc file has this option. What is the correct way to migrate a ctc file from a satellite dll to the main package How do I get the "CtcFile" option to show up for the "Build Action" property. Thnx in advance. ...Show All

  • Smart Device Development How can I deploy latest service pack along with my application cab file

    I am getting following error this apliaction (Mytestapp.exe ) requires newer version of the microsoft .net compact framework than the version installed on this device How Can I deploy latest service pack along with my application cab file. I am using smart device cab application projectI am getting following error this apliaction (Mytestapp.exe ) requires newer version of the microsoft .net compact framework than the version installed on this device How Can I deploy latest service pack along with my application cab file. I got Framework 2.0 installed from MS, but there are still some "magic files" required that MS did not include with .Net CF 2.0 Cab files. If you run Visual Studeo 8.0 and allow it to copy its "versio ...Show All

  • .NET Development how to convert IList to IList<T> and vice verse?

    Thanks Since IList doesn't derive from IList<T> (directly or indirectly) (for any T) you'll have to write a wrapper. using System; using System.Collections; using System.Collections.Generic; using System.Text; namespace ListWrapper { class EnumeratorWrapper <T> : IEnumerator <T> { IEnumerator e; public EnumeratorWrapper( IEnumerator e) { this .e = e; } #region IEnumerator<T> Members public T Current { get { return (T)e.Current; } } #endregion #region IDisposable Members public void Dispose() { if (e is IDisposable ) (( IDisposable )e).Dispose(); } #endregion #region IEnumerator Members ob ...Show All

  • SQL Server Sharing an XML configuration file between packages

    Hello, I'm using an XML file to configure my dataBase connection string. I try to deploy my package on a new server and it works perfectly. Then I made a second package which also need a configuration for the dataBase connection string. (I made the connection with the connection manager inside packages). The configuration is the same that for my first package, so I thought to use the same configuration file. I can use the same configuration file but the problem is when I try to generate a deployment for my solution. I got an error which tell me that the xxx.dtsConfig file already exist and can not be copy again. When I made the configuration in the second package I said that I want to reuse the file ... and I thought that for the deploymen ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Power of XBOX360 - raw triangle power

    Hi, I was wondering if it was possible to compare the graphics power of XBOX360 to any of current gfx cards. Say, if it`s capable of rendering same amount of triangles as e.g. GF6800 does. The old XBOX was usually compared to GF3 in terms of graphics performance. The reason I ask is, that I would like to know the general boundaries of the raw gfx power, since I`m planning on converting some of my current games to XNA (and later to XBOX360) as soon as it becomes available. Currently I`m pushing the GF6800 card to its limits, which means I`m rendering a range of 0.5M-1.0M triangles (all unique, non-instanced) per frame and it seems that GF6800 starts to slow down when it crosses 1M barrier. No pixel shaders there, just Vertex Shader ...Show All

  • Visual Studio Team System Command ExecuteShellCommand is not supported

    I have the need to execute a bunch of shell commands during deployment. Is there any initiative to allow the ExecuteShellCommand in the deployment scripts. Essentially, I would like to be able to supplement the Script.PostDeployment.sql script with shell commands such as: !!bcp mydb.dbo.mytable in "C:\tmp\mytable.dat" Right now the DB Professional Project errors out during deployment with the following error message: "SQL Execution error: Scripting warning. Command ExecuteShellCommand is not supported." Thanks in advance for any insights What is the reason for this restriction Do you foresee supporting this feature in future releases Is there any way that I could add some hooks to exec ...Show All

  • Windows Forms Dataview problem

    Dim tmpTable As New DataView( myDataSet.Tables( BindingSource.Current( "TableName" )), "" , BindingSource.Current( "RecordIDfield" ), DataViewRowState.ModifiedCurrent) Dim RowIndex As Integer = tmpTable.Find( BindingSource.Current( "RecordID" )) With the above code: myDataSet.Tables( BindingSource.Current( "TableName" )) Returns the Table "VAT" BindingSource.Current( "RecordIDfield" ) Returns the field "VatID" (unique index) BindingSource.Current( "RecordID" ) Returns the value "1" The "VAT" table exists and the field "VatID" exists, there is only one row in this example and t ...Show All

  • SharePoint Products and Technologies How to understood Search Cache happen in sharepoint sites?

     i have tried for many ways to create different items with different persmission with some user don't have persmission try to search result for persmission item to non persmission user accsess but result came out wrong. it will show me non authorised item to unauthorised users. then how to check cache search in sharepoint site or how to understood particular site caching search results which is bypasses to unauthorised users Please send any one me answer as early as possible please anybody found any link help or hint. regarding to above question please  send me ...Show All

©2008 Software Development Network