Chad Scharf's Q&A profile
Visual Studio Deployment crystal report
hello, I've created a website that uses crystalreportviewer. I 've installed crystal runtime (CRRedist2005_x86.msi). My server is a w2003 with iis6.0 Now i've an error message when i access my page " Method not found: 'Void CrystalDecisions.ReportAppServer.Controllers.ISCRDatabaseController.ReplaceConnection(System.Object, System.Object, System.Object, System.Object)" please help me. Hello, I'm facing the same problem, but installing MDAC 2.8 did not solve it. I've already installed CRRedist2005_x86.msi and .NET 2.0 Framework Redistributable package Thanx in advance for the answer and Happy 2006 Lorenz ...Show All
Windows Forms Public Shared Members vs. Global Variables
I've always thought that it's best to use as few global variables as possible since they take up resources. I've also though that declaring type members as <color="red"><u>public shared</u></color> was similar to a global variable and that this should be done sparingly. <color="red">Are they similar in the way they use resources </color> I a ...Show All
Visual Studio Visual Studio 2005 perfomance issue
Well, i just converted my 10 project solution to VS .Net 2005, and i'm finding out the converted app is running very slow. There has been no real change(except i substituted ConfigurationSettings.AppSettings to ConfigurationManager.AppSettings to see if that was the performance issue) and no luck. My application connects to Microsoft SQL Server(not 2005). What may be the cause to this problem My computer is a 2.39GHZ Celeron pc with 752 mbs RAM. There was no problem whatsoever with 2003 though. Thanks. Hi. Just wondering - make sure you don't have any unneccesary background apps running or applications open ...Show All
Visual Studio Team System How to get alerts?
During the installation of TFS, I entered the smtpserver and mail account for TFS alerts. However, when subscribing to alerts, e.g. 'My work items change' and entering my own mail address, I don't get alerted. The smtpserver is up and running, mailboxes for all team members are created and when testing with Outlook, everything works. How do I get TFS to send e-mails And, is there a way to check that TFS is trying to send something So if we have a SMTP server that requires authentication in the form of a username or password, e.g. not Windows Integrated, then how can we use SMTP based alerts ...Show All
Visual Studio Express Editions error help plz
howdy i am new to this and am doing the microsoft vb express tut i am on number 1 of the tut and i am following him along this is the first bit of code we write Messagebox.show("hello world") then he clicks start debugging up the top to look if it works then looks like a play button everything starts up for him then when i do it i get this error ''Error trying to run project: unable to start debugging the binding handle is invalid but then if i save it and go into that folder and open it it works but i dont want to have to keep saving it every time i wanna see if it works and go into the folder ...Show All
Visual Studio Debugger doesn't work
I don't know why the debugger doesn't works, when I press F5 on my project it shows me this message ERROR WHILE TRYING TO RUN DE PROJETCT: UNABLE TO START DEBUGGING THE LINK IDENTIFIER IS NOT VALID! I really don't know what to do, thanks you all!! What version of VS are you using What type of application are you debugging Windows Forms, ASP.NET, etc. Habib Heydarian Program Manager Visual Studio Debugger ...Show All
Windows Forms How to get what button the user pressed from Messagebox.Show()
if you look at the code below you will see code for a message box. I am using a yes no button. I would like to fire an action if the user clicks yes how would i do this MessageBox .Show( "Would you like to add another element" , "Save Text" , MessageBoxButtons .YesNo , MessageBoxIcon .Hand ); MakeXMIFile(filename); hi, you can use dialog result DialogResult r = MessageBox .Show( "Would you like to add another element" , "Save Text" , MessageBoxButtons .YesNo, MessageBoxIcon .Hand); if (r == DialogResult .Yes) { label1.Text = "done" ; ...Show All
Smart Device Development HELP! Basic Signature Capture on a PDA for a newbie
Hi, I've been thrust back into the world of development head first and I'm trying to get my head around vb.net 2005 as the last bit of dev I did was in VB6 nearly 3 years ago. I've been asked to put together an app that will allow a user to enter data on a PDA which will then store the information on an SQL database, but, of course, they require a signature field at the end. I've searched MSDN and the web for code and examples but most seem out of date (eVB) or over complicated or costly! The best article I've found was the one posted by Ralph Arvesen on MSDN which came with a working example, however it doesn't just capture the signat ...Show All
.NET Development i want examples about using sockets in vb.net >>
Hi i just want a simple described example about using Sockets with tow simple applications (Client - Server) which allow more than one client app to connect to Server because i test an example from eggheadcafe : http://www.eggheadcafe.com/articles/20020323.asp but the example does not allow more than one client to connect to server at the same time !!! please help me , as soon as you can .. cheers Here is a sample with the TcpListener class http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcplistener(VS.80).aspx Here is the documents on Sockets: http://msdn2.microsoft.com/en-us/library/system.n ...Show All
.NET Development DW20.exe issues
I have a web site and everytime I make a reference to my business/datalayers it times out and I can see DW20.exe running in task manager, If i remove all references to my business/datalayers my web site runs fine. My web app was working fine up until this morning. Everything is coded in 05. Has anyone else experienced this issue and if so what did you do to fix it no, I'm doing nothing with office on my web app. Its just a web app talking to SQL ...Show All
Visual FoxPro editbox programmatic change
I am looking for an easy way to determine if I've made interactive change in an editor box. The issue is that there are about 16 controls on a container, they are initialized from a table record thus their values at activate time generally are not trivial default. I have to save the changes with a SAVE button if I made any but I want this button's click method to quickly determine which control values have been changed. I do not want to do REPLACE for the fields with values that haven't been changed. In case of simple controls like a combobox I can store the initial value in Tag property and do the comparison programmatically. Sometimes t ...Show All
SQL Server SSIS Package failing in SQL Agent only
Hi, I have an SSIS package that contains a single data-flow task: Exporting from a SQL Server table to a tab-delimited text file. When I run the package in BIDS or within SQL Server it runs fine, but if I try to run it from within a SQL Agent Job it fails. The step contains the following Command Line configuration: /DTS "\File System\GfKLoad1" /SERVER "SCSRV-DR2" /MAXCONCURRENT " -1 " /CHECKPOINTING OFF When I run dtexec from a command prompt with that argument it works. Maybe because the package writes to a text file there are permission issues Any help is appreciated. Which account ...Show All
Visual Studio Team System Slow TFS Reports
I've installed the July TFS CTP on a dedicated server with a 2.8 GHz processor and 512 MB of memory. In addition, I've installed the June SQL Server 2005 CTP and the TFS data tier on another server with identical hardware. I created a test team project and entered several dozen work items. While attempting to evaluate the pre-defined reports, I found that they take an unexpectedly long time to process, some taking 20 to 30 seconds. The most troubling were the Project Velocity, Reactivations, Remaining Work, Unplanned Work and Work Items reports. With far fewer than 100 work items, I'm concerned that th ...Show All
.NET Development XMLSchema - Defining XmlSchemaElements with sensible types
I am trying to create a simple XMLSchema (XSD that can be written to a file. Note: .Net Framework v2.0 My problem comes with trying to assign a (very simple) data-type to the element. For example - I would expect to find the following output < xml version="1.0" encoding="utf-8" > <xs:schema xmlns:xs=" http://www.w3.org/2001/XMLSchema "> <xs:element name="Test" type="xs:string" /> </xs:schema> ---- My code: XmlSchema MySchema = new XmlSchema(); XmlSchemaElement e = new XmlSchemaElement(); e.Name = "Test"; e.SchemaType = X ...Show All
Windows Forms have someone write a Line Control like the Line Control in VB?
i don't konw how to design its region! How difficult would it be to 'transcribe' these over to ASP.NET ...Show All
