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

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

ShawnWilsnach

Member List

MS_PowerUser
Winvin
ongle
JorgeFF
qsa
mahima
wolf777
pukla
su45937
slies
CodeJingle
rocky_don
Adam Miles
Franco22
ss1234
Harvey_Birdman
shagshag
Joo Park
Pockey
MMV2007
Only Title

ShawnWilsnach's Q&A profile

  • Windows Forms listview problem

    Hi, I recieve an error "stackoverflow in unknown module" while trying to add items to a listView. foreach(String str in list) { if(listView1.FindItemWithText(str) == null) { listView1.Items.Add(str); <-- The exception occurs here } } Can someone suggest what I am missing here Thanks! This few lines of codes you post seem to have no problem, I test it and works well, maybe somewhere else gone wrong. What kind of type of the "list" How did you assign values to the list ...Show All

  • SQL Server Please guys i am confused between VS 2003 and RS 2005

    Is it possible to use SQL server reporting services 2005 with Visual Studio 2003 I mean when you say new project under VS 2003 does it show under project types: Business intelligence projects using Reporting services 2005. Since we have done lot of work using VS 2003(framework 1.1) and now really does not want to get into using Framework 2.0 (VS2005) But want to use just the reporting services 2005 with VS 2003. Thank you all very much for the valuable information. Thank you very much Adam. How about if i use SQL Server Business Intelligence Development Studio to develop RS 2005 reports to develop reports, Will i be able to call the reports via URL or may be webreference i ...Show All

  • Visual Basic Reading/Writing Data

    I am a beginner programmer, I am trying to Read/Write a file. 1.- I need to find a date(invoicedate) in the original text file and see if (today's date - InvoiceDate >10 days), if the retrun is true then I want to add a text ("old') next to the invoice date when I write the file. 2.- I also need to be able to concatenate todays date to the new file name when I write the new file name I have the file reading correctly and writing correctly but Icant find how to do Item 1 & 2. Any and all help is appreciated. Thanks You will probably need to provide more information such as sample data . This will let people help you quicker and more accurately. Thanks. ...Show All

  • .NET Development sqlserver 2005 connection with vb express 2005

    Hi i’m having a problems trying to 2 connect vb express to an .mdf db using sql server 2005. msg: An error has occured while establiching a connection to the server. when connecting SQL server 2005, this failure may be caused by the fact that under the default settings SQL server does not allow remote connections. (Provider: SQL network interfaces, error: 25 - Connection string is not valid) Does anyonehere knows what could be the problem thanx !!!! Hi !! actually i’m ussing a 90 days trial version of 2005 sql server (not express). im not at my pc right now so i do not remember how did i call the data source. but how should i call it thanks !! ;) ...Show All

  • Visual C# convert string to int

    how can i convert hex string to integer for example string hxStr = "C" then int i = 12. Thank you best practice: int theResult = -1; if (Int.TryParse(" String ", System.Globalization.NumberStyles.HexNumber, new System.Globalization.CultureInfo(" CultureName "), out theResult) {    //successfully parsed the string into an integer and result is stored in theResult variable } I believe this is available from .NET 2.0 ...Show All

  • Visual FoxPro Additon in character type data

    Dear Experts Field1 of Table1 has character type data, but digits. In Field2, I want to replace data as under 801 -------- 801 803 -------- 802 807 -------- 803 809 -------- 804 902 -------- 901 905 -------- 902 906 -------- 903 908 -------- 904 Please help   yanyee wrote:   Tariq Mehmood wrote: Dear Experts Field1 of Table1 has character type data, but digits. In Field2, I want to replace data as under 801 -------- 801 803 -------- 802 807 -------- 803 809 -------- 804 902 -------- 901 905 -------- 902 906 -------- 903 908 -------- 904 Please help changed this to mfield2 = "" if substr(field1,1,2)<>mfield2  & ...Show All

  • SQL Server How to use TSQL to monitor replication status

    To monitor the status of replication in SQL 2000 we insert the resuts of sp_MShelp_replication_status into a temp table and review the status. In SQL 2005 this stored procedure has changed and now does it's own insert into execute command. Since insert execute commands can not be nested we must find another way to programically monitor replication using TSQL. We could call s ys.sp_replmonitorhelppublisherhelper but we can't seem to find it in the distribution database. It must be hidden somehow. Any ideas Thanks, Danny >> We could call sys.sp_replmonitorhelppublisherhelper but we can't seem to find it in the distribution database. What do you mean Do you mean you can call this stored proc but can't find it in manage ...Show All

  • .NET Development Exception "Object reference not set to an instance of an object." at changing the value of dataRow[myColumns]

    I am using . Net Framework 2.0.50727 on Windows XP Professional 2002 with Service Pack 2. In my application, there is a Data Table and code to get the dataRow as: DataTable FtDataTable = myGetTableFunction(); D ataRow[] dataRows = FtDataTable.Select("get myColumns ..."); for ( int i = 0; i < dataRows.Length; i++) { dataRows [myColumn] = value; } I got an exception "Object reference not set to an instance of an object." at changing the value of dataRows [myColumns]. But I can watch the value of dataRows [myColumns] before the exception happens. Also, this exception only happens on some of my testing file which is used to generate the data table. The Stack trace is as following. If any HotF ...Show All

  • .NET Development 1000+ threads in windows service (c# .net remoting)

    I have a problem: My server application is running as windows service on win2k3 box. Clients uses .Net remoting to the server. Server also uses COM RCWs, which internally makes call on the SQL server to fetch data. Also the server is heavily loaded. Many clients contact the server simultaneously. In the server, I am using my own thread controlling mechanism (basically a dll) which doesn't allow server to create more than 10 threads. So this mechanism makes sure that at a time the server can not have more than 10 threads created by it. Now the problem is: the server consumes lot of threads, sometimes it reaches 1000-1500 threads. But still it works, and serves the client. Sometimes it doesn't serve and hangs though. I am sure that my code d ...Show All

  • Visual Studio Team System How to override COM registration for Team Build?

    Hi, My project settings for a COM project has the setting 'Register Output' set to true. This causes problem when this project is built by the team build system since the user used by this service does not have sufficient rights required for that. Is there a way in the team build system to override this setting so that this component does not get registered when built by the team build Thanks, Ramesh 'Register Output' property shows up as an XML attribute in the vcproj file. <Tool Name="VCLinkerTool" RegisterOutput="true" So, additing such a condition will not be possible. Team Build uses VCBuild task and provides a property sheet (vsprops) file with overrides ...Show All

  • Visual Studio Tools for Office Word's Action Pane: Context Menu doesn't work properly (doesn't go away)

    I noticed that Context Menus in Action Pane work differently than Context Menus inside Form. If you bring a Context Menu in Form and then click away context menu will go away. But in Action Pane if you bring a Context Menu and then click away Context Menu will stay. Is it known behavior of action pane Is there any work around that The simplest way to see that is create User Control with Context menu and then add this control to Action Pane and to Form. Now you can see the difference between two Context menus.   I don't have an answer for you, but the question has come up before and here was the response: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=717592&SiteID=1 ...Show All

  • SharePoint Products and Technologies MOSS 2007 - What is this error.

    02/01/2007 13:02:01.51 OWSTIMER.EXE (0x0D1C) 0x055C Search Server Common MS Search Administration 7hmh High exception in SearchUpgradeProvisioner Keyword Config System.InvalidOperationException: jobServerSearchServiceInstance is null at Microsoft.Office.Server.Search.Administration.SearchUpgradeProvisioner..ctor(SearchServiceInstance searchServiceInstance) at Microsoft.Office.Server.Search.Administration.OSSPrimaryGathererProject.ProvisionContentSources() Me, too. ID 7hmh... We found it after trying to backup our Sharepoint sites through Central Admin... Also had OWSTIMER.EXE 0x0d24 in there... Our backups quit working at some point and we cannot figure out how to get them going again. We start the backup ...Show All

  • Visual Basic digitally signing sample code

    Hi, I have tried the code from MSDN reguarding digital signature. But I'm not able to make it work. Here's the code: Sub Signfile(ByVal InputFileName As String, ByVal _ OutputFileName As String) On Error GoTo ErrorHandler Dim c As String Dim s As String Dim MyStore As New Store Dim Signobj As New SignedData Dim Signer As New Signer Dim SigningTime As New CAPICOM.Attribute MyStore.Open(CAPICOM_CURRENT_USER_STORE, "MY", _ CAPICOM_STORE_OPEN_READ_ONLY) Signer.Certificate = MyStore.Certificates.Item(1) ' Open the input file and read the content to be signed from the file. I get errors at these 3 lines: Open InputFileName For Input As #1 Input #1, c Close #1 Signobj.Content = c SigningTime.Nam ...Show All

  • SQL Server Path speciale for StyleSheet.

    Hello : To treat the posting of the report (navigation bar, colors etc.), we can created a special sheet of style (ex: TestStyle), who is in: C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\Styles And we put in the url of the report : &rc:stylesheet=STNViewer My question: if this sheet of style is not in the same directory, how to define the road of this page in the url Thank's. Custom style sheets MUST be placed in the Styles folder: http://msdn2.microsoft.com/en-us/library/ms345247.aspx ...Show All

  • SQL Server Can i host a SQL2005 EE DB on SQL2000 engine ?

    Hi, I'd like to host a small website created using VS2005 EE with a company that offers just SQL2000 DB support. My question, can i use the DB created by VS site manager as a DB to the site, if not, is there any alternatives. Thanks. Hi Andrea, Yeah you are right on that. The formats for SQL Server 2005 Database are different from that of SQL Server 2000 database and sp_dbcmptlevel does not downgrade to that format. I mixed this up with the other-way-round scenario that you can use a SQL Server 2000 database as-is (i.e. locked up with formats and features restricted to SQL Server 2000) by setting the sp_dbcmptlevel to 80 on a SQL Server 2005 Engine but not the other way round. Thanks for pointing th ...Show All

©2008 Software Development Network