RenjithG's Q&A profile
Software Development for Windows Vista Publisher 97
I can,t open publisher 98 with pub 97. Is there an addon or converter available ...Show All
Windows Forms Problem deploying MSDOS executable
Hi, Here's an odd one ! My app. uses a legacy MSDOS com executable which I deploy along with other support files. My app works fine after deployment, however when I try to access the com executable -either from the app. or directly - I get a Win32 exception "The parameter is incorrect". If I copy the com executable to another folder it works fine. It looks very much as if it's an access rights problem but I can access other files (eg text files) in the deployment folder directly without problem. Thanks for any help Jon Whilst waiting for a reply I came across this in an MSDN art ...Show All
Visual C# How to finish my own project Template in C# of VS2005?
Hi all, I just make my own Template in C# of VS2005 with two wizard pages. I know that I can create a project first and "export templates..." to the "\Visual Studio 2005\Templates\ProjectTemplates\Visual C#". But I have two wizard pages,So the question is how to put the wizard pages files to that ProjectTemplates folder,is it possible Question 2: Now I just do it like VS2003,put the my own template(named as myWiz) folder into the VC#Wizard folder and myWiz-Html -Images &nb ...Show All
Visual Studio 2008 (Pre-release) Getting the Avalon Viewer Sample up and running
Hey all, My first post here, happy to see im not the only one obsessed with gettin stuck into a bit of WPF! Apologies in advance if this problem has been posted already, I cant seem to find a thread relating to it.Last night I spent hours trying to get viewer sample up and running on my machine. Im running XP SP2 and im using Visual Studio 2005 Professional Edition... I've had no previous betas relating to Avalon installed on this machine. So far I've downloaded and installed: WinFX Runtime Components - BETA 2 Windows SDK (from this i've only installed from Developer Tools: "FxCop", "Windows Powershell", " ...Show All
SQL Server Rounding error: Between flat file connection manager Source & OLE DB Connection Destination (SQL Server 2005)
I have a Rounding error: Between flat file connection manager Source & OLE DB Connection Destination (SQL Server 2005) in my Dataflow. File looks like this lets call column names Col A,B,C,D 70410000 RD1 1223631.92 196042.42 70329000 ICD 11025.84 3353.88 71167300 COL 104270.59 24676.96 flat file connection manager settings: first row Column names then Advanced tab Col A float , Col B float , Col C string ,Col D float , OLE DB Connection Destination (SQL Server 2005) CREATE TABLE [dbo] . [PT_CUST_ABR] ( [PARTY_NO] [float] NULL, [PARTY_NAME] [varchar] ( 75 ) COLLATE SQL_Latin1_General_ ...Show All
Visual Studio Team System stsadm.exe
Hello, We are trying to create a virtual directory on the server where TFS has been installed. Once this is done right now, we need to manually execute the stsadm.exe on the server and exclude the created virtual directory from the Windows Sharepoint services management. Only when excluded we are able to browse through the contents of the virtual directory created. Question is: Is there a way to programatically do the same what stsadm.exe is doing for the exclusion. Is there any API exposed as part of Windows Sharepoint services management which allows us to do this Thanks in advance, Guru Sharepoint Object Mo ...Show All
Visual FoxPro report temp file not found
I need to create a simple report, nothing fancy. Just to preview some memo fields. This is the code I use. lcFile = "C:\VFP_Projects\Reports\MyReport.FRX" SET DIRECTORY TO "C:\VFP_Projects\TEMPORARYFILES\" CREATE REPORT (lcFile) FROM (ALIAS()) FIELDS memo1 The second line (set directory to) should be explained. I get an error that a temp file c:\\VFP_Projects\Data\...\000035e10062.tmp no found. Options are "Locate," "Ignore," "Cancel," etc. Naturally the file name changes every time I try to create a report. Thus the name above does not mean anything. The error messages comes up ever ...Show All
.NET Development confused by generic methods
Hi, in the code sample that follows how do i get from the MethodInfo object given the variable name 'method' in main (this method takes a string as its parameter) to the MethodInfo object that took the generic parameter in the class MyGeneric (i.e. the MethodINfo that originally described the method) I would guess by using MethodInfo.GetGenericMethodDefintion() but is says this isn't allowed due top the state of the object. I think i would be nearer to understanding my problem if i knew why IsGenericMethod is returning false below when i think it should be true... (IsGenericMethodDefiniton is also false). thanks in advance, c ...Show All
SQL Server Error in running SSIS package wchich was created on a database having different collation.
Hi, I have created a DTSX package on database with Chinese collation now i want to use english collation in database, to do that i created one new database this time with english collation, I imported the above said DTSX package into the new english collation database but i am facing following error: 'Validation error. Import ASCII Promotin Properties: DTS.Pipeline : The LocaleID 9 is not installed on this system' How to resolve this error. Any help will be highly appreciated. Thanks in advance. Pintu ...Show All
Visual C# Figuring out parameter information
I've spent a good amount of time (5 or 6 hours) trying to write a geneic error handler for a application. I would like to have a generic error handler that would be able to figure out what parameters and their respective values so they are logged in a exception database. My company does a lot of batch processes and I believe it would be a lot easier to write a generic version as opposed to log every parameter by hand in my methods. Something along this lines: try { Job1.Execute(param1, param2); } catch (Exception exc) { Logger.Log(exc); // this would actually investigate what parameters were passed to the met ...Show All
Visual Studio Team System Beta 3
OK, so I keep hearing that there may be a Beta 3 released for VSTS. Could someone please confirm or deny this If this is is true, when will it be released the dates here aren't exactly right. Yes, The client editions of VSTS have RTM'd and are commercially avalibale, but the TFS RTM is not 12/02, but is slated for Q1 CY06. We will post exact RTM date very early in the new year thanks Michael ...Show All
Visual C++ CArray and typedef
Hi, I would like to be able to store two elements, at a time into a CArray is this possible. What i mean by that is i would like to put an ID, in the form of an int in, and a point object. I tried creating a typedef, like so: typedef CArray <int,CPoint> FIXED_POINTS_ARRAY; but when it comes to "Add" something in, i am unsure as to how to add these two things in, to say slot 3! could some one point me in the right direction, thanks. Also why is it so hard to declare vectors in the C++, i used to program in java and it was infinetely better. What is the difference between a CArray and a Vector Thanks Will ...Show All
Visual C# System.Web.UI namesspace compile time error
I am getting this error out of "using System.Web.UI;" declaration: The type or namespace name UI does not exist in the class or namespace 'System.Web' (are you missing an assembly reference ). I am using Visual Studio 2003 C# .NET designer. My system is Win2K Pro. I want to ultimately use class TableDesigner in my application. Accoring to the .NET Framework Class Library the requirement for TableDesigner class is NAMESPACE (!) System.Web.UI.Design.WebControls. In the assembly I should have "using System.Design;" statement. When I put it in it also gives me an error of the same nature that 'Design' is not recognized in 'System ...Show All
Visual Studio Express Editions unable to write to db (visual basic to SQLServer (2005 Express))
Hi, keywords: vb, visual basic, sql server, 2005, express, write, read, only, readonly, insert, update, delete I'm working through Bob Tabor's excellent VB Tutorial for Absolute Beginners. I hit a snag on Lesson09. I can't write to SQL Server 2005 Express. REF: Absolute Beginner’s Video Series at http://msdn.microsoft.com/vstudio/express/vb/learning/ Using my code, Bob's code or auto created code, I can NOT write to the database using any control other than the VB2005Express Database Explorer show table data tool. The controls do populate correctly with data entered via the show table data. But the ...Show All
Windows Forms Launching child form on a new thread
My application have a main form. From it a number of child forms are launched. I want to launch each child form on a different thread. I use the following code to launch the child form. On using this code the application sometimes throws an unhandled exception. However if I launch the child form on the same thread as the main form then the&nb ...Show All
