Jason Bock's Q&A profile
Windows Forms VB2005-Express: Display Grid in Windows Forms Designer
hello everybody, this may be a silly question - but are there really silly questions i've started converting a few apps from vb6 to vb2005 (express) and everything works fine, except that i'm not able to display the grid in the windows forms designer. i've set the gridSiz e-option to 8;8 (e.i. left the value untouched, i've tryed 4;4 aswell) and set the showGrid -option to true . but the grid will not appear. what is it i'm doing wrong can anybody help thanks helmut The Windows Forms Designer options are a little confusing, the ShowGrid option is only applicable when LayoutMode is SnapToGrid . To enable the ...Show All
Visual Studio Express Editions Adding a .DEF file to a DLL project
Hi, I've created a .DLL application project in Visual Studio 2005 Express in C++. I am now trying to add a .DEF file to the project. I presumed I could add such a file much in the same fashion you can add a .CPP file or a .H file to the project. However this does not seem to be the case. Can anyone help with this, I'm still feeling my way around the IDE after migrating from C++ V6. Thanks, Martin, I think the concern is that there appears to be no Add New Item ... that corresponds to a .DEF file or even some sort of miscellaneous file. ...Show All
SQL Server Refresh icon in RS 2005
In my installation of RS 2005 when I click the Refresh Icon on a report the report doesnt update. The report does seems to flicker but the report doesnt refresh e.g. newly pciked report paramters dont feed into the report. I am useing rs:ClearSession=true in the url But when I click the "View Report" button it does, the report refreshes correctly. Anyone have the same problem or know the solution ...Show All
Visual Studio Re-installing VSTS 180-day trial
Hi all I've had Visual Studio 2005 Team System 180-day trial installed for a while. After some trouble I had to uninstall everything VS2005-related. Now, when I try to install the trial again, it refuses to install with the message "A trial edition is already installed on this computer. You must uninstall the previous trial before installing another trial edition." . It's not "another trial edition" of course, it's the same one! I'm not trying to circumvent the 180 day limit or anything, I'd just like to go on like before. I have no applicable uninstall entries. msiinv.exe confirms this. There is no way I can ...Show All
SQL Server Report Builder fatal error
and yeee it’s me again :-) cannot load the report buider from http://localhost/reports result is always: Source: .NET Runtime 2.0 Error Reporting EventID: 5000 EventType clr20r3, P1 reportbuilder.exe, P2 9.0.242.0, P3 4258a543, P4 reportbuilder, P5 9.0.242.0, P6 4258a543, P7 3558, P8 b, P9 system.argumentexception, P10 NIL. any possibiblities to solve this kindest regards from austria Irie Mikky hey again brian, i tried it now with http://machinename /reports instead of http://localhost/reports and hey THAT’s IT!!! thanks but why the heck is it like that Irie Mikky ...Show All
Visual Studio Team System I have 2 Q
1. I have a problem creating a New Team Project "Unable to connect to the Windows SharePoint Services at SQL2005DEV " why See the log below. 2. if I want to backup the project and restore it on another server with a different name is it a problem , I saw the I need to back up the DB and the share print server and and and .... is there a single simple on command line way or a batch file that can do it in a more simple way ---begin Exception entry--- Time: 1/4/2006 6:04:30 PM Module: Engine Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed Exception Type: Microsoft.TeamFounda ...Show All
Visual Studio Debugger problem incorrect line shown
Hi I am converting an old Oracle Pro*C product to use VS2005. The pilot applications have worked successfully however a couple of programes when debugged display the wrong line of code. For example putting a breakpoint on main after the symbols have loaded disables the breakpoint in the source, yet the debugger still breaks but on a structure as opposed to the main function. When looking at the breakpoint in the source I get the information: "The breakpoint will not currently be hit. Invalid file line : 157847" The code is quite lengthy, around 162k lines in length. I have checked: 1. Program is compiling with debug ...Show All
Visual Basic Overwriting Data in Text Files
Hi all, I have an application that writes sets of data to text files when you click the save button. The each set of data has a heading and the data im saving gets placed under this heading. Everytime you click the save button, my code will check through the existing file to see if the current heading exists. If it does it will attempt to overwrite the old data with the newly saved data under that heading. Problem is.. it appends the data to the end of the file instead of overwriting it!. If ive lost you imagine a file with the following data in it. Heading1 A B C Heading2 1 2 3 Now say i want to save s ...Show All
SQL Server Access Denied when trying to execute a ssis task
Hi, I sometimes come accross this error when I attempt to execute an isolated task in the control flow. What is funny is that I am still able to debug the package. It eventually resolves after a while. What could it be Thanks Philippe TITLE: Microsoft Visual Studio ------------------------------ Access Denied. (Exception from HRESULT: 0x80030005(STG_E_ACCESSDENIED)) ------------------------------ BUTTONS: OK ------------------------------ Are you using source control You usually get this error if you execute something that isn't checked out. -Jamie ...Show All
Visual Studio Team System Modal Web Forms
Hi, We have modal web forms within our ASP.NET web application and we are not able to record scripts for them (no script is recorded). Is there a way to make the script recorded work with modal forms Thanks, Jesudhas That's right. window.showModalDialog does not raise the NewWindow/2/3 events. I'm not aware of a way to capture them. We're solving this limitation in the Web Test Recorder a different way in our next release. Josh ...Show All
Visual C++ Exporting unmanaged class from managed dll
I have a managed dll in which I have a class whose functions I want to export. In VS2003 I was able to do this by creating a macro which generates __declspec(dllexport) when the managed dll is being built and __declspec(dllimport) when the managed dll is being consumed. This works fine, an import library is created, and other managed dlls which want to access the functional of this class link to the import library and use that functionality. In VS2005 when I attempt to do the same thing, I get a compiler error C3395 telling me that I can not use __declspect(dllexport) on a function with the __clrcall alling convention. Evidently compiling t ...Show All
Visual Studio Team System Sequence\Flow Diagrams in VSTS
Hi, Can we generate Sequence diagrams/Flow diagrams through VSTS automatically for a Solution containing couple of projects & each project intern having couple of classes. Appreciate if some one can provide me direction on it. Hello Please see the following posts on this topic. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=74317&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=221013&SiteID=1 Thanks Brian [MSFT] Microsoft Developer Support This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Visual Studio Team System No luck in installing TFS in a more or less single server installation. Different Error 32000's...
Hi, I've been trying to get VSTF Beta 2 running for last 3 days with no luck. Always ending with different Error 32000's example: Error 32000.The Commandline '"C:\Program Files\Microsoft Visual Studio Enterprise Server\widbloc.exe" -s hostname -d CurrituckDB' returned non-zero value: 1. I have a Lab domain, consisting of 2 DC's running smoothly (and have been for well over a year now). No errors whatever if I use Netdiag or DCDIAG. Now I have a virtual server where I'm trying to install a "single server installation" while using the present lab AD. The virtual installation consist of the following: W2003withSP1 (Slipstreamed) IIS6 with AS ...Show All
Visual Basic ComboBox
Hi folks, maybe you could help me a little. If I understand right the idea behind Object oriented is that I can use the same object in different forms. I've created and used the ComboBox in one form and now I want to use it in two more. Can I do this How thanks a billion, Chris Hi Randy, I agree, I am not for hard coding - what I provided was a simple example to convey the concept of having a utility method for loading a combo. In fact if the data was available in a Table then it maybe a good idea to bind a Dataset to the combo. Regards, Vikram ...Show All
Windows Forms Crystal Report Doubt
Hi, I have inserted a Sub-Report into a Main Report. My Sub-Report is placed in the middle of the main report i.e there are Text objects in the main report placed in such a way that some of the Text objects of the main report are on top of the Sub-Report and some others are at the bottom of the Sub-Report. When I populate the& ...Show All
