Davidkapp's Q&A profile
Visual Studio Local or Remote mode?
My question is kind of philosophical. That is, I am wondering what the best philosophical approach is to making and using reports in Visual Studio, with regard to SSRS. I would like to climb up the right ladder here. Any responses appreciated. I see that I can create reports in local mode or remote mode. I use VS only for client server applications. A fairly small number of clients accessing a SQL Server DB (05) on a network server. At first ...Show All
.NET Development Exception is not shown on label but on ugly yellow page.
Hello. My solution has a class library. I have this code in one class. public void insertarEmpresa(Empresas e) { try { EmpresaDAO ed = new EmpresaDAO(); ; ed.insertarEmpresa(e); ...Show All
Visual Studio SourceSafe in a ASP.Net project with multiple developers
I want to create a scenario that will work at this way. I have a server running Windows 2003 and IIS that will have the original cop ies and will receive the files checked-in. And I have multiple developer's machines that are running Windows XP and IIS too, so I want to get the latest version of the ASP.Net project on the deve loper machine, run on developer's machine, check-out some files, and after e diting files, I want to check-in the ...Show All
Windows Forms How to Extract the Date From Datetime
In dt variable I have - 6/9/2004 2:36 PM I want compare it's only date part i.e. 6/9/2004 with today's date How should I do it The DateTime (structure it seems) supports the property Date for this purpose, several other properties&nbs ...Show All
Visual C++ PWSTR* being passed into unmanaged dll
Try this one instead of your unsafe code block: string output = System.Runtime.InteropServices.Marshal.PtrToStringUni(foo); ...Show All
SQL Server Error when starting Report Manager
When trying to start report manager ( http://localhost/reports ) I get the following error. I have since given access to ASPNET and IUSR_<machinename> rights to the listed path & file, but still get same error. Any ideas Thanks. Parser Error Message: An error occurred loading a configuration file: Access to the path 'C:\Inetpub\wwwroot_sps2003\web.config' is denied. Source Error: [No relevant source lines] Sour ...Show All
Visual Studio Express Editions Package Load Failure
Hello there, I have uninstalled all Visual Studio 2005 Beta 2 components as described, none were listed. I installed VC# 2005 Express edition today, and when loading it i get the following message: Package Load Failure Package 'Visual Studio Explorers and Designers Package' has failed to load properly (GUID ={8D8529D3-625D-4496-8354-3DA6630Ecc1B}). Please contact package vendor for assistance. This also shos up for Visual Studio Common IDE Packa ...Show All
Visual Studio 2008 (Pre-release) Correct way to write an inherited Avalon control
There are two options in the new class wizard that seem close enough. One is for a Custom control, where a class is generated that's derived from Control, but it's just source code, no Xaml. The other option is a User control, where a class is derived from UserControl, and includes Xaml support. Now, say I want to derive my own ComboBox or ListBox - which of the above two do I use as a start I am thinking, I generate a UserControl deri ...Show All
Visual Studio Team System Version Control Commands become unavailable
In RC1 I've started experiencing all Version Control commands becoming disabled. It doesn't happen all the time, just now and then. I did not experience this in B3R or B2. When it does occur, restarting VS does not guarantee that the problem goes away. Right Clicking on an item in the soruce tree will display a one item context menu "Command unavailable" (or something like that). And all commands in the toolbar are disabled. The only wa ...Show All
SQL Server XML Source - Generated XSD or XML Problem?
Trouble with using the XML Source Adapter and generated XSD. The XML source is from a file. The XML file that, due to its origin I can not modify, has the following on each line (I've formatted it for readability): < xml version="1.0" encoding="UTF-8" > <Merge ActionType="M"> <OldID>23677451</OldID> <NewID>25116562</NewID> </Merge> They are messages from a que ...Show All
.NET Development How to POST data and retrive the html respond?
I am trying to build a tool that can allow user to login to the forum and load the forum topics into a listbox. So, let's say: [URL]: www.honghong.net/honghongforum/index.php [Textbox]: txtUser [Textbox]: txtPass [Checkbox]: chkRememberMe [Button]: btnLogin then once I entered those info, it will then POST those data (I'll group them up myself) to the forum. Then I should get a html respond regarding i login succesful or not. (but not the html b ...Show All
Visual C# Sharing / Accessing comon control values between forms
I am a begining C# programmer using Visual Studio 2005 Beta and have the following question. How can I access values from common controls, like a ComboBox, or variables within Form1 (the parent) from Form2 (a dialog) and vice versa Scenario: In Form 1 the User enters form data. In Form 2 the input data is processed and the results are displayed in a new form with readonly textboxes. An explanati ...Show All
Windows Forms disable X on form but leave -
how can disable the X button on the form's title bar but with leaving the minimuze button on it.. I just need the minimize button only on the bar (no maximum & no X) I usually do it by creating a non-rectangular form. Although doing this requires alot of coding because you have to write the code to allow the form to be moved. Doing it this way you can just create your own Minimize Box and Close Box. What langauge are you working ...Show All
Windows Forms List box and textbox
I have to forms. a.vb and b.vb. on A.vb I have a text box "a.text", and on form b.vb I have a listbox with a few names. I want to know how do I chosse or click a name from the listbox in b.vb and when I have click the nameI want, how do I get it to show in the a.text box in a.vb. Can you plase walk me true this Thanks Hi, If your using VB2003 it would be a little more tricky. It really depends on who's ...Show All
Windows Forms How to update sorted values in DataGridView?
I have a DataGridView bound to a dataset where I need to insert rows. Just like the Insert/Rows command in Excel. It works ok at this point: Create the new row with table.NewRow, populate with default values (including a row number), table.AddRow. When the data table is updated, the binding source and datagridview also get updated. The binding source and datagridview are sorted by the row number, so the row falls in ...Show All
