Rameshb106's Q&A profile
SQL Server How do call Winzip from Execute Process Tasks?
Hi, In my ETL project, l need to extract rawdata using winzip, and the DOS command l use is c:\program files\Winzip\winzip32.exe -min -e c:\rawdata\test.zip c:\rawdata where -min for minimize and -e for extract, c:\rawdata\test.zip for source file and c:\rawdata for destination. It works fine by using DOS command. l configure the Execute Process Tasks with the following parameters, i.e. RequiredFullFileName : TRUE Executable : c:\program files\Winzip\winzip32.exe Arguments : -min -e WorkingDirectory : c:\program files\Winzip StandardInputVariable : User::gsRawFile StandardOutputVariable : User::gsDestDir Where ...Show All
Visual Basic Controls Flickering when drawed on the form
Hello there :) This was a Problem in Visual Basic 2003 when having a Form with about 150 Controls the form simply consists of panels and those panels have Labels and controls beside hem the form itself has a background picture ,,, the Panels also have backimages the Problem is when the form is shown the controls are being drawn really slow ... (the form is 1024*768) that wasn't a Problem at all back in VB6 anyway I saw that Visual Basic 2005 has a New Future called DoubleBuffered but it isn't doing any difference at all ... what are your Suggestions :) Thank you very much in Advance ! tried it wihout luck (I' ...Show All
Windows Forms MDI OpenFileDialog
Hi, I need some help. I have MDI Form and ChildForm with richTextBox. and I am trying to open file (like a text file) from the menu on the MDI form, but so far it did not open any file and this is the code that I am using: childForm new childForm(); filename String(); Stream = new System.IO.StreamReader ; dlgOpenFile.ShowDialog(); dlgOpenFile.Filter = "Text files (*.txt)|*.txt|All files (*.*)|*.*"; dlgOpenFile.FilterIndex = 2; Filename = dlgOpenFile.FileName(); Stream = new System.IO.StreamReader(Filename); childForm.MdiParent = this(); childFormchildFormText = Filename ; ...Show All
SQL Server Error rsFailedToDecryptConfigInformation
Hi! Today we have backup everyting on our new server. Now when i try to launch my reports i have this error rsFailedToDecryptConfigInformation saying that it cannot decrypt some value. I have done some search on internet and it says that i should run rsconfig but i don't know what to do There's a lot of option and parameter and i don't know what i need for my reports to run again. Also when i tried to run my report from outside the local network i now have a popup window that ask me to enter the user name and a password. In the reporting services configuration manager in the tab windows service identity i've tried to set the windows account ...Show All
SQL Server No grouping?
Hi to all! To count(something), it is usually required to use a group by function, however, that is not applicable in this case: I would like to select records that have similar values for 'col2' and 'col3', given a certain 'col1', and how many records each 'col1' returns. The following example hopefully makes it clear. The table: Col1 Col2 Col3 ------------------------ s1 A B s1 C D s2 A B s2 C D The result should be: col1 col2 col3 Expr --------------------------------- s2 A B 2 s2 C D 2 I had figured out the not-working-query: SELECT *, count(col1) FROM table as t1 INNER JOIN table as t2 ...Show All
Visual Basic Tricky one for you all. WMI and CPU Utilisation.
Hey all, I have created the following class to get CPU Utilisation data using WMI as follows; Imports System.Management Public Class WMIProcessing # Region " Definitions " 'WMI Objects... Private mManagementScope As New System.Management.ManagementScope Private mObjectSearcher As System.Management.ManagementObjectSearcher Private mCollection As System.Management.ManagementObjectCollection Private mObject As System.Management.ManagementObject 'Data Storage... Private mOldData As RawData Private mNowData As RawData Private mResult As Double 'Flag to indicate first run... Pri ...Show All
Visual C++ Splitting intergers into seperate characters
I am new to C++.Net and I am also having to take some "refresher" courses in math at the local college. I have run into a problem that i am sure i am "over thinking". The project from my book wants me to design a Console program that takes a 5 diget integer, lets say 45339 for kicks, but the book says any. Using only the modulus and division optrs., "pick off" each character and then print to console with a space seperating each digit. 45339 out puts to: 4 5 3 3 9. I was smart enough to figure out an earlier project that determines if one number is a multiple of another number using the mod, but for some reason i just stare at the book a ...Show All
Windows Forms Can Control Event Handlers Be Interrupted?
I have spent more than a week over a very frustrating problem. I have a custom control derived from System.Windows.Forms.Control. In its MouseMove event handler (of the custom control, not the calling ap), I have just this and only this simple code to move the control horizontally when the user drags it: if (mouseDown) { this .Left = this .Location.X+Control.MousePosition.X-oldMouseX; oldMouseX = Control.MousePosition.X; this .Invalidate(); } mouseDown is a bool set and unset by MouseDown and MouseUp respectively. oldMouseX is a global int updated to ...Show All
.NET Development Debugging JScript in an ASP.NET app with Visual Studio 2005
I have recently installed the trial version of Visual Studio 2005, Professional Edition. I have converted an ASP application of mine (developed with Frontpage 2003) to ASP.NET and after correcting a number of incompatibilities it works correctly. However I have noticed that while I can set breakpoints and debug my VB pages, I can not set any breakpoints or figure out how to do any debugging with the JScript pages. The toggle breakpoint command is grayed out in JScript pages. Is this related to the lack of support for JScript in the Language directive I notice that JScript is not in the dropdown, although you can type it in and build the site ...Show All
.NET Development Urgent Problem with J# 1.1 and .NET Framework 2.0
We have a component programmed in .NET 1.1. In there we have a class using J# 1.1 for compression support. After installing .NET Framework 2.0 on that machine, we are getting the error, that vsjlib 2.0 could not be found. Ok, so we installed the J# Redist 2.0. But now we have the problem that the compressed strings are truncated at about 1MB. How can we make our component running using J# 1.1 when the "normal" .NET Framework 2.0 is installed It is also not an option for us to: - Use #ZipLib - Convert everything to .NET 2.0 Thanks for any help ...Show All
Visual C# NUnit forms test, Tricky exception:Resource lookup failed - infinite recursion detected.
I set up a test using Nunit forms. When I run the test I got the exception: At a moment internationalization was implemented(accesing resource files), but I commented out the code. I would need a hint how this exception occured. Below is the stack trace. [Resource lookup failed - infinite recursion detected. Resource name: Arg_NullReferenceException] at System.Resources.ResourceReader.StripVersionField(String typeName) at System.Resources.ResourceReader.InitSafeToDeserializeArray() at System.Resources.ResourceReader.ReadResources() at System.Resources.ResourceReader..ctor(Stream stream, Hashtable table) ...Show All
Visual Studio Team System version details
eyooo, well i guess from all my post everyone knows my config already :-) Windows 2003 server, SP1 all patches, office 2003 SP1 + patches, sql 2005. .net framework 2.0, IIS 6.0, sharepoint services 2.0 SP1 + patch, all in a active directory domain usin this server as domain contoller...... well, i edited the ...\ roots\web.config , reportserver\web.config , reportmanager\web.config , made sure that the securtiylevel in rsreporterserver.config is 0, runned the stsadm for rerports and reportserver, created 2 domain-admin accounts tfssetup and tfsservice who r local admins too... gave em ALL access in the sql database.... config from IIS worke ...Show All
Software Development for Windows Vista small problem
Hi, While exposing a Workflow via Web Service, in the new Web Service Code file, we used to inherit the WorkflowExample.Workflow1_WebService instead of directly from the WebService base class as shown below. public class Service : WorkflowExample.Workflow1_WebService { } can any one say like "If I want to use two workflows into this Web Service How I have to inherit the Namespaces." In the workflow I am using WebServiceReceive and WebServiceResponse Activities. Bangaram, Could you clarify your issue If you are trying to inherit from multiple Workflow WebServices in your Service, this ...Show All
SQL Server Subscription of a deleted report
What happens if a user has subscribed to a report and that report is updated ( deleted and uploaded again) Thanks. Was the report actually deleted from the server and then recreated, or did you simply update it by redeploying or uploading new RDL over the top of it If you actually deleted the report, then recreated it, the subscription is gone. If it was simply updated by redeployment or updated RDL, then the subscription will remain in tact. HTH, ...Show All
Visual Studio Team System Work Item link to Document
How can you link a document housed in SharePoint to a work item I have a technical document under TeamProject\Documents\Development and want to link a work item to it. Yes I agree. I came to the same conclusion and found it to be rather cumbersome to make that connection to a team project document. ...Show All
