pushart's Q&A profile
SQL Server Formatted text in report parameter
I want the user to add his/her own title and some text to the report which can be bold, different color etc. Can this be done via a single report parameter and are there any ways to do it Not out of the box. If you use SRS 2005, the ReportViewer controls (part of VS 2005) will allow you to show reports in any ASP.NET or Winforms application. Using the controls, you can hide the report parameters page and repl ...Show All
SQL Server Access DB2 on AS/400 using IBM OLE DB Provider
Hi, I am using the IBM OLE DB Provider (IBMDASQL) provided with Client Access (IBM) to access a DB2 database on an AS/400 (iSeries). Using an OLE DB Source in the data flow and Access Mode set to "OpenRowset" this works fine (even though I think it is quite slow). However, when I change the Access Mode to "SQL Command" my data flow fails at the OLE DB Source component - not giving me any meaningful error description (only the mysterious "... th ...Show All
Visual C# how can i get a substring in a string and then change its color?
for example if I type /* in the textfield all preceding characters should change to color green and when I type */ the change should stop. You have two options. 1 - use a rich text box, and parse the text so that you change the color 2- write your own control derived from the textbox to do this. ...Show All
SQL Server I hate this
I'm migrating a fu... dts to SSIS. That's fine. I've got a derived column task for stuff as cdbl(DTSSource("Col014") /100). But how the source plain file have a lot of columns suddenly I find this: Function Main() Fecha=Right(DTSSource("Col014"),2) & "-" & Mid(DTSSource("Col014"),5,2) & "-" & left(DTSSource("Col014"),4) If IsDate(Fecha) then DTSDestination(&qu ...Show All
Windows Forms 'System.NullReferenceException' when call a Web Service
Hi, there I Invoke Web Service, it's fine. ********Code Here**************************** CalcWebService calc = new CalcWebService(); AsyncCallback cb = new AsyncCallback(GetAddCompleted); IAsyncResult res = calc.BeginAdd(2, 2, cb, null); private void GetAddCompleted(IAsyncResult res) { int& ...Show All
Visual Basic Disappearing Data Sources
I just installed the VS2005 RC and now my Data Sources window loses its contents whenever I open a form or user control. I have 2 data sources defined, and they show up fine if I don't have a form as the active window in the IDE. As soon as I click on a form or usercontrol window, the data sources disappear and the data sources toolbar becomes grayed out. It's slightly different than when there are no data sources in the p ...Show All
SQL Server Custom code assembly with config file
Hi! My report has a reference to an assembly of a class library I did. This class library has a config file, classLibrary.dll.config, where I set some parameters, one of these being the "initial path" to the project's folder(for example, project folder is myProject, and you would use the initial path to say it's in c:/projects/tests). When I preview the report everything works fine, but when I publish it I get this error: Abso ...Show All
Windows Forms DataBound TreeView + DataBind. + DataGrid
DataBound TreeView + DataBinding + DataGrid Bahadir Cambel 19:51 11 Oct '05 Hi , I am a little bit confused. I have a tree view , currency manager and a datagrid Currency manager controls item details , TreeView is bounded by the following structure ItemRootTypes -> ItemTypes->Items DataGrid has the same source as CurrencyManager. I could navigate through records by both ...Show All
Windows Forms Host Designer
I'm following the article http://www.divil.co.uk/net/articles/designers/hosting.asp Ok well it's a pretty simple question. lets say I have a control with a Child_Form property ok, how to I select another form if only one is loaded in the host at a time. I f ...Show All
Visual Basic Howto: Return data from one form to another
Hi! I want to return data to calling point of the form, but i can't return data when the called form closes. Please tell me how can i return data from one from to another. Shani! Hi Spotty- I tried your example and it worked great. When I tried to adjust it to my situation, I couldn't get it to work. Obviously, I'm new to this. Here's my problem: I have a checkedListBox with seven i ...Show All
Visual C# Block Comments Question
When I am using block comments in C# in Visual Studio 2005, the editor is automatically adding asterisks to every line in the block comment when I press the enter key. Does anyone know how to turn this option off Hi Supe - no way to turn it off. It is a 'feature' ...Show All
Software Development for Windows Vista My software doesn’t show on windows vista :S
Hi I’ve developed a simple LAN messenger with Visual C 6.0 SDK It works as a service in windows Nt/2000/2003/XP and in Vista But in Vista my application just DOESNT SHOW any window at all. In the previous windows my application listens to port 50000 and whenever it receives a command shows a window with the message sent. it runs same port on vista ( i telnet it and it is open, also saw it on tcpview from sysinternals and it is RUNNIN ...Show All
Smart Device Development How can I call SystemParametersInfo with SPI_GETOEMINFO from the Desktop?
Before proceeding with installation of an application onto a Pocket PC via Active Synch I want to confirm that it is ok to proceed by validating against the value returned by SPI_GETOEMINFO. But the SystemParametersInfo function looks like it wants to be called on the actual Pocket PC. What is the syntax for calling this function remotely through RAPI or isn't this possible There's no RAPI version of SystemP ...Show All
Visual Studio Changing the copy local value at build time
We are trying to implement a file reference setup for our assemblies that will eventually belong to the GAC. As these assemblies are constantly in flux until we agree they are sufficient for release we want to do the file references with the following requirements: 1) Not force the developer to have to add each assembly to their GAC on their local box every time a change is made to the assembly 2) Have a common place f ...Show All
Visual Studio Express Editions Referenced memory error in VB 2005 Express
I am running a small example application in VB 2005 Express and I get a referenced memory error when I close the application. I do not get this error when I run the application from within the visual environment, only when I build and run the application as an EXE. Also, I can run the application with no problem in VB 5 - from within the visual environment or as an EXE. So how do I debug referenced memory errors The exact erro ...Show All
