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

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

sl0140

Member List

Marlun
enric vives
Radiant-designer
ctroyp
Jim Altrichter
m_shane_tx
RJBriscoe
rr_rej
MariamCR
Noral
RCS300
Michelle A.
_Stoic
Zach7
Wicket
Willian Leite
bob yoplait
Chaman Zinga
Jegant
Nima_Don
Only Title

sl0140's Q&A profile

  • Visual Studio 2008 (Pre-release) Configuration help.

    I am having some configuration problems and I would like to solicite some help from this group. I have tried reading "Programming 'INDIGO'" on configuration but it seems that many of the tag names and configuration sections have changed so that it is very hard to take samples from the book and apply them. Is there a better reference on configuration of server and client Where would be the best place to go for samples At a very basic level I would like to configure a client and server to use or listen on an HTTP address and a TCP address. This seems simple enough but the configuration has me tripped up right now. Thank you. Kevin "Programming Indigo" is pretty out of date. For sam ...Show All

  • Smart Device Development MissingMethodException in SqlServerCe 2.0

    I am running MW 5.0 on a AXIM X51 and using ActiveSync 4.0. I am writing code with VS 2003 in VB.NET->Smart Device Application and deploying in Pocket PC. I can produce a good HELLO WORLD application that works on the POCKET PC 2002 EMULATOR as well as the DEVICE(AXIM). While I have had success with .csv type database tables and XML tables I can not get the System.Data.SqlServerCe to work on the device. My application will run on the emulator but throws an exception on the device when it comes to using a SqlServerCe method, like. The application reads through this code just fine;     Dim sqlEngine As SqlCeEngine sqlEngine = New SqlServerCe.SqlCeEngine sqlEngine.LocalConnectionString = "Data Source = \program” & ...Show All

  • Visual Studio Team System Accessing Test Fixtures from Team Policy

    Coders, I am trying to write a Policy for Visual Studio Team System. From my policy I need to be able to access the Test Fixtures for the currently loaded Solution in Visual Studio . I can probably think of a few hacky ways I can do this myself but I would assume there to be some sort of elegant object model that I can take advantage of. If there was some sort of programmatic access to the Test Manager widget this would be ideal. If any one can guide me towards any assemblies or extension points to Visual Studio that gives me access to the Test Manager or some object model around the Test Fixtures for the Visual Studio Solution, I would appreciate it. Thanks, Callum Hello Cal ...Show All

  • Visual C# Array.Sort for DataRow array

    Hi, I want to sort a DataRow array with my own compare function. How can I do that Can I call Array.Sort(datarows, myowncomparefunction) like that How does myowncomparefunction have to look like I hope, that's a simple question for the experts. Write a comparer first: class DataRowComparer : IComparer<DataRow> {     public int Compare(DataRow x, DataRow y)     {         // return -1 for less than         // return 0 for equal         // return +1 for greater than     } } Then create one and pass it your array sort:  &n ...Show All

  • .NET Development SoapHttpClientProtocol slower in .net framework 2.0 than .net framework1.1?

    I have update my web client from .net framework1.1 to .net framework2.0. When i call same service function from same server , i find the 2.0 client version is slower than 1.1 client version. I list the client test code here, it is very sample: public string wsDoTest(int nIn) { object[] results = this.Invoke("wsDoTest", new object[] { nIn}); return ((string)(results[0])); } I run this method 100 times. Both client and server are windowsXP(sp2), And result is: version1.1 client: about 2 seconds version2.0 client: about 20 seconds Why Can anyone give me some ideas milex wrote: I know the problem . The proxy setting make them different. What was it with the proxy settings that c ...Show All

  • Windows Forms Newbie with uninstall and update questions

    Hello, I am a complete newbie when it comes to VB and VB Express Edition. My issue with my app is twofold: 1.) when uninstalling the app, only the start menu shortcuts are removed. The files and folders are not. Is there way to force these files to be removed 2.) when auto-updating the app, I either need to have it delete the old files, or find a way to change the "home directory" setting in IIS automatically. Are either of these possible with the express version If so, how do I go about implementing the changes Are you using clickonce In clickonce it does remove and reinstall so if you have any data files, make sure you mark it as data so that it keeps ...Show All

  • SQL Server loading mining model error

    Hello, I am using SQL Server 2005, and trying to load a mining model : microsoft association rules through a VB.net. When it is loading, this error msg displayed : "An error was encountered in the transport layer. The peer prematurely closed the connection." Any help is really appreciated. Thanks a lot, Mita Are you doing this in a VB.Net app where you've embedded the DM viewer controls The error you're seeing might be due to mismatched client components. Did you happen to have pre-release bits of the client components (the OLE DB provider, msolap90.dll, as well as ADOMD.NET) on the machine where you're running your app Re-installing RTM client components on the machine would fix the proble ...Show All

  • SQL Server Accuracy of Host column on SS 2000 Enterprise Manager Current Activity Process Info Screen

    Yesterday and today, the Process Info screen in Enterprise Manager indicates that the "Host", a single workstation on our network, is generating around 50 connections to the database. This particular application is well-behaved and typically generates only 2 to 5 connections per instance. Furthermore, we cannot find this particular workstation/host on our network because we retired it off the network some time ago. Anyone know of the accuracy of the Hosts column on this Enterprise Manager screen We're suspecting that the network address column is correct but the Hosts column is incorrect. There are about 10 different network addresses pertaining to this particular Host (1-5 connections per network address). ...Show All

  • SQL Server Delete File Based on Criteria

    Hi, I want to delete all files in a folder where creation date is an year older. I created a For Each Loop container to go over the whole folder and then execute the following Script Task Dim FileArchive As Int16 Dim dteArchive As Date Dim FilePath As String FileArchive = CType (Dts.Variables( "FileArchive" ).Value, Int16) ' One Year FileArchive = 365 dteArchive = DateAdd( "d" , -FileArchive, Now.Date) FilePath = Dts.Variables( "FilePath" ).Value.ToString If File.GetCreationTime(FilePath) <= dteArchive Then Try File.Delete(FilePath) Catch ex As Exception 'Do Nothing End Try End If Dts.TaskResult = Dts.Results.Success Is ther ...Show All

  • Software Development for Windows Vista How to creat two or more applicatioins on one VISTA desktop

    In Windows XP system, end-user is very easy excute tow or more applications on one XP desktop, but why we can not creat two or more applicatioins on one VISTA desktop Does anybody know how to solve this issue Thanks your reply, I can use "RunAS" this function to run two or more Skypes in Windows XP, but I can not use that way to run two or more Skypes in Windows VISTA. Could you tell me, which way or skills you can do it. Thank very much! ...Show All

  • Visual Studio Tools for Office Basic setup project for VSTO includes primary DLL with document.

    Question I am trying to create a install project for an Excel VSTO solution and following the Installer Walkthrough #2 example. Upon running into problems with the install, I decided to piecemeal the actions into step by step process in a new project to determine the failure point of the original setup project. When I created the new setup project to just install the primary output of my Excel VSTO project, I dutifully told it not to install support dlls by excluding them in the install project. When I ran the installer, it installed my Excel file and the primary VSTO dll which sits behind it as well as the config settings file. My question is this, “ Can one install only the Excel file using the Microsoft I ...Show All

  • SQL Server How to: join 1 table to 2 columns in another table?

    I have two tables: Orders, with OrderID as primary key, a code for the client, and a code for the place of delivery/receipant. Both the client and place of delivery should be linked to the table: Relations, where each relation has it's own PrimaryID which is a auto-numbered ID. Now I want to substract my orders, with both the clientcode, and the place of delivery code linked to the relations table, so that for both the name and adress is shown. I can link one of them by: InnerJoin On Orders.ClientID = Relations.ClientID, but it's not possible to also link to the ReceipantsID. Is there a way to solve this Hi, so the placeofDelivery is another clientid Then it would be something like SELEC ...Show All

  • Visual Basic Call a VB 2005 DLL from VB .NET 2003

    I have an executable program written in Visual Basic 2003. I now have a DLL written in Visual Basic 2005. How do I call the 2005 DLL from the 2003 EXE I have tried Reflection and simply CreateObject. Even tried to create a reference. All attempts told me that the DLL was invalid. Help please Rory Have you tried adding a config file to the .Net 1.1 dll to force it to use the .Net 2.0 runtime If your exe is called yourfile.exe, create a file called yourfile.exe.config with the following contents: < xml version ="1.0" > <configuration> <startup> <supportedRuntime version="v2.0.50727" safemode="true"/> <requiredRuntime versi ...Show All

  • Windows Live Developer Forums Getting the tic tac toe example

    Where do I get the entire Tic Tac Toe example mentioned in the SDK TIA Hi, J-Thread , would you like to send the Activity SDK zip file containing the Tic Tac Toe example to me Please help me! Thanks!! Email to zljtx2008@gmail.com ...Show All

  • SQL Server Getting SSIS running on Web Server

    I need to be able to run SSIS packages form an asp.net (win 2k3) web server. Wrox has a book out "Professional SQL Server 2005 Integration Services" where they call the dtsx package directly using the following vb.net snipette: Imports Microsoft.SqlServer.Dts.DtsClient Dim ssisConn As New DtsConnection ssisConn.ConnectionString = String.Format("-f ""{0}""", strMyFilePath) ssisConn.Open() As you would expect this works great on a workstation that has BIDS installed on it but does not work on a web server where sql client tools are not installed. Without install sql tools on the server what needs to be done to get this functioning as coded How about calling packages that are insta ...Show All

©2008 Software Development Network